:root {
    --sage: #88B088;
    --sage-dark: #6A8E6A;
    --mint: #E8F5E8;
    --mint-soft: #F4F9F4;
    --slate: #889FB0;
    --moss: #3D5A3D;
    --background: #FFFFFF;
    --text-main: #1D1D1F;
    --text-secondary: #424245;
    --text-muted: #86868B;
    --white: #ffffff;
    --border: rgba(0, 0, 0, 0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-xl: 48px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --max-width: 1100px;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- HEADER & NAV (FIXED) --- */
header {
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: height 0.3s ease;
}

header.scrolled {
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
}

.header-nav {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: 50px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.lang-switcher {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 700;
}

.lang-switcher a {
    text-decoration: none;
    color: var(--text-main);
    opacity: 0.5;
    transition: opacity 0.2s ease;
    padding: 2px 4px;
}

.lang-switcher a:hover {
    opacity: 1;
}

.lang-switcher a.active {
    opacity: 1;
    color: var(--sage);
}

/* Mobile Menu Toggle Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.nav-links li a:hover {
    opacity: 1;
}

/* HEADER BUTTON - HIGH CONTRAST (FIXED) */
a.btn-header {
    background-color: #1d1d1f !important;
    /* Pure black */
    color: #ffffff !important;
    /* Pure white */
    padding: 10px 22px !important;
    border-radius: 100px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    display: inline-block !important;
    opacity: 1 !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

a.btn-header:hover {
    background-color: var(--sage) !important;
    transform: translateY(-1px);
}

/* --- HERO --- */
.hero {
    padding: 100px 0;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    text-align: right;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--mint);
    color: var(--moss);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

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

.btn-large {
    padding: 18px 42px;
    font-size: 1.1rem;
    border-radius: 16px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-mockup {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* --- SECTIONS --- */
section {
    padding: 100px 0;
}

.wear-os-section {
    background-color: var(--mint-soft);
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.flex-content {
    flex: 1;
}

.flex-image {
    flex: 1;
}

.icon-box {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
}

h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* STEPS */
.step-card {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.step-info {
    flex: 1;
}

.step-visual {
    flex: 1.2;
    background: #f9f9f9;
    border-radius: 32px;
    padding: 40px;
    text-align: center;
}

.step-visual img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-visual .watch-img {
    width: 240px;
    border-radius: 50%;
}

.step-number {
    color: var(--sage);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

/* SCIENCE */
.science-card {
    background: var(--text-main);
    color: white;
    padding: 80px;
    border-radius: 40px;
    text-align: center;
}

.science-card h2 {
    color: white;
    font-size: 3rem;
}

.quote-box {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 40px;
    font-style: italic;
    font-size: 1.4rem;
}

.quote-box footer {
    font-style: normal;
    font-size: 1rem;
    opacity: 0.5;
    margin-top: 20px;
}

/* REVEAL ON SCROLL */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* FOOTER */
footer {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    background: #fefefe;
}

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

.footer-nav {
    display: flex;
    gap: 32px;
    list-style: none;
}

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

/* --- RESPONSIVE DESIGN --- */

/* Laptops & Tablets (1024px and below) */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
        gap: 40px;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
        width: 80%;
        margin: 0 auto;
    }

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .flex-row {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .flex-image {
        width: 80%;
        margin: 0 auto;
    }

    .step-card {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        margin-bottom: 100px;
    }

    .step-card:nth-child(even) .step-info {
        order: 1;
    }

    .step-card:nth-child(even) .step-visual {
        order: 2;
    }
}

/* Mobiles (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    header {
        height: 72px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        padding: 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        display: flex;
        /* Ensure it's flex when active */
    }

    .nav-right.active {
        transform: translateX(0);
    }

    .nav-links {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .nav-links li a {
        font-size: 1.2rem;
    }

    .btn-header {
        width: 100%;
        text-align: center;
        padding: 16px !important;
    }

    /* Overlay background when menu is open */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    h1 {
        font-size: 2.8rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    section {
        padding: 60px 0;
    }

    .hero-image,
    .flex-image {
        width: 100%;
    }

    .step-visual {
        padding: 20px;
        border-radius: 20px;
    }

    .step-visual .watch-img {
        width: 180px;
    }

    .science-card {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .science-card h2 {
        font-size: 2.2rem;
    }

    .quote-box {
        font-size: 1.1rem;
    }

    .email-form {
        flex-direction: column;
        gap: 12px;
    }

    .email-form input {
        width: 100%;
    }

    .email-form button {
        width: 100%;
        padding: 18px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 16px;
    }
}

/* Small Mobiles (480px and below) */
@media (max-width: 480px) {
    h1 {
        font-size: 2.4rem;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1rem;
    }

    .section-p {
        font-size: 1.05rem;
    }

    .steps-section h2 {
        font-size: 2.5rem !important;
    }
}

/* Signup Section & Form Feedback */
.signup-box {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    min-height: 280px;
}

.email-form {
    display: flex;
    gap: 16px;
    margin-top: 50px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.email-form input {
    flex: 1;
    padding: 18px 24px;
    border-radius: 14px;
    border: 2px solid var(--border);
    font-size: 1.1rem;
    outline: none;
    transition: var(--transition);
}

.email-form input:focus {
    border-color: var(--sage);
    box-shadow: 0 0 0 4px var(--mint);
}

#form-status {
    width: 100%;
    margin-top: 32px;
    text-align: center;
    transition: opacity 0.4s ease;
}

/* Sentiment Section */
.sentiment-section {
    background-color: var(--mint-soft);
    padding: 80px 0;
    text-align: center;
}

.sentiment-box {
    max-width: 800px;
    margin: 0 auto;
}

.sentiment-image {
    max-width: 100%;
    width: 600px;
    height: auto;
    border-radius: 40px; /* Enhanced rounded corners */
    box-shadow: var(--shadow-md);
    display: block;
    margin: 40px auto 0 auto; /* Margin moved to top */
    transition: var(--transition);
}

.sentiment-image:hover {
    transform: scale(1.02);
}

.sentiment-box .quote {
    font-size: 2.2rem;
    font-weight: 700;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.3;
    margin-bottom: 24px;
    display: inline-block;
    position: relative;
}

.sentiment-box .quote::before {
    content: '"';
    position: absolute;
    left: -40px;
    top: -20px;
    font-size: 6rem;
    opacity: 0.1;
    color: var(--sage);
    font-family: serif;
}

.sentiment-box .answer {
    font-size: 2rem;
    font-weight: 800;
    color: var(--moss);
    letter-spacing: -0.02em;
    margin-top: 20px;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: white;
}

.process-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    gap: 30px;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 30px;
}

.step-label {
    background: white;
    padding: 20px 32px;
    border-radius: 20px;
    border: 1px solid var(--border);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    white-space: nowrap;
}

.step-label.highlight {
    background: var(--sage);
    color: white;
    border-color: var(--sage);
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(136, 176, 136, 0.4);
}

.step-arrow {
    font-size: 2rem;
    color: var(--sage);
    opacity: 0.4;
    font-weight: 300;
}

@media (max-width: 1024px) {
    .process-wrapper {
        flex-direction: column;
        gap: 60px;
    }
    
    .process-step {
        width: 100%;
        flex-direction: column;
        gap: 20px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .sentiment-box .quote {
        font-size: 1.8rem;
    }
    
    .sentiment-box .answer {
        font-size: 1.6rem;
    }
    
    .step-label {
        width: 300px;
        white-space: normal;
    }
}