/* ============================================================
   HERO SECTION — Broken Grid, Anti-Gravity
   ============================================================ */
.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 160px 80px 80px;
    overflow: visible;
}

.hero-quote-mark {
    position: absolute;
    top: 60px;
    left: 40px;
    font-family: var(--font-serif);
    font-size: clamp(200px, 28vw, 400px);
    font-weight: 700;
    color: rgba(180, 160, 230, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    padding-top: 60px;
}

.hero-headlines h1 {
    font-family: var(--font-serif);
    font-size: clamp(48px, 7vw, 120px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.hero-line-3 {
    padding-left: clamp(0px, 5vw, 80px);
}

.hero-manifesto {
    margin-top: 48px;
    max-width: 500px;
}
.hero-manifesto p {
    font-family: var(--font-sans);
    font-size: 17px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 4px;
}

.hero-cta {
    margin-top: 48px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* JOURNAL CARD */
.hero-journal {
    position: relative;
    padding-top: 20px;
}

.journal-stack {
    position: relative;
}

.journal-shadow {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: rgba(20, 20, 30, 0.4);
    border: 1px solid rgba(255,255,255,0.03);
}
.journal-shadow:nth-child(1) { transform: translate(16px, 12px); }
.journal-shadow:nth-child(2) { transform: translate(8px, 6px); }

.journal-card {
    position: relative;
    z-index: 2;
    padding: 28px 32px;
    border-radius: 24px;
}

.journal-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.journal-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin-bottom: 20px;
}

.journal-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--cream);
    line-height: 1.4;
    margin-bottom: 20px;
}

.journal-body p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Emotion Overlay */
.emotion-overlay {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 240px;
    padding: 16px 18px;
    border-radius: 16px;
    z-index: 5;
    animation: float 8s ease-in-out infinite;
}

.emotion-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--dim);
    margin-bottom: 12px;
}

.emotion-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.emotion-name {
    font-size: 12px;
    color: var(--muted);
    width: 65px;
    flex-shrink: 0;
}

.bar-track {
    flex: 1;
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1.5s var(--ease-out);
}
.bar-fill.sage { background: var(--sage-bright); }
.bar-fill.lavender { background: var(--lavender); }
.bar-fill.gold { background: var(--gold); }

/* ============================================================
   WAVE DIVIDER
   ============================================================ */
.wave-divider {
    position: relative;
    z-index: 2;
    height: 60px;
    margin: 20px 0;
}
.wave-divider svg {
    width: 100%;
    height: 100%;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
    position: relative;
    z-index: 2;
    padding: 60px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat {
    text-align: left;
}

.stat:nth-child(2) { transform: translateY(20px); }
.stat:nth-child(3) { transform: translateY(-8px); }
.stat:nth-child(4) { transform: translateY(12px); }

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--dim);
}

/* ============================================================
   FEATURES SECTION — Broken Grid
   ============================================================ */
.features-section {
    position: relative;
    z-index: 2;
    padding: 80px 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-number {
    font-family: var(--font-serif);
    font-size: clamp(80px, 10vw, 140px);
    font-weight: 700;
    color: rgba(180, 160, 230, 0.06);
    line-height: 0.8;
    pointer-events: none;
    user-select: none;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--dim);
    margin-top: -30px;
    margin-bottom: 8px;
}

.section-label-line {
    width: 120px;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}

.feature-large {
    padding: 36px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    min-height: 340px;
}

.feature-large-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 28px;
}

.feature-large-desc {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 450px;
}

.feature-icon-float {
    position: absolute;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(140, 180, 130, 0.1);
    border-radius: 16px;
    color: var(--sage);
    animation: float 10s ease-in-out infinite;
}

.feature-stack {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.feature-small {
    padding: 28px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.feature-small h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 10px;
}

.feature-small p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
}

.mini-chart {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    position: absolute;
    bottom: 20px;
    right: 24px;
    height: 60px;
}

.chart-bar {
    width: 12px;
    background: rgba(140, 180, 130, 0.25);
    border-radius: 4px;
    transition: height 0.8s var(--ease-out);
}
.chart-bar:hover { background: rgba(140, 180, 130, 0.5); }

.pulse-dot {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 12px;
    height: 12px;
    background: var(--sage);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}
