/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
   :root {
    /* Colors */
    --clr-primary: #0f172a;       /* Dark slate / navy */
    --clr-primary-hover: #1e293b;
    --clr-accent: #f59e0b;        /* High-converting Amber/Orange */
    --clr-accent-hover: #d97706;
    --clr-text-main: #334155;
    --clr-text-heading: #0f172a;
    --clr-bg-main: #ffffff;
    --clr-bg-light: #f8fafc;
    --clr-border: #e2e8f0;
    --clr-success: #10b981;

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    /* Styling */
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
    --shadow-float: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

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

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

img, picture, svg, video {
    display: block;
    max-width: 100%;
    height: auto;
}

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

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
    color: var(--clr-text-heading);
    font-weight: 800;
    line-height: 1.2;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: var(--space-md);
    letter-spacing: -0.025em;
}

.text-center { text-align: center; }
.desktop-only-br { display: none; }
.text-primary { color: var(--clr-accent); }
.text-white { color: #fff; }
.mt-4 { margin-top: var(--space-md); }

/* ==========================================================================
   Layout & Containers
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

section {
    padding: var(--space-xl) 0;
}

@media (max-width: 768px) {
    section {
        padding: var(--space-lg) 0;
    }
}

.bg-light { background-color: var(--clr-bg-light); }
.bg-primary { background-color: var(--clr-primary); }

/* ==========================================================================
   Buttons (High Conversion Focus)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 1.5rem;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: none;
    text-align: center;
    font-family: var(--font-main);
}

.btn-primary {
    background-color: var(--clr-accent);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    height: 60px;
    padding: 0 2rem;
    font-size: 1.125rem;
}

.btn-full {
    width: 100%;
}

/* Attention grabbing pulse for main CTA */
@keyframes pulse-shadow {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.btn-pulse {
    animation: pulse-shadow 2s infinite;
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    transition: top 0.3s, box-shadow 0.4s ease;
}

body.is-mobile-mockup .header {
    padding-top: 30px; /* Push content down to clear notch in mockup */
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header.scrolled .header-inner {
    height: 64px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clr-primary);
    transition: font-size 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.header.scrolled .logo {
    font-size: 1.25rem;
}

.logo-icon, .logo svg {
    display: inline-block;
    vertical-align: middle;
    color: var(--clr-accent);
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.header .btn {
    height: 44px;
    transition: height 0.4s ease, padding 0.4s ease, font-size 0.4s ease;
}

.header.scrolled .btn {
    height: 38px;
    padding: 0 1rem;
    font-size: 0.875rem;
}

.hero {
    padding-top: calc(90px + var(--space-lg));
    padding-bottom: var(--space-xl);
    overflow: hidden;
}

body.is-mobile-mockup .hero {
    padding-top: calc(70px + var(--space-md) + 30px) !important;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: #64748b;
}

.trust-badge svg, .trust-badge i {
    display: inline-block;
    vertical-align: middle;
    color: var(--clr-success);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.trust-badge span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-sm);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: var(--space-md);
}

.cta-microcopy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.cta-microcopy svg, .cta-microcopy i {
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.cta-microcopy span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.hero-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--clr-border);
}

.avatars {
    display: flex;
}

.avatars img {
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -10px;
}
.avatars img:first-child { margin-left: 0; }

.stars {
    color: var(--clr-accent);
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.stars svg { width: 16px; height: 16px; fill: currentColor; }

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

.hero-image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #fff;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-float);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.stat-icon {
    background: #ecfdf5;
    color: var(--clr-success);
    padding: 0.5rem;
    border-radius: 0;
    width: 48px;
    height: 48px;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--clr-text-heading);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

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

/* ==========================================================================
   Problem Section
   ========================================================================== */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.problem-card {
    background: transparent;
    padding: 2rem;
    border-radius: 0;
    border: 1px solid var(--clr-border);
    transition: border-color 0.3s, background-color 0.3s;
}
.problem-card:hover {
    border-color: var(--clr-accent);
    background-color: rgba(15, 23, 42, 0.02);
}

.problem-icon-wrapper {
    color: #ef4444;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Logo Bar
   ========================================================================== */
.logo-bar {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--clr-border);
    background: #fff;
}

.logo-bar-title {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.logo-bar .container {
    max-width: 100%;
    padding: 0;
}

.logo-marquee {
    overflow: hidden;
    user-select: none;
    display: flex;
    gap: var(--space-xl);
    position: relative;
    mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 1) 20%,
        rgba(0, 0, 0, 1) 80%,
        rgba(0, 0, 0, 0)
    );
    -webkit-mask-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 1) 20%,
        rgba(0, 0, 0, 1) 80%,
        rgba(0, 0, 0, 0)
    );
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: var(--space-xl);
    min-width: 100%;
    animation: scroll 30s linear infinite;
}

