@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #050505;
    --bg-panel: #0E0E0E;
    --bg-elevated: #161616;
    --bg-highlight: #1A1A1A;
    --text-main: #FAFAFA;
    --text-muted: #A1A1AA;
    --text-faint: #52525B;
    --accent: #8FAF8C;
    --accent-hover: #A5C4A2;
    --accent-faint: rgba(143, 175, 140, 0.15);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    --glass: rgba(5, 5, 5, 0.7);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Ambient Background Glow */
body::before {
    content: '';
    position: absolute;
    top: -30vh;
    left: 40%;
    width: 60vw;
    height: 70vh;
    background: radial-gradient(ellipse at center, rgba(143, 175, 140, 0.04) 0%, transparent 60%);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: -1;
}

/* Grain Overlay for premium feel */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.4;
}

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

/* --- NAV --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.logo img {
    height: 28px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-main);
}

/* --- BUTTONS --- */
.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    border: 1px solid var(--text-main);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-main);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.btn-ghost {
    background: transparent;
    color: var(--text-main);
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    transition: all 0.25s ease;
}

.btn-ghost:hover {
    border-color: var(--border-hover);
    background: var(--bg-panel);
    transform: translateY(-1px);
}

.btn-large {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

/* --- HERO --- */
.hero {
    padding: 200px 5% 100px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: rgba(143, 175, 140, 0.06);
    border: 1px solid rgba(143, 175, 140, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent), var(--text-main));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    padding-right: 0.15em; /* Fixing cut-off text */
    display: inline-block;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 1.2rem;
}

/* --- MOCKUP VISUAL --- */
.hero-visual {
    position: relative;
    perspective: 1000px;
}

.schedule-mockup {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
    transform: rotateX(5deg) rotateY(-8deg) scale(1.02);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 20px 20px;
}

.schedule-mockup:hover {
    transform: rotateX(0) rotateY(0) scale(1);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mockup-time {
    font-weight: 500;
}

.mockup-energy {
    color: var(--accent);
    border: 1px solid rgba(143, 175, 140, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    background: rgba(143, 175, 140, 0.08);
    font-weight: 500;
}

.mockup-task {
    display: flex;
    gap: 1.2rem;
    padding: 1.2rem;
    border-radius: 14px;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    background: var(--bg-dark);
    transition: background 0.3s, border-color 0.3s;
}

.mockup-task:hover {
    background: var(--bg-elevated);
}

.mockup-task.active {
    border-color: rgba(143, 175, 140, 0.4);
    box-shadow: 0 8px 30px rgba(143, 175, 140, 0.08);
}

.mockup-task.active .task-time {
    color: var(--accent);
}

.task-time {
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 75px;
    color: var(--text-muted);
    padding-top: 2px;
}

.task-info h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 500;
    color: var(--text-main);
}

.task-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.mockup-voice {
    margin-top: 2.5rem;
    text-align: center;
}

.voice-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.9rem 1.6rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    font-size: 0.9rem;
    color: var(--text-main);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
    animation: float 4s ease-in-out infinite;
    font-weight: 400;
}

.voice-icon {
    font-size: 1.1rem;
    color: var(--accent);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* --- FEATURES --- */
.features {
    padding: 8rem 0;
    position: relative;
    z-index: 10;
}

.sections-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    width: 100%;
    margin-bottom: 8rem;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    text-align: center;
    margin-bottom: 5rem;
    letter-spacing: -0.03em;
    font-weight: 600;
}

.section-title span {
    color: var(--accent);
}

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

.feature-card {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(143, 175, 140, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    background: var(--bg-elevated);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

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

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
    display: inline-flex;
    padding: 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 500;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 300;
}

/* --- PROSE / DOCUMENT STYLES (Privacy Policy) --- */
.doc-page {
    padding: 140px 5% 100px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.doc-header {
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.doc-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--accent-faint);
    color: var(--accent);
    border: 1px solid rgba(143, 175, 140, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.doc-header h1 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.doc-date {
    color: var(--text-faint);
    font-size: 0.9rem;
}

.prose {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.prose p {
    margin-bottom: 1.5rem;
}

.prose h2 {
    font-size: 1.8rem;
    color: var(--text-main);
    font-weight: 600;
    margin: 3.5rem 0 1.5rem;
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.8rem;
}

.prose h3 {
    font-size: 1.3rem;
    color: var(--text-main);
    font-weight: 500;
    margin: 2.5rem 0 1rem;
}

.prose strong {
    color: var(--text-main);
    font-weight: 600;
}

.prose a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(143, 175, 140, 0.4);
    transition: border-color 0.2s;
}

.prose a:hover {
    border-color: var(--accent);
}

.prose ul, .prose ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose li::marker {
    color: var(--text-faint);
}

/* Callout Box for Highlights */
.prose-callout {
    background: var(--bg-highlight);
    border-left: 4px solid var(--accent);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
    margin: 2rem 0;
}

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    font-size: 0.95rem;
    background: var(--bg-panel);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.data-table th, .data-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    background: var(--bg-highlight);
    color: var(--text-main);
    font-weight: 500;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* --- FOOTER --- */
.footer {
    padding: 5rem 0 3rem;
    border-top: 1px solid var(--border);
    text-align: center;
    position: relative;
    z-index: 10;
    margin-top: auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links-bottom {
    display: flex;
    gap: 1.5rem;
}

.footer-links-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-bottom a:hover {
    color: var(--text-main);
}

.footer-logo {
    height: 36px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.footer-logo:hover {
    opacity: 1;
}

/* --- RESPONSIVE --- */
@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 150px;
        text-align: center;
        gap: 3rem;
    }
    
    .hero p {
        margin: 0 auto 2.5rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .schedule-mockup {
        max-width: 500px;
        margin: 0 auto;
        transform: none;
    }
    
    .schedule-mockup:hover {
        transform: translateY(-5px);
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .nav-links {
        display: none;
    }
    
    .doc-page {
        padding-top: 100px;
    }
    
    .data-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}