/* ========================================
   DIVVY-UP LANDING PAGE - SEO OPTIMIZED
   ======================================== */

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

:root {
    --primary: #F97316;
    --primary-dark: #EA580C;
    --primary-light: #FFF7ED;
    --text: #1E293B;
    --text-light: #64748B;
    --text-lighter: #94A3B8;
    --bg: #FFFFFF;
    --bg-alt: #F8FAFC;
    --bg-dark: #0F172A;
    --border: #E2E8F0;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   HEADER / NAV
   ======================================== */
.landing-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.landing-header.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
    padding: 0.6rem 0;
}

.landing-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-brand img {
    width: 90px;
    height: 90px;
    border-radius: 18px;
}

.brand-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    transition: var(--transition);
}

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

.btn-nav {
    background: var(--primary) !important;
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700 !important;
    transition: var(--transition);
}

.btn-nav:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1.5rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.05rem;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}

.btn-primary.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.15rem;
}

.btn-secondary-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid var(--border);
    transition: var(--transition);
}

.btn-secondary-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* Phone Mockup - Premium */
.hero-visual {
    flex: 0 0 auto;
    position: relative;
}

.phone-mockup {
    width: 310px;
    height: 620px;
    background: #1a1a2e;
    border-radius: 48px;
    padding: 10px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.1),
        0 20px 60px rgba(0,0,0,0.3),
        0 0 0 8px #0d0d1a,
        0 0 0 10px rgba(255,255,255,0.05),
        inset 0 0 2px rgba(255,255,255,0.1);
    position: relative;
    transform: perspective(1200px) rotateY(-8deg) rotateX(2deg);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.phone-mockup::before {
    content: "";
    position: absolute;
    top: 60px;
    right: -2px;
    width: 3px;
    height: 30px;
    background: #2a2a3e;
    border-radius: 0 2px 2px 0;
}

.phone-mockup::after {
    content: "";
    position: absolute;
    top: 110px;
    left: -2px;
    width: 3px;
    height: 50px;
    background: #2a2a3e;
    border-radius: 2px 0 0 2px;
    box-shadow: 0 30px 0 #2a2a3e;
}

.phone-mockup:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

/* Dynamic Island */
.phone-island {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 20;
}

/* Status bar */
.phone-statusbar {
    position: absolute;
    top: 12px;
    left: 24px;
    right: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 15;
    padding: 0 4px;
}

.sb-time {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text);
}

.sb-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.sb-icons svg {
    opacity: 0.7;
}

.phone-screen {
    background: #fff;
    border-radius: 40px;
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Animated slides */
.mock-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

.mock-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Top bar v2 */
.mock-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 16px 12px;
    flex-shrink: 0;
}

.mock-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mock-avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
}

.mock-greeting-small {
    font-size: 0.68rem;
    color: var(--text-lighter);
    font-weight: 600;
}

.mock-family-name {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text);
}

.mock-notif-bell {
    position: relative;
    font-size: 1.2rem;
}

.mock-notif-dot {
    position: absolute;
    top: -2px;
    right: -4px;
    width: 8px;
    height: 8px;
    background: #EF4444;
    border-radius: 50%;
    border: 2px solid white;
}

/* Content area */
.mock-content {
    flex: 1;
    overflow-y: auto;
    padding: 4px 12px 8px;
    scrollbar-width: none;
}

.mock-content::-webkit-scrollbar {
    display: none;
}

/* Card v2 */
.mock-card-v2 {
    background: white;
    border: 1px solid #F1F5F9;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.mock-card-v2.accent {
    border-left: 3px solid var(--primary);
    background: #FFFBF5;
}

.mock-card-header-v2 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 0.78rem;
}

.mock-card-icon {
    font-size: 0.85rem;
}

.mock-card-label {
    font-weight: 800;
    color: var(--text);
    flex: 1;
}

.mock-card-count {
    font-size: 0.68rem;
    background: #F1F5F9;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    color: var(--text-light);
}

.mock-card-urgent {
    font-size: 0.62rem;
    background: #FEE2E2;
    color: #DC2626;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 800;
}

/* Meal rows */
.mock-meal-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}

