/* --- Fonts --- */
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/google-sans/google-sans-regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/google-sans/google-sans-medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Google Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/google-sans/google-sans-bold.ttf') format('truetype');
}

/* --- Variables & Global --- */
:root {
    --primary: #1D4ED8; /* BizCommerce Blue */
    --primary-hover: #1e40af;
    --secondary: #10B981; /* Growth Emerald */
    --secondary-hover: #059669;
    --tertiary: #8B5CF6; /* Innovation Purple */
    --tertiary-hover: #7c3aed;
    --bg-main: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --text-light: #F3F4F6;
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Google Sans', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.2);
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.text-white { color: var(--text-light); }

/* --- Components --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #1D4ED8, #10B981);
    color: white;
    outline: none;
    border: none;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #1E40AF, #059669);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-dark);
    border-color: var(--bg-dark);
}
.btn-secondary:hover {
    background-color: var(--bg-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: white;
}

.final-cta .btn-primary {
    background: white;
    color: var(--primary);
}
.final-cta .btn-primary:hover {
    background: var(--bg-light);
    color: var(--primary-hover);
}

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

.mesh-cta .btn-primary {
    background: linear-gradient(135deg, #1D4ED8, #10B981);
    color: white;
}
.mesh-cta .btn-primary:hover {
    background: linear-gradient(135deg, #1E40AF, #059669);
    color: white;
}

.mesh-cta .btn-secondary {
    border-color: var(--bg-dark);
    color: var(--bg-dark);
}
.mesh-cta .btn-secondary:hover {
    background-color: var(--bg-dark);
    color: white;
}

.btn-outline {
    border-color: var(--text-main);
    color: var(--text-main);
}
.btn-outline:hover {
    background-color: var(--text-main);
    color: white;
}

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

.btn-large {
    padding: 14px 32px;
    font-size: 1.125rem;
}
.btn-full {
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    position: relative;
    z-index: 1001;
}
.logo span {
    color: var(--primary);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links {
    display: flex;
    gap: 32px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-contact-mobile {
    display: none;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}
.nav-links a:hover {
    color: var(--primary);
}
.nav-links a.active {
    color: #10B981;
}
.nav-actions {
    display: flex;
    gap: 16px;
}

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Above mobile menu */
    width: 30px;
    height: 20px;
    position: relative;
}
.mobile-menu-btn .bar {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
}
.mobile-menu-btn .bar:nth-child(1) { top: 0; }
.mobile-menu-btn .bar:nth-child(2) { top: 9px; }
.mobile-menu-btn .bar:nth-child(3) { bottom: 0; }

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.1), transparent 50%);
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
}
.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}
.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}
.hero-cta {
    display: flex;
    gap: 16px;
}

.visual-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
}
.mockup-laptop {
    position: absolute;
    width: 90%;
    right: 0;
    top: 50px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glow);
    z-index: 1;
}
.mockup-mobile {
    position: absolute;
    width: 30%;
    left: 0;
    bottom: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}
.top-left { top: 20px; left: -20px; animation-delay: 0s; }
.bottom-right { bottom: 100px; right: -20px; animation-delay: 3s; }
.card-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-label { display: block; font-size: 0.875rem; color: var(--text-muted); }
.card-value { display: block; font-weight: 700; color: var(--text-main); font-size: 1.125rem; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- Integrations --- */
.integrations {
    padding: 40px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-align: center;
}
.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}
.integration-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition);
}
.integration-logos:hover {
    opacity: 1;
    filter: grayscale(0%);
}
.logo-item {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* --- Statistics --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding: 80px 24px;
    text-align: center;
}
.stat-number {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.stat-label {
    font-weight: 500;
    color: var(--text-muted);
}

/* --- Features --- */
.section-header {
    max-width: 650px;
    margin: 0 auto 60px;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 500;
}
.section-header h2 span {
    color: var(--primary);
}
.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.feature-card {
    background: var(--bg-main);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
}
.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
}
.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Storefront Showcase --- */
.theme-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 20px 0 40px;
}
.theme-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.theme-slide {
    min-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}
@media (min-width: 769px) {
    .theme-slide {
        min-width: 33.3333%;
    }
}
.theme-slide h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 1.25rem;
}
.theme-slide p {
    color: #64748b;
    font-size: 0.95rem;
}

.theme-card {
    background: var(--bg-main);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.theme-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.theme-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-muted);
}
.theme-info {
    padding: 24px;
}
.theme-info h3 { margin-bottom: 8px; }
.theme-info p { color: var(--text-muted); font-size: 0.95rem; }
.slider-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}
.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    background: var(--bg-main);
    cursor: pointer;
    font-size: 1.25rem;
    transition: var(--transition);
}
.slider-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* --- Dashboard Preview --- */
.dashboard-interactive {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.05);
}
.dashboard-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    text-wrap: nowrap !important;
}
.tab-btn {
    padding: 10px 24px;
    border: none;
    background: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}
