/* ============================================================
   EduMarket - Digital Education Marketplace
   Modern, Interactive, & Responsive Landing Page
   ============================================================ */

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Primary Colors */
    --primary: #6C63FF;
    --primary-dark: #5A52D5;
    --primary-light: #8B85FF;
    --secondary: #00D4AA;
    --secondary-dark: #00B894;
    --accent: #FF6B6B;
    --accent-dark: #EE5A5A;

    /* Dark Colors */
    --dark: #1A1A2E;
    --dark-2: #16213E;
    --dark-3: #0F3460;

    /* Gray Scale */
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
    --white: #FFFFFF;

    /* Semantic Colors */
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --info: #17A2B8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-dark: linear-gradient(135deg, var(--dark), var(--dark-2));
    --gradient-hero: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent), #FF8E8E);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-primary: 0 8px 30px rgba(108, 99, 255, 0.3);
    --shadow-secondary: 0 8px 30px rgba(0, 212, 170, 0.3);

    /* Border Radius */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --border-radius-full: 9999px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    /* Typography */
    --font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
    --z-preloader: 1000;
}

/* ==================== CSS RESET & BASE ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary);
    color: var(--white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--gray-600);
}

.text-gradient,
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(108,99,255,0.1), rgba(0,212,170,0.1));
    color: var(--primary);
    border-radius: var(--border-radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(108,99,255,0.2);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== UTILITY CLASSES ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(108, 99, 255, 0.4);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: var(--shadow-secondary);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* Ripple Effect */
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
}

.badge-featured {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
}