.mock-meal-badge {
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.mock-meal-badge.midi {
    background: #FEF3C7;
    color: #D97706;
}

.mock-meal-badge.soir {
    background: #EDE9FE;
    color: #7C3AED;
}

.mock-meal-text {
    font-size: 0.75rem;
    color: var(--text);
    font-weight: 600;
}

/* Task rows */
.mock-task-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #F8FAFC;
}

.mock-task-row:last-child {
    border-bottom: none;
}

.mock-task-row.done {
    opacity: 0.5;
}

.mock-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 2px solid #CBD5E1;
    flex-shrink: 0;
}

.mock-checkbox.checked {
    background: var(--primary);
    border-color: var(--primary);
    position: relative;
}

.mock-checkbox.checked::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 0.6rem;
    font-weight: 900;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mock-task-text {
    flex: 1;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text);
}

.mock-task-row.done .mock-task-text {
    text-decoration: line-through;
}

.mock-coins {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
    background: #FFF7ED;
    padding: 2px 6px;
    border-radius: 8px;
}

/* Homework rows */
.mock-homework-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mock-hw-subject {
    font-size: 0.68rem;
    font-weight: 800;
    background: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: 6px;
}

.mock-hw-detail {
    flex: 1;
    font-size: 0.72rem;
    color: var(--text);
    font-weight: 600;
}

.mock-hw-date {
    font-size: 0.62rem;
    color: #DC2626;
    font-weight: 700;
}

/* Nav v2 */
.mock-nav-v2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 8px 20px;
    background: white;
    border-top: 1px solid #F1F5F9;
    flex-shrink: 0;
    position: relative;
}

.mock-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    opacity: 0.45;
    transition: var(--transition);
}

.mock-nav-item.active {
    opacity: 1;
}

.mock-nav-item span {
    font-size: 1.1rem;
}

.mock-nav-item small {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--text);
}

.mock-nav-item.active small {
    color: var(--primary);
}

.mock-nav-fab {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), #EC4899);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 300;
    margin-top: -16px;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.35);
}

/* Slide indicators */
.mock-indicators {
    position: absolute;
    bottom: 66px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    padding: 4px 10px;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.mock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #CBD5E1;
    transition: var(--transition);
}

.mock-dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 4px;
}

/* ---- CHAT SLIDE ---- */
.chat-topbar {
    background: white;
    border-bottom: 1px solid #F1F5F9;
    padding-top: 50px;
}

.mock-back {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary);
}

.mock-chat-title {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text);
}

.mock-members-count {
    font-size: 0.65rem;
    color: var(--text-lighter);
    font-weight: 600;
}

.chat-content {
    background: #F8FAFC;
    padding: 12px 10px !important;
}

.mock-chat-msg {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.mock-chat-msg.sent {
    justify-content: flex-end;
}

.mock-chat-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    flex-shrink: 0;
}

.mock-chat-body {
    max-width: 72%;
}

.mock-chat-sender {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--text-lighter);
    margin-bottom: 2px;
    display: block;
    padding-left: 4px;
}

.mock-chat-bubble-v2 {
    padding: 8px 12px;
    border-radius: 16px 16px 16px 4px;
    background: white;
    font-size: 0.73rem;
    color: var(--text);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    line-height: 1.4;
}

.mock-chat-msg.sent .mock-chat-bubble-v2 {
    background: linear-gradient(135deg, var(--primary), #FB923C);
    color: white;
    border-radius: 16px 16px 4px 16px;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.25);
}

.mock-chat-ts {
    font-size: 0.55rem;
    color: var(--text-lighter);
    margin-top: 3px;
    display: block;
    padding-left: 4px;
}

.mock-chat-msg.sent .mock-chat-ts {
    text-align: right;
    padding-right: 4px;
}

.mock-chat-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px 22px;
    background: white;
    border-top: 1px solid #F1F5F9;
    flex-shrink: 0;
}

.mock-chat-attach {
    font-size: 1rem;
    opacity: 0.5;
}

.mock-chat-field {
    flex: 1;
    background: #F1F5F9;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 0.7rem;
    color: var(--text-lighter);
    font-weight: 600;
}

.mock-chat-send {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), #EC4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

/* ---- XP SLIDE ---- */
.mock-xp-hero {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    background: linear-gradient(135deg, #FFF7ED, #FEF3C7);
    border-radius: 16px;
    margin-bottom: 8px;
}

.mock-xp-avatar-ring {
    width: 64px;
    height: 64px;
    position: relative;
    flex-shrink: 0;
}

.mock-xp-ring-svg {
    width: 100%;
    height: 100%;
}

.mock-xp-avatar-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1.1rem;
}

