@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&family=Outfit:wght@300;500;700&display=swap');

:root {
    --bg-color: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #5f6368;
    --accent-color: #000000;
    --border-color: rgba(0, 0, 0, 0.08);
    /* Finer borders */
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-blur: blur(20px);
    --gradient-rainbow: linear-gradient(90deg, #4285f4, #ea4335, #fbbc05, #34a853);
    --font-family: 'Inter', -apple-system, sans-serif;
    --heading-font: 'Outfit', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Spacing System */
    --section-padding-y: clamp(5rem, 12vw, 15rem);
    --container-padding-x: clamp(1.5rem, 5vw, 4rem);
    --heading-margin-bottom: clamp(3rem, 8vw, 6rem);
    --grid-gap: clamp(1.5rem, 4vw, 3rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

label,
button,
a {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography Overrides */
h1,
h2,
h3 {
    font-family: var(--heading-font);
    font-weight: 700;
    letter-spacing: -0.04em;
    /* Tighter for modern look */
    line-height: 1.1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding-x);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 6rem 1rem;
    overflow: hidden;
}

.hero h1 {
    font-size: clamp(3.5rem, 12vw, 7.5rem);
    /* Even larger for impact */
    margin-bottom: 2rem;
    max-width: 1200px;
    line-height: 1.05;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.trust-badges {
    display: flex;
    gap: 2.5rem;
    margin-top: 4rem;
    opacity: 0;
    animation: fadeInUp 1s 0.4s forwards;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.trust-badge svg {
    color: #34a853;
    /* Success green */
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    max-width: 700px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 500;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* SVG Arc & Particles */
.arc-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-width: 800px;
    z-index: -1;
}

.bg-graphic-top {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    z-index: -2;
    opacity: 0.15;
    filter: blur(80px);
    pointer-events: none;
    animation: pulse 15s infinite alternate ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(-2%, 5%);
    }
}

@keyframes float-slow {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(5%, 5%) rotate(5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

.bg-section-graphic {
    position: absolute;
    z-index: -2;
    pointer-events: none;
    opacity: 0.1;
    /* Very subtle */
}

/* Testimonials: Soft blobs */
.bg-testimonials {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(120px);
    animation: pulse 20s infinite alternate;
}

/* Problem: Sharp lines/grid */
.bg-problem {
    top: 50%;
    right: -5%;
    width: 40%;
    transform: translateY(-50%) rotate(-5deg);
    opacity: 0.05;
}

/* Process: Connected dots/flow */
.bg-process {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
}

/* Pricing: Central glow */
.bg-pricing {
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    filter: blur(150px);
    animation: pulse 12s infinite alternate;
}

/* FAQ: Geometric steps */
.bg-faq {
    bottom: -10%;
    left: -10%;
    width: 50%;
    opacity: 0.04;
}

/* Contact: Vivid soft blob */
.bg-contact {
    top: -20%;
    right: -20%;
    width: 80%;
    height: 80%;
    filter: blur(120px);
    opacity: 0.15;
    animation: pulse 18s infinite alternate-reverse;
}

.bg-rainbow-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-rainbow);
    z-index: 2000;
}

.mouse-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(66, 133, 244, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
    filter: blur(40px);
}

/* Sections */
section {
    padding: var(--section-padding-y) 0;
    position: relative;
}

.bg-tint-blue {
    background-color: rgba(66, 133, 244, 0.03);
    border-top: 1px solid rgba(66, 133, 244, 0.05);
    border-bottom: 1px solid rgba(66, 133, 244, 0.05);
}

.bg-tint-red {
    background-color: rgba(234, 67, 53, 0.03);
    border-top: 1px solid rgba(234, 67, 53, 0.05);
    border-bottom: 1px solid rgba(234, 67, 53, 0.05);
}

.bg-tint-yellow {
    background-color: rgba(251, 188, 5, 0.03);
    border-top: 1px solid rgba(251, 188, 5, 0.05);
    border-bottom: 1px solid rgba(251, 188, 5, 0.05);
}

.bg-tint-green {
    background-color: rgba(52, 168, 83, 0.03);
    border-top: 1px solid rgba(52, 168, 83, 0.05);
    border-bottom: 1px solid rgba(52, 168, 83, 0.05);
}

.section-extra-spacing {
    padding-top: clamp(4rem, 10vw, 10rem);
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: var(--heading-margin-bottom);
    font-weight: 700;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
}

/* Problem Grid */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--grid-gap);
}

.card {
    padding: 4rem 3rem;
    border-radius: 32px;
    background: var(--card-bg);
    backdrop-filter: var(--card-blur);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.card:hover {
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1.5px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--grid-gap);
}

.testimonial-card {
    padding: 3rem;
    border-radius: 32px;
    background: var(--card-bg);
    backdrop-filter: var(--card-blur);
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.testimonial-card:hover {
    border-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
}

.testimonial-card p {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    font-style: italic;
    color: var(--text-primary);
    position: relative;
}

.testimonial-card p::before {
    content: '"';
    font-family: var(--heading-font);
    font-size: 4rem;
    position: absolute;
    top: -2rem;
    left: -1rem;
    opacity: 0.1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.client-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--gradient-rainbow);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--heading-font);
}

/* Process Steps */
.steps {
    display: flex;
    flex-direction: column;
    gap: clamp(6rem, 15vw, 12rem);
}

.step-item {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 8vw, 6rem);
}