.pulse-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(140, 180, 130, 0.3);
    animation: pulse-ring 2s ease-in-out infinite;
}

/* Features row 2 */
.features-row-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 0;
}

.feature-card {
    padding: 28px;
    border-radius: 20px;
    position: relative;
}

.feature-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-section {
    position: relative;
    z-index: 2;
    padding: 80px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
}

.step {
    position: relative;
    padding-right: 40px;
}

.step-number {
    font-family: var(--font-serif);
    font-size: clamp(80px, 10vw, 140px);
    font-weight: 700;
    color: rgba(180, 160, 230, 0.06);
    line-height: 0.8;
    margin-bottom: -10px;
    pointer-events: none;
    user-select: none;
}

.step-number.sage {
    color: rgba(140, 180, 130, 0.06);
}

.step-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 16px;
}

.step p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
}

.step-connector {
    position: absolute;
    top: 50%;
    right: 0;
    width: 40px;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0px, rgba(255,255,255,0.08) 4px, transparent 4px, transparent 10px);
}
.step-connector::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -3px;
    border: 4px solid transparent;
    border-left: 6px solid rgba(255,255,255,0.1);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
    position: relative;
    z-index: 2;
    padding: 80px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-testimonial {
    position: relative;
    margin-bottom: 80px;
    padding-left: 20px;
}

.giant-quote {
    position: absolute;
    top: -60px;
    left: -10px;
    font-family: var(--font-serif);
    font-size: clamp(120px, 15vw, 200px);
    font-weight: 700;
    color: rgba(180, 160, 230, 0.06);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.hero-testimonial blockquote p {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 12px;
}

.quote-line-1, .quote-line-2 {
    font-size: clamp(36px, 5.5vw, 88px);
    color: var(--cream);
}
.quote-line-3 {
    font-size: clamp(36px, 5.5vw, 88px);
    color: var(--lavender);
    font-style: italic;
}

.quote-author {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    align-items: baseline;
}

.author-name {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--muted);
}

.author-role {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 18px;
    color: var(--dim);
}

/* Quote cards */
.quotes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.quote-card {
    padding: 28px;
    border-radius: 20px;
}

.stars {
    color: var(--gold);
    font-size: 16px;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.quote-card p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.quote-footer strong {
    display: block;
    font-size: 14px;
    color: var(--cream);
    margin-bottom: 2px;
}

.quote-footer span {
    font-size: 13px;
    color: var(--dim);
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.avatar.lavender {
    background: rgba(180, 160, 230, 0.12);
    color: var(--lavender);
    border: 1px solid rgba(180, 160, 230, 0.2);
}

.avatar.sage {
    background: rgba(140, 180, 130, 0.12);
    color: var(--sage);
    border: 1px solid rgba(140, 180, 130, 0.2);
}

/* ============================================================
   APP PREVIEW SECTION
   ============================================================ */
.preview-section {
    position: relative;
    z-index: 2;
    padding: 80px 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.preview-heading {
    margin-bottom: 60px;
}

.preview-heading h2 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.15;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.preview-card {
    padding: 28px;
    border-radius: 20px;
    transition: all 0.4s var(--ease-out);
}

.preview-card:hover {
    transform: translateY(-4px);
}

.preview-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lavender);
    background: rgba(180, 160, 230, 0.1);
    border: 1px solid rgba(180, 160, 230, 0.15);
    padding: 4px 12px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.preview-badge.sage {
    color: var(--sage);
    background: rgba(140, 180, 130, 0.1);
    border-color: rgba(140, 180, 130, 0.15);
}

.preview-card h3 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--cream);
    margin: 16px 0 8px;
}

.preview-card > p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

/* Mock UI elements */
.preview-mockup {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 16px;
    min-height: 180px;
}

.mock-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.mock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mock-dot.lavender { background: var(--lavender); }
.mock-dot.sage { background: var(--sage); }

.mock-title {
    font-family: var(--font-serif);
    font-size: 13px;
    color: var(--cream);
}

.mock-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.mock-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
}

.mock-emotions {
    display: flex;
    gap: 6px;
}

.mock-tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 8px;
    font-weight: 600;
}

.mock-tag.sage {
    background: rgba(140, 180, 130, 0.12);
    color: var(--sage);
}