.badge-bestseller {
    background: linear-gradient(135deg, var(--accent), #FF8E8E);
    color: var(--white);
}

.badge-discount {
    background: var(--success);
    color: var(--white);
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
}

/* ==================== PRELOADER ==================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-preloader);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.preloader-logo .logo-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    animation: pulse 1.5s ease-in-out infinite;
}

.preloader-logo .logo-text {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 0;
    letter-spacing: -0.5px;
}

.preloader-logo .logo-text .text-gradient,
.preloader-logo .logo-text .gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.preloader-spinner {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.spinner-ring {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gradient-primary);
    animation: spinnerBounce 1.4s ease-in-out infinite;
}

.spinner-ring:nth-child(1) { animation-delay: 0s; }
.spinner-ring:nth-child(2) { animation-delay: 0.2s; }
.spinner-ring:nth-child(3) { animation-delay: 0.4s; }

@keyframes spinnerBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

.preloader-text {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: var(--z-fixed);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.nav-logo .logo-icon {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-logo-img {
    height: 38px;
    max-height: 38px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    border-radius: 6px;
    transition: var(--transition);
}

.footer-logo .site-logo-img {
    height: 36px;
    max-height: 36px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    border-radius: 6px;
    vertical-align: middle;
}

.preloader-logo .site-logo-img {
    height: 48px;
    max-height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 8px;
    display: inline-block;
}

.nav-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-logo .logo-text {
    color: var(--gray-900);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link i {
    font-size: 0.8rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.navbar.scrolled .nav-link {
    color: var(--gray-600);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--primary);
}

.nav-cta-mobile {
    display: none;
}

.dark-mode-mobile {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.nav-admin-btn {
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    padding: 7px 15px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.nav-admin-btn i {
    font-size: 0.78rem;
    color: var(--secondary);
    transition: color 0.2s ease;
}

.nav-admin-btn:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(108, 99, 255, 0.4);
}

.nav-admin-btn:hover i {
    color: #FFFFFF;
}

.navbar.scrolled .nav-admin-btn {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(108, 99, 255, 0.08);
}

.navbar.scrolled .nav-admin-btn i {
    color: var(--primary);
}

.navbar.scrolled .nav-admin-btn:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

.navbar.scrolled .nav-admin-btn:hover i {
    color: #FFFFFF;
}

.dark-mode-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
    background: rgba(255,255,255,0.1);
}

.navbar.scrolled .dark-mode-toggle {
    color: var(--gray-700);
    background: var(--gray-100);
}

.dark-mode-toggle:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(20deg);
}

.navbar.scrolled .dark-mode-toggle:hover {
    background: var(--gray-200);
}

.nav-cta {
    padding: 10px 24px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 10;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .hamburger-line {
    background: var(--gray-800);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 150px;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background: var(--secondary);
    bottom: -50px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent);
    top: 40%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    bottom: 20%;
    right: 15%;
    animation: float 12s ease-in-out infinite;
}

.shape-5 {
    width: 100px;
    height: 100px;
    background: var(--secondary);
    top: 20%;
    right: 30%;
    animation: float 7s ease-in-out infinite reverse;
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
}

.shape-6 {
    width: 80px;
    height: 80px;
    background: var(--warning);
    top: 60%;
    left: 25%;
    animation: float 9s ease-in-out infinite;
}

.shape-7 {
    width: 120px;
    height: 120px;
    background: var(--primary);
    bottom: 30%;
    left: 40%;
    animation: float 11s ease-in-out infinite reverse;
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
}

.shape-8 {
    width: 60px;
    height: 60px;
    background: var(--accent);
    top: 15%;
    left: 50%;
    animation: float 8s ease-in-out infinite;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: float 5s ease-in-out infinite;
}

.particle-1 { top: 20%; left: 15%; animation-delay: 0s; }
.particle-2 { top: 40%; left: 80%; animation-delay: 1s; }
.particle-3 { top: 70%; left: 30%; animation-delay: 2s; }
.particle-4 { top: 30%; left: 60%; animation-delay: 0.5s; }
.particle-5 { top: 80%; left: 70%; animation-delay: 1.5s; }
.particle-6 { top: 50%; left: 45%; animation-delay: 2.5s; }

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 5;
    margin-bottom: 30px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--border-radius-full);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.badge-icon {
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 20px;
    min-height: 40px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.typing-cursor {
    animation: blink 0.8s step-end infinite;
    color: var(--secondary);
    font-weight: 300;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    max-width: 520px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.5s both;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    animation: fadeInUp 0.8s ease 0.6s both;
    position: relative;
    z-index: 5;
    margin-top: 10px;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 2px;
    flex-wrap: wrap;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.stat-suffix {
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 700;
}

.stat-label {
    width: 100%;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
}

/* Hero Visual / Dashboard Mockup */
.hero-visual {
    position: relative;
}

.hero-illustration {
    position: relative;
    z-index: 2;
}

.dashboard-mockup {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    animation: float 6s ease-in-out infinite;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28C840; }

.mockup-title {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    font-weight: 500;
}

.mockup-body {
    display: flex;
    min-height: 280px;
}

.mockup-sidebar {
    width: 50px;
    background: rgba(255,255,255,0.05);
    border-right: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    gap: 12px;
}

.sidebar-item {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    transition: var(--transition);
}

.sidebar-item.active {
    background: var(--gradient-primary);
    color: var(--white);
}

.mockup-content {
    flex: 1;
    padding: 20px;
}

.mockup-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mini-stat {
    padding: 12px;
    border-radius: 10px;
    text-align: center;
}

.mini-stat i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    display: block;
}

.mini-stat span {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.mini-stat small {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.6);
}

.mini-stat.blue {
    background: rgba(108, 99, 255, 0.2);
    color: var(--primary-light);
}

.mini-stat.green {
    background: rgba(0, 212, 170, 0.2);
    color: var(--secondary);
}

.mini-stat.purple {
    background: rgba(139, 133, 255, 0.2);
    color: #B8B4FF;
}

.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 120px;
    padding-top: 10px;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 6px 6px 0 0;
    opacity: 0.7;
    transition: var(--transition);
    animation: growUp 1s ease-out both;
}

.chart-bar:nth-child(odd) {
    background: var(--gradient-accent);
}

@keyframes growUp {
    from { height: 0 !important; }
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    padding: 10px 18px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--border-radius);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 5;
}

.floating-badge i {
    color: var(--secondary);
}

.badge-top-right {
    top: -10px;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.badge-bottom-left {
    bottom: 30px;
    left: -30px;
    animation: float 5s ease-in-out infinite 1s;
}

.badge-mid-right {
    top: 50%;
    right: -40px;
    animation: float 4.5s ease-in-out infinite 0.5s;
}

.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(108,99,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite;
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 70px;
    max-height: 85px;
}

/* ==================== TRUSTED SECTION ==================== */
.trusted-section {
    padding: 40px 0;
    background: var(--gray-100);
    overflow: hidden;
}

.trusted-label {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.trusted-logos {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    gap: 50px;
    animation: scrollLogos 30s linear infinite;
    width: max-content;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-400);
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
    opacity: 0.6;
}

.logo-item:hover {
    opacity: 1;
    color: var(--primary);
}

.logo-item i {
    font-size: 1.5rem;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    background: var(--gray-100);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--white);
    position: relative;
}

