:root {
    --primary-color: #0F172A; /* Deep Navy */
    --accent-color: #3B82F6; /* Tech Blue */
    --accent-glow: rgba(59, 130, 246, 0.5);
    --text-dark: #1E293B;
    --text-light: #F8FAFC;
    --text-muted: #64748B;
    --bg-light: #FFFFFF;
    --bg-offset: #F1F5F9;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --border-color: #E2E8F0;
}

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

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

h1, h2, h3, .brand { font-family: var(--font-heading); }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.est {
    font-size: 0.7rem;
    background: var(--primary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 8px;
    opacity: 0.9;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn), .nav-links button:not(.btn) {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.nav-links a:hover:not(.btn), .nav-links button:hover:not(.btn) { color: var(--accent-color); }

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-nav {
    background: var(--primary-color);
    color: white;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.btn-primary:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px var(--accent-glow);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    margin-left: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('images/spark_hero_modern.png') no-repeat center center/cover;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
}

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

.hero-text {
    max-width: 700px;
}

.badg {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #93C5FD;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 4rem; /* Big impact */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.25rem;
    color: #E2E8F0;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.cta-group {
    display: flex;
    align-items: center;
}

/* About Section */
.section-about {
    padding: 6rem 0;
    background: white;
    overflow: hidden;
}

.section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.stats-row {
    display: flex;
    gap: 3rem;
}

.stat strong {
    display: block;
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1;
}

.stat span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15);
}

.about-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.5s;
}

.about-image-wrapper:hover .about-img { transform: scale(1.02); }

.floating-card {
    position: absolute;
    bottom: 2rem;
    right: -1rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-weight: 600;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
}

/* Process Section */
.section-process {
    padding: 6rem 0;
    background: var(--bg-offset);
}

.center { text-align: center; }

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 4rem;
}

.process-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.process-img {
    width: 100%;
    border-radius: 20px;
}

.process-steps-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s;
}

.step-card:hover { transform: translateY(-3px); }

.step-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    background: #EFF6FF;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Pricing Section */
.section-pricing {
    padding: 6rem 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.pricing-card {
    background: white;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.pricing-header {
    background: #F8FAFC;
    padding: 3rem 2rem 2rem;
    border-bottom: 1px solid #E2E8F0;
}

.offer-badge {
    background: #DCFCE7;
    color: #166534;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.pricing-header h2 {
    margin-top: 1rem;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 1rem;
}

.old-price {
    text-decoration: line-through;
    color: #94A3B8;
    font-size: 1.5rem;
}

.new-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-body {
    padding: 2.5rem;
}

.pricing-reason {
    font-size: 0.95rem;
    background: #FFFBEB;
    border: 1px solid #FEF3C7;
    color: #92400E;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: left;
}

.features-list {
    list-style: none;
    text-align: left;
    margin: 0 auto 2.5rem;
    display: inline-block;
}

.features-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.features-list .icon {
    color: var(--accent-color);
    font-weight: bold;
}

.btn-full {
    width: 100%;
    margin-bottom: 1rem;
}

.micro-copy {
    font-size: 0.85rem;
    color: #94A3B8;
}

/* Contact Section */
.section-contact {
    padding: 5rem 0;
    text-align: center;
}

.contact-actions {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.divider {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    padding: 0 1rem;
}

.callback-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.callback-box form {
    display: flex;
    gap: 0.5rem;
}

.callback-box input {
    padding: 0.8rem;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    width: 250px;
}

.callback-box button {
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* Footer & Cookie Banner */
footer {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #94A3B8;
    background: #0F172A;
    border-top: 1px solid #1E293B;
}

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

.footer-content p {
    color: #64748B;
}

.footer-legal a {
    color: #64748B;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
    margin-left: 1rem;
}

.footer-legal a:hover {
    color: white;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 2000;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin: 0;
}

.btn-outline-dark {
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    background: transparent;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

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

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Netlify Trigger Block */
@media (max-width: 768px) {
    /* Container Padding */
    .container {
        padding: 0 1.5rem;
    }

    /* Navbar */
    .navbar {
        position: relative; /* Fixes overlap issue by pushing content down */
        padding: 1rem 0;
    }
    .navbar-content {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
    .nav-links a, .nav-links button {
        font-size: 0.9rem;
    }
    .btn-nav {
        width: 100%;
        margin-top: 0.5rem;
    }

    /* Hero Section */
    .hero {
        height: auto;
        min-height: auto; /* Let content define height */
        padding: 1.5rem 0 3rem; /* Reduced top padding since navbar is relative */
        text-align: center;
        background-position: center bottom;
    }
    .hero h1 {
        font-size: 2.5rem; /* Reduced from 4rem */
        line-height: 1.2;
    }
    .hero-sub {
        font-size: 1rem;
    }
    .cta-group {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    .cta-group .btn {
        width: 100%;
        margin: 0;
    }

    /* General Grids (About & Process) */
    .grid-split, .process-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* About Section */
    .section-about {
        padding: 4rem 0;
    }
    .about-image-wrapper {
        order: -1; /* Image first on mobile usually looks better, or last depending on taste. Keeping normal order might be better for context. Let's leave order as is for now, or flip if text is too long. */
    }
    .stats-row {
        flex-direction: row; /* Keep row but allowing wrap if needed, or smaller gap */
        justify-content: space-around;
        gap: 1rem;
        flex-wrap: wrap;
    }
    .stat {
        text-align: center;
    }
    .stat strong {
        font-size: 2rem;
    }
    .floating-card {
        right: 0;
        left: 0;
        bottom: 1rem;
        margin: auto;
        width: fit-content;
        text-align: center;
    }

    /* Process Section */
    .section-process {
        padding: 4rem 0;
    }
    .step-card {
        flex-direction: column;
        align-items: center; /* Center steps on mobile */
        text-align: center;
        padding: 2rem;
    }

    /* Pricing Section */
    .section-pricing {
        padding: 4rem 0;
    }
    .new-price {
        font-size: 3rem;
    }

    /* Contact Section */
    .contact-actions {
        width: 100%;
    }
    .callback-box form {
        flex-direction: column;
        width: 100%;
    }
    .callback-box input {
        width: 100%;
    }
    .callback-box button {
        width: 100%;
    }

    /* Cookie Banner (Existing media query override/merge) */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner {
        padding: 1.5rem;
    }
}
