@import 'promo-style.css';
@import 'brochure-style.css';
@import 'calculator.css';
@import 'phone-mockup.css';

/* Global Styles - Ultra Premium SaaS Design (Dark/Neon Future) */
:root {
    --primary-color: #ceff1a;
    /* Electric Lime */
    --primary-glow: rgba(206, 255, 26, 0.5);
    --secondary-color: #00f0ff;
    /* Neon Cyan for accents */
    --bg-dark: #050507;
    --bg-darker: #000000;
    --card-glass: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-lg: 32px;
    --radius-md: 20px;
    --radius-sm: 12px;

    --transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(206, 255, 26, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.03) 0%, transparent 40%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.relative-container {
    position: relative;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(206, 255, 26, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(206, 255, 26, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(206, 255, 26, 0.3);
    transform: translateY(-2px);
}



/* Navbar */
.navbar {
    position: fixed;
    top: 74px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    padding: 12px 24px;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 100px;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.logo img {
    height: 48px;
    border-radius: 8px;
    /* BLEND LOGO: Invert white background to black, set to grayscale to remove color artifacts, screen to make black transparent */
    filter: invert(1) grayscale(1);
    mix-blend-mode: screen;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.navbar .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

/* Glowing Mesh Background Effect */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(206, 255, 26, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

/* Another blob for depth */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

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

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content h1 span.highlight {
    color: var(--primary-color);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: var(--primary-color);
    text-shadow: 0 0 30px rgba(206, 255, 26, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

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

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--card-border);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Stats / Trusted (Optional if needed, but skipping for now to keep clean) */

/* Process / How It Works */
.process-details {
    padding: 100px 0;
}

.section-title h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.process-image-wrapper {
    position: relative;
}

.process-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: var(--primary-color);
    filter: blur(50px);
    opacity: 0.2;
    z-index: -1;
    border-radius: 50%;
}

.process-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.process-card {
    background: var(--card-glass);
    border: 1px solid var(--card-border);
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.process-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
    border-color: rgba(206, 255, 26, 0.3);
}

.process-card h4 {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.process-card p {
    color: var(--text-main);
    font-size: 1.1rem;
    margin: 0;
}

/* Steps Section (The Grid) */
.steps-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0a0f 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}

.step-card {
    background: var(--card-glass);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.step-card.highlight-card {
    background: var(--primary-color);
    color: #000;
    border: none;
}

.step-card.highlight-card .step-number,
.step-card.highlight-card h4,
.step-card.highlight-card p {
    color: #000;
}

.step-card.highlight-card:hover {
    box-shadow: 0 0 50px var(--primary-glow);
}

.step-number {
    font-size: 3.5rem;
    font-weight: 800;
    opacity: 0.2;
    margin-bottom: 1rem;
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-content p {
    font-size: 1rem;
    margin: 0;
}

.steps-image-container {
    grid-column: 3;
    grid-row: 1 / span 2;
    height: 100%;
}

.steps-image-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0 250px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 0 40px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

/* Cleaned up stray properties */

/* Expand Section */
.expand-section {
    padding: 100px 0 320px;
    position: relative;
    /* Keeping the section background transparent/dark as per global theme, 
       but cards will have their own backgrounds */
}

.expand-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 3rem;
}

.expand-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: none;
    /* Card Styling */
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: var(--card-glass);
    /* Default dark glass */
    border: 1px solid var(--card-border);
    color: var(--text-main);
    transition: var(--transition);
}

/* First card green accent to match screenshot */


.expand-card img {
    width: 100%;
    height: 220px;
    /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 16px;
    margin-top: auto;
    /* Push to bottom if content varies */
    transition: var(--transition);
}

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

.expand-card:hover img {
    transform: scale(1.02);
}

.expand-card-content {
    position: relative;
    /* Reset from absolute */
    width: 100%;
    margin-bottom: 20px;
    background: transparent;
    padding: 0;
    pointer-events: auto;
    z-index: 1;
}

.expand-card-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    text-shadow: none;
    line-height: 1.2;
}

.expand-card-content p {
    font-size: 1rem;
    margin: 0;
    color: var(--text-secondary);
    text-shadow: none;
    font-weight: 400;
}

@media (max-width: 900px) {
    .expand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .expand-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA & Footer */
.footer-wrapper {
    position: relative;
    background: #000;
    margin-top: -100px;
    /* Pull footer up slightly? No, design calls for overlap */
}

.cta-box-container {
    position: absolute;
    top: -160px;
    left: 0;
    right: 0;
    z-index: 10;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-color), #a3ff00);
    border-radius: 40px;
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 80px rgba(206, 255, 26, 0.25);
}

.cta-text h2 {
    color: #000;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: rgba(0, 0, 0, 0.7);
    font-size: 1.2rem;
    margin: 0;
}

.cta-box .btn-dark {
    background: #000;
    color: #fff;
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: 100px;
    font-weight: 700;
    transition: var(--transition);
}

.cta-box .btn-dark:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.site-footer {
    padding: 220px 0 4rem;
    /* Top padding clears cta box */
    text-align: center;
}


.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    /* Ensure links wrap on small screens */
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.footer-nav a:hover {
    color: var(--text-main);
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 4rem;
    /* Allot of padding below socials */
}

.social-icon {
    width: 50px;
    /* Slightly larger targets */
    height: 50px;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: #000;
    transform: rotate(10deg);
}

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


/* Modal Overhaul */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 20000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #111;
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 24px;
    width: 90%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    /* Higher than modal (2000) */
    transition: all 0.3s ease;
    line-height: 1;
    backdrop-filter: blur(4px);
}

.close-btn:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(206, 255, 26, 0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--card-border);
    padding: 14px 16px;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-body);
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: #000;
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover:not(:disabled) {
    background: #b5e600;
    /* slightly darker lime */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(206, 255, 26, 0.2);
}

.submit-btn:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 4px;
    /* Align with text top */
    accent-color: var(--primary-color);
}

.checkbox-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.checkbox-label a:hover {
    text-decoration: none;
}

/* Responsiveness */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 80px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content {
        margin: 0 auto;
    }

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

    .steps-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .steps-image-container {
        grid-column: 1;
        grid-row: 5;
        height: 300px;
    }

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

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

    .cta-box {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 3rem 2rem;
    }

    /* Mobile Nav Optimization */
    .nav-links {
        display: none;
        /* Hide text links on mobile to save space */
    }

    .navbar {
        padding: 12px 20px;
        width: 100% !important;
        max-width: none !important;
        top: 40px !important;
        left: 0 !important;
        transform: translate(0, 0) !important;
        border-radius: 0;
        border: none;
        border-bottom: 1px solid var(--card-border);
        background: #050507;
        /* Solid background */
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 10001;
        /* Ensure on top */
    }

    .logo img {
        height: 40px;
        /* Slightly smaller to fit */
        width: auto;
        /* Maintain aspect ratio */
        flex-shrink: 0;
        /* Prevent squashing */
        max-width: none;
        /* Override global max-width */
    }

    .navbar .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    /* Align to bottom always */
    transform: translateY(100%);
    /* Push completely off screen based on its own height */
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--card-border);
    padding: 1rem 0;
    z-index: 9999;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Animate transform instead */
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
}