.step-content h3 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1.5rem;
}

.step-item:nth-child(even) {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
}

.step-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.circle-step {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-smooth);
}

.circle-step:hover {
    transform: rotate(5deg) scale(1.05);
    border-color: var(--text-primary);
}

.step-number {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Pricing Card */
.pricing-card {
    background: #000;
    color: #fff;
    padding: 10rem 4rem;
    border-radius: 64px;
    text-align: center;
    max-width: 1000px;
    margin: 5rem auto;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 1;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-rainbow);
    z-index: -1;
    border-radius: 66px;
    opacity: 0.3;
    transition: var(--transition-smooth);
}

.pricing-card:hover::before {
    opacity: 1;
    filter: blur(2px);
}

.pricing-card:hover {
    transform: scale(1.02);
}

.price-strike {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    text-decoration-color: #ea4335;
    margin-bottom: -1rem;
    display: block;
}

.price {
    font-size: 6rem;
    font-weight: 800;
    margin: 1.5rem 0;
    color: #fff;
}

.price-offer-tag {
    background: var(--gradient-rainbow);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 2rem;
    color: #000;
}

/* Contact Form Mockup */
.contact-section {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

input,
textarea {
    width: 100%;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-size: 1.1rem;
    font-family: inherit;
    transition: var(--transition-smooth);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--text-primary);
    background: #f8f8f8;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Particles Layer */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--border-color);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0) scale(1);
    }

    50% {
        transform: translateY(50vh) translateX(20px) scale(1.2);
    }

    100% {
        transform: translateY(-100px) translateX(-10px) scale(1);
    }
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 1rem 1.8rem;
    border-radius: 100px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.sticky-cta.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.sticky-cta:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.sticky-cta svg {
    width: 20px;
    height: 20px;
}

/* Wizard / Onboarding Styles */
.wizard-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10vh 2rem;
}

.wizard-container {
    width: 100%;
    max-width: 800px;
    background: var(--card-bg);
    backdrop-filter: var(--card-blur);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 4rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.onboarding-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    background: var(--gradient-rainbow);
    transition: width 0.5s ease;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.wizard-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wizard-header {
    margin-bottom: 3rem;
}

.wizard-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.wizard-header p {
    color: var(--text-secondary);
}

.wizard-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
}

.q-label {
    display: block;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.wizard-input {
    margin-bottom: 2.5rem;
}

.wizard-input input,
.wizard-input textarea {
    background: rgba(0, 0, 0, 0.02);
    border: 1.5px solid var(--border-color);
}

.wizard-input input:focus,
.wizard-input textarea:focus {
    background: #fff;
    border-color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-indicator {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .step-item,
    .step-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }

    .pricing-card {
        padding: 3rem 1.5rem;
    }

    .price {
        font-size: 3.5rem;
    }
}