/* ===================================
   SparzaFi Landing Page Styles
   Official Brand Colors - Dark Mode
   =================================== */

/* ===================================
   CSS Variables & Reset
   =================================== */
:root {
    /* Official SparzaFi Brand Colors - Dark Mode (Primary Theme) */
    --primary-color: #6B00FF;           /* Bright Purple Accent */
    --primary-hover: #8533FF;           /* Lighter purple on hover */
    --secondary-color: #6B00FF;         /* Bright Purple */
    --accent-color: #6B00FF;            /* Bright Purple Accent */
    --bg-dark: #1A0028;                 /* Dark Purple Background */
    --bg-section: #000000;              /* Black Elements/Sections */
    --bg-card: #000000;                 /* Black Cards */
    --text-primary: #FFFFFF;            /* White Text */
    --text-secondary: #CCCCCC;          /* Light Gray Text */
    --text-muted: #999999;              /* Muted Gray Text */
    --border-color: #333333;            /* Dark Border */

    /* Additional Neutral Colors */
    --border-light: #E6E6E6;            /* Light gray divider/border */
    --glow-purple: rgba(107, 0, 255, 0.3);  /* Soft Purple Glow */
    --glow-dark: rgba(0, 0, 0, 0.4);    /* Dark Glow */

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    --card-padding: 30px;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-size-h1: 3.5rem;
    --font-size-h2: 2.5rem;
    --font-size-h3: 1.75rem;
    --font-size-body: 1.125rem;

    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 20px var(--glow-purple);  /* Purple Glow */
    --shadow-purple: 0 0 30px var(--glow-purple); /* Stronger Purple Glow */
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: var(--font-size-h1);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: var(--font-size-h2);
    color: var(--text-primary);
}

h3 {
    font-size: var(--font-size-h3);
    color: var(--text-primary);
}

p {
    font-size: var(--font-size-body);
    color: var(--text-secondary);
    line-height: 1.8;
}

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

