/* ===========================================
   Fold — A Daily Practice
   =========================================== */

:root {
    /* Brand */
    --teal: #06b6d4;
    --teal-glow: rgba(42, 209, 212, 0.4);
    --teal-light: rgba(42, 209, 212, 0.1);

    /* Dark Theme */
    --bg: #030712;
    --bg-secondary: #080d19;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);

    /* Text */
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);

    /* Borders */
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);

    /* Colors */
    --purple: #8B5CF6;
    --blue: #3B82F6;
    --yellow: #F59E0B;
    --green: #22C55E;
    --red: #EF4444;

    /* Gradients */
    --gradient-teal: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);

    /* Layout */
    --container: 1200px;
    --section-gap: 100px;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

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

/* ===========================================
   Cursor Glow
   =========================================== */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(42, 209, 212, 0.06) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: opacity 0.3s;
}

/* ===========================================
   Navigation
   =========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
    background: rgba(3, 7, 18, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.logo-img {
    height: 26px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-teal);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--bg);
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(42, 209, 212, 0.15);
}

.nav-cta:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(42, 209, 212, 0.25);
}

.nav-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s;
}

.nav-cta:hover svg {
    transform: translateX(3px);
}

/* ===========================================
   Hero
   =========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 100px;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(42, 209, 212, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    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: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 10px;
    background: var(--teal-light);
    border: 1px solid rgba(42, 209, 212, 0.15);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

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

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

.hero-title {
    font-size: clamp(44px, 5.5vw, 68px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, #06b6d4 0%, #22d3ee 50%, #06b6d4 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--gradient-teal);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    color: var(--bg);
    transition: all 0.3s;
    box-shadow: 0 0 30px rgba(42, 209, 212, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 40px rgba(42, 209, 212, 0.3);
}

.btn-primary svg {
    width: 20px;
    height: 20px;
}

.btn-primary.large {
    padding: 20px 36px;
    font-size: 17px;
}

.hero-meta {
    display: flex;
    gap: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.meta-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.meta-dot.green { background: var(--green); }
.meta-dot.blue { background: var(--blue); }

.hero-store-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: -4px;
}

.hero-store-badge {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: default;
}

.hero-store-badge svg {
    width: 18px;
    height: 18px;
    fill: var(--text-muted);
    transition: fill 0.3s ease;
}

.hero-store-badge:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.hero-store-badge:hover svg {
    fill: var(--text);
}

/* ===========================================
   Phone Mockup — Premium Design
   =========================================== */
.hero-phone {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone {
    position: relative;
    width: 280px;
    perspective: 1200px;
    animation: phoneFloat 6s ease-in-out infinite;
    z-index: 2;
}

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

.phone-bezel {
    position: relative;
    background: linear-gradient(180deg, #1e1e2e 0%, #0a0a14 100%);
    border-radius: 44px;
    padding: 10px;
    box-shadow:
        0 60px 120px rgba(0, 0, 0, 0.6),
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Gentle animated gradient border — slow-breathing edge light */
.phone-edge-light {
    position: absolute;
    inset: -1px;
    border-radius: 45px;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        rgba(6, 182, 212, 0.35) 15%,
        transparent 30%,
        transparent 70%,
        rgba(6, 182, 212, 0.25) 85%,
        transparent 100%
    );
    z-index: -1;
    animation: edgeRotate 30s linear infinite;
    mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 1.5px;
    pointer-events: none;
}

@keyframes edgeRotate {
    to { transform: rotate(360deg); }
}

/* Dynamic Island notch */
.phone-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}

.notch-camera {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #1a2a3a 40%, #0a1520 100%);
    border-radius: 50%;
    box-shadow: inset 0 0 2px rgba(6, 182, 212, 0.3);
}

.phone-screen {
    background: #000;
    border-radius: 34px;
    padding: 0;
    aspect-ratio: 808 / 1718;
    width: 100%;
    position: relative;
    overflow: hidden;
}


/* Screen Carousel */
.screen-carousel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: 32px;
}

.screen-slides {
    display: flex;
    width: 400%;
    height: 100%;
    will-change: transform;
}

.screen-slide {
    width: 25%;
    height: 100%;
    flex-shrink: 0;
}

.screen-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}


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

.screen-date {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
}