.logo-marquee:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - var(--space-xl)));
    }
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-md);
}

.logo-item img {
    height: 35px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .marquee-content {
        animation-duration: 20s;
        gap: var(--space-lg);
    }
    .logo-item img {
        height: 28px;
    }
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
/* FAQ Section - Accordion Style */
.faq-accordion {
    max-width: 800px;
    margin: var(--space-lg) auto 0;
}

.faq-item {
    background: transparent;
    margin-bottom: 0;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--clr-border);
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.faq-item:hover {
    background-color: rgba(0, 48, 73, 0.01);
}

.faq-item.active {
    border-bottom-color: var(--clr-border);
    box-shadow: none;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--clr-primary);
    font-size: 1.125rem;
    font-weight: 600;
    font-family: var(--font-sans);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--clr-accent);
}

.faq-question svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    color: var(--clr-accent);
    opacity: 0.7;
}

.faq-item.active .faq-question {
    color: var(--clr-accent);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    opacity: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 0.5rem 1.5rem;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--clr-text-main);
    margin: 0;
}

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

/* ==========================================================================
   Solution / Benefits Section
   ========================================================================== */
.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.solution-image-wrapper img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefits-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefits-list svg {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    margin-top: 2px;
}

/* ==========================================================================
   Process Section - Timeline Style
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: var(--space-lg) auto 0;
    padding: var(--space-md) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--clr-border);
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 0%;
    background: var(--clr-accent);
    transform: translateX(-50%);
    z-index: 1;
    transition: height 0.1s ease-out;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 var(--space-lg);
    margin-bottom: var(--space-lg);
    text-align: right;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 2;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    text-align: left;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot {
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: #fff;
    border: 4px solid #cbd5e1;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 2px #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-dot.active {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(245, 158, 11, 0.2);
    transform: translateY(-50%) scale(1.3);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
    right: auto;
}

.timeline-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: var(--clr-accent);
}

.step-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.timeline-item h3 {
    margin-bottom: 0.5rem;
    color: var(--clr-primary);
}

.timeline-item p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--clr-text-main);
    margin: 0;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
        margin-left: 0 !important;
    }
    
    .timeline-dot {
        left: 12px !important;
        right: auto !important;
    }

    .timeline-progress {
        left: 20px;
    }
}

/* ==========================================================================
   Testimonial Section
   ========================================================================== */
.testimonial-section {
    padding: var(--space-xl) 0;
    color: #fff;
}

.quote-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.quote-icon svg {
    width: 64px;
    height: 64px;
    color: var(--clr-accent);
    opacity: 0.9;
}

.testimonial-text {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .testimonial-section .container {
        text-align: left;
    }
    .quote-icon {
        justify-content: flex-start;
    }
    .testimonial-author {
        justify-content: flex-start;
        display: inline-flex;
    }
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    border: 2px solid var(--clr-accent);
}

.author-name {
    font-weight: 700;
    font-size: 1.125rem;
}

.author-title {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
    padding: var(--space-xl) 0;
    background: #fff;
}