.mock-xp-info {
    flex: 1;
}

.mock-xp-username {
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--text);
}

.mock-xp-level-badge {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--primary);
    background: white;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    margin: 3px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.mock-xp-progress-text {
    font-size: 0.62rem;
    color: var(--text-lighter);
    font-weight: 700;
}

/* Rank rows */
.mock-rank-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #F8FAFC;
}

.mock-rank-row:last-child {
    border-bottom: none;
}

.mock-rank {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 900;
    color: white;
    flex-shrink: 0;
}

.mock-rank.gold { background: linear-gradient(135deg, #F59E0B, #D97706); }
.mock-rank.silver { background: linear-gradient(135deg, #9CA3AF, #6B7280); }
.mock-rank.bronze { background: linear-gradient(135deg, #D97706, #92400E); }

.mock-rank-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    flex-shrink: 0;
}

.mock-rank-name {
    flex: 1;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
}

.mock-rank-xp {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--primary);
}

/* Activity rows */
.mock-activity-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 600;
    border-bottom: 1px solid #F8FAFC;
}

.mock-activity-row:last-child {
    border-bottom: none;
}

.mock-xp-gain {
    font-weight: 800;
    color: #22C55E;
    font-size: 0.68rem;
}

/* ---- BUDGET SLIDE ---- */
.mock-budget-hero {
    text-align: center;
    padding: 8px 0 4px;
}

.mock-budget-ring {
    width: 110px;
    height: 110px;
    margin: 0 auto 8px;
    position: relative;
}

.mock-budget-ring svg {
    width: 100%;
    height: 100%;
}

.mock-budget-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.mock-budget-spent {
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--text);
}

.mock-budget-total {
    display: block;
    font-size: 0.55rem;
    color: var(--text-lighter);
    font-weight: 600;
}

.mock-budget-remaining {
    font-size: 0.72rem;
    font-weight: 700;
    color: #22C55E;
    background: #F0FDF4;
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

/* Budget category rows */
.mock-budget-cat-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    border-bottom: 1px solid #F8FAFC;
}

.mock-budget-cat-row:last-child {
    border-bottom: none;
}

.mock-cat-info {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 70px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text);
}

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

.mock-cat-bar {
    flex: 1;
    height: 6px;
    background: #F1F5F9;
    border-radius: 3px;
    overflow: hidden;
}

.mock-cat-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease-out;
}

.mock-cat-amount {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--text-light);
    min-width: 32px;
    text-align: right;
}

/* Floating elements */
.hero-float {
    position: absolute;
    font-size: 2rem;
    animation: heroFloat 6s ease-in-out infinite;
    opacity: 0.15;
    pointer-events: none;
}

.float-1 {
    top: -20px;
    right: -30px;
    animation-delay: 0s;
}

.float-2 {
    bottom: 40px;
    right: -50px;
    animation-delay: 2s;
}

.float-3 {
    top: 50%;
    left: -40px;
    animation-delay: 4s;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

/* ========================================
   STORY / CHARGE MENTALE SECTION
   ======================================== */
.story-section {
    padding: 6rem 1.5rem 5rem;
    background: linear-gradient(180deg, var(--bg-alt) 0%, #FFF7ED 100%);
    position: relative;
    overflow: hidden;
}

.story-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary);
    opacity: 0.05;
    border-radius: 50%;
}