.screen-day {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.screen-tasks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.screen-task {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    font-size: 13px;
    color: var(--text);
}

.screen-task.done {
    opacity: 0.5;
}

.screen-task.done span:first-of-type {
    text-decoration: line-through;
}

.task-check {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    flex-shrink: 0;
}

.task-check.checked {
    background: var(--gradient-teal);
    border-color: transparent;
    position: relative;
}

.task-check.checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 7px;
    border: solid var(--bg);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.task-badge {
    margin-left: auto;
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
}

.task-badge.high {
    background: rgba(239, 68, 68, 0.2);
    color: var(--red);
}

.task-time {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-muted);
}

.screen-habits {
    padding: 14px 0;
    border-top: 1px solid var(--border);
}

.habits-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.habits-row {
    display: flex;
    gap: 6px;
}

.habit-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
}

.habit-pill.done {
    background: var(--gradient-teal);
    color: var(--bg);
}

.habit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.habit-icon svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.screen-mood {
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.mood-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 10px;
}

.mood-row {
    display: flex;
    gap: 8px;
}

.mood {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.mood svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.mood img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.mood.active {
    background: var(--teal-light);
    box-shadow: 0 0 0 2px var(--teal);
    color: var(--teal);
}

/* ===========================================
   Pillar Cards — Calm floating around phone
   =========================================== */
.pillar-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.pillar-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.pillar-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.pillar-icon.teal {
    background: rgba(6, 182, 212, 0.15);
    color: var(--teal);
}

.pillar-icon.purple {
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple);
}

.pillar-icon.blue {
    background: rgba(59, 130, 246, 0.15);
    color: var(--blue);
}

.pillar-icon.amber {
    background: rgba(245, 158, 11, 0.15);
    color: var(--yellow);
}

.pillar-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.pillar-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

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

/* Positions — corners around the phone */
.pillar-plan {
    top: 5%;
    left: -60px;
    animation: floatGentle1 7s ease-in-out infinite;
}

.pillar-act {
    top: 40%;
    right: -55px;
    animation: floatGentle2 8s ease-in-out infinite;
}

.pillar-track {
    bottom: 30%;
    left: -50px;
    animation: floatGentle3 9s ease-in-out infinite;
}

.pillar-reflect {
    bottom: 5%;
    right: -45px;
    animation: floatGentle4 7.5s ease-in-out infinite;
}

/* Slow, gentle breathing floats */
@keyframes floatGentle1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

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

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

/* ===========================================
   Aurora Background — Soft, calm teal wash
   =========================================== */
.hero-aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-aurora::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 60%;
    top: -20%;
    left: 15%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(6, 182, 212, 0.08), transparent 70%);
    filter: blur(80px);
    animation: auroraBreathe 10s ease-in-out infinite alternate;
}

@keyframes auroraBreathe {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.08) translateY(-10px); opacity: 1; }
}

/* ===========================================
   Title Shine Effect — Subtle
   =========================================== */
/* Removed — shine-text was overflowing outside the text element */

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 12px;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(12px); }
}

/* ===========================================
   Sections
   =========================================== */
.section {
    padding: var(--section-gap) 24px;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    padding: 6px 14px;
    background: var(--teal-light);
    border: 1px solid rgba(42, 209, 212, 0.15);
    color: var(--teal);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
}

.text-muted {
    color: var(--text-muted);
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 16px;
}

/* ===========================================
   How It Works
   =========================================== */
.how-it-works {
    background: var(--bg-secondary);
}

.day-flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.flow-item {
    flex: 1;
    max-width: 300px;
    display: flex;
    flex-direction: column;
}

.flow-time {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--teal);
    margin-bottom: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.flow-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: all 0.4s;
}

.flow-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.flow-icon {
    margin-bottom: 14px;
    color: var(--teal);
}

.flow-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.5;
}

.flow-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.flow-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.flow-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--border), var(--teal), var(--border));
    margin-top: 100px;
    flex-shrink: 0;
}

/* ===========================================
   Modules
   =========================================== */
.modules {
    background: var(--bg);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.module-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-teal);
    opacity: 0;
    transition: opacity 0.4s;
}

.module-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-2px);
}

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

.module-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.module-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-teal);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--bg);
}