.duo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.team-member {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--clr-border);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-image-wrapper {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.member-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image-wrapper img {
    transform: scale(1.05);
}

.member-content {
    padding: 2rem;
    text-align: center;
}

.member-name {
    font-size: 1.5rem;
    color: var(--clr-primary);
    margin-bottom: 0.25rem;
}

.member-role {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--clr-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.member-bio {
    color: var(--clr-text-main);
    line-height: 1.6;
    margin: 0;
}

.about-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--clr-text-main);
}

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

/* ==========================================================================
   Contact / Form Section
   ========================================================================== */
.contact-section {
    background: #fff;
}

.contact-grid {
    display: flex;
    border: 1px solid var(--clr-border);
    padding: 0;
}

.contact-info {
    flex: 1;
    padding: var(--space-lg);
    background: var(--clr-primary);
    color: #fff;
}

.contact-info .section-title {
    color: #fff;
    margin-bottom: 1rem;
}

.contact-desc {
    color: #94a3b8;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.info-item svg, .info-item i {
    display: inline-block;
    vertical-align: middle;
    color: var(--clr-accent);
    flex-shrink: 0;
}

.info-item span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1.4;
}

.contact-map {
    border-radius: var(--radius-md);
    filter: grayscale(0.2) contrast(1.1);
    opacity: 0.9;
    transition: opacity 0.3s;
}

.contact-map:hover {
    opacity: 1;
}

.contact-form-wrapper {
    flex: 1;
    padding: var(--space-lg);
    background: #fff;
}

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

.form-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--clr-text-heading);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--clr-primary);
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.form-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #64748b;
}

.form-security svg {
    width: 16px;
    height: 16px;
}

.form-success {
    text-align: center;
    padding: 2rem;
    background: #ecfdf5;
    border-radius: var(--radius-md);
    border: 1px solid #a7f3d0;
}

.success-icon {
    width: 64px;
    height: 64px;
    color: var(--clr-success);
    margin: 0 auto 1rem;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #fff;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--clr-border);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    color: var(--clr-primary);
    font-size: 1.25rem;
}

.footer-logo svg, .footer-logo i {
    display: inline-block;
    vertical-align: middle;
    color: var(--clr-accent);
    width: 24px;
    height: 24px;
}

.footer-logo span {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.copyright {
    color: #64748b;
    font-size: 0.875rem;
}

/* ==========================================================================
   Mobile Floating CTA & Modals
   ========================================================================== */
.mobile-floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 15px -3px rgb(0 0 0 / 0.1);
    z-index: 99;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-floating-cta.visible {
    transform: translateY(0);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-xl);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--clr-primary);
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.modal-content p {
    margin-bottom: 1.5rem;
    color: var(--clr-text-main);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-grid, .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        text-align: center;
        padding-top: calc(90px + var(--space-md));
    }

    .hero-image-wrapper {
        margin: 0 auto;
        display: inline-block;
    }

    .hero-cta-group {
        align-items: center;
    }

    .hero-proof {
        justify-content: flex-start;
        text-align: left;
    }

    .stars {
        justify-content: flex-start;
    }
    
    .floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin: -40px auto 0;
        width: 90%;
        max-width: 320px;
        justify-content: center;
        animation: none;
        box-shadow: var(--shadow-lg);
    }

    .contact-grid {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 70px;
    }

    .header.scrolled .header-inner {
        height: 60px;
    }

    .hero {
        padding-top: calc(70px + var(--space-md));
    }

    .header .btn {
        display: none; /* Hide header CTA on mobile to save space */
    }
    
    .section-title {
        font-size: 2rem;
    }

    .problem-section .section-title {
        text-align: left;
    }

    .contact-info, .contact-form-wrapper {
        padding: 2rem 1rem;
    }
}

@media (min-width: 1024px) {
    .problem-section .section-title {
        max-width: 750px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .desktop-only-br {
        display: block;
    }
}

@media (min-width: 769px) {
    .mobile-floating-cta {
        display: none !important;
    }
}
