/* ========================================
   LIGLOG - Oura Ring Inspired Design
   温暖 · 优雅 · 简约
   ======================================== */

/* ========================================
   Design Tokens - Oura-inspired Color Palette
   ======================================== */
:root {
    /* Sandstone Color Palette - Oura's signature warm tones */
    --sandstone-50: #FAF9F6;
    --sandstone-100: #F5F3EE;
    --sandstone-200: #EAE7DF;
    --sandstone-300: #DDD9CE;
    --sandstone-400: #C4BFB0;
    --sandstone-500: #8A8479;
    --sandstone-600: #6B665D;
    --sandstone-700: #4A4640;
    --sandstone-800: #2C2A26;
    --sandstone-900: #1C1B1A;
    --sandstone-950: #0F0F0E;

    /* liglog Brand Accent - Soft Teal */
    --teal: #5B9B8F;
    --teal-light: #7ABDB0;
    --teal-dark: #3D7A6F;

    /* Feature Colors - Soft pastels */
    --feature-sleep: #6B9BD1;
    --feature-sleep-light: #A8D5E5;
    --feature-health: #7CB3A8;
    --feature-health-light: #B5E8D8;
    --feature-activity: #E8A87C;
    --feature-activity-light: #F5D4BA;
    --feature-stress: #C389B9;
    --feature-stress-light: #E8D5E5;

    /* Text Colors */
    --text-primary: #1C1B1A;
    --text-secondary: #6B665D;
    --text-muted: #8A8479;
    --text-light: #FAF9F6;
    --text-on-dark: rgba(250, 249, 246, 0.9);

    /* Backgrounds */
    --bg-primary: #FAF9F6;
    --bg-secondary: #EAE7DF;
    --bg-tertiary: #DDD9CE;
    --bg-dark: #1C1B1A;
    --bg-card: #FFFFFF;

    /* Borders */
    --border-subtle: rgba(138, 132, 121, 0.15);
    --border-medium: rgba(138, 132, 121, 0.25);
    --border-strong: rgba(138, 132, 121, 0.4);

    /* ========================================
       Typography - Oura-inspired
       Editorial-style headings with clean sans-serif body
       ======================================== */
    --font-serif: 'Crimson Pro', 'Editorial New', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Crimson Pro', Georgia, serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

    /* Font Sizes - Oura uses larger, more elegant headings */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;
    --text-8xl: 6rem;
    --text-9xl: 8rem;

    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;

    /* Letter Spacing */
    --tracking-tight: -0.02em;
    --tracking-normal: 0;
    --tracking-wide: 0.05em;
    --tracking-wider: 0.1em;

    /* Line Heights */
    --leading-tight: 1.1;
    --leading-snug: 1.25;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;

    /* ========================================
       Spacing - 8px base unit
       ======================================== */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-32: 128px;

    /* ========================================
       Layout
       ======================================== */
    --container-max: 1440px;
    --section-padding: 120px;
    --grid-gap: 32px;
    --card-padding: 40px;

    /* ========================================
       Border Radius - Oura uses softer, more rounded corners
       ======================================== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-3xl: 32px;
    --radius-full: 9999px;

    /* ========================================
       Transitions - Smooth, ease-heavy for premium feel
       ======================================== */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 150ms;
    --duration-normal: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 700ms;

    /* ========================================
       Shadows - Soft, diffuse shadows
       ======================================== */
    --shadow-sm: 0 1px 2px rgba(28, 27, 26, 0.05);
    --shadow-md: 0 4px 12px rgba(28, 27, 26, 0.08);
    --shadow-lg: 0 8px 24px rgba(28, 27, 26, 0.12);
    --shadow-xl: 0 16px 48px rgba(28, 27, 26, 0.15);
    --shadow-2xl: 0 24px 64px rgba(28, 27, 26, 0.18);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #FAF9F6;
        --text-secondary: #C4BFB0;
        --text-muted: #8A8479;
        --bg-primary: #1C1B1A;
        --bg-secondary: #2C2A26;
        --bg-tertiary: #4A4640;
        --bg-card: #2C2A26;
        --border-subtle: rgba(196, 191, 176, 0.1);
        --border-medium: rgba(196, 191, 176, 0.2);
        --border-strong: rgba(196, 191, 176, 0.3);
    }
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: var(--leading-normal);
    overflow-x: hidden;
}