.cookie-banner.show {
    transform: translateY(0);
    /* Slide up */
}

.cookie-content {
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

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

.cookie-content p a {
    color: var(--primary-color);
    text-decoration: underline;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    background: var(--primary-color);
    color: #000;
    border-radius: 100px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

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

    .btn-sm {
        width: 100%;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 6rem 0;
    background: radial-gradient(circle at center, rgba(30, 30, 40, 0.4) 0%, transparent 70%);
}

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

.pricing-card {
    background: rgba(20, 20, 25, 0.6);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.pricing-card.popular {
    background: linear-gradient(145deg, rgba(20, 20, 25, 0.9), rgba(30, 35, 20, 0.4));
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(223, 255, 0, 0.1);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin: 1rem 0 0.5rem;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.pricing-card .desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.pricing-card .features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-card .features li {
    margin-bottom: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-card .features li i {
    color: var(--primary-color);
    font-size: 1rem;
}

.pricing-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #000;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {

    /* Interactive Horizontal Scroll for Pricing */
    .pricing-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 16px;
        padding-top: 40px;
        /* MORE Room for 'Most Popular' badge */
        padding-bottom: 2rem;
        /* Space for scroll */
        scroll-snap-type: x mandatory;
        scroll-padding: 20px;
        max-width: 100vw;
        margin-left: -1rem;
        /* Break out of container */
        margin-right: -1rem;
        padding-left: 1rem;
        /* Restore padding */
        padding-right: 1rem;
        -webkit-overflow-scrolling: touch;
        /* Hide scrollbar */
        scrollbar-width: none;
    }

    .pricing-grid::-webkit-scrollbar {
        display: none;
    }

    /* Ensure badge floats high enough and centers on border */
    .pricing-card .badge {
        top: 0;
        transform: translate(-50%, -50%);
        /* Center text vertically in pill */
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        /* Reset line height */
    }

    .pricing-card {
        flex: 0 0 85%;
        /* Show 85% of card width */
        scroll-snap-align: center;
        margin-bottom: 0 !important;
        height: auto;
        /* Allow height to fit content */
    }

    .pricing-card.popular {
        transform: none;
        /* remove scale on mobile to keep alignment */
        z-index: 1;
        margin: 0;
        border: 1px solid var(--primary-color);
        /* Keep highlight border */
    }

    /* Reduce Oversized Elements on Mobile */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .pricing-section {
        padding: 4rem 0;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    .steps-section,
    .process-details,
    .roi-section {
        padding: 60px 0;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }

    .cta-text h2 {
        font-size: 1.8rem;
    }

    /* Modal Mobile Fixes */
    .modal {
        align-items: flex-start;
        /* Align top so we can scroll */
        overflow-y: auto;
        /* Allow scrolling if form is tall */
        padding: 10px 0;
    }

    .modal-content {
        margin: 20px auto;
        /* Center with space */
        width: 95%;
        padding: 1.5rem;
        /* Reduce padding */
        margin-top: 60px;
        /* Space for sticky navbar if needed, or just visual clearance */
    }

    .close-btn {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 18px;
        background: #222;
        /* More contrast */
    }

    /* Compact Pricing for Mobile Comparison */
    .pricing-card {
        padding: 1.25rem;
        /* Tighter padding */
        margin-bottom: 1rem;
    }

    .pricing-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.25rem;
    }

    .pricing-card .price {
        font-size: 2.2rem;
        /* Smaller price */
        margin: 0.5rem 0;
    }

    .pricing-card .desc {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .pricing-card .features {
        margin-bottom: 1.5rem;
    }

    .pricing-card .features li {
        margin-bottom: 0.5rem;
        /* Tighter list */
        font-size: 0.9rem;
    }

    /* Compact Calculator for Mobile */
    .calc-container {
        padding: 1.5rem !important;
        /* Override calculator.css */
        gap: 30px !important;
    }

    .calc-inputs {
        gap: 20px !important;
    }

    .input-group label {
        margin-bottom: 8px !important;
        font-size: 0.95rem !important;
    }

    .calc-results {
        padding: 1.5rem !important;
    }

    .result-value {
        font-size: 2.2rem !important;
        margin-bottom: 0 !important;
    }

    .result-sub {
        margin-bottom: 1rem !important;
    }

    .roi-box {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .roi-box .value {
        font-size: 1.2rem !important;
    }

    /* Reduce Button Sizes on Mobile */
    #calcCta {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        width: 100%;
        /* Ensure it fits container width but isn't overly tall */
    }

    .navbar .btn {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }

    /* --- INDUSTRY PREMIUM POLISH --- */

    /* 1. Flatten 3D Layouts for Legibility */
    .hero-image img {
        transform: none !important;
        /* Remove 3D tilt */
        margin-top: 2rem;
    }

    /* 2. Full-Width "Power" Buttons */
    .hero-btns {
        width: 100%;
        justify-content: center;
    }

    .hero-btns .btn,
    .cta-box .btn,
    .pricing-card .btn-outline {
        width: 90%;
        /* Easy to tap */
        max-width: 350px;
        /* Don't get absurdly wide on tablets */
        display: flex;
        margin: 0 auto;
        /* Center them */
        padding-left: 0;
        padding-right: 0;
    }

    /* 3. Constrain Decorative Images */
    .process-image-wrapper img {
        max-height: 250px;
        width: 100%;
        object-fit: cover;
    }

    /* --- ULTRA-COMPACT MOBILE LAYOUT --- */

    /* Tighter Section Spacing */
    .process-details,
    .steps-section,
    .roi-section,
    .expand-section,
    .pricing-section,
    .testimonials-section {
        padding: 40px 0 !important;
        /* Was 60px or 100px */
    }

    /* Expand Section Needs Bottom Padding for Floating CTA Overlap */
    .expand-section {
        padding: 40px 0 300px 0 !important;
    }

    /* Tighter Hero */
    .hero {
        padding: 100px 0 40px !important;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
        /* Smaller Headline */
        margin-bottom: 1rem !important;
    }

    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    /* Compact Cards (Steps, Expand, Process) */
    .step-card,
    .process-card,
    .expand-card {
        padding: 1.5rem !important;
        /* Was 2.5rem */
        min-height: auto !important;
        /* Remove fixed heights */
    }

    .expand-grid {
        grid-template-columns: 1fr !important;
        /* Stack cleanly */
        gap: 16px !important;
        margin-top: 2rem !important;
    }

    /* Tighter Headings */
    .section-title h2 {
        font-size: 2rem !important;
        margin-bottom: 2rem !important;
    }

    .section-title p {
        font-size: 1rem !important;
    }

    /* Reduce vertical gaps in grids */
    /* Reduce vertical gaps in grids */
    .steps-grid,
    .process-grid,
    .process-cards {
        gap: 12px !important;
        /* Much tighter */
    }

    /* Hide Decorative Image in Steps to save space */
    .steps-image-container {
        display: none !important;
    }

    .step-card,
    .process-card {
        padding: 1rem !important;
        /* Super compact */
    }

    .step-card h4,
    .process-card h4 {
        font-size: 1rem !important;
        margin-bottom: 4px !important;
    }

    .step-card p,
    .process-card p {
        font-size: 0.9rem !important;
    }

    .step-number {
        font-size: 2rem !important;
        /* Smaller numbers */
        margin-bottom: 0.25rem !important;
        opacity: 0.15;
    }

    /* Footer Compacting */
    .site-footer {
        padding: 180px 0 2rem !important;
        /* Pull up footer content */
    }

    .socials {
        margin-bottom: 2rem !important;
    }
}