.module-icon.purple { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.module-icon.blue { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.module-icon.yellow { background: linear-gradient(135deg, #F59E0B, #D97706); }

.module-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.module-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.module-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 20px;
}

.module-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.module-features li {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
}

.module-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--teal);
}

/* ===========================================
   App-Style Module Previews (Matches Fold App)
   =========================================== */
.app-preview {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

/* Tasks App Preview - matches App.jsx task styling */
.tasks-app-preview {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.app-task {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #1e293b;
    border-radius: 10px;
    transition: all 0.2s;
}

.app-task:hover {
    background: #283548;
}

.app-task.done {
    opacity: 0.5;
}

.app-task.done .app-task-name {
    text-decoration: line-through;
    color: #64748b;
}

/* Checkbox - rounded-md like app (not circular) */
.app-task-check {
    width: 20px;
    height: 20px;
    border: 2px solid #475569;
    border-radius: 6px;
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-task-check.checked {
    background: #22d3ee;
    border-color: #22d3ee;
}

.app-task-check.checked::after {
    content: '✓';
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

/* High priority task - red border */
.app-task.high-priority .app-task-check:not(.checked) {
    border-color: #f87171;
}

.app-task-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-task-badge {
    padding: 3px 8px;
    font-size: 9px;
    font-weight: 600;
    border-radius: 100px;
    background: #334155;
    color: #94a3b8;
    text-transform: capitalize;
}

.app-task-badge.high {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
}

.app-task-time {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

/* Task with subtasks */
.app-task-with-subtasks {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.app-task-with-subtasks .app-task {
    border-radius: 10px 10px 0 0;
}

.app-task-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.app-subtask-count {
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
}

.app-task-expand {
    width: 16px;
    height: 16px;
    color: #64748b;
    flex-shrink: 0;
}

/* Subtasks container */
.app-subtasks {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 4px 12px 8px 42px;
    background: #1e293b;
    border-radius: 0 0 10px 10px;
    border-top: 1px solid #334155;
}

.app-subtask {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
}

.app-subtask.done {
    opacity: 0.5;
}

.app-subtask.done .app-subtask-name {
    text-decoration: line-through;
    color: #64748b;
}

.app-subtask-check {
    width: 14px;
    height: 14px;
    border: 2px solid #475569;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-subtask-check.checked {
    background: #22d3ee;
    border-color: #22d3ee;
}

.app-subtask-check.checked::after {
    content: '✓';
    font-size: 9px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1;
}

.app-subtask-name {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
}

/* Habits App Preview - matches App.jsx HabitItem */
.habits-app-preview {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Remove the pill row, show detailed habit items like the app */
.app-habit-row {
    display: none;
}

.app-habit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

/* Icon box - matches app's w-10 h-10 rounded-xl bg-slate-800 */
.app-habit-icon-box {
    width: 40px;
    height: 40px;
    background: #1e293b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-habit-icon-box svg {
    width: 20px;
    height: 20px;
    color: #22d3ee;
    stroke-width: 2;
}

.app-habit-info {
    flex: 1;
    min-width: 0;
}

.app-habit-title {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.app-habit-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.app-habit-stats .progress-num {
    font-weight: 700;
    color: #e2e8f0;
}

.app-habit-stats .divider {
    color: #475569;
}

.app-habit-stats .target {
    font-weight: 500;
    color: #22d3ee;
}

.app-habit-stats .percent {
    color: #64748b;
    font-size: 11px;
}

/* Progress dots - matches app's w-2.5 h-2.5 rounded-full */
.app-habit-dots {
    display: flex;
    gap: 4px;
    margin-top: 8px;
}

.app-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #334155;
    transition: all 0.2s;
}

.app-dot.filled {
    background: #22d3ee;
    transform: scale(1.1);
}

/* Legacy pill styles (hidden but kept for fallback) */
.app-habit-pill {
    display: none;
}

.app-habit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-habit-icon svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.app-habit-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-habit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.app-habit-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 90px;
}

.app-habit-emoji {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
}

.app-habit-emoji svg {
    width: 16px;
    height: 16px;
}

.app-habit-name {
    font-size: 13px;
    color: var(--text);
}

.app-habit-progress {
    display: flex;
    gap: 4px;
    flex: 1;
}

.app-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
    transition: all 0.2s;
}

.app-dot.filled {
    background: var(--teal);
}

.app-habit-streak,
.app-habit-count {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.app-habit-streak svg {
    width: 14px;
    height: 14px;
    color: #f97316;
}

/* Events App Preview - matches App.jsx EventItem */
.events-app-preview {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.app-event {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 10px;
    background: #1e293b;
    border-radius: 10px;
    transition: all 0.2s;
}

.app-event:hover {
    background: #283548;
}

/* Icon box - matches app's rounded-xl bg-slate-800 */
.app-event-icon-box {
    width: 40px;
    height: 40px;
    background: #1e293b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-event-icon-box svg {
    width: 20px;
    height: 20px;
    color: #22d3ee;
    stroke-width: 2;
}

.app-event-info {
    flex: 1;
    min-width: 0;
}

.app-event-title {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.app-event-time-range {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    margin-top: 2px;
}

/* Repeat badge */
.app-event-repeat-badge {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 4px;
    flex-shrink: 0;
}

.app-event-repeat-badge svg {
    width: 10px;
    height: 10px;
    color: #a78bfa;
}

/* Legacy styles kept for fallback */
.app-event-line {
    display: none;
}

.app-event-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.app-event-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #64748b;
}

.app-event-meta svg {
    width: 12px;
    height: 12px;
}

.app-event-now {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    background: var(--teal);
    color: var(--bg);
    border-radius: 100px;
}

/* Journal Preview in Module Card */
.journal-preview {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.journal-mood-picker {
    margin-bottom: 16px;
}

.journal-mood-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 10px;
}

.journal-moods {
    display: flex;
    gap: 8px;
}

.journal-emoji {
    width: 32px;
    height: 32px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    object-fit: contain;
}

.journal-emoji:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.journal-emoji.active {
    background: rgba(245, 158, 11, 0.2);
    box-shadow: 0 0 0 2px var(--yellow);
}

.journal-entries {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.journal-entry {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid var(--border);
}

.entry-emoji {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.entry-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.entry-date {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.entry-text {
    font-size: 13px;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.plus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.plus-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s;
}

.plus-item:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.plus-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--teal);
}

.plus-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.75;
}

.plus-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.plus-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===========================================
   Philosophy / Why Fold (New Design)
   =========================================== */
.philosophy-new {
    background: var(--bg-secondary);
    overflow: hidden;
    position: relative;
}

.philosophy-bg-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.philosophy-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.1;
}

.philosophy-gradient-orb.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--teal);
    top: -100px;
    left: -150px;
}

.philosophy-gradient-orb.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--purple);
    bottom: -100px;
    right: -100px;
}

/* Centered Header */
.philosophy-centered {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.philosophy-headline {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.philosophy-today {
    background: linear-gradient(135deg, var(--teal) 0%, #00d4aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.philosophy-tomorrow {
    color: var(--text-secondary);
    font-weight: 500;
}

.philosophy-tagline {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 460px;
    margin: 0 auto;
}

.philosophy-tagline em {
    color: var(--text);
    font-style: italic;
}

/* Four Pillars */
.philosophy-pillars {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    max-width: 860px;
    margin: 0 auto 56px;
}

.pillar-item {
    flex: 1;
    padding: 28px 24px;
    text-align: center;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.pillar-item:first-child {
    border-radius: 18px 0 0 18px;
}

.pillar-item:last-child {
    border-radius: 0 18px 18px 0;
}

.pillar-item:not(:first-child) {
    border-left: none;
}

.pillar-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(42, 209, 212, 0.25);
    border-left: 1px solid rgba(42, 209, 212, 0.25);
    z-index: 1;
}

.pillar-number {
    font-size: 11px;
    font-weight: 700;
    color: var(--teal);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    opacity: 0.6;
}

.pillar-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.pillar-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.pillar-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 16px;
}

.pillar-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 209, 212, 0.1);
    border-radius: 10px;
}

.pillar-icon svg {
    width: 18px;
    height: 18px;
    color: var(--teal);
}

/* Closing Quote */
.philosophy-closing {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.philosophy-quote {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 16px;
}

.philosophy-signature {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    opacity: 0.7;
}

/* ===========================================
   Platforms Compact
   =========================================== */
.platforms-compact {
    background: var(--bg-secondary);
}

.platforms-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.platforms-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.platforms-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.3s;
}

.platform-chip:hover {
    border-color: var(--teal);
    background: var(--teal-light);
}

.platform-chip svg {
    width: 18px;
    height: 18px;
    fill: var(--text-secondary);
}

.platform-chip:hover svg {
    fill: var(--teal);
}

.platform-chip span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.platform-chip:hover span {
    color: var(--teal);
}

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

/* ===========================================
   Pricing New
   =========================================== */
.pricing-new {
    background: var(--bg);
}

.pricing-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

/* Free Tier */
.pricing-free {
    max-width: 500px;
    width: 100%;
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.pricing-free-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.pricing-free-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 209, 212, 0.1);
    border-radius: 12px;
}

.pricing-free-icon svg {
    width: 22px;
    height: 22px;
    color: var(--teal);
}

.pricing-free-header h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.pricing-free-header p {
    font-size: 13px;
    color: var(--text-muted);
}

.pricing-free-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.pricing-free-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-free-features svg {
    width: 16px;
    height: 16px;
    color: var(--teal);
}

/* Pricing Plans Grid */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 700px;
    width: 100%;
}

.pricing-plan-card {
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

.pricing-plan-card:hover {
    border-color: rgba(42, 209, 212, 0.3);
    transform: translateY(-2px);
}

.pricing-plan-featured {
    border-color: rgba(42, 209, 212, 0.4);
    background: linear-gradient(135deg, rgba(42, 209, 212, 0.08) 0%, var(--bg-card) 60%);
}

.pricing-plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 14px;
    background: var(--gradient-teal);
    color: var(--bg);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-plan-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.pricing-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 6px;
}

.pricing-amount .currency {
    font-size: 18px;
    font-weight: 600;
    color: var(--teal);
    margin-top: 6px;
}

.pricing-amount .value {
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-amount .cents {
    font-size: 18px;
    font-weight: 600;
    color: var(--teal);
    margin-top: 6px;
}

.pricing-period {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
}

.pricing-savings {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 10px;
    background: rgba(42, 209, 212, 0.1);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--teal);
}

/* Premium Features Row */
.pricing-premium-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 32px;
    max-width: 700px;
    margin: 40px auto 0;
}