/* ========================================
   Typography - Oura-inspired Style
   ======================================== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: var(--font-regular);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--text-primary);
}

h1 {
    font-size: clamp(var(--text-5xl), 10vw, var(--text-8xl));
    font-weight: var(--font-light);
}

h2 {
    font-size: clamp(var(--text-4xl), 6vw, var(--text-6xl));
    font-weight: var(--font-light);
}

h3 {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    font-weight: var(--font-regular);
}

h4 {
    font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
    font-weight: var(--font-medium);
}

p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
}

.mono {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.italic {
    font-style: italic;
}

.desktop-only {
    display: inline;
}

@media (max-width: 768px) {
    .desktop-only { display: none; }
}

/* ========================================
   Layout
   ======================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ========================================
   Navigation - Oura-inspired Style
   ======================================== */
.navbar {
    position: fixed;
    inset: 0;
    height: 72px;
    z-index: 1000;
    background: rgba(28, 27, 26, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background var(--duration-normal) var(--ease-smooth);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-8);
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: var(--font-bold);
    color: #FFFFFF;
    letter-spacing: var(--tracking-tight);
}

.nav-links {
    display: flex;
    gap: var(--space-10);
}

.nav-link {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: #EAE7DF;
    text-decoration: none;
    position: relative;
    padding: var(--space-2) 0;
    transition: color var(--duration-fast) var(--ease-smooth);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #FAF9F6;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--duration-normal) var(--ease-out-expo);
}

.nav-link:hover {
    color: #FAF9F6;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ========================================
   Hero Section - Oura-inspired
   ======================================== */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: var(--space-20);
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.85;
}

.hero > .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-16);
    position: relative;
    z-index: 10;
}

/* Decorative Elements */
.grid-background {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    z-index: 2;
    background-image:
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 50% at 30% 50%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 30% 50%, black 0%, transparent 70%);
}

.organic-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 30s ease-in-out infinite;
}

.shape-1 {
    top: 20%;
    right: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--feature-sleep-light) 0%, transparent 70%);
    animation-delay: 0s;
}

.shape-2 {
    bottom: 20%;
    left: 10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--feature-health-light) 0%, transparent 70%);
    animation-delay: -10s;
}

.shape-3 {
    top: 50%;
    left: 50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--feature-stress-light) 0%, transparent 70%);
    animation-delay: -20s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Hero Content */
.hero-content {
    position: relative;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

.label-dot {
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse-dot 3s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    margin-bottom: var(--space-8);
}

.title-line {
    display: block;
}

.title-accent {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--teal);
}

.hero-description {
    margin-bottom: var(--space-10);
    font-size: var(--text-xl);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    max-width: 480px;
}

.hero-description .highlight {
    color: var(--text-primary);
    font-weight: var(--font-medium);
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* ========================================
   Buttons - Oura-inspired Style
   ======================================== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    border-radius: var(--radius-full);
    text-decoration: none;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.btn-teal,
.btn-primary {
    background: var(--teal);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-teal:hover,
.btn-primary:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline,
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-medium);
}

.btn-outline:hover,
.btn-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.ring-showcase {
    position: relative;
    width: min(550px, 90vw);
    height: min(550px, 90vw);
}

.ring-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ring-reflection {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20%;
    background: radial-gradient(ellipse, rgba(91, 155, 143, 0.2) 0%, transparent 70%);
    filter: blur(40px);
}

/* ========================================
   Section Headers - Oura-inspired
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: var(--space-24);
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-bottom: var(--space-4);
}

.section-title {
    margin-bottom: var(--space-4);
    font-weight: var(--font-light);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-muted);
    font-weight: var(--font-regular);
}

/* ========================================
   Philosophy Section
   ======================================== */
.philosophy {
    position: relative;
    background: var(--bg-secondary);
}

.section-decoration {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--teal), transparent);
    opacity: 0.3;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-24);
    align-items: center;
}

.philosophy-text {
    font-size: var(--text-xl);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-8);
}

.philosophy-text-secondary {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-12);
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.metric-item {
    text-align: center;
    padding: var(--space-10) var(--space-6);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: all var(--duration-normal) var(--ease-out-expo);
    box-shadow: var(--shadow-sm);
}

.metric-item:hover {
    transform: translateY(-4px);
    border-color: var(--teal);
    box-shadow: var(--shadow-xl);
}

.metric-number {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: var(--font-light);
    color: var(--teal);
    line-height: 1;
    margin-bottom: var(--space-3);
}

.metric-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

.philosophy-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-12);
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.feature-pill:hover {
    background: var(--teal);
    color: white;
    border-color: var(--teal);
    transform: translateY(-2px);
}

.pill-icon {
    font-size: 16px;
}

.pill-text {
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
}

