/* ============================================
   Avilo Landing Page
   Inspired by mymind.com - warm, minimal, manifesto-driven
   ============================================ */

:root {
    --cream: #FBF9F6;
    --cream-dark: #F5F2ED;
    --warm-white: #FFFDFB;
    --sage: #6B8F71;
    --sage-dark: #4A6B50;
    --sage-light: rgba(107, 143, 113, 0.1);
    --text: #1A1A1A;
    --text-light: #666;
    --text-muted: #999;
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.3s;
}

.nav.scrolled {
    background: rgba(251, 249, 246, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.nav-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(16px, 5vw, 72px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
}

.logo-emoji {
    font-size: 24px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--sage);
    color: white !important;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 500;
}

.nav-cta:hover {
    background: var(--sage-dark);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px clamp(16px, 5vw, 72px) 80px;
}

.hero-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: var(--sage);
    background: var(--sage-light);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero h1 em {
    color: var(--sage);
}

.hero-sub {
    font-size: 19px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--sage);
    color: white;
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(107, 143, 113, 0.25);
}

.btn-primary:hover {
    background: var(--sage-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(107, 143, 113, 0.3);
}

.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 20px rgba(107, 143, 113, 0.1);
}

/* ============================================
   Phone Section
   ============================================ */
.phone-section {
    padding: 0 clamp(16px, 5vw, 72px) 120px;
    text-align: center;
}

.phone-wrapper {
    display: flex;
    justify-content: center;
}

.phone {
    position: relative;
    width: 280px;
    background: linear-gradient(145deg, #2A2A2C, #1A1A1C);
    border-radius: 48px;
    padding: 10px;
    box-shadow: 
        0 60px 120px rgba(0,0,0,0.15),
        0 30px 60px rgba(0,0,0,0.1);
}

.phone-island {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 26px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    background: var(--cream);
    border-radius: 40px;
    padding: 50px 14px 20px;
    min-height: 480px;
}

.screen-header {
    margin-bottom: 20px;
}

.screen-greeting {
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
}

.screen-sub {
    font-size: 11px;
    color: var(--text-muted);
}

.screen-label {
    font-size: 9px;
    font-weight: 600;
    color: var(--sage);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.screen-card {
    background: white;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 14px;
    text-align: left;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.screen-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.screen-avatar {
    width: 32px;
    height: 32px;
    background: rgba(243, 140, 76, 0.15);
    color: #F38C4C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.screen-name {
    font-size: 12px;
    font-weight: 600;
}

.screen-meta {
    font-size: 10px;
    color: var(--text-muted);
}

.screen-desc {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.screen-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 9px;
    color: var(--text-muted);
}

.screen-btn {
    background: var(--sage);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
}

.screen-mini {
    background: white;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.screen-mini-icon {
    font-size: 20px;
}

.screen-mini-name {
    font-size: 11px;
    font-weight: 600;
}

.screen-mini-name span {
    color: var(--sage);
    font-weight: 500;
}

.screen-mini-meta {
    font-size: 9px;
    color: var(--text-muted);
}

.screen-btn-sm {
    margin-left: auto;
    background: var(--sage);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 600;
    cursor: pointer;
}

.phone-caption {
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   Manifesto
   ============================================ */
.manifesto {
    background: var(--warm-white);
    padding: 120px clamp(16px, 5vw, 72px);
}

.manifesto-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sage);
    margin-bottom: 24px;
}

.manifesto h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 48px;
}

.manifesto-text {
    text-align: left;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.manifesto-text p {
    margin-bottom: 24px;
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.8;
}

.manifesto-text strong {
    color: var(--text);
}

/* ============================================
   What We're Not
   ============================================ */
.not-section {
    padding: 100px clamp(16px, 5vw, 72px);
    text-align: center;
    background: var(--cream);
}

.not-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.not-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 40px;
    margin: 48px 0;
}

.not-item {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 400;
}

.crossed {
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    text-decoration-color: #E57373;
    color: var(--text-muted);
}

.not-after {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 400;
    color: var(--sage);
    font-style: italic;
}

/* ============================================
   How It Works
   ============================================ */
.how-section {
    background: var(--warm-white);
    padding: 120px clamp(16px, 5vw, 72px);
}

.how-inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.how-section h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    margin-bottom: 64px;
}

.how-steps {
    text-align: left;
}

.how-step {
    display: flex;
    gap: 24px;
    margin-bottom: 48px;
}

.how-step:last-child {
    margin-bottom: 0;
}

.how-number {
    width: 48px;
    height: 48px;
    background: var(--sage);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 20px;
    flex-shrink: 0;
}

.how-content h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 8px;
}