.premium-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.premium-feature svg {
    width: 18px;
    height: 18px;
    color: var(--teal);
}

.premium-feature span {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
}

/* CTA Button */
.pricing-cta-wrapper {
    text-align: center;
    margin-top: 32px;
}

.pricing-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 48px;
    background: var(--gradient-teal);
    color: var(--bg);
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
    transition: all 0.3s;
    box-shadow: 0 4px 30px rgba(42, 209, 212, 0.3);
}

.pricing-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(42, 209, 212, 0.5);
}

.pricing-cta-btn svg {
    width: 18px;
    height: 18px;
}

.pricing-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 24px;
}

/* ===========================================
   CTA New
   =========================================== */
.cta-new {
    background: var(--bg);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

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

.cta-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    animation: orbFloat 8s ease-in-out infinite;
}

.cta-gradient-orb.orb-1 {
    top: 10%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: rgba(42, 209, 212, 0.2);
    animation-delay: 0s;
}

.cta-gradient-orb.orb-2 {
    bottom: 10%;
    right: 20%;
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.15);
    animation-delay: -3s;
}

.cta-gradient-orb.orb-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: rgba(42, 209, 212, 0.1);
    animation-delay: -5s;
}

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

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Floating icons */
.cta-floating-elements {
    position: absolute;
    inset: -60px;
    pointer-events: none;
}