.dashboard-display {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-main);
}
.dashboard-display img {
    width: 100%;
    display: block;
    transition: opacity 0.3s ease;
}

/* --- Localized Section --- */
.localized {
    position: relative;
    overflow: hidden;
}
.localized-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.localized-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}
.localized-content h2 span { color: var(--secondary); }
.localized-content p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
}
.localized-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 1.125rem;
}
.check {
    color: var(--secondary);
    font-weight: bold;
}
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 40px;
    height: auto;
    position: relative;
}
.map-point {
    position: absolute;
    background: rgba(255,255,255,0.9);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}
.map-point span {
    display: block;
    color: var(--secondary);
    font-size: 0.75rem;
}
.point-1 { top: 30%; left: 40%; }
.point-2 { bottom: 20%; right: 20%; }
.point-3 { top: 15%; right: 30%; }

/* --- Testimonials --- */
.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0 40px; /* Space for dots */
}
.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.testimonial-slide {
    min-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}
@media (min-width: 769px) {
    .testimonial-slide {
        min-width: 50%; /* Show 2 cards at once on desktop */
    }
}
.testimonial-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    height: 100%;
}
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(79, 70, 229, 0.2);
    cursor: pointer;
    transition: var(--transition);
}
.dot.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 5px;
}
.growth-metric {
    display: inline-block;
    color: var(--secondary);
    background: rgba(16, 185, 129, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    margin-bottom: 24px;
}
.quote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 32px;
}
.author {
    display: flex;
    align-items: center;
    gap: 16px;
}
.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary);
}
.author-info h4 { margin: 0; font-size: 1rem; }
.author-info span { color: var(--text-muted); font-size: 0.875rem; }

/* --- Pricing --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--bg-main);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    transition: var(--transition);
}
.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.premium {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.plan-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.plan-price { font-size: 3rem; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.plan-price span { font-size: 2rem; color: var(--text-muted); font-weight: 400; }
.plan-desc { color: var(--text-muted); margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(0,0,0,0.1); }
.plan-features { margin-bottom: 40px; }
.plan-features li { margin-bottom: 8px; display: flex; align-items: center; gap: 12px; }

/* --- FAQ Section --- */
.faq-section {
    background-color: var(--bg-main);
}
.faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
/* .faq-content {
    max-width: 500px;
} */
.faq-subtitle {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 12px;
    display: block;
    letter-spacing: 0.05em;
}
.faq-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.02em;
}
.faq-title span {
    color: var(--text-main);
}
.faq-accordion {
    display: flex;
    flex-direction: column;
}
.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    transition: var(--transition);
    font-family: var(--font-sans);
}
.faq-btn:hover {
    color: var(--primary);
}
.faq-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--text-main);
}
.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-panel p {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-bottom: 20px;
    padding-right: 40px;
    line-height: 1.6;
    margin: 0;
}
.faq-visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
.faq-image-wrapper {
    background: #f8fafc;
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.02);
    max-width: 650px;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.faq-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-md);
    display: block;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 992px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .faq-content, .faq-visual {
        max-width: 100%;
    }
    .faq-visual {
        justify-content: center;
    }
}

/* --- Final CTA --- */
.final-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.mesh-cta {
    background-color: var(--bg-light);
    background-image: 
        radial-gradient(at 20% 0%, rgba(29, 78, 216, 0.15) 0px, transparent 60%),
        radial-gradient(at 80% 10%, rgba(139, 92, 246, 0.15) 0px, transparent 60%),
        radial-gradient(at 100% 90%, rgba(16, 185, 129, 0.15) 0px, transparent 60%),
        radial-gradient(at 0% 100%, rgba(29, 78, 216, 0.1) 0px, transparent 50%);
    color: var(--text-main);
}
.mesh-cta h2 { color: var(--bg-dark); }
.mesh-cta p { color: var(--text-muted); }
.cta-content h2 { font-size: 3rem; margin-bottom: 16px; }
.cta-content p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 40px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; }

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-brand .logo { color: white; margin-bottom: 16px; display: inline-block; }
.footer-links h4 { color: white; margin-bottom: 24px; font-size: 1.125rem; }
.accordion-icon { display: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social-links { display: flex; gap: 16px; align-items: center; }
.social-links a { color: white; opacity: 0.7; font-size: 1.5rem; transition: var(--transition); display: flex; }
.social-links a:hover { opacity: 1; transform: translateY(-2px); }

/* ==========================================================================
   Features Page Styles (Premium Upgrades)
   ========================================================================== */
.features-hero {
    position: relative;
    background: radial-gradient(circle at top, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
}
.features-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.sticky-category-nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    z-index: 90;
    padding: 16px 0;
}
.category-links {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.category-links::-webkit-scrollbar {
    display: none;
}
.category-links li a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: 1px solid transparent;
}
.category-links li a:hover {
    background: var(--bg-light);
    color: var(--primary);
}
.category-links li a.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.feature-split.reverse .feature-text {
    order: 2;
}
.feature-split.reverse .feature-visual {
    order: 1;
}

.feature-detail-block {
    position: relative;
    overflow: hidden;
}
.feature-detail-block h2 {
    font-size: 2.75rem;
    margin-bottom: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-main);
    background: linear-gradient(135deg, var(--text-main) 0%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.feature-detail-block p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}
.feature-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 1.05rem;
}
.feature-bullets li i {
    color: var(--primary);
    font-size: 1.25rem;
    background: rgba(79, 70, 229, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-top: -4px;
    flex-shrink: 0;
}

/* Premium Mockups */
.feature-visual {
    position: relative;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    box-shadow: inset 0 2px 4px rgba(255,255,255,0.5);
}
.feature-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    pointer-events: none;
}
.feature-visual::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    pointer-events: none;
}

