/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Colors */
    --bg-dark: #050505;
    --bg-card: #121212;
    --bg-card-hover: #1a1a1a;

    /* Primary Accent - Electric Blue/Cyan Gradient */
    --primary: #2563eb;
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --primary-glow: rgba(37, 99, 235, 0.5);

    /* Secondary Accent - Purple/Pink (New from feedback) */
    --accent-purple: #c084fc;
    --btn-gradient: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    /* Purple to Pink */

    /* Typography Colors */
    --text-main: #f0f0f0;
    /* Softer key white */
    --text-muted: #cdcdcd;
    /* Higher contrast muted text */

    /* Spacing & Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
    --radius-md: 12px;
    --radius-lg: 24px;


    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px;
    /* Space for sticky CTA */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    line-height: 1.2;
    font-weight: 700;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    /* Standard mobile padding */
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-purple-gradient {
    background: var(--btn-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-padding {
    padding: 60px 0;
    /* Slightly increased for breathability while keeping dense */
}

/* Base Typography Updates */
p {
    line-height: 1.75;
    /* Improved readability */
    font-size: 1.05rem;
    /* Larger body text */
}

li {
    line-height: 1.6;
}


.hidden {
    display: none;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    outline: none;
    width: 100%;
    /* Default to full width on mobile for better touch */
}

@media (min-width: 768px) {
    .btn {
        width: auto;
    }
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.btn-pink {
    background: var(--btn-gradient);
    color: white;
    box-shadow: 0 4px 20px rgba(217, 70, 239, 0.4);
}

.btn-pink:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(217, 70, 239, 0.6);
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    /* Full width-ish on mobile */
    z-index: 1000;
    animation: bounceIn 0.5s ease-out;
}

@media (min-width: 768px) {
    .sticky-cta {
        left: auto;
        /* Reset left on desktop */
        width: auto;
    }
}

.sticky-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    /* Fill container on mobile */
}

@keyframes bounceIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    80% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.8rem 0;
    transition: var(--transition-smooth);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--primary);
}

.header .btn {
    display: none;
    /* Hide 'Book a Call' in header on mobile to save space, have sticky CTA anyway */
}

@media (min-width: 768px) {
    .header .btn {
        display: inline-flex;
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding-top: 100px;
    padding-bottom: 40px;
    overflow: hidden;
    min-height: auto;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 140px;
        min-height: 70vh;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero h1 {
    font-size: 2.5rem;
    /* Mobile Size */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 4.5rem;
    }
}

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

/* --- Generic Icon Container Style --- */
.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(30, 30, 40, 0.8);
    border-radius: 12px;
    display: flex;
    /* Fixed flex */
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* --- Social Proof Bar (Cards) --- */
.social-proof {
    padding: 2rem 0;
    background: var(--bg-dark);
}

.social-header {
    text-align: center;
    margin-bottom: 2rem;
}

.social-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.proof-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Stack on mobile */
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .proof-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.proof-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: var(--transition-fast);
}

.proof-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.25rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Section Titles --- */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

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

/* --- Feature Grids (Opportunity, Smart Path, Pain) --- */
/* Mobile First: Single Column */


/* Fix for Opportunity Cards Overlap */
.opportunity-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.opportunity-split,
.smart-path-grid,
.pain-grid,
.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 900px) {
    .solutions-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 columns only on large screens */
    }
}


@media (min-width: 868px) {
    .opportunity-split {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }

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

/* Tablet Breakpoint Fix */
@media (max-width: 868px) {

    .opportunity-split,
    .smart-path-grid,
    .pain-grid,
    .proof-grid {
        grid-template-columns: 1fr;
        /* Force single column earlier */
    }
}

.opportunity-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.opportunity-text .purple-span {
    color: #c084fc;
}

/* --- Cards Shared Styles --- */
.opp-card,
.smart-card,
.pain-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition-fast);
}

.pain-card {
    background: rgba(255, 70, 70, 0.03);
    border: 1px solid rgba(255, 70, 70, 0.1);
}

.pain-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 70, 70, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #ef4444;
    font-size: 1.5rem;
}

/* --- Premium Solutions (New) --- */
.solution-card {
    background: var(--bg-card);
    border: 1px solid rgba(139, 92, 246, 0.2);
    /* Purple tint */
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.solution-card h3 {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.solution-list {
    margin: 1.5rem 0;
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.solution-list li::before {
    content: "✓";
    color: #a855f7;
    /* Purple */
    font-weight: bold;
}

.badge-pill {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: #8b5cf6;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Testimonials (Auto Rotating) --- */
.testimonial-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    min-height: 300px;
    /* Space for absolute positioning */
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease-in-out;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    pointer-events: none;
    /* Prevent clicks on hidden slides */
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
    /* Make it take up space */
}

.client-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.quote-text {
    font-size: 1.1rem;
    color: #e5e5e5;
    font-style: italic;
    line-height: 1.6;
}

/* --- FAQ (Redesigned) --- */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: none;
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-muted);
}

.faq-card.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 200px;
}

.faq-toggle {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-card.active .faq-toggle {
    transform: rotate(180deg);
}

/* --- CTA Footer Section (New) --- */
.cta-footer-section {
    text-align: center;
    padding: 6rem 0 3rem;
    /* Space for the big block */
}

.cta-box {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.copyright {
    color: #444;
    font-size: 0.85rem;
}