.story-section::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: #EC4899;
    opacity: 0.04;
    border-radius: 50%;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.story-text {
    max-width: 700px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.story-text .section-badge {
    margin-bottom: 1.5rem;
}

.story-text h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.story-lead {
    font-size: 1.2rem;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.story-quote {
    background: white;
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.5rem 2rem;
    margin: 2rem auto;
    max-width: 650px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.story-quote p {
    font-size: 1.05rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}

.story-text > p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1rem;
    text-align: center;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.story-text > p strong {
    color: var(--text);
}

.story-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem 1.8rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #EC4899);
    opacity: 0;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

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

.value-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    line-height: 1;
}

.value-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

@media (max-width: 900px) {
    .story-text h2 {
        font-size: 2rem;
    }
    .story-values {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .value-card {
        padding: 2rem 1.2rem;
    }
}

@media (max-width: 640px) {
    .story-values {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .story-text h2 {
        font-size: 1.7rem;
    }

    .story-quote {
        padding: 1.2rem 1.5rem;
    }
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-light);
}

.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.82rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

/* ========================================
   FEATURES
   ======================================== */
.features {
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   APP PREVIEW - 3 PHONES
   ======================================== */
.app-preview-section {
    padding: 6rem 1.5rem;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFF7ED 50%, #F8FAFC 100%);
    overflow: hidden;
}

.preview-phones {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    perspective: 1200px;
}

.preview-phone {
    text-align: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    transform: translateY(30px);
}

.preview-phone.visible {
    opacity: 1;
}

.preview-phone.featured.visible {
    transform: scale(1.08) translateY(-10px);
}

.preview-phone[data-label]::after {
    content: attr(data-label);
    display: block;
    margin-top: 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.preview-phone.visible:first-child {
    transform: perspective(800px) rotateY(8deg);
}

.preview-phone.visible:last-child {
    transform: perspective(800px) rotateY(-8deg);
}

.preview-phone:first-child:hover,
.preview-phone:last-child:hover {
    transform: perspective(800px) rotateY(0deg) scale(1.02);
}

.preview-phone.featured:hover {
    transform: scale(1.12) translateY(-15px);
}

.mini-phone {
    width: 220px;
    height: 420px;
    background: #1a1a2e;
    border-radius: 32px;
    padding: 8px;
    box-shadow:
        0 15px 40px rgba(0,0,0,0.2),
        0 0 0 1px rgba(255,255,255,0.08),
        inset 0 0 1px rgba(255,255,255,0.1);
}

.featured .mini-phone {
    box-shadow:
        0 20px 60px rgba(249, 115, 22, 0.2),
        0 0 0 1px rgba(255,255,255,0.1),
        0 0 0 6px #0d0d1a,
        0 0 0 8px rgba(249, 115, 22, 0.15);
}

.mini-screen {
    background: white;
    border-radius: 26px;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mini-statusbar {
    height: 32px;
    flex-shrink: 0;
}

.mini-topbar {
    padding: 0 12px 8px;
    font-size: 0.78rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.mini-topbar strong {
    font-weight: 800;
}

.mini-wallet {
    margin-left: auto;
    font-size: 0.68rem;
    font-weight: 800;
    background: #FFF7ED;
    padding: 2px 8px;
    border-radius: 12px;
    color: var(--primary);
}

/* Repas mini */
.mini-day {
    padding: 6px 12px;
    border-bottom: 1px solid #F1F5F9;
}

.mini-day-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 3px;
}

.mini-meal {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    color: var(--text);
    font-weight: 600;
    padding: 2px 0;
}

.mini-tag {
    font-size: 0.55rem;
    width: 18px;
    text-align: center;
}

.mini-vote-bar {
    margin: 8px 10px;
    background: linear-gradient(135deg, #FFF7ED, #FEF3C7);
    border-radius: 10px;
    padding: 6px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Calendrier mini */
.mini-calendar {
    padding: 4px 10px;
}

.mini-cal-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.55rem;
    font-weight: 800;
    color: var(--text-lighter);
    margin-bottom: 4px;
}

.mini-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.58rem;
    font-weight: 600;
    color: var(--text);
    gap: 2px;
}

.mini-cal-grid span {
    padding: 3px 0;
    border-radius: 6px;
}

.mini-cal-grid .today {
    background: var(--primary);
    color: white;
    font-weight: 800;
}

.mini-cal-grid .has-event {
    background: #FFF7ED;
    color: var(--primary);
    font-weight: 800;
}

.mini-events {
    flex: 1;
    padding: 6px 10px;
}

.mini-event {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 0.62rem;
    font-weight: 600;
    margin-bottom: 4px;
    border-left: 3px solid;
}

.mini-event.orange {
    background: #FFF7ED;
    border-color: var(--primary);
    color: var(--text);
}

.mini-event.blue {
    background: #EFF6FF;
    border-color: #3B82F6;
    color: var(--text);
}

.mini-event.purple {
    background: #F5F3FF;
    border-color: #A855F7;
    color: var(--text);
}

.mini-event strong {
    font-weight: 800;
    margin-right: 4px;
}

/* Récompenses mini */
.mini-reward {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-bottom: 1px solid #F1F5F9;
    transition: var(--transition);
}

.mini-reward.locked {
    opacity: 0.4;
}

.mini-reward-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.mini-reward-info {
    flex: 1;
    min-width: 0;
}

.mini-reward-info strong {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text);
}

.mini-reward-info span {
    display: block;
    font-size: 0.58rem;
    color: var(--text-lighter);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-reward-cost {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--primary);
    background: #FFF7ED;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Responsive preview */
@media (max-width: 900px) {
    .preview-phones {
        gap: 1.2rem;
    }

    .mini-phone {
        width: 180px;
        height: 350px;
        border-radius: 24px;
    }

    .mini-screen {
        border-radius: 18px;
    }
}

@media (max-width: 640px) {
    .preview-phones {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .preview-phone:first-child,
    .preview-phone:last-child {
        transform: none;
    }

    .preview-phone.featured {
        transform: none;
        order: -1;
    }

    .preview-phone:first-child:hover,
    .preview-phone:last-child:hover,
    .preview-phone.featured:hover {
        transform: none;
    }

    .mini-phone {
        width: 240px;
        height: 440px;
        border-radius: 32px;
    }

    .mini-screen {
        border-radius: 26px;
    }
}

/* ========================================
   PRICING
   ======================================== */
.pricing-section {
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Toggle mensuel/annuel */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-lighter);
    transition: var(--transition);
    cursor: pointer;
}

.toggle-label.active {
    color: var(--text);
}

.toggle-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), #EC4899);
    color: white;
    font-size: 0.72rem;
    padding: 0.15rem 0.6rem;
    border-radius: 50px;
    font-weight: 800;
    margin-left: 0.3rem;
    vertical-align: middle;
}

.toggle-switch {
    width: 52px;
    height: 28px;
    background: var(--border);
    border-radius: 50px;
    border: none;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    padding: 0;
}

.toggle-switch.annual {
    background: linear-gradient(135deg, var(--primary), #EC4899);
}

.toggle-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.toggle-switch.annual .toggle-knob {
    left: 27px;
}

/* Grille des cartes */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}

/* Carte de base */
.pricing-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Carte populaire */
.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 8px 40px rgba(249, 115, 22, 0.15);
    transform: scale(1.04);
    z-index: 2;
}

.pricing-card.popular.visible {
    transform: scale(1.04);
}

.pricing-card.popular:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 12px 50px rgba(249, 115, 22, 0.25);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), #EC4899);
    color: white;
    padding: 0.35rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.8rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* Carte premium */
.pricing-card.premium {
    border-color: #E2E8F0;
    background: linear-gradient(180deg, #FEFCE8 0%, #FFFFFF 30%);
}

/* Header de carte */
.pricing-card-header {
    margin-bottom: 1.5rem;
}

.pricing-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.pricing-card-header h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Prix */
.pricing-price {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
    line-height: 1.1;
    display: block;
    transition: var(--transition);
}

.pricing-card.popular .price-amount {
    color: var(--primary);
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
}

.price-annual-note {
    display: block;
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 700;
    margin-top: 0.3rem;
    min-height: 1.2em;
}

/* Liste des features */
.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.55rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li.included::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #22C55E;
    font-weight: 900;
    font-size: 1.05rem;
}

.pricing-features li.excluded {
    color: var(--text-lighter);
    font-weight: 500;
}

.pricing-features li.excluded::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--text-lighter);
    font-weight: 400;
}