/* Cycle Display */
.cycle-carousel {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

.carousel-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s var(--ease-out-quart);
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Screenshots Carousel - Multi-slide layout
   ======================================== */
/* Main screenshots carousel wrapper */
.screenshots-carousel {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.screenshots-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.screenshots-carousel .carousel-container {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    background: transparent;
    border: none;
    box-shadow: none;
}

.screenshots-carousel .carousel-track {
    display: flex;
    gap: var(--space-6);
    transition: transform 0.6s var(--ease-out-quart);
}

/* Show 4 slides on desktop, 2 on tablet, 1 on mobile */
.screenshots-carousel .carousel-slide {
    flex: 0 0 calc(25% - var(--space-6) * 3 / 4);
    width: calc(25% - var(--space-6) * 3 / 4);
}

.screenshots-carousel .carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.indicator {
    width: 48px;
    height: 4px;
    border-radius: var(--radius-full);
    background: var(--bg-tertiary);
    border: none;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out-expo);
    padding: 0;
}

.indicator:hover {
    background: var(--border-strong);
}

.indicator.active {
    background: var(--teal);
    width: 64px;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.feature-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    transition: all var(--duration-normal) var(--ease-out-expo);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-medium);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    color: var(--teal);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.feature-card h3 {
    margin-bottom: var(--space-4);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
}

.feature-card p {
    margin-bottom: var(--space-6);
    line-height: var(--leading-relaxed);
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
}

.feature-list li {
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    border-bottom: 1px solid var(--border-subtle);
}

.feature-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--teal);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ========================================
   Screenshots Section
   ======================================== */
.screenshots {
    position: relative;
    background: linear-gradient(180deg, #FAF9F6 0%, #EAE7DF 100%);
    overflow: hidden;
}

/* Background canvas for Oura-style animation */
.screenshots-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.screenshots .container {
    position: relative;
    z-index: 1;
}

/* Oura-style title for screenshots section */
.screenshots .section-title {
    font-family: 'Crimson Pro', 'Georgia', serif;
    font-weight: 300;
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.02em;
    color: var(--sandstone-900);
    line-height: 1.2;
}

.screenshots .section-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--teal);
    text-transform: uppercase;
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    align-items: start;
    padding: var(--space-20) 0;
    max-width: 1400px;
    margin: 0 auto;
}

.screenshot-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
    width: 100%;
}

.phone-frame {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 9 / 19.5;
    background: linear-gradient(145deg, var(--sandstone-800) 0%, var(--sandstone-950) 100%);
    border-radius: var(--radius-3xl);
    padding: 12px;
    box-shadow: var(--shadow-2xl);
    transition: all var(--duration-normal) var(--ease-out-expo);
    overflow: hidden;
}

.phone-frame-content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    border-radius: calc(var(--radius-3xl) - 8px);
    background: var(--bg-dark);
}

.phone-frame-content::-webkit-scrollbar {
    width: 4px;
}

.phone-frame-content::-webkit-scrollbar-track {
    background: transparent;
}

.phone-frame-content::-webkit-scrollbar-thumb {
    background: var(--teal);
    border-radius: var(--radius-full);
}

.phone-frame-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.phone-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 16px;
    z-index: 10;
}

.phone-frame:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow: 0 32px 80px rgba(28, 27, 26, 0.3);
}

.screenshot-label {
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--text-secondary);
    padding: var(--space-3) var(--space-6);
    background: var(--bg-primary);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.screenshot-label:hover {
    background: var(--teal);
    color: white;
    border-color: var(--teal);
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--bg-primary);
}

.about-content {
    max-width: 720px;
    margin: 0 auto;
}

.about-text {
    margin-bottom: var(--space-8);
    font-size: var(--text-xl);
    line-height: var(--leading-relaxed);
    text-align: left;
}

.about-text:first-child {
    font-size: var(--text-2xl);
    font-weight: var(--font-medium);
    color: var(--teal);
}

.about-text:last-child {
    margin-bottom: 0;
}

/* ========================================
   Info Section
   ======================================== */
.info-section {
    background: var(--bg-secondary);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-medium);
    box-shadow: var(--shadow-xl);
}

.info-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    color: var(--teal);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.info-card h3 {
    margin-bottom: var(--space-4);
    font-size: var(--text-xl);
}

