:root {
    /* Colors */
    --primary: #111111;
    --primary-light: #333333;
    --accent: #2563EB;
    /* A nice tech blue */
    --accent-dark: #1D4ED8;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --text-main: #1F2937;
    --text-muted: #6B7280;
    --border: #E5E7EB;

    /* Spacing */
    --container-padding: 2rem;
    --max-width: 1200px;
    --header-height: 80px;

    /* Shadows */
    --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);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    line-height: 1.2;
    color: var(--primary);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

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

/* Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    /* Slight rounded, not full pill for premium feel */
    font-weight: 500;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
}

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

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

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.full-width {
    width: 100%;
}

.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.hidden {
    display: none;
}

/* Header */
.header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    /* Start transparent */
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    /* Very subtle shadow */
}

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

/* Benefits (Simplified & Fixed) */
.benefits-section {
    background-color: white;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns */
    gap: 3rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-item {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.benefit-item:hover {
    transform: none;
    border: none;
}

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

.benefit-item h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.benefit-item p {
    color: var(--text-muted);
}


/* Mobile Adjustments */
@media (max-width: 900px) {
    .benefits-container {
        grid-template-columns: 1fr;
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-dark);
    text-decoration: none;
}

.logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

/* Nav */
.nav {
    display: none;
    /* Mobile first, shown on desktop below */
}

.nav-cta {
    display: none;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 8px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -8px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    /* Changed from right positioning to left:0 for full screen coverage */
    width: 100%;
    /* Full screen width */
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding-top: var(--header-height);
    transition: right 0.3s ease;
    z-index: 1000;
}

/* Mobile Menu Active State */
.mobile-menu.active {
    /* No change needed for left/top/width, just visibility if we were using right. 
       Since we switched to left:0 and maybe transform, let's adjust.
       Actually, common pattern is left: 100% to hidden, left: 0 to show.
    */
    transform: translateX(0);
}

/* Update base state for transform instead of right property */
.mobile-menu {
    right: auto;
    /* reset */
    left: 0;
    width: 100%;
    transform: translateX(100%);
    /* Start off-screen right */
    transition: transform 0.3s ease;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-size: 1.25rem;
    font-weight: 500;
}

/* Hero */
.hero {
    position: relative;
    height: 90vh;
    /* Almost full screen */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: calc(var(--header-height) + 4rem);
    /* Added space between header and hero content */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/hero_bg.png');
    background-size: cover;
    background-position: center bottom;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 40%, rgba(255, 255, 255, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Hero Typography */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        /* Smaller font for mobile */
    }

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-direction: column;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Social Proof */
.social-proof {
    padding: 2rem 0;
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.social-proof-label {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    opacity: 0.6;
}

.logo-item {
    font-weight: 700;
    font-size: 1.2rem;
    color: #9CA3AF;
}

/* Process Cards */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.step-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--border);
    margin-bottom: 1rem;
}

.step-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

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

.steps-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}



/* Examples (Before/After) */
.examples-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

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

.example-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.ba-slider {
    width: 100%;
    /* Aspect ratio removed in favor of content flow */
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: ew-resize;
    box-shadow: var(--shadow-md);
    background: white;
    border: 1px solid var(--border);
}

/* Before/After Header */
.ba-header {
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: white;
    font-weight: 600;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
}

/* Ensure container clips only the images */
.ba-image-container {
    position: relative;
    width: 100%;
    /* Remaining height */
    height: 300px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .ba-image-container {
        height: 400px;
    }
}

.ba-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.ba-before {
    z-index: 2;
    border-right: 2px solid white;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
    z-index: 3;
    pointer-events: none;
    /* Handle moves with width of before image */
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-circle {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-size: 1.2rem;
    color: var(--primary);
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.pricing-card h3 {
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.price-features {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.price-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-features li::before {
    content: "✓";
    color: var(--primary);
    font-weight: bold;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* FAQ */
.faq-section {
    background-color: var(--bg-light);
}

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

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    background: none;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    color: var(--text-main);
    /* Ensure color consistency */
    transition: color 0.2s ease;
}

.faq-question:hover,
.faq-question:focus,
.faq-question:active {
    color: var(--text-main);
    /* Prevent color shift */
    outline: none;
}



.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 200px;
    /* Arbitrary limit for animation */
}

.faq-item.active .icon {
    transform: rotate(45deg);
}

/* Form */
.form-container {
    max-width: 800px;
}

.form-wrapper {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

label {
    font-weight: 500;
    font-size: 0.9rem;
}

input,
select,
textarea {
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.form-success {
    text-align: center;
    padding: 2rem;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    color: white;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
}

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

.footer-col ul li a {
    color: #9CA3AF;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #6B7280;
    font-size: 0.9rem;
}

/* Desktop Styles */
@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }

    .nav {
        display: block;
    }

    .nav-cta {
        display: inline-flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .nav-list {
        display: flex;
        gap: 2rem;
    }

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

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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



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

    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Large Desktop */
@media (min-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Mobile Floating CTA */
.mobile-floating-cta {
    display: none;
    /* Hidden by default, shown on mobile via media query if desired, or JS */
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 990;
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: fadeUp 0.5s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Simple Contact Form */
.simple-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 600px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

label {
    font-weight: 500;
    font-size: 0.9rem;
    text-align: left;
}

input,
textarea,
select {
    padding: 0.8rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    width: 100%;
    transition: all 0.2s;
    background-color: white;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.form-success {
    text-align: center;
    padding: 2rem;
    background: #f0fdf4;
    border-radius: 8px;
    color: #166534;
}

.form-success h3 {
    color: #166534;
    margin-bottom: 0.5rem;
}

/* Policy Content Styles */
.policy-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.policy-content ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.policy-content li {
    margin-bottom: 0.5rem;
}