/* Bouton */
.btn-pricing {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition);
    background: var(--bg-alt);
    color: var(--text);
    border: 2px solid var(--border);
}

.btn-pricing:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-pricing.popular {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.btn-pricing.popular:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
    color: white;
}

.btn-pricing.premium {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--text);
}

.btn-pricing.premium:hover {
    background: var(--text);
    color: white;
    transform: translateY(-2px);
}

/* Garantie */
.pricing-guarantee {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.92rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Responsive pricing */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-card.popular {
        transform: none;
        order: -1;
    }

    .pricing-card.popular.visible {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 640px) {
    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .pricing-toggle {
        gap: 0.6rem;
    }

    .toggle-label {
        font-size: 0.85rem;
    }
}

/* ========================================
   HOW IT WORKS
   ======================================== */
.how-it-works {
    padding: 6rem 1.5rem;
    background: var(--bg-alt);
}

.how-it-works .section-header,
.how-it-works .steps {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.step {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 300px;
    flex: 1;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0 auto 1.25rem;
}

.step h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.step-arrow {
    font-size: 2rem;
    color: var(--text-lighter);
    margin-top: 3rem;
    font-weight: 300;
}

/* ========================================
   CHILD MODE
   ======================================== */
.child-mode-section {
    padding: 6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.child-mode-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.child-mode-text {
    flex: 1;
}

.child-mode-text h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.child-mode-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
}

.check-list {
    list-style: none;
    margin: 1.5rem 0;
}

.check-list li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    font-weight: 600;
    color: var(--text);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 900;
    font-size: 1.1rem;
}

.child-mode-note {
    font-style: italic;
    font-size: 0.95rem !important;
    margin-top: 1rem;
}

.child-mode-visual {
    flex: 0 0 auto;
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--border);
}

