:root {
    --primary: #ADEBB3;
    --primary-hover: #8fd696;
    --text: #292929;
    --text-light: #555555;
    --bg: #FFFFFF;
    --bg-alt: #F9FBF9;
    --white: #FFFFFF;
    --border: #E0E0E0;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --radius: 12px;
    --font-main: 'Outfit', sans-serif;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(173, 235, 179, 0.4);
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-outline {
    border: 2px solid var(--text);
    color: var(--text);
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: var(--text);
    color: var(--white);
}

.highlight {
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 30%;
    background-color: var(--primary);
    z-index: -1;
    opacity: 0.6;
    border-radius: 4px;
}

/* Navigation */
.navbar {
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text);
}

.nav-links a:not(.btn):hover {
    color: var(--white);
}

.navbar .btn-primary {
    background-color: var(--primary);
    color: var(--text);
}

.navbar .btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at 100% 0%, rgba(173, 235, 179, 0.5) 0%, rgba(255, 255, 255, 0) 50%), radial-gradient(circle at 0% 100%, rgba(173, 235, 179, 0.3) 0%, rgba(255, 255, 255, 0) 50%), #ffffff;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 90%;
}

/* Hero Visual (Mockup) */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.mockup-card {
    width: 320px;
    height: 500px;
    /* Fixed height for portrait ratio */
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
    position: relative;
    transform-origin: bottom center;
}

.mockup-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.card-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 1;
}

.status-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge .dot {
    width: 8px;
    height: 8px;
    background-color: #4CAF50;
    border-radius: 50%;
}

.play-button-glass {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.play-button-glass:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.play-icon {
    color: white;
    font-size: 24px;
    margin-left: 4px;
    /* Visual correction */
}

.card-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    z-index: 2;
    color: white;
}

.card-info-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.card-info-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.tags-glass {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tags-glass span {
    font-size: 0.75rem;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sections General */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

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

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

/* Problem/Solution */
.problem-solution {
    background-color: var(--bg-alt);
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.5;
    margin-bottom: 20px;
}

.step-card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.step-card p {
    color: var(--text-light);
}

/* Features */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse .feature-text {
    direction: ltr;
}

.feature-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.mockup-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: block;
    margin: 0 auto;
}

/* Hero Stack Overlay */
.hero-stack {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 550px;
    /* Adjusted for hero */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stack-card {
    position: absolute;
    width: 320px;
    /* Match hero card width */
    height: auto;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, z-index 0.3s ease;
    transform-origin: bottom center;
}

/* Ensure mockup-card (Dr Sarah) acts as card-left */
.mockup-card.card-left {
    position: absolute;
    /* Override relative if needed */
    transform: rotate(-6deg) translateX(-60px);
    z-index: 1;
}

.card-left {
    transform: rotate(-6deg) translateX(-60px);
    z-index: 1;
}

.card-right {
    transform: rotate(6deg) translateX(60px);
    z-index: 2;
}

.hero-stack:hover .card-left {
    transform: rotate(-15deg) translateX(-80px) scale(1.01);
    z-index: 2;
}

.hero-stack:hover .card-right {
    transform: rotate(15deg) translateX(80px) scale(1.01);
}

/* Individual card hover removed to prevent glitching */

/* Waitlist Section */
.waitlist-section {
    background-color: var(--bg-alt);
    text-align: center;
    padding: 100px 0;
}

.waitlist-content {
    max-width: 600px;
    margin: 0 auto;
}

.waitlist-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.waitlist-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.waitlist-form {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.waitlist-form input {
    padding: 16px 24px;
    border-radius: 50px;
    border: 1px solid var(--border);
    flex: 1;
    max-width: 300px;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.waitlist-form input:focus {
    border-color: var(--primary);
}

.waitlist-form button {
    border: none;
    font-family: var(--font-main);
    font-size: 1rem;
}

/* Footer */
footer {
    background: var(--text);
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-links .brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-links .links {
    display: flex;
    gap: 30px;
}

.footer-links .links a {
    color: rgba(255, 255, 255, 0.7);
}

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

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 40px;
    }

    .hero-visual {
        margin-top: 40px;
    }

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

    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-row.reverse {
        direction: ltr;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* Mobile menu to be implemented if needed */
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}