.mock-tag.lavender {
    background: rgba(180, 160, 230, 0.12);
    color: var(--lavender);
}

/* Chat mock */
.mock-chat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-bubble {
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 12px;
    line-height: 1.4;
    max-width: 85%;
}

.mock-bubble.ai {
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.mock-bubble.user {
    background: rgba(180, 160, 230, 0.12);
    color: var(--lavender-bright);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* Chart mock */
.mock-chart {
    position: relative;
    margin-bottom: 10px;
}

.mock-chart-bars {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    height: 100px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mock-bar {
    flex: 1;
    background: linear-gradient(to top, rgba(180, 160, 230, 0.25), rgba(140, 180, 130, 0.15));
    border-radius: 4px 4px 0 0;
    min-height: 10px;
    transition: height 1s var(--ease-out);
}

.mock-stats-row {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.mock-mini-stat {
    font-size: 11px;
    color: var(--muted);
}

/* Extras grid */
.preview-extras {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.extra-item {
    padding: 20px 16px;
    border-radius: 16px;
    text-align: center;
}

.extra-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

.extra-item strong {
    display: block;
    font-size: 13px;
    color: var(--cream);
    margin-bottom: 4px;
}

.extra-item p {
    font-size: 12px;
    color: var(--dim);
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .preview-section { padding-left: 40px; padding-right: 40px; }
    .preview-grid { grid-template-columns: 1fr; }
    .preview-extras { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .preview-section { padding-left: 20px; padding-right: 20px; }
    .preview-extras { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .preview-extras { grid-template-columns: 1fr; }
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    position: relative;
    z-index: 2;
    padding: 40px 80px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.cta-card {
    position: relative;
    padding: 80px 60px;
    border-radius: 32px;
    overflow: hidden;
    text-align: center;
}

.cta-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(100px);
}
.cta-orb.lavender {
    top: -20%;
    left: 10%;
    background: radial-gradient(circle, rgba(180,160,230,0.12) 0%, transparent 70%);
}
.cta-orb.sage {
    bottom: -20%;
    right: 10%;
    background: radial-gradient(circle, rgba(140,180,130,0.1) 0%, transparent 70%);
}

.cta-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-headline {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.cta-sub {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    position: relative;
    z-index: 2;
    padding: 0 80px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--dim);
    margin-top: 8px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 12px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--dim);
    margin-bottom: 8px;
    transition: color 0.3s;
}
.footer-col a:hover { color: var(--cream); }

.footer-bottom {
    text-align: center;
}

.footer-bottom-line {
    height: 1px;
    background: rgba(255,255,255,0.03);
    margin-bottom: 20px;
}

.footer-bottom p {
    font-size: 12px;
    color: var(--dim);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero { padding: 140px 40px 60px; }
    .hero-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero-content { padding-top: 0; }
    .features-section, .how-section, .testimonials-section, .cta-section, .footer, .stats-section { padding-left: 40px; padding-right: 40px; }
    .features-grid { grid-template-columns: 1fr; }
    .features-row-2 { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr; gap: 60px; }
    .step-connector { display: none; }
    .quotes-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .emotion-overlay { right: 10px; bottom: -20px; }
}

@media (max-width: 768px) {
    .hero { padding: 120px 20px 40px; }
    .hero-headlines h1 { font-size: clamp(36px, 10vw, 60px); }
    .hero-line-3 { padding-left: 0; }
    .features-section, .how-section, .testimonials-section, .cta-section, .footer, .stats-section { padding-left: 20px; padding-right: 20px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .stat:nth-child(2), .stat:nth-child(3), .stat:nth-child(4) { transform: none; }
    .features-row-2 { grid-template-columns: 1fr; }
    .cta-card { padding: 60px 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .hero-cta { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .cta-buttons { flex-direction: column; }
    .floating-shapes { display: none; }
    .hero-quote-mark { font-size: 150px; }
    .section-number { font-size: 80px; }
    .quote-line-1, .quote-line-2, .quote-line-3 { font-size: clamp(28px, 8vw, 48px); }
}

@media (max-width: 480px) {
    .navbar { left: 12px; right: 12px; top: 8px; }
    .hero { padding: 110px 16px 30px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