.lock-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.pin-display {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.pin-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border);
    transition: var(--transition);
}

.pin-dot.filled {
    background: var(--primary);
    border-color: var(--primary);
}

.child-mode-visual p {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

/* ========================================
   INSTALL SECTION
   ======================================== */
.install-section {
    padding: 6rem 1.5rem;
    background: var(--bg-alt);
}

.install-section .section-header {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.install-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.install-device {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    flex: 1;
    min-width: 280px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.install-device.visible {
    opacity: 1;
    transform: translateY(0);
}

.device-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.install-device h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.install-device p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ========================================
   FAQ
   ======================================== */
.faq-section {
    padding: 6rem 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item[open] summary {
    color: var(--primary);
}

.faq-item p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ========================================
   BLOG SECTION (Homepage)
   ======================================== */
.blog-section {
    padding: 5rem 1.5rem;
    background: var(--bg-alt, #F8FAFC);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.blog-card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.blog-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark, #1E293B);
    margin-bottom: 0.5rem;
}

.blog-card p {
    font-size: 0.88rem;
    color: #64748B;
    line-height: 1.5;
    flex: 1;
}

.blog-card-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.2s ease;
}

.blog-card:hover .blog-card-link {
    transform: translateX(4px);
}

/* ========================================
   RELATED ARTICLES (SEO Pages)
   ======================================== */
.related-articles {
    padding: 4rem 1.5rem;
    background: var(--bg-alt, #F8FAFC);
}

.related-content {
    max-width: 1000px;
    margin: 0 auto;
}

.related-content h2 {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--text-dark, #1E293B);
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.related-card {
    background: white;
    border-radius: 14px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.related-icon {
    font-size: 1.75rem;
    display: block;
    margin-bottom: 0.5rem;
}

.related-card h3 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-dark, #1E293B);
    margin-bottom: 0.4rem;
}

.related-card p {
    font-size: 0.82rem;
    color: #64748B;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FINAL CTA
   ======================================== */
.final-cta {
    padding: 6rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #EC4899 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.final-cta .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.final-cta .btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.cta-note {
    font-size: 0.9rem !important;
    opacity: 0.8;
    margin-top: 1rem !important;
}

/* ========================================
   FOOTER
   ======================================== */
.landing-footer {
    background: var(--bg-dark);
    padding: 3rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
}

.footer-brand img {
    border-radius: 8px;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.footer-copy {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    text-align: center;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-visual {
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 7rem;
        gap: 3rem;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .phone-mockup {
        width: 270px;
        height: 540px;
        transform: none;
        border-radius: 40px;
        padding: 8px;
    }

    .phone-island {
        width: 80px;
        height: 22px;
        top: 12px;
    }

    .phone-statusbar {
        top: 10px;
    }

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

    .hero-float {
        display: none;
    }

    .child-mode-content {
        flex-direction: column;
        text-align: center;
    }

    .check-list li {
        text-align: left;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .step-arrow {
        display: none;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.3rem;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .child-mode-text h2 {
        font-size: 1.8rem;
    }
}

/* ========================================
   ARTICLE PAGES
   ======================================== */

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Breadcrumb */
.breadcrumb {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    padding-top: 7rem;
    font-size: 0.85rem;
    color: var(--text-lighter);
    font-weight: 600;
}
.breadcrumb a {
    color: var(--text-light);
    transition: var(--transition);
}
.breadcrumb a:hover {
    color: var(--primary);
}
.breadcrumb span {
    margin: 0 0.4rem;
}
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0.3rem;
    align-items: center;
}
.breadcrumb ol li::after {
    content: "›";
    margin: 0 0.4rem;
    color: var(--text-lighter);
}
.breadcrumb ol li:last-child::after {
    content: none;
}
.breadcrumb ol li a {
    color: var(--text-light);
    transition: var(--transition);
}
.breadcrumb ol li a:hover {
    color: var(--primary);
}

/* Article Hero */
.article-hero,
.hero-article {
    padding: 3rem 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.article-hero .container,
.hero-article .container {
    max-width: 800px;
    margin: 0 auto;
}
.article-hero h1,
.hero-article h1 {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 1.5rem;
}
.article-hero h1 .gradient-text {
    display: inline;
}
.article-hero .article-intro,
.hero-article .hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
}
.article-meta {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-lighter);
    font-weight: 600;
}
.article-meta span,
.reading-time {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Article Body / Content */
.article-body,
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}
.article-content .container {
    max-width: 100%;
    padding: 0;
}
.article-body h2,
.article-content h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text);
    margin-top: 3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.article-body h3,
.article-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.article-body p,
.article-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.2rem;
}
.article-body strong,
.article-content strong {
    color: var(--text);
}
.article-body ul, .article-body ol,
.article-content ul, .article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}
.article-body li,
.article-content li {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}
.article-body blockquote,
.article-content blockquote {
    background: white;
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.article-body blockquote p,
.article-content blockquote p {
    font-style: italic;
    color: var(--text);
    margin-bottom: 0;
}

/* Article CTA */
.article-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #EC4899 100%);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    margin: 3rem 0 2rem;
}
.article-cta h2 {
    color: white !important;
    margin-top: 0 !important;
    font-size: 1.8rem;
}
.article-cta p {
    color: rgba(255,255,255,0.9) !important;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}
.article-cta .btn-primary {
    background: white;
    color: var(--primary);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.article-cta .btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

/* Stat Highlight Cards */
.stat-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}
.stat-highlight-card {
    flex: 1;
    min-width: 200px;
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}
.stat-highlight-card .stat-big {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    display: block;
    line-height: 1.2;
}
.stat-highlight-card .stat-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 0.3rem;
}

/* Signs Grid */
.signs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}
.sign-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.2rem;
    text-align: center;
    transition: var(--transition);
}
.sign-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.sign-card .sign-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}
.sign-card .sign-text {
    font-size: 0.92rem;
    color: var(--text);
    font-weight: 700;
    line-height: 1.5;
}

/* Solutions List */
.solutions-list {
    list-style: none;
    margin: 1.5rem 0 2rem;
    padding: 0;
}
.solutions-list li {
    padding: 1rem 1rem 1rem 3.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.solutions-list li::before {
    content: attr(data-num);
    position: absolute;
    left: 1rem;
    top: 1rem;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 0.85rem;
}
.solutions-list li strong {
    display: block;
    color: var(--text);
    font-weight: 800;
    margin-bottom: 0.3rem;
}

/* Divvy Features List */
.divvy-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0 2rem;
}
.divvy-feat {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: var(--transition);
}
.divvy-feat:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.divvy-feat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.divvy-feat h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.4rem;
}
.divvy-feat p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Related Articles */
.related-articles {
    padding: 3rem 1.5rem;
    background: var(--bg-alt);
}
.related-articles h2 {
    text-align: center;
    margin-bottom: 2rem;
}
.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.related-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}
.related-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}
.related-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.related-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Article responsive */
@media (max-width: 640px) {
    .article-hero,
    .hero-article {
        padding: 2rem 1.5rem;
    }
    .article-hero h1,
    .hero-article h1 {
        font-size: 1.9rem;
    }
    .article-hero .article-intro,
    .hero-article .hero-subtitle {
        font-size: 1.05rem;
    }
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    .article-body h2,
    .article-content h2 {
        font-size: 1.5rem;
    }
    .stat-highlight {
        flex-direction: column;
    }
    .article-cta {
        padding: 2rem 1.5rem;
    }
    .article-cta h2 {
        font-size: 1.5rem;
    }
}

/* ========================================
   PRINT
   ======================================== */
@media print {
    .landing-header,
    .final-cta,
    .hero-cta,
    .phone-mockup {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }
}