.how-content p {
    color: var(--text-light);
    font-size: 16px;
}

/* ============================================
   Use Cases
   ============================================ */
.uses-section {
    padding: 120px clamp(16px, 5vw, 72px);
    background: var(--cream);
}

.uses-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.uses-section h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    margin-bottom: 64px;
}

.uses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    text-align: left;
}

.use-card {
    background: var(--warm-white);
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(0,0,0,0.04);
}

.use-emoji {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.use-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
}

.use-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* ============================================
   Quote
   ============================================ */
.quote-section {
    padding: 100px clamp(16px, 5vw, 72px);
    background: var(--warm-white);
}

.quote-inner {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quote-section blockquote {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
    color: var(--text);
}

/* ============================================
   Founder
   ============================================ */
.founder-section {
    padding: 100px clamp(16px, 5vw, 72px);
    background: var(--cream);
}

.founder-inner {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
}

.founder-content {
    background: var(--warm-white);
    padding: 48px;
    border-radius: 32px;
    border: 1px solid rgba(0,0,0,0.04);
}

.founder-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.founder-content p:last-of-type {
    margin-bottom: 0;
}

.founder-sign {
    margin-top: 32px !important;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--sage) !important;
    font-size: 18px !important;
}

/* ============================================
   Waitlist
   ============================================ */
.waitlist-section {
    padding: 120px clamp(16px, 5vw, 72px);
    background: linear-gradient(180deg, var(--warm-white) 0%, var(--cream-dark) 100%);
    text-align: center;
}

.waitlist-inner {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.waitlist-emoji {
    font-size: 64px;
    display: block;
    margin-bottom: 24px;
}

.waitlist-section h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 400;
    margin-bottom: 16px;
}

.waitlist-sub {
    color: var(--text-light);
    margin-bottom: 40px;
}

.waitlist-form {
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    gap: 8px;
    background: white;
    padding: 8px;
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-group input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-family: var(--font-body);
    background: transparent;
    outline: none;
}

.form-group .btn-primary {
    padding: 14px 24px;
}

.form-success {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: rgba(107, 143, 113, 0.1);
    border-radius: 12px;
    color: var(--sage);
    font-weight: 500;
}

.form-error {
    display: none;
    margin: 12px auto 0;
    padding: 12px 16px;
    max-width: 480px;
    border-radius: 12px;
    background: rgba(179, 77, 77, 0.1);
    color: #B34D4D;
    font-weight: 500;
}

.waitlist-note {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--text);
    color: rgba(255,255,255,0.7);
    padding: 64px clamp(16px, 5vw, 72px);
    text-align: center;
}

.footer-inner {
    width: 100%;
    max-width: none;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 20px;
    color: white;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 15px;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
}

.footer-links span {
    opacity: 0.3;
}

.footer-copy {
    font-size: 13px;
    opacity: 0.5;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .nav-links a:not(.nav-cta) {
        display: none;
    }
    
    .hero {
        padding: 140px 20px 60px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .hero-sub {
        font-size: 16px;
    }
    
    .hero-sub br {
        display: none;
    }
    
    .phone {
        width: 240px;
        border-radius: 42px;
    }
    
    .phone-island {
        width: 75px;
        height: 22px;
        top: 14px;
    }
    
    .phone-screen {
        border-radius: 34px;
        padding: 42px 12px 16px;
        min-height: 400px;
    }
    
    .screen-greeting {
        font-size: 16px;
    }
    
    .manifesto,
    .how-section,
    .uses-section,
    .quote-section,
    .founder-section,
    .waitlist-section {
        padding: 80px 20px;
    }
    
    .not-section {
        padding: 60px 20px;
    }
    
    .not-grid {
        gap: 12px 24px;
    }
    
    .not-item {
        font-size: 22px;
    }
    
    .not-after {
        font-size: 22px;
    }
    
    .uses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .use-card {
        padding: 24px;
    }
    
    .use-emoji {
        font-size: 32px;
    }
    
    .how-step {
        gap: 16px;
    }
    
    .how-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .how-content h3 {
        font-size: 18px;
    }
    
    .quote-section blockquote {
        font-size: 22px;
    }
    
    .quote-section blockquote br {
        display: none;
    }
    
    .founder-content {
        padding: 32px 24px;
    }
    
    .founder-content p {
        font-size: 15px;
    }
    
    .form-group {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px;
    }
    
    .form-group input {
        text-align: center;
    }
    
    .form-group .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .waitlist-emoji {
        font-size: 48px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .manifesto h2,
    .how-section h2,
    .uses-section h2,
    .waitlist-section h2 {
        font-size: 28px;
    }
}

