/* ==========================================
   Rising Ticaret - Main Stylesheet
   Dark Theme | Glassmorphism | Purple/Cyan
   ========================================== */

:root {
    --bg-color: #020617;
    --bg-secondary: #0f172a;
    --card-bg: #0f172a;
    --card-bg-hover: #1e293b;
    --border-color: rgba(255, 255, 255, 0.06);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-primary: #8b5cf6;
    --accent-secondary: #06b6d4;
    --accent-green: #10b981;
    --accent-pink: #ec4899;
    --gradient-main: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(2, 6, 23, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    padding: 0 30px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.logo-img {
    height: 38px;
    width: auto;
    border-radius: 6px;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: #e5e7eb;
    letter-spacing: -0.5px;
}

.logo-accent {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(3, 0, 20, 0.3);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 8px 16px;
    border-radius: 9999px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #cbd5e1;
    border-radius: 20px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: #c084fc;
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.dropdown-menu a {
    display: block;
    padding: 10px 14px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #fff;
    padding-left: 18px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-wa-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.header-wa-btn:hover {
    background: #25d366;
    color: #fff;
    transform: scale(1.1);
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    color: #fff;
    font-size: 1.4rem;
    z-index: 10;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ==========================================
   HERO / SLIDER
   ========================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    background: #030014;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Star canvas */
#starCanvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Blackhole video */
.hero-video-bg {
    position: absolute;
    top: -570px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    width: 120%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.8;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero-video-bg video {
    width: 100%;
    height: auto;
}

/* Gradient overlays */
.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-gradient-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at top center, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom center, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at center, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
}

.hero-gradient-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--bg-color));
}

/* Hero inner layout */
.hero-inner {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 160px 40px 100px;
    gap: 20px;
}

/* Hero content - left side */
.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: #a78bfa;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 30px;
    opacity: 0;
    animation: slideInLeft 0.6s ease forwards 0.2s;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    opacity: 0;
    animation: slideInLeft 0.6s ease forwards 0.4s;
}

.gradient-text {
    background: linear-gradient(90deg, #a78bfa, #22d3ee);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 500px;
    opacity: 0;
    animation: slideInLeft 0.6s ease forwards 0.6s;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideInLeft 0.6s ease forwards 0.8s;
}

/* Hero right side - Professional 3D Orbit */
.hero-visual {
    flex: 0 0 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 500px;
    opacity: 0;
    animation: slideInRight 0.8s ease forwards 0.8s;
    margin-right: -40px;
}

.hero-orbit {
    position: relative;
    width: 100%;
    height: 100%;
}

/* SVG connection lines */
.orbit-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* Outer glow ring */
.orbit-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 420px;
    height: 420px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.06) 0%, rgba(6,182,212,0.03) 50%, transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

/* Animated orbit paths */
.orbit-path {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid transparent;
    animation: orbitSpin 20s linear infinite;
}

.orbit-path-1 {
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    border-image: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(6,182,212,0.1), rgba(139,92,246,0.3)) 1;
    border-radius: 50%;
    border: 1px solid rgba(139,92,246,0.15);
    animation-duration: 25s;
}

.orbit-path-2 {
    width: 320px;
    height: 320px;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(139,92,246,0.1);
    animation-duration: 35s;
    animation-direction: reverse;
}

.orbit-path-3 {
    width: 440px;
    height: 440px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(6,182,212,0.08);
    animation-duration: 45s;
}

@keyframes orbitSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Orbit dots (traveling on paths) */
.orbit-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #8b5cf6;
    border-radius: 50%;
    top: -3px;
    left: 50%;
    box-shadow: 0 0 12px rgba(139,92,246,0.8), 0 0 24px rgba(139,92,246,0.4);
}

