:root {
    --primary-teal: #089282;
    --primary-teal-dark: #067265;
    --primary-teal-light: #16b3a1;
    --secondary-gray: #808080;
    --dark-bg: #050505;
    --dark-surface: #121212;
    --dark-surface-2: #1e1e1e;
    --light-bg: #ffffff;
    --light-surface: #f8f9fa;
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-light: #ffffff;
    --text-light-muted: #aaaaaa;

    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-teal {
    color: var(--primary-teal);
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-label {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary-gray);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 32px;
    width: auto;
}

.cta-button {
    background: var(--dark-bg);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.cta-button:hover {
    background: var(--primary-teal);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 1000px;
    padding: 0 5%;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6.5rem);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.hero-line {
    display: block;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    color: var(--secondary-gray);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.hero-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(8, 146, 130, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    border-radius: 50%;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--secondary-gray);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }

    40% {
        transform: translateY(-15px) translateX(-50%);
    }

    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

/* Rethink Section (Sticky) */
.rethink-section {
    position: relative;
    background: var(--light-surface);
    overflow: hidden;
}

.dual-layout {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.left-col {
    width: 40%;
    flex: 0 0 40%;
}

.sticky-col {
    /* GSAP will handle the pin, but we can provide base styles */
    height: fit-content;
    align-self: flex-start;
}

.right-col {
    width: 50%;
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 20vh;
    /* Offset for better scroll viewing */
    padding-bottom: 20vh;
}

.feature-card {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition-slow);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: rgba(8, 146, 130, 0.1);
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.parallax-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    z-index: 0;
}

@media (max-width: 992px) {
    .dual-layout {
        flex-direction: column;
    }

    .left-col,
    .right-col {
        width: 100%;
        max-width: 100%;
        flex: none;
    }

    .right-col {
        padding-top: 0;
    }
}

/* Benefits Grid Section */
.benefits-section {
    padding: var(--spacing-xl) 0;
    background: var(--light-bg);
}

.section-header {
    margin-bottom: 5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.benefit-item {
    padding: 4rem;
    border-radius: var(--radius-lg);
    background: var(--light-surface);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-teal);
    border-radius: var(--radius-lg);
    opacity: 0;
    transform: scale(0.95);
    transition: var(--transition-slow);
    pointer-events: none;
}

.benefit-item:hover::before {
    opacity: 1;
    transform: scale(1);
}

.b-icon {
    color: var(--primary-teal);
    margin-bottom: 1.5rem;
}

.b-icon svg {
    width: 40px;
    height: 40px;
}

.benefit-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

    .benefit-item {
        padding: 2.5rem;
    }
}

/* Process Timeline Section */
.process-section {
    padding: var(--spacing-xl) 0;
    background: var(--dark-bg);
    color: var(--text-light);
}

.process-section .section-title {
    color: var(--text-light);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 49px;
    /* center of dot */
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--primary-teal);
}

.timeline-step {
    display: flex;
    margin-bottom: 4rem;
    opacity: 0.3;
    transition: var(--transition-slow);
    position: relative;
    z-index: 2;
}

.timeline-step.active {
    opacity: 1;
}

.step-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--dark-surface);
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-right: 3rem;
    margin-left: 38px;
    flex-shrink: 0;
    transition: var(--transition-fast);
    position: relative;
}

.step-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 12px;
    height: 12px;
    background: var(--primary-teal);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.timeline-step.active .step-dot {
    border-color: var(--primary-teal);
}

.timeline-step.active .step-dot::after {
    transform: translate(-50%, -50%) scale(1);
}

.step-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light-muted);
    font-size: 1.25rem;
}

/* Work Section (Horizontal) */
.work-section {
    background: var(--light-bg);
    overflow: hidden;
    /* For horizontal scroll */
}

.work-pin-wrapper {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
}

.work-section .container {
    padding-bottom: 4rem;
}

.horizontal-scroll-container {
    height: 60vh;
    display: flex;
    align-items: center;
}

.h-scroll-canvas {
    display: flex;
    gap: 2rem;
    padding: 0 5vw;
}

.work-card {
    min-width: 400px;
    width: 400px;
    height: 500px;
    border-radius: var(--radius-lg);
    background: var(--light-surface);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.w-image {
    height: 60%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.work-card:hover .w-image {
    transform: scale(1.05);
}

.w-content {
    padding: 2rem;
    background: var(--light-bg);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.w-content i {
    color: var(--primary-teal);
    margin-bottom: 1rem;
}

.w-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 992px) {
    .horizontal-scroll-container {
        height: auto;
        padding: 2rem 0;
        justify-content: center;
    }

    .h-scroll-canvas {
        flex-direction: column;
        align-items: center;
        padding: 0 1rem;
        width: 100%;
    }

    .work-card {
        min-width: unset;
        width: 100%;
        max-width: 400px;
        height: 450px;
    }
}

/* Final Call Section */
.final-call-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--text-light);
}

.cta-circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: var(--primary-teal);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.cta-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
}

.icon-wrap {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.icon-wrap svg {
    width: 40px;
    height: 40px;
    stroke-width: 1.5;
}

.cta-title {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.cta-description {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    opacity: 0.9;
    margin-bottom: 3rem;
}

.cta-main-btn {
    background: var(--light-bg);
    color: var(--primary-teal);
    border: none;
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-fast);
}

.cta-main-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.cta-main-btn:active {
    transform: translateY(0);
}

/* Footer */
footer {
    background: var(--dark-bg);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.f-logo-img {
    height: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.5;
}

.f-text {
    color: var(--text-light-muted);
    font-size: 0.875rem;
}

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