.gradient-bg-1 { background: linear-gradient(135deg, #6C63FF, #8B85FF); }
.gradient-bg-2 { background: linear-gradient(135deg, #00D4AA, #00F0C6); }
.gradient-bg-3 { background: linear-gradient(135deg, #FF6B6B, #FF8E8E); }
.gradient-bg-4 { background: linear-gradient(135deg, #FFC107, #FFD54F); }
.gradient-bg-5 { background: linear-gradient(135deg, #17A2B8, #4FC3F7); }
.gradient-bg-6 { background: linear-gradient(135deg, #6F42C1, #9B59B6); }
.gradient-bg-7 { background: linear-gradient(135deg, #28A745, #51CF66); }
.gradient-bg-8 { background: linear-gradient(135deg, #E83E8C, #F06292); }

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

/* ==================== PRODUCTS SECTION ==================== */
.products-section {
    background: var(--white);
}

.product-filters {
    margin-bottom: 40px;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    border-radius: var(--border-radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-100);
    border: 2px solid transparent;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-tab:hover {
    color: var(--primary);
    background: rgba(108,99,255,0.1);
}

.filter-tab.active {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.filter-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    max-width: 320px;
    flex: 1;
}

.search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.search-input {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--white);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108,99,255,0.1);
}

.sort-dropdown {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    min-width: 180px;
}

.sort-dropdown:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108,99,255,0.1);
}

/* Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.product-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.product-category-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    z-index: 2;
}

.product-body {
    padding: 20px;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-short-desc {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.tech-tag {
    padding: 3px 10px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    border: 1px solid var(--gray-200);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.stars {
    display: flex;
    gap: 2px;
    color: #FFD700;
    font-size: 0.85rem;
}

.rating-text {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-original {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.price-current {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

.product-buy-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
}

/* Product Image Placeholder */
.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gray-300);
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.stats-bg-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.stats-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius-lg);
    transition: var(--transition);
}

.stats-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    color: var(--white);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    display: inline;
}

.stats-suffix {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
    display: inline;
}

.stats-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
}

/* ==================== WHY CHOOSE US / PRICING ==================== */
.why-section {
    background: var(--gray-100);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: center;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 8px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-card.featured .pricing-header {
    padding-top: 20px;
}

.pricing-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(108,99,255,0.1), rgba(0,212,170,0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: var(--primary);
}

.pricing-card.featured .pricing-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

.pricing-features ul {
    margin-bottom: 30px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li i {
    font-size: 0.8rem;
}

.pricing-features li .fa-check {
    color: var(--success);
}

.pricing-features li .fa-times {
    color: var(--gray-400);
}

.pricing-features li.disabled {
    color: var(--gray-400);
}

.pricing-footer {
    text-align: center;
}

.pricing-footer .btn {
    width: 100%;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    background: var(--white);
    overflow: hidden;
}

.testimonials-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: calc(33.333% - 20px);
    margin: 0 10px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-200);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.testimonial-quote-icon {
    font-size: 2rem;
    color: var(--primary-light);
    opacity: 0.3;
    margin-bottom: 12px;
}

.testimonial-content {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    color: #FFD700;
    font-size: 0.75rem;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* ==================== FAQ SECTION ==================== */
.faq-section {
    background: var(--gray-100);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    transition: var(--transition);
    gap: 16px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--gray-500);
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-toggle {
    background: var(--primary);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-content {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.faq-cta {
    text-align: center;
    margin-top: 40px;
}

.faq-cta p {
    margin-bottom: 16px;
    font-size: 1rem;
    color: var(--gray-600);
}

/* ==================== NEWSLETTER SECTION ==================== */
.newsletter-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.newsletter-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.nl-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.nl-shape-1 {
    width: 300px;
    height: 300px;
    background: var(--white);
    top: -100px;
    right: -50px;
    animation: float 8s ease-in-out infinite;
}

.nl-shape-2 {
    width: 200px;
    height: 200px;
    background: var(--white);
    bottom: -80px;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.nl-shape-3 {
    width: 150px;
    height: 150px;
    background: var(--white);
    top: 50%;
    left: 50%;
    animation: float 6s ease-in-out infinite;
}

.newsletter-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.newsletter-text h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.newsletter-text h2 i {
    margin-right: 8px;
}

.newsletter-text p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    max-width: 520px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 0.95rem;
    background: transparent;
}

.newsletter-btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 16px 28px;
    white-space: nowrap;
    box-shadow: none;
}

.newsletter-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: 16px;
}

.newsletter-note i {
    margin-right: 4px;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-card:hover {
    background: var(--white);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 2px;
}

.contact-social {
    margin-top: 24px;
}

.contact-social h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gray-100);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
}

.form-group {
    margin-bottom: 24px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 16px 16px 16px 44px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-800);
}

.input-wrapper label {
    position: absolute;
    left: 44px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 0.9rem;
    pointer-events: none;
    transition: var(--transition);
}

.textarea-wrapper label {
    top: 20px;
    transform: none;
}

.input-wrapper label i {
    margin-right: 6px;
    font-size: 0.85rem;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108,99,255,0.1);
}

.input-wrapper input:focus + label,
.input-wrapper input:not(:placeholder-shown) + label,
.input-wrapper textarea:focus + label,
.input-wrapper textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 16px;
    font-size: 0.75rem;
    color: var(--primary);
    background: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    transform: none;
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.input-wrapper input:focus ~ .input-border,
.input-wrapper textarea:focus ~ .input-border {
    width: 100%;
}

.error-message {
    display: block;
    font-size: 0.8rem;
    color: var(--danger);
    margin-top: 6px;
    min-height: 18px;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
}

.footer-top {
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    font-size: 1.6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo .logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--white);
}

.footer-about {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-links a i {
    font-size: 0.65rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.footer-contact li i {
    color: var(--primary-light);
    margin-top: 4px;
    width: 16px;
    text-align: center;
}

/* Footer Bottom */
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.copyright {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-methods span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

.payment-icons {
    display: flex;
    gap: 8px;
}

.payment-icons i {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.3);
    transition: var(--transition);
}

.payment-icons i:hover {
    color: var(--white);
}

/* ==================== BACK TO TOP ==================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-primary);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    cursor: pointer;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(108,99,255,0.5);
}

/* ==================== MODAL ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: var(--z-modal-backdrop);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-size: 1rem;
    transition: var(--transition);
    z-index: 10;
    cursor: pointer;
}

.modal-close:hover {
    background: var(--danger);
    color: var(--white);
}

.modal-body {
    padding: 0;
}

/* Modal Product Detail Content */
.modal-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-gallery {
    padding: 30px;
    background: var(--gray-100);
}

.modal-main-image {
    width: 100%;
    height: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-main-image i {
    font-size: 4rem;
    color: var(--gray-400);
}

.modal-thumbnails {
    display: flex;
    gap: 8px;
}

.modal-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-thumb.active,
.modal-thumb:hover {
    border-color: var(--primary);
}

.modal-info {
    padding: 30px;
}

.modal-product-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.modal-product-category {
    display: inline-flex;
    padding: 4px 14px;
    background: rgba(108,99,255,0.1);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    margin-bottom: 16px;
}

.modal-product-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.modal-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.modal-features {
    margin-bottom: 20px;
}

.modal-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.modal-features li i {
    color: var(--success);
    font-size: 0.75rem;
}

.modal-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.modal-price-section {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--gray-100);
    border-radius: var(--border-radius);
}

.modal-price-original {
    font-size: 1rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.modal-price-current {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.modal-price-discount {
    padding: 4px 10px;
    background: var(--danger);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--border-radius-full);
}

.modal-actions {
    display: flex;
    gap: 12px;
}

.modal-actions .btn {
    flex: 1;
}

/* Modal Reviews */
.modal-reviews {
    padding: 30px;
    border-top: 1px solid var(--gray-200);
    grid-column: 1 / -1;
}

.review-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.review-body h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.review-stars {
    display: flex;
    gap: 2px;
    color: #FFD700;
    font-size: 0.7rem;
}

.review-date {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.review-text {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

/* ==================== TOAST ==================== */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: var(--z-tooltip);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 14px 24px;
    border-radius: var(--border-radius);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 280px;
    animation: slideInRight 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }
.toast.warning { background: var(--warning); color: var(--gray-900); }
.toast.info { background: var(--info); }

.toast.fade-out {
    animation: slideOutRight 0.3s ease forwards;
}

/* ==================== SKELETON LOADING ==================== */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
}

.skeleton-image {
    height: 220px;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 10px;
}

.skeleton-content {
    padding: 20px;
}

.skeleton-card {
    border: none !important;
    overflow: hidden;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ==================== ANIMATIONS ==================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animate on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== DARK MODE ==================== */
.dark-mode {
    --gray-100: #16213E;
    --gray-200: #1F2B47;
    --gray-300: #2C3E66;
    --gray-800: #E0E0E0;
    --gray-900: #F5F5F5;
    --gray-600: #A0AEC0;
    --gray-500: #8896AB;
    --gray-400: #62728D;
}

.dark-mode body,
.dark-mode {
    background-color: #1A1A2E;
    color: #E0E0E0;
}

/* Pastikan semua teks & judul di hero tetap putih terang di semua mode */
.hero-title,
.dark-mode .hero-title,
.hero-title *,
.dark-mode .hero-title * {
    color: #FFFFFF !important;
}

.hero-title .gradient-text,
.dark-mode .hero-title .gradient-text {
    background: var(--gradient-text) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.hero-description,
.dark-mode .hero-description {
    color: rgba(255, 255, 255, 0.88) !important;
}

.hero-cta .btn-outline,
.dark-mode .hero-cta .btn-outline {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
    border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(10px);
}

.hero-cta .btn-outline i,
.hero-cta .btn-outline span,
.dark-mode .hero-cta .btn-outline i,
.dark-mode .hero-cta .btn-outline span {
    color: #FFFFFF !important;
}

.hero-cta .btn-outline:hover,
.dark-mode .hero-cta .btn-outline:hover {
    background: var(--primary) !important;
    color: #FFFFFF !important;
    border-color: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.4) !important;
}

.hero-cta .btn-outline:hover i,
.hero-cta .btn-outline:hover span,
.dark-mode .hero-cta .btn-outline:hover i,
.dark-mode .hero-cta .btn-outline:hover span {
    color: #FFFFFF !important;
}

/* Navbar logo & links di Mode Gelap */
.nav-logo .logo-text,
.dark-mode .nav-logo .logo-text {
    color: #FFFFFF !important;
}

.dark-mode .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
}

.dark-mode .nav-link:hover,
.dark-mode .nav-link.active {
    color: #FFFFFF !important;
}

.dark-mode .navbar.scrolled {
    background: rgba(26, 26, 46, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dark-mode .navbar.scrolled .nav-logo .logo-text {
    color: #FFFFFF !important;
}

.dark-mode .navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}

.dark-mode .navbar.scrolled .nav-link:hover,
.dark-mode .navbar.scrolled .nav-link.active {
    color: var(--secondary) !important;
}

.dark-mode .navbar.scrolled .hamburger-line {
    background: #FFFFFF;
}

.dark-mode .navbar.scrolled .dark-mode-toggle {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
}

/* Dark Mode Admin Button: Pastikan selalu jelas & kontras tinggi */
.dark-mode .nav-admin-btn,
.dark-mode .navbar .nav-admin-btn,
.dark-mode .navbar.scrolled .nav-admin-btn {
    color: #FFFFFF !important;
    border-color: rgba(108, 99, 255, 0.7) !important;
    background: rgba(108, 99, 255, 0.22) !important;
    box-shadow: 0 2px 8px rgba(108, 99, 255, 0.25);
}

.dark-mode .nav-admin-btn span,
.dark-mode .navbar .nav-admin-btn span,
.dark-mode .navbar.scrolled .nav-admin-btn span {
    color: #FFFFFF !important;
}

.dark-mode .nav-admin-btn i,
.dark-mode .navbar .nav-admin-btn i,
.dark-mode .navbar.scrolled .nav-admin-btn i {
    color: var(--secondary) !important;
}

.dark-mode .nav-admin-btn:hover,
.dark-mode .navbar .nav-admin-btn:hover,
.dark-mode .navbar.scrolled .nav-admin-btn:hover {
    background: var(--primary) !important;
    color: #FFFFFF !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 16px rgba(108, 99, 255, 0.5) !important;
}

.dark-mode .nav-admin-btn:hover span,
.dark-mode .navbar .nav-admin-btn:hover span,
.dark-mode .navbar.scrolled .nav-admin-btn:hover span {
    color: #FFFFFF !important;
}

.dark-mode .nav-admin-btn:hover i,
.dark-mode .navbar .nav-admin-btn:hover i,
.dark-mode .navbar.scrolled .nav-admin-btn:hover i {
    color: #FFFFFF !important;
}

.nav-admin-mobile-link {
    color: var(--secondary) !important;
    font-weight: 700 !important;
}

.nav-admin-mobile-link:hover {
    color: var(--primary-light) !important;
}

.dark-mode .nav-admin-mobile-link {
    color: var(--secondary) !important;
}

.dark-mode .feature-card,
.dark-mode .product-card,
.dark-mode .pricing-card,
.dark-mode .testimonial-card,
.dark-mode .faq-item,
.dark-mode .contact-form-wrapper {
    background: #16213E;
    border-color: rgba(255,255,255,0.08);
}

.dark-mode .search-input,
.dark-mode .sort-dropdown,
.dark-mode .input-wrapper input,
.dark-mode .input-wrapper textarea {
    background: #16213E;
    border-color: rgba(255,255,255,0.1);
    color: #E0E0E0;
}

.dark-mode .input-wrapper input:focus + label,
.dark-mode .input-wrapper input:not(:placeholder-shown) + label,
.dark-mode .input-wrapper textarea:focus + label,
.dark-mode .input-wrapper textarea:not(:placeholder-shown) + label {
    background: #16213E;
}

.dark-mode .contact-card {
    background: rgba(255,255,255,0.05);
}

.dark-mode .contact-card:hover {
    background: rgba(108,99,255,0.1);
}

.dark-mode .modal-container {
    background: #1A1A2E;
}

.dark-mode .modal-gallery {
    background: #16213E;
}

.dark-mode .modal-close {
    background: rgba(255,255,255,0.1);
    color: #E0E0E0;
}

.dark-mode .tech-tag {
    background: rgba(255,255,255,0.08);
    color: #A0AEC0;
    border-color: rgba(255,255,255,0.1);
}

.dark-mode .wave-divider svg path {
    fill: #16213E;
}

.dark-mode .trusted-section,
.dark-mode .features-section,
.dark-mode .why-section,
.dark-mode .faq-section {
    background: #16213E;
}

.dark-mode .products-section,
.dark-mode .testimonials-section,
.dark-mode .contact-section {
    background: #1A1A2E;
}

.dark-mode .social-link {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

.dark-mode .slider-btn {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* ==================== RESPONSIVE ==================== */

/* Large Desktops */
@media (max-width: 1200px) {
    .container { max-width: 960px; }
    .hero-title { font-size: 3rem; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Tablets & Small Desktops */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: var(--transition);
        gap: 0;
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: rgba(255,255,255,0.8);
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        width: 100%;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-light);
    }

    .nav-cta-mobile {
        display: block;
        margin-top: 16px;
    }

    .dark-mode-mobile {
        display: block;
        margin-top: 8px;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-section {
        padding-top: 90px;
        padding-bottom: 120px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-description {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card {
        min-width: calc(50% - 20px);
    }

    .modal-product {
        grid-template-columns: 1fr;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .section-padding {
        padding: 70px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-divider {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .filter-tabs {
        gap: 6px;
    }

    .filter-tab {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: 100%;
    }

    .newsletter-input-group {
        flex-direction: column;
        border-radius: var(--border-radius);
    }

    .newsletter-btn {
        border-radius: var(--border-radius);
    }

    .contact-form-wrapper {
        padding: 24px;
    }

    .testimonial-card {
        min-width: calc(100% - 20px);
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .section-padding {
        padding: 60px 0;
    }

    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    h1 { font-size: 2rem; }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .hero-badge {
        font-size: 0.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .payment-methods {
        flex-direction: column;
    }

    .modal-container {
        margin: 10px;
        max-height: 95vh;
    }

    .modal-info {
        padding: 20px;
    }

    .modal-gallery {
        padding: 20px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* Extra Small */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .filter-tabs {
        flex-direction: column;
    }

    .filter-tab {
        width: 100%;
        justify-content: center;
    }
}