.orbit-path-2 .orbit-dot { background: #06b6d4; box-shadow: 0 0 12px rgba(6,182,212,0.8), 0 0 24px rgba(6,182,212,0.4); }
.orbit-path-3 .orbit-dot { background: #a78bfa; box-shadow: 0 0 12px rgba(167,139,250,0.8); width: 4px; height: 4px; top: -2px; }

/* Floating tech icons - Professional */
.float-icon {
    position: absolute;
    width: 54px;
    height: 54px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: rgba(226, 232, 240, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.float-icon:hover {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
    color: #a78bfa;
    transform: translateY(-4px) scale(1.1) !important;
}

/* 8 icons positioned in circle (r≈195px from center 250,250) */
.fi-1 { top: 29px;  left: 224px; animation: floatOrbit 6s ease-in-out infinite 0s; }
.fi-2 { top: 86px;  left: 368px; animation: floatOrbit 6s ease-in-out infinite 0.75s; }
.fi-3 { top: 224px; left: 419px; animation: floatOrbit 6s ease-in-out infinite 1.5s; }
.fi-4 { top: 368px; left: 368px; animation: floatOrbit 6s ease-in-out infinite 2.25s; }
.fi-5 { top: 419px; left: 224px; animation: floatOrbit 6s ease-in-out infinite 3s; }
.fi-6 { top: 368px; left: 80px;  animation: floatOrbit 6s ease-in-out infinite 3.75s; }
.fi-7 { top: 224px; left: 29px;  animation: floatOrbit 6s ease-in-out infinite 4.5s; }
.fi-8 { top: 86px;  left: 80px;  animation: floatOrbit 6s ease-in-out infinite 5.25s; }

/* Unique accent colors per icon */
.fi-1 { border-color: rgba(139,92,246,0.2); }
.fi-2 { border-color: rgba(6,182,212,0.2); }
.fi-3 { border-color: rgba(16,185,129,0.2); }
.fi-4 { border-color: rgba(244,63,94,0.2); }
.fi-5 { border-color: rgba(245,158,11,0.2); }
.fi-6 { border-color: rgba(59,130,246,0.2); }
.fi-7 { border-color: rgba(236,72,153,0.2); }
.fi-8 { border-color: rgba(139,92,246,0.2); }

.fi-1:hover { color: #8b5cf6; }
.fi-2:hover { color: #06b6d4; }
.fi-3:hover { color: #10b981; }
.fi-4:hover { color: #f43f5e; }
.fi-5:hover { color: #f59e0b; }
.fi-6:hover { color: #3b82f6; }
.fi-7:hover { color: #ec4899; }
.fi-8:hover { color: #8b5cf6; }

@keyframes floatOrbit {
    0%, 100% { transform: translateY(0px) scale(1); }
    25% { transform: translateY(-6px) scale(1.02); }
    75% { transform: translateY(4px) scale(0.98); }
}

/* Center icon - Premium */
.float-icon-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(6,182,212,0.1));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #a78bfa;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.2), 0 0 120px rgba(139,92,246,0.05);
    z-index: 3;
}

/* Pulse rings from center */
.center-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    border: 1px solid rgba(139,92,246,0.3);
    animation: centerPulseAnim 3s ease-out infinite;
}
.center-pulse.delay {
    animation-delay: 1.5s;
}

@keyframes centerPulseAnim {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; border-radius: 50%; }
}

@keyframes floatA {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes floatB {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(8px); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 30px rgba(139, 92, 246, 0.2); }
    50% { box-shadow: 0 0 60px rgba(139, 92, 246, 0.4); }
}

/* Slider transition animations */
@keyframes slideOutLeft {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-40px); }
}

@keyframes slideOutUp {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

@keyframes fadeSlideInLeft {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeSlideInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge.slide-out { animation: slideOutLeft 0.35s ease forwards; }
.hero-title.slide-out { animation: slideOutLeft 0.35s ease 0.05s forwards; }
.hero-desc.slide-out  { animation: slideOutUp 0.3s ease 0.1s forwards; }
.hero-buttons.slide-out { animation: slideOutUp 0.25s ease 0.12s forwards; }

.hero-badge.slide-in { animation: fadeSlideInLeft 0.45s ease forwards; }
.hero-title.slide-in { animation: fadeSlideInLeft 0.5s ease 0.1s forwards; opacity: 0; }
.hero-desc.slide-in   { animation: fadeSlideInUp 0.45s ease 0.2s forwards; opacity: 0; }
.hero-buttons.slide-in { animation: fadeSlideInUp 0.4s ease 0.3s forwards; opacity: 0; }

/* Slider progress bar on active dot */
.slider-dot {
    position: relative;
    overflow: hidden;
}

.slider-dot.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: inherit;
    animation: dotProgress 5s linear forwards;
}

@keyframes dotProgress {
    from { width: 0%; }
    to { width: 100%; }
}

/* Slider dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 20;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.slider-dot.active {
    background: var(--accent-primary);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
    width: 28px;
    border-radius: 5px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-main);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(99, 102, 241, 0.9));
    color: #fff;
    border: 1px solid rgba(139, 92, 246, 0.5);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.btn-wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* ==========================================
   SECTIONS
   ========================================== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   FEATURED CATEGORIES (Homepage)
   ========================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.category-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.category-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-5px);
    background: var(--card-bg-hover);
    box-shadow: var(--shadow-card);
}

.category-card .cat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px;
    transition: var(--transition);
}

.category-card:hover .cat-icon {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.category-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================
   PRODUCT CARDS
   ========================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.product-card .card-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    background: #1e293b;
}

.product-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.08);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.badge-tag {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new {
    background: var(--accent-primary);
    color: #fff;
}

.badge-featured {
    background: var(--accent-secondary);
    color: #fff;
}

.badge-sale {
    background: #ef4444;
    color: #fff;
}

.badge-out {
    background: rgba(0, 0, 0, 0.7);
    color: #fca5a5;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-brand {
    font-size: 0.78rem;
    color: var(--accent-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    line-height: 1.3;
}

.product-info .desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.price-group {
    display: flex;
    flex-direction: column;
}

.price-old {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-current {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

.btn-detail {
    padding: 8px 18px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--accent-primary);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-detail:hover {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.4);
}

/* ==========================================
   SERVICES CARDS
   ========================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-main);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: var(--shadow-card);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-lg);
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.service-features span {
    padding: 5px 12px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--accent-secondary);
    font-weight: 500;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-secondary);
    margin-bottom: 20px;
}

/* ==========================================
   PRODUCT DETAIL PAGE
   ========================================== */
.product-detail-section {
    padding-top: 100px;
    padding-bottom: 60px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.detail-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    aspect-ratio: 1;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info {
    padding: 20px 0;
}

.detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.detail-breadcrumb a {
    color: var(--text-secondary);
}

.detail-breadcrumb a:hover {
    color: var(--accent-primary);
}

.detail-info h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.detail-brand {
    color: var(--accent-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-price-box {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.detail-price-old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.detail-price-current {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-secondary);
}

.detail-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 10px;
}

.stock-in {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-green);
}

.stock-out {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.detail-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.detail-specs {
    margin-bottom: 30px;
}

.detail-specs h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specs-table td {
    padding: 12px 0;
    font-size: 0.9rem;
}

.specs-table td:first-child {
    color: var(--text-muted);
    width: 40%;
    font-weight: 500;
}

.specs-table td:last-child {
    color: var(--text-primary);
    font-weight: 600;
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==========================================
   ABOUT PAGE
   ========================================== */
.about-hero {
    padding-top: 120px;
    padding-bottom: 60px;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* Ventures Section */
.ventures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.venture-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    transition: var(--transition);
}

.venture-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-5px);
}

.venture-card .v-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.venture-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.venture-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 30px;
}

.contact-item .c-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contact-item .c-icon.purple { background: rgba(139, 92, 246, 0.1); color: var(--accent-primary); }
.contact-item .c-icon.cyan { background: rgba(6, 182, 212, 0.1); color: var(--accent-secondary); }
.contact-item .c-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }

.contact-item .c-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item .c-value {
    font-weight: 600;
    color: var(--text-primary);
}

/* Contact Form */
.contact-form-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

select.form-control option {
    background: #1e293b;
    color: #fff;
}

.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

/* ==========================================
   FILTER BAR (Products page)
   ========================================== */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.filter-bar .search-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    font-family: var(--font-main);
}

.filter-bar .search-input:focus {
    border-color: var(--accent-primary);
}

.filter-bar select {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    font-family: var(--font-main);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a3b8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.filter-bar select option {
    background: #1e293b;
    color: #fff;
}

.results-count {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* ==========================================
   PAGINATION
   ========================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.pagination a {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.pagination a:hover {
    border-color: var(--accent-primary);
    color: #fff;
}

.pagination .active {
    background: var(--accent-primary);
    color: #fff;
    border: none;
}

/* ==========================================
   WHATSAPP FLOAT
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: waFloat 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.wa-tooltip {
    position: absolute;
    right: 70px;
    background: #fff;
    color: #333;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
}

@keyframes waFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 12px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-contact-list li i {
    color: var(--accent-primary);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.admin-link {
    color: var(--bg-secondary);
    font-size: 0.7rem;
    margin-left: 10px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 5px;
}

/* ==========================================
   BREADCRUMB
   ========================================== */
.breadcrumb-section {
    padding-top: 90px;
    padding-bottom: 30px;
    background: linear-gradient(to bottom, rgba(139, 92, 246, 0.05), transparent);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--accent-primary);
}

.breadcrumb .separator {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.breadcrumb .current {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ==========================================
   PAGE TITLE
   ========================================== */
.page-title-section {
    padding: 40px 0;
    text-align: center;
}

.page-title-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.page-title-section p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ==========================================
   MAP
   ========================================== */
.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-top: 40px;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    filter: brightness(0.8) contrast(1.2);
}

/* ==========================================
   EMPTY STATE
   ========================================== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .hero-inner { flex-direction: column; text-align: center; padding-top: 120px; gap: 20px; }
    .hero-content { max-width: 100%; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-visual { flex: 0 0 380px; height: 380px; margin-right: 0; }
    .orbit-glow { width: 320px; height: 320px; }
    .orbit-path-1 { width: 150px; height: 150px; }
    .orbit-path-2 { width: 250px; height: 250px; }
    .orbit-path-3 { width: 340px; height: 340px; }
    .hero-title { font-size: 2.8rem; }
    .hero-video-bg { top: -250px; }
    .fi-1 { top: 16px;  left: 164px; }
    .fi-2 { top: 60px;  left: 280px; }
    .fi-3 { top: 164px; left: 320px; }
    .fi-4 { top: 280px; left: 280px; }
    .fi-5 { top: 320px; left: 164px; }
    .fi-6 { top: 280px; left: 48px; }
    .fi-7 { top: 164px; left: 8px; }
    .fi-8 { top: 60px;  left: 48px; }
    .orbit-cross { width: 300px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    /* Header Mobile */
    .header .container { padding: 0 15px; }

    .navbar {
        position: static;
        transform: none;
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #020617;
        padding: 100px 30px 30px;
        gap: 0;
        border-radius: 0;
        border: none;
        z-index: 9999;
    }

    .nav-list.active {
        display: flex;
    }

    .hamburger {
        position: relative;
        z-index: 10000;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 16px 0;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
        width: 100%;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .header-actions { display: none; }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        min-width: 0;
        display: none;
    }

    .has-dropdown.open .dropdown-menu {
        display: block;
    }

    /* Hero */
    .hero-title { font-size: 2.2rem; }
    .hero-desc { font-size: 0.95rem; }
    .hero-visual { display: none; }
    .hero-inner { padding: 130px 20px 80px; text-align: center; flex-direction: column; }
    .hero-content { max-width: 100%; }
    .hero-buttons { justify-content: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-video-bg { top: -350px; width: 220%; opacity: 0.75; mask-image: none; -webkit-mask-image: none; }
    .hero-badge { font-size: 0.82rem; }

    /* Sections */
    .section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }

    /* Products Grid */
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }

    /* Filter Bar */
    .filter-bar { flex-direction: column; }
    .filter-bar .search-input { width: 100%; }

    /* Categories */
    .categories-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }

    /* Pagination */
    .pagination { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-video-bg { top: -170px; }
    .hero-inner { padding: 110px 16px 60px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .section-title { font-size: 1.5rem; }
    .products-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
}