.cta-float-icon {
    position: absolute;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: floatIcon 6s ease-in-out infinite;
}

.cta-float-icon svg {
    width: 24px;
    height: 24px;
}

/* Color variants */
.cta-float-icon.cyan svg { stroke: #22d3ee; }
.cta-float-icon.purple svg { stroke: #a855f7; }
.cta-float-icon.green svg { stroke: #10b981; }
.cta-float-icon.yellow svg { stroke: #fbbf24; }

.cta-float-icon.cyan { border-color: rgba(34, 211, 238, 0.2); background: rgba(34, 211, 238, 0.1); }
.cta-float-icon.purple { border-color: rgba(168, 85, 247, 0.2); background: rgba(168, 85, 247, 0.1); }
.cta-float-icon.green { border-color: rgba(16, 185, 129, 0.2); background: rgba(16, 185, 129, 0.1); }
.cta-float-icon.yellow { border-color: rgba(251, 191, 36, 0.2); background: rgba(251, 191, 36, 0.1); }

.cta-float-icon.float-1 {
    top: 5%;
    left: 8%;
    animation-delay: 0s;
}

.cta-float-icon.float-2 {
    top: 15%;
    right: 8%;
    animation-delay: -1.5s;
}

.cta-float-icon.float-3 {
    bottom: 20%;
    left: 5%;
    animation-delay: -3s;
}

.cta-float-icon.float-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: -4.5s;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

/* Badge */
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(42, 209, 212, 0.1);
    border: 1px solid rgba(42, 209, 212, 0.2);
    border-radius: 100px;
    margin-bottom: 32px;
}

.cta-badge-dot {
    width: 8px;
    height: 8px;
    background: #22d3ee;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.cta-badge span:last-child {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Headline */
.cta-headline {
    font-size: clamp(40px, 6vw, 60px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 20px;
}

.cta-subtext {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Store buttons */
.cta-download-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-store-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 28px;
    background: #fff;
    color: #000;
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.cta-store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.cta-store-btn svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.store-btn-label {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.store-btn-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

/* Rating */
.cta-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.cta-stars {
    display: flex;
    gap: 4px;
}

.cta-stars svg {
    width: 18px;
    height: 18px;
    fill: #fbbf24;
}

.cta-rating-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

/* Platforms row */
.cta-platforms-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.cta-platform-icons {
    display: flex;
    gap: 12px;
}

.cta-platform-icons svg {
    width: 20px;
    height: 20px;
    opacity: 0.6;
}

/* Legacy styles kept for compatibility */
.cta-primary-btn .btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.cta-primary-btn .btn-label {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.7;
}

.cta-primary-btn .btn-store {
    font-size: 18px;
    font-weight: 700;
}

.cta-platforms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 13px;
}

.cta-platforms svg {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

/* Download Button with Store Icons */
.cta-download-btn {
    gap: 10px !important;
    padding: 18px 40px !important;
    font-size: 17px;
    font-weight: 600;
    background: var(--gradient-teal) !important;
    color: var(--bg) !important;
}

.cta-download-btn svg {
    width: 22px !important;
    height: 22px !important;
}

.cta-download-btn:hover {
    box-shadow: 0 8px 40px rgba(42, 209, 212, 0.4) !important;
}

.cta-store-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    margin-bottom: 20px;
}

.store-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.store-badges {
    display: flex;
    align-items: center;
    gap: 16px;
}

.store-badge {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: default;
}

.store-badge svg {
    width: 22px;
    height: 22px;
    fill: var(--text-muted);
    transition: fill 0.3s ease;
}

.store-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.store-badge:hover svg {
    fill: var(--text);
}

/* ===========================================
   Footer - Modern Theme Design
   =========================================== */
.footer {
    position: relative;
    padding: 100px 24px 48px;
    background: var(--bg);
    overflow: hidden;
}

/* Subtle gradient orb decoration */
.footer::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(42, 209, 212, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Top border glow */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(42, 209, 212, 0.2) 20%,
        rgba(42, 209, 212, 0.4) 50%,
        rgba(42, 209, 212, 0.2) 80%,
        transparent 100%
    );
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-logo {
    height: 28px;
    width: auto;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background: rgba(42, 209, 212, 0.1);
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 209, 212, 0.15);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-links h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 8px 0;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-links a.active {
    color: var(--teal);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-copyright .footer-symbol {
    height: 16px;
    width: auto;
    margin: 0 2px;
    vertical-align: middle;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-copyright:hover .footer-symbol {
    opacity: 1;
    transform: scale(1.1);
}

/* Legacy social-links for backwards compatibility */
.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    transition: all 0.25s ease;
}

.social-links a:hover {
    background: rgba(42, 209, 212, 0.1);
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 209, 212, 0.15);
}

.social-links svg {
    width: 16px;
    height: 16px;
}

/* ===========================================
   Animations
   =========================================== */
/* On desktop, GSAP handles [data-animate] opacity/transform via JS.
   On mobile, no GSAP runs — elements stay visible by default. */
@media (min-width: 769px) {
    [data-animate] {
        opacity: 0;
        transform: translateY(40px);
    }

    [data-animate].animated {
        animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================================
   Responsive
   =========================================== */
@media (max-width: 1024px) {
    :root {
        --section-gap: 80px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .hero-content {
        max-width: 560px;
        margin: 0 auto;
    }

    .hero-badge {
        display: flex;
        justify-content: center;
    }

    .hero-cta {
        align-items: center;
    }

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

    .hero-store-icons {
        justify-content: center;
    }

    .hero-phone {
        order: -1;
    }

    .pillar-plan { left: -20px; }
    .pillar-act { right: -20px; }
    .pillar-track { left: -15px; }
    .pillar-reflect { right: -15px; }

    .day-flow {
        flex-direction: column;
        align-items: center;
    }

    .flow-connector {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, var(--border), var(--teal), var(--border));
        margin: 0;
    }

    /* Philosophy New - Responsive */
    .philosophy-pillars {
        flex-direction: column;
        max-width: 400px;
    }

    .pillar-item {
        border-left: 1px solid var(--border) !important;
    }

    .pillar-item:first-child {
        border-radius: 18px 18px 0 0;
    }

    .pillar-item:last-child {
        border-radius: 0 0 18px 18px;
    }

    .pillar-item:not(:first-child) {
        border-top: none;
    }

    .philosophy-quote {
        font-size: 15px;
    }

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

@media (max-width: 768px) {
    :root {
        --section-gap: 64px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 100px 20px 80px;
    }

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

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

    /* Platforms Compact Mobile */
    .platforms-strip {
        flex-direction: column;
        gap: 16px;
    }

    .platforms-icons {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Pricing New Mobile */
    .pricing-plans {
        grid-template-columns: 1fr;
        max-width: 320px;
        gap: 12px;
    }

    .pricing-plan-card {
        padding: 24px 20px;
    }

    .pricing-premium-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .pricing-amount .value {
        font-size: 36px;
    }

    /* CTA New Mobile */
    .cta-new {
        padding: 80px 0;
    }

    .cta-floating-elements {
        display: none;
    }

    .cta-headline {
        font-size: 36px;
    }

    .cta-subtext {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .cta-download-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .cta-store-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .cta-platforms-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pillar-card {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-brand p {
        max-width: none;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .phone {
        width: 220px;
    }

    .phone-notch {
        width: 76px;
        height: 22px;
        top: 12px;
    }

    .phone-bezel {
        border-radius: 36px;
        padding: 8px;
    }

    .phone-edge-light {
        border-radius: 37px;
    }

    .phone-screen {
        border-radius: 28px;
    }

    /* Philosophy New - Smallest screens */
    .philosophy-headline {
        font-size: 28px;
    }

    .philosophy-tagline {
        font-size: 16px;
    }

    /* Platforms Compact 480px */
    .platform-chip {
        padding: 8px 12px;
    }

    .platform-chip span {
        font-size: 12px;
    }

    /* Pricing New 480px */
    .pricing-free {
        padding: 20px;
    }

    .pricing-amount .value {
        font-size: 32px;
    }

    .pricing-amount .currency,
    .pricing-amount .cents {
        font-size: 16px;
    }

    .pricing-cta-btn {
        padding: 14px 36px;
        font-size: 15px;
    }

    /* CTA New 480px */
    .cta-new {
        padding: 60px 0;
    }

    .cta-badge {
        padding: 8px 16px;
    }

    .cta-badge span:last-child {
        font-size: 12px;
    }

    .cta-headline {
        font-size: 32px;
    }

    .cta-subtext {
        font-size: 15px;
    }

    .cta-stars svg {
        width: 16px;
        height: 16px;
    }

    .cta-rating-text {
        font-size: 12px;
    }

    .cta-store-btn {
        padding: 12px 20px;
    }

    .store-btn-name {
        font-size: 16px;
    }

    .cta-platforms-row {
        font-size: 12px;
    }

    .cta-platform-icons svg {
        width: 16px;
        height: 16px;
    }
}

/* ===========================================
   The Idea Section
   =========================================== */
.the-idea {
    padding-top: var(--section-gap);
    padding-bottom: var(--section-gap);
}

.idea-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.idea-headline {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    margin-top: 20px;
    margin-bottom: 32px;
    letter-spacing: -0.03em;
}

.idea-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.idea-body p {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.idea-emphasis {
    font-size: 18px !important;
    font-weight: 600;
    color: var(--teal) !important;
    margin-top: 4px;
    letter-spacing: -0.01em;
}


/* ===========================================
   CTA Free Note
   =========================================== */
.cta-free-note {
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
}

/* ===========================================
   Responsive — New sections
   =========================================== */
@media (max-width: 768px) {
    .idea-headline {
        font-size: 1.5rem;
    }

    .idea-body p {
        font-size: 1rem;
    }

    .pillar-item h4 {
        font-size: 16px;
    }

    .pillar-item p {
        font-size: 12px;
    }
}