.mockup-card, .customer-profile-card, .coupon-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    padding: 32px;
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.mockup-card:hover, .customer-profile-card:hover, .coupon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.15);
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-main);
}
.mockup-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    color: #475569;
    font-size: 0.95rem;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s;
}
.mockup-row:hover { background: #f8fafc; }
.stock-high { color: var(--secondary); font-weight: 600; background: #dcfce7; padding: 2px 8px; border-radius: 12px; font-size: 0.85rem;}
.stock-low { color: #ef4444; font-weight: 600; background: #fee2e2; padding: 2px 8px; border-radius: 12px; font-size: 0.85rem;}

.timeline-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.timeline-item:hover { transform: translateX(8px); }
.timeline-item .time { font-size: 0.85rem; color: #94a3b8; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;}
.timeline-item p { margin: 8px 0 0 !important; font-weight: 600; font-size: 1.05rem !important; color: var(--text-main) !important; }
.border-blue { border-left: 4px solid #3b82f6; }
.border-green { border-left: 4px solid var(--secondary); }
.border-orange { border-left: 4px solid #f59e0b; }

.customer-profile-card {
    text-align: center;
}
.avatar-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(161, 140, 209, 0.3);
}
.customer-profile-card h3 { margin-bottom: 8px; font-size: 1.75rem; color: var(--text-main); }
.customer-profile-card .ltv { color: #64748b; margin-bottom: 24px !important; font-size: 1.05rem !important; font-weight: 500; }
.tags { display: flex; gap: 12px; justify-content: center; }
.tag { padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; box-shadow: 0 2px 4px rgba(0,0,0,0.05);}
.tag-green { background: #dcfce7; color: #166534; }
.tag-purple { background: #f3e8ff; color: #6b21a8; }

.coupon-card {
    border: none;
    background: linear-gradient(135deg, #fdf2f8 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}
.coupon-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 6px;
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
}
.coupon-card h3 { 
    color: transparent; 
    background: linear-gradient(90deg, #ec4899, #8b5cf6); 
    -webkit-background-clip: text; 
    background-clip: text;
    font-size: 2.5rem; 
    margin-bottom: 16px; 
    letter-spacing: 2px; 
    font-weight: 800;
}
.coupon-card .offer { font-weight: 800; font-size: 1.5rem; margin-bottom: 16px !important; color: var(--text-main) !important; }
.coupon-card .terms { color: #94a3b8; font-size: 0.9rem !important; margin-bottom: 0 !important; }

/* Premium Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}
.bento-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1);
}
.bento-card h3 { font-size: 1.5rem; margin-bottom: 16px; color: var(--text-main); }
.bento-card p { color: #64748b; margin-bottom: 24px; line-height: 1.6; }
.bento-card .feature-icon { font-size: 2.5rem; margin-bottom: 24px; }
.bento-card .feature-bullets { margin-top: auto; }
.bento-card .feature-bullets li { font-size: 0.95rem; margin-bottom: 12px; }

.bento-large {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 100%);
    color: white;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}
.bento-large h3, .bento-large p, .bento-large li { color: white; }
.bento-large .feature-icon { color: white; }
.bento-large .feature-bullets li i { background: rgba(255,255,255,0.2); color: white; }
.bento-large .bento-content { flex: 1; }
.bento-large .bento-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.glass-pill {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    padding: 16px 24px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.3);
}
.glass-pill i { font-size: 1.25rem; color: var(--secondary); }

.bento-tall {
    grid-row: span 2;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
}
.bento-tall h3, .bento-tall p, .bento-tall li { color: white; }
.bento-tall .feature-icon { color: var(--secondary); }
.bento-tall .feature-bullets li i { background: rgba(255,255,255,0.1); color: var(--secondary); }

/* Premium Comparison Table */
.comparison { background: var(--bg-dark); }
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 60px;
    padding: 0 20px 20px;
}
.bg-dark .comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    color: white;
}
.bg-dark .comparison-table th, .bg-dark .comparison-table td {
    padding: 24px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.bg-dark .comparison-table th {
    background: transparent;
    font-weight: 700;
    font-size: 1.125rem;
    color: rgba(255,255,255,0.7);
    border-bottom: 2px solid rgba(255,255,255,0.2);
}
.bg-dark .comparison-table th:nth-child(2) {
    color: var(--primary);
    font-size: 1.25rem;
}
.bg-dark .comparison-table td:nth-child(2) {
    background: rgba(79, 70, 229, 0.1);
    font-weight: 600;
    color: white;
    border-left: 1px solid rgba(79, 70, 229, 0.2);
    border-right: 1px solid rgba(79, 70, 229, 0.2);
}
.bg-dark .comparison-table td.highlight i {
    color: var(--primary);
    margin-right: 8px;
    background: white;
    padding: 5px 6px;
    border-radius: 50%;
    font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-cta { justify-content: center; }
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { margin: 0 auto 40px; }
    .visual-wrapper { height: 400px; margin-top: 40px; }
    .mockup-laptop { width: 80%; left: 10%; right: auto; }
    .mockup-mobile { left: 5%; }
    .feature-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .bento-tall { grid-row: span 1; grid-column: span 2; }
    .bento-large { flex-direction: column; align-items: flex-start; text-align: left; }
    .localized-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}
@media (max-width: 768px) {
    /* Mobile Off-Canvas Menu */
    .mobile-menu-btn { display: block; }
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-main);
        flex-direction: column;
        justify-content: center;
        padding: 24px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
    }
    .nav-menu.active {
        transform: translateX(0);
    }
    .nav-links {
        position: static;
        transform: none;
        flex-direction: column;
        align-items: center;
        margin-bottom: 32px;
        gap: 24px;
    }
    .nav-links a {
        font-size: 1.5rem;
    }
    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    .nav-actions .btn {
        width: 100%;
    }
    
    .nav-contact-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 32px;
        padding-top: 32px;
        border-top: 1px solid rgba(0,0,0,0.05);
        width: 100%;
    }
    .nav-contact-mobile a {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--text-muted);
        font-size: 1.1rem;
        font-weight: 500;
        text-decoration: none;
    }
    .nav-contact-mobile a i {
        color: var(--primary);
    }

    /* Hero adjustments */
    .hero { padding-top: 120px; }
    .hero-title { font-size: 2.5rem; }
    .floating-card {
        padding: 12px;
        gap: 12px;
    }
    .card-icon {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
    .top-left { top: -20px; left: 0; }
    .bottom-right { bottom: 0; right: 0; }
    
    .stats-grid { grid-template-columns: 1fr; gap: 40px; }
    .feature-grid, .feature-split { grid-template-columns: 1fr; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-large, .bento-tall { grid-column: span 1; grid-row: span 1; }
    
    /* Features Page Specific Mobile */
    .features-hero { padding-top: 100px !important; padding-bottom: 60px !important; }
    .features-hero .hero-title { font-size: 2.25rem !important; }
    .feature-split { gap: 40px; }
    .feature-detail-block h2 { font-size: 2rem; }
    .feature-visual { padding: 32px 16px; }
    .bento-card { padding: 24px; border-radius: 16px; }
    .bento-large { gap: 24px; }
    .bento-large .bento-visual { width: 100%; }
    .mockup-card, .customer-profile-card, .coupon-card { padding: 24px; }
    .coupon-card h3 { font-size: 2rem; }
    .avatar-circle { width: 60px; height: 60px; font-size: 1.5rem; }
    .slide { min-width: 100%; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 16px; }
    
    /* Footer Accordion */
    .accordion-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0 !important;
        padding: 16px 0;
        cursor: pointer;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .accordion-icon {
        display: inline-block;
        transition: transform 0.3s ease;
    }
    .accordion-icon::after {
        content: '+';
        font-size: 1.5rem;
        font-weight: 300;
        line-height: 1;
    }
    .accordion-item.active .accordion-icon {
        transform: rotate(45deg);
    }
    .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    .accordion-item.active .accordion-content {
        max-height: 300px;
    }
    .accordion-item.active .accordion-content li:first-child {
        margin-top: 16px;
    }

    .dashboard-interactive { padding: 20px; }

    .cta-buttons { flex-direction: column; }
    .dashboard-tabs { 
        flex-wrap: nowrap; 
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .dashboard-tabs::-webkit-scrollbar {
        display: none;
    }
}