a:hover {
    color: var(--primary-hover);
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section {
    padding: var(--section-padding);
    position: relative;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* ===================================
   Header
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 0, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

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

.logo {
    max-width: 150px;
}

.logo img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.logo:hover img {
    filter: drop-shadow(0 0 15px rgba(107, 0, 255, 0.6));
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-blog-btn {
    background: transparent;
    color: var(--text-primary) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.nav-blog-btn:hover {
    background: rgba(107, 0, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(107, 0, 255, 0.3);
}

.nav-blog-btn::after {
    display: none;
}

.nav-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 50px;
    box-shadow: var(--glow-primary);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(107, 0, 255, 0.5);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-toggle:hover span {
    background: var(--primary-color);
}

/* ===================================
   Buttons
   =================================== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn-large {
    padding: 20px 50px;
    font-size: 1.25rem;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at 50% 0%, var(--glow-purple), transparent 50%),
                radial-gradient(circle at 100% 50%, var(--glow-purple), transparent 50%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

/* Hero Logo Background */
.hero-logo-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 1200px;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.hero-logo-bg img {
    width: 100%;
    height: auto;
    filter: brightness(1.5);
}

/* Hero Logo (Centered) */
.hero-logo {
    margin: 0 auto 2rem;
    max-width: 500px;
    animation: fadeInUp 1s ease-out;
}

.hero-logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(107, 0, 255, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* ===================================
   About Section
   =================================== */
.about-section {
    background: var(--bg-section);
    text-align: center;
}

.about-section h2 {
    margin-bottom: 1rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.about-content p {
    font-size: 1.25rem;
    line-height: 2;
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works-section {
    text-align: center;
}

.how-it-works-section h2 {
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.step {
    padding: var(--card-padding);
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg), var(--glow-primary);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: var(--glow-primary);
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.step p {
    color: var(--text-secondary);
}

/* ===================================
   Seller Videos Section
   =================================== */
.seller-videos-section {
    background: var(--bg-section);
    text-align: center;
}

.video-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.video-feature {
    padding: var(--card-padding);
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.video-feature:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(124, 58, 237, 0.3);
}

.video-feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ===================================
   Delivery Section
   =================================== */
.delivery-section {
    text-align: center;
}

.delivery-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 3rem 0;
    flex-wrap: wrap;
    gap: 20px;
}

.delivery-step {
    flex: 1;
    min-width: 250px;
    padding: var(--card-padding);
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.delivery-step:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.delivery-step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.delivery-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

.security-note {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--glow-purple), rgba(107, 0, 255, 0.05));
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.security-note p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ===================================
   Tax Section
   =================================== */
.tax-section {
    background: var(--bg-section);
    text-align: center;
}

.tax-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.tax-feature {
    padding: var(--card-padding);
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tax-feature:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(245, 158, 11, 0.3);
}

.tax-feature h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* ===================================
   Features Section
   =================================== */
.features-section {
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.feature-card {
    padding: var(--card-padding);
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--glow-purple), rgba(107, 0, 255, 0.05));
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--glow-purple), rgba(107, 0, 255, 0.1));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--glow-purple), transparent 50%);
    animation: rotate 20s linear infinite;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-section > .container > p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-section);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-section p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

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

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

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    :root {
        --font-size-h1: 2.5rem;
        --font-size-h2: 2rem;
        --font-size-h3: 1.5rem;
        --section-padding: 60px 0;
    }

    .hero-logo {
        max-width: 300px;
        margin-bottom: 1.5rem;
    }

    .hero-logo-bg {
        width: 120%;
        opacity: 0.05;
    }

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

    .hero p {
        font-size: 1.125rem;
    }

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

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .delivery-arrow {
        display: none;
    }

    .delivery-flow {
        flex-direction: column;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-stats {
        gap: 30px;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .logo {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .steps,
    .video-features,
    .tax-features,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Scroll Reveal Classes
   =================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   New Component Styles
   =================================== */

/* Hero subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* About section grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.about-card {
    padding: 2rem;
    background: var(--bg-section);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.about-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.about-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-card ul {
    list-style: none;
    padding-left: 0;
}

.about-card ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.about-card ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Step notes */
.step-note {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(107, 0, 255, 0.1);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border: 1px solid rgba(107, 0, 255, 0.2);
}

/* Delivery types */
.delivery-types {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.delivery-types h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.deliverer-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 1.5rem;
}

.deliverer-type {
    padding: 1rem;
    background: var(--bg-section);
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    font-size: 1rem;
    color: var(--text-primary);
}

.deliverer-type:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.deliverer-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

/* KYC Section */
.kyc-section {
    background: var(--bg-section);
}

.kyc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.kyc-card {
    padding: var(--card-padding);
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.kyc-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(124, 58, 237, 0.3);
}

.kyc-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.kyc-list {
    list-style: none;
    padding-left: 0;
}

.kyc-list li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.kyc-note {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--glow-purple), rgba(107, 0, 255, 0.1));
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.kyc-note p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Tax note */
.tax-note {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--glow-purple), rgba(107, 0, 255, 0.1));
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.tax-note p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Video note */
.video-note {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.video-note p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* CTA tagline and community impact */
.cta-tagline {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.community-impact {
    margin-top: 4rem;
}

.community-impact h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.impact-item {
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.impact-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.impact-item p {
    font-size: 1.125rem;
    margin: 0;
}

/* Footer tagline */
.footer-tagline {
    font-style: italic;
    margin: 0.5rem 0;
}

/* Responsive updates for new elements */
@media (max-width: 768px) {
    .about-grid,
    .kyc-grid,
    .deliverer-types,
    .impact-grid {
        grid-template-columns: 1fr;
    }

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

/* ===================================
   Light Mode Theme (Secondary Theme)
   =================================== */
body.light-mode {
    /* Official SparzaFi Brand Colors - Light Mode */
    --primary-color: #6B00FF;           /* Bright Purple Accent */
    --primary-hover: #5500CC;           /* Darker purple on hover */
    --secondary-color: #6B00FF;         /* Bright Purple */
    --accent-color: #6B00FF;            /* Bright Purple Accent */
    --bg-dark: #FFFFFF;                 /* White Background */
    --bg-section: #1A0028;              /* Dark Purple Elements/Sections */
    --bg-card: #1A0028;                 /* Dark Purple Cards */
    --text-primary: #000000;            /* Black Text */
    --text-secondary: #333333;          /* Dark Gray Text */
    --text-muted: #666666;              /* Muted Gray Text */
    --border-color: #E6E6E6;            /* Light Gray Border */

    /* Additional Neutral Colors for Light Mode */
    --border-light: #E6E6E6;            /* Light gray divider/border */
    --glow-purple: rgba(107, 0, 255, 0.2);  /* Softer Purple Glow for light mode */
    --glow-dark: rgba(0, 0, 0, 0.1);    /* Lighter shadow */

    /* Effects */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
    --glow-primary: 0 0 20px var(--glow-purple);
    --shadow-purple: 0 0 30px var(--glow-purple);
}

/* Light mode specific adjustments */
body.light-mode .hero {
    background: radial-gradient(circle at 50% 0%, rgba(107, 0, 255, 0.05), transparent 50%),
                radial-gradient(circle at 100% 50%, rgba(107, 0, 255, 0.05), transparent 50%);
}

body.light-mode h1 {
    background: linear-gradient(135deg, #6B00FF, #8533FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .stat h3 {
    background: linear-gradient(135deg, #6B00FF, #8533FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .about-card,
body.light-mode .step,
body.light-mode .video-feature,
body.light-mode .delivery-step,
body.light-mode .tax-feature,
body.light-mode .feature-card,
body.light-mode .kyc-card,
body.light-mode .impact-item {
    background: #F5F5F5;
    color: #000000;
}

body.light-mode .about-card h3,
body.light-mode .step h3,
body.light-mode .delivery-step h3,
body.light-mode .kyc-card h3 {
    color: #6B00FF;
}

body.light-mode .footer {
    background: #F5F5F5;
    border-top: 1px solid #E6E6E6;
}

/* ===================================
   Platform Preview Slideshow
   =================================== */
.platform-preview {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.platform-preview h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.slideshow-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-section);
}

.slide {
    display: none;
    position: relative;
    width: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* Fade animation */
.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

/* Navigation arrows */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: var(--text-primary);
    background: rgba(107, 0, 255, 0.8);
    font-weight: bold;
    font-size: 18px;
    transition: var(--transition);
    border-radius: 0 5px 5px 0;
    user-select: none;
    z-index: 10;
}

.next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.prev:hover,
.next:hover {
    background: var(--primary-color);
    box-shadow: var(--glow-primary);
}

/* Slide dots/indicators */
.slide-dots {
    text-align: center;
    padding: 20px 0 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: var(--border-color);
    border-radius: 50%;
    display: inline-block;
    transition: var(--transition);
}

.dot:hover,
.dot.active {
    background-color: var(--primary-color);
    box-shadow: var(--glow-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .platform-preview {
        padding: 2rem 1rem;
    }

    .platform-preview h3 {
        font-size: 1.5rem;
    }

    .prev,
    .next {
        padding: 12px;
        font-size: 16px;
    }

    .dot {
        height: 10px;
        width: 10px;
        margin: 0 3px;
    }
}

/* ===================================
   Theme Toggle Button (Optional)
   =================================== */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg), var(--glow-primary);
    transition: var(--transition);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-lg), var(--shadow-purple);
}

.theme-toggle:active {
    transform: scale(0.95);
}