.info-card p {
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

.info-note {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-style: italic;
}

/* ========================================
   Specs Section
   ======================================== */
.specs {
    padding: var(--space-20) 0;
    background: var(--bg-primary);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-8);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.spec-item:hover {
    transform: translateY(-4px);
    border-color: var(--teal);
    box-shadow: var(--shadow-lg);
}

.spec-label {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-bottom: var(--space-3);
}

.spec-value {
    font-family: var(--font-sans);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
}

/* ========================================
   CTA Section - Oura-inspired
   ======================================== */
.cta {
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
    color: var(--text-light);
}

.cta-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(600px, 80vw);
    height: min(600px, 80vw);
    background: radial-gradient(circle, rgba(91, 155, 143, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    animation: ctaGlow 10s ease-in-out infinite;
}

@keyframes ctaGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.cta-title {
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 2;
    color: var(--text-light);
}

.cta-subtitle {
    font-size: var(--text-xl);
    color: var(--text-on-dark);
    margin-bottom: var(--space-10);
    position: relative;
    z-index: 2;
}

/* Reservation Form */
.reservation-form {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.form-group {
    display: flex;
    gap: var(--space-3);
    align-items: center;
}

.email-input {
    flex: 1;
    padding: var(--space-4) var(--space-6);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    outline: none;
    transition: all var(--duration-normal) var(--ease-smooth);
}

.email-input::placeholder {
    color: rgba(250, 249, 246, 0.5);
}

.email-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--teal);
}

.email-input:valid {
    border-color: rgba(255, 255, 255, 0.2);
}

.form-message {
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    text-align: center;
    min-height: 24px;
    opacity: 0;
    transition: opacity var(--duration-normal) var(--ease-smooth);
}

.form-message.show {
    opacity: 1;
}

.form-message.success {
    color: var(--feature-health);
}

.form-message.error {
    color: #FF6B6B;
}

/* ========================================
   Footer - Oura-inspired Style
   ======================================== */
.footer {
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-20) 0 var(--space-16);
    background: var(--bg-dark);
    color: var(--text-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--space-16);
    margin-bottom: var(--space-16);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--text-light);
    letter-spacing: var(--tracking-tight);
}

.footer-tagline {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.footer-description {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: var(--leading-normal);
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-10);
}

.link-column h4 {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-4);
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

.link-column a {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: var(--space-3);
    transition: color var(--duration-fast) var(--ease-smooth);
}

.link-column a:hover {
    color: var(--text-light);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-10);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.footer-contact {
    margin-top: var(--space-2);
    color: var(--text-light);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
}

/* ========================================
   Noise Texture Overlay
   ======================================== */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero {
        padding-top: 160px;
    }

    .hero > .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

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

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

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

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

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

    .nav-links {
        display: none;
    }

    /* Tablet: Show 2 slides at once */
    .screenshots-carousel .carousel-slide {
        flex: 0 0 calc(50% - var(--space-6) / 2);
        width: calc(50% - var(--space-6) / 2);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    h1 { font-size: clamp(var(--text-4xl), 12vw, var(--text-6xl)); }
    h2 { font-size: clamp(var(--text-3xl), 8vw, var(--text-5xl)); }
    h3 { font-size: clamp(var(--text-xl), 5vw, var(--text-2xl)); }

    .hero-visual {
        min-height: 400px;
    }

    .ring-showcase {
        width: min(400px, 90vw);
        height: min(400px, 90vw);
    }

    .metrics-row {
        grid-template-columns: 1fr;
    }

    .cycle-carousel {
        max-width: 100%;
    }

    .form-group {
        flex-direction: column;
        align-items: stretch;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
        padding: var(--space-16) 0;
    }

    .screenshot-item {
        max-width: 320px;
        margin: 0 auto;
    }

    /* Mobile: Show 1 slide at once */
    .screenshots-carousel .carousel-slide {
        flex: 0 0 100%;
        width: 100%;
    }

    .screenshots-wrapper {
        gap: var(--space-4);
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
    }

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

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   Animations
   ======================================== */
.feature-card,
.screenshot-item,
.metric-item,
.spec-item,
.info-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.feature-card.visible,
.screenshot-item.visible,
.metric-item.visible,
.spec-item.visible,
.info-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.feature-card:nth-child(1) { transition-delay: 0.1s; }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(4) { transition-delay: 0.4s; }
.feature-card:nth-child(5) { transition-delay: 0.5s; }
.feature-card:nth-child(6) { transition-delay: 0.6s; }

.screenshot-item:nth-child(1) { transition-delay: 0.1s; }
.screenshot-item:nth-child(2) { transition-delay: 0.2s; }
.screenshot-item:nth-child(3) { transition-delay: 0.3s; }
.screenshot-item:nth-child(4) { transition-delay: 0.4s; }
