/* Gadfly - ADHD Productivity App Styles */
/* Theme: "The Stinger" - Midnight & Amber */

:root {
    /* Core Colors */
    --gf-bg-primary: #000000;
    --gf-bg-secondary: #0a0a0a;
    --gf-bg-card: #111111;
    --gf-bg-elevated: #1a1a1a;

    /* Accent Colors */
    --gf-amber: #FFBF00;
    --gf-amber-light: #FFD54F;
    --gf-amber-dark: #CC9900;
    --gf-amber-glow: rgba(255, 191, 0, 0.3);

    /* Status Colors */
    --gf-green: #22c55e;
    --gf-yellow: #facc15;
    --gf-orange: #f97316;
    --gf-red: #ef4444;
    --gf-blue: #3b82f6;

    /* Text Colors */
    --gf-text-primary: #ffffff;
    --gf-text-secondary: #a0a0a0;
    --gf-text-muted: #666666;

    /* Energy Colors */
    --gf-energy-low: #ef4444;
    --gf-energy-medium: #facc15;
    --gf-energy-high: #22c55e;

    /* Momentum Levels */
    --gf-momentum-starting: #666666;
    --gf-momentum-building: #3b82f6;
    --gf-momentum-steady: #22c55e;
    --gf-momentum-rolling: #facc15;
    --gf-momentum-fire: #f97316;

    /* Fonts */
    --gf-font-heading: 'Space Grotesk', sans-serif;
    --gf-font-body: 'Inter', sans-serif;

    /* Spacing */
    --gf-space-xs: 4px;
    --gf-space-sm: 8px;
    --gf-space-md: 16px;
    --gf-space-lg: 24px;
    --gf-space-xl: 32px;
    --gf-space-2xl: 48px;
    --gf-space-3xl: 64px;

    /* Border Radius */
    --gf-radius-sm: 8px;
    --gf-radius-md: 12px;
    --gf-radius-lg: 16px;
    --gf-radius-xl: 24px;
    --gf-radius-full: 9999px;

    /* Shadows */
    --gf-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --gf-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --gf-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --gf-shadow-glow: 0 0 20px var(--gf-amber-glow);

    /* Transitions */
    --gf-transition-fast: 150ms ease;
    --gf-transition-normal: 250ms ease;
    --gf-transition-slow: 400ms ease;
}

/* Light mode support */
@media (prefers-color-scheme: light) {
    :root.auto-theme {
        --gf-bg-primary: #f8f9fa;
        --gf-bg-secondary: #ffffff;
        --gf-bg-card: #ffffff;
        --gf-bg-elevated: #f0f0f0;
        --gf-text-primary: #1a1a1a;
        --gf-text-secondary: #666666;
        --gf-text-muted: #999999;
        --gf-amber: #CC9900;
        --gf-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
        --gf-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
        --gf-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    }
}

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

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

body {
    font-family: var(--gf-font-body);
    background-color: var(--gf-bg-primary);
    color: var(--gf-text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--gf-space-lg);
}

/* ================================
   NAVIGATION
   ================================ */
.gadfly-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--gf-space-md) 0;
    transition: var(--gf-transition-normal);
    background: transparent;
}

.gadfly-nav.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 191, 0, 0.1);
}

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

.gadfly-logo {
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
    text-decoration: none;
    color: var(--gf-text-primary);
}

.gadfly-logo .logo-icon {
    font-size: 1.8rem;
}

.gadfly-logo .logo-text {
    font-family: var(--gf-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gf-amber);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--gf-space-xl);
}

.nav-links a {
    color: var(--gf-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--gf-transition-fast);
}

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

.nav-links .nav-cta {
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
    padding: var(--gf-space-sm) var(--gf-space-lg);
    border-radius: var(--gf-radius-full);
    font-weight: 600;
}

.nav-links .nav-cta:hover {
    background: var(--gf-amber-light);
    color: var(--gf-bg-primary);
}

/* ================================
   BUTTONS
   ================================ */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--gf-space-sm);
    padding: var(--gf-space-md) var(--gf-space-xl);
    border-radius: var(--gf-radius-full);
    font-family: var(--gf-font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--gf-transition-normal);
}

.btn-primary {
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
    box-shadow: var(--gf-shadow-glow);
}

.btn-primary:hover {
    background: var(--gf-amber-light);
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--gf-amber-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--gf-text-primary);
    border: 2px solid var(--gf-text-muted);
}

.btn-secondary:hover {
    border-color: var(--gf-amber);
    color: var(--gf-amber);
}

.btn-large {
    padding: var(--gf-space-lg) var(--gf-space-2xl);
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

.btn-arrow {
    font-size: 1.2rem;
    transition: var(--gf-transition-fast);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

/* ================================
   LANDING PAGE - HERO
   ================================ */
.landing-page .hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gf-space-3xl);
    align-items: center;
    padding: 120px var(--gf-space-lg) var(--gf-space-3xl);
    max-width: 1400px;
    margin: 0 auto;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255, 191, 0, 0.15);
    color: var(--gf-amber);
    padding: var(--gf-space-sm) var(--gf-space-md);
    border-radius: var(--gf-radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--gf-space-lg);
    border: 1px solid rgba(255, 191, 0, 0.3);
}

.hero-content h1 {
    font-family: var(--gf-font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--gf-space-lg);
}

.hero-content h1 .highlight {
    color: var(--gf-amber);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gf-text-secondary);
    margin-bottom: var(--gf-space-xl);
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: var(--gf-space-md);
    flex-wrap: wrap;
    margin-bottom: var(--gf-space-2xl);
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: var(--gf-space-md);
    color: var(--gf-text-secondary);
    font-size: 0.9rem;
}

.proof-avatars {
    display: flex;
}

.proof-avatars .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gf-bg-elevated);
    border: 2px solid var(--gf-bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    margin-right: -10px;
    color: var(--gf-amber);
}

/* Hero Visual / Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: var(--gf-bg-card);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--gf-shadow-lg), 0 0 60px rgba(255, 191, 0, 0.1);
    border: 3px solid var(--gf-bg-elevated);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--gf-bg-primary);
    border-radius: 32px;
    padding: var(--gf-space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mock-task-card {
    text-align: center;
}

.mock-energy-badge {
    display: inline-block;
    padding: var(--gf-space-xs) var(--gf-space-md);
    border-radius: var(--gf-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--gf-space-md);
}

.mock-energy-badge.high {
    background: rgba(34, 197, 94, 0.2);
    color: var(--gf-green);
}

.mock-task-card h3 {
    font-family: var(--gf-font-heading);
    font-size: 1.3rem;
    margin-bottom: var(--gf-space-xl);
}

.mock-time-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto var(--gf-space-xl);
}

.mock-time-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.mock-time-ring .ring-bg {
    fill: none;
    stroke: var(--gf-bg-elevated);
    stroke-width: 8;
}

.mock-time-ring .ring-progress {
    fill: none;
    stroke: var(--gf-green);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    transition: var(--gf-transition-slow);
}

.mock-time-ring .time-left {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--gf-font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.mock-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--gf-space-sm);
}

.mock-done {
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
    border: none;
    padding: var(--gf-space-md);
    border-radius: var(--gf-radius-md);
    font-family: var(--gf-font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
}

.mock-skip {
    background: transparent;
    color: var(--gf-text-muted);
    border: none;
    padding: var(--gf-space-sm);
    font-size: 0.9rem;
    cursor: pointer;
}

/* ================================
   PAIN POINTS SECTION
   ================================ */
.pain-section {
    padding: var(--gf-space-3xl) 0;
    background: var(--gf-bg-secondary);
}

.pain-section h2 {
    font-family: var(--gf-font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--gf-space-2xl);
    color: var(--gf-amber);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--gf-space-lg);
    margin-bottom: var(--gf-space-2xl);
}

.pain-card {
    background: var(--gf-bg-card);
    padding: var(--gf-space-xl);
    border-radius: var(--gf-radius-lg);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pain-emoji {
    font-size: 2.5rem;
    display: block;
    margin-bottom: var(--gf-space-md);
}

.pain-card p {
    color: var(--gf-text-secondary);
    font-style: italic;
    font-size: 1rem;
}

.pain-solution {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gf-text-primary);
    font-weight: 500;
}

/* ================================
   FEATURES SECTION
   ================================ */
.features-section {
    padding: var(--gf-space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--gf-space-3xl);
}

.section-header h2 {
    font-family: var(--gf-font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--gf-space-md);
}

.section-header p {
    color: var(--gf-text-secondary);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--gf-space-lg);
}

.feature-card {
    background: var(--gf-bg-card);
    padding: var(--gf-space-xl);
    border-radius: var(--gf-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--gf-transition-normal);
}

.feature-card:hover {
    border-color: rgba(255, 191, 0, 0.3);
    transform: translateY(-4px);
}

.feature-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--gf-bg-card) 0%, rgba(255, 191, 0, 0.05) 100%);
    border-color: rgba(255, 191, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--gf-space-md);
}

.feature-card h3 {
    font-family: var(--gf-font-heading);
    font-size: 1.3rem;
    margin-bottom: var(--gf-space-sm);
    color: var(--gf-amber);
}

.feature-card p {
    color: var(--gf-text-secondary);
    line-height: 1.6;
}

.feature-preview {
    margin-top: var(--gf-space-lg);
    padding: var(--gf-space-md);
    background: var(--gf-bg-primary);
    border-radius: var(--gf-radius-md);
}

.preview-task {
    display: flex;
    align-items: center;
    gap: var(--gf-space-md);
}

.preview-badge {
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
    padding: var(--gf-space-xs) var(--gf-space-sm);
    border-radius: var(--gf-radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
}

/* ================================
   HOW IT WORKS SECTION
   ================================ */
.how-section {
    padding: var(--gf-space-3xl) 0;
    background: var(--gf-bg-secondary);
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gf-space-lg);
}

.how-step {
    text-align: center;
    position: relative;
}

.how-step::after {
    content: '';
    position: absolute;
    top: 32px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gf-amber) 0%, transparent 100%);
}

.how-step:last-child::after {
    display: none;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--gf-font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--gf-space-lg);
    position: relative;
    z-index: 1;
}

.how-step h3 {
    font-family: var(--gf-font-heading);
    font-size: 1.2rem;
    margin-bottom: var(--gf-space-sm);
}

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

/* ================================
   TESTIMONIALS SECTION
   ================================ */
.testimonials-section {
    padding: var(--gf-space-3xl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gf-space-lg);
}

.testimonial-card {
    background: var(--gf-bg-card);
    padding: var(--gf-space-xl);
    border-radius: var(--gf-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--gf-space-lg);
    color: var(--gf-text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--gf-space-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
}

.author-badge {
    font-size: 0.8rem;
    color: var(--gf-text-muted);
}

/* ================================
   PRICING SECTION
   ================================ */
.pricing-section {
    padding: var(--gf-space-3xl) 0;
    background: var(--gf-bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gf-space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--gf-bg-card);
    padding: var(--gf-space-xl);
    border-radius: var(--gf-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--gf-amber);
    box-shadow: var(--gf-shadow-glow);
    transform: scale(1.05);
}

.popular-badge,
.save-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
    padding: var(--gf-space-xs) var(--gf-space-md);
    border-radius: var(--gf-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.save-badge {
    background: var(--gf-green);
    color: white;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--gf-space-lg);
    padding-bottom: var(--gf-space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
    font-family: var(--gf-font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--gf-space-sm);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--gf-space-xs);
}

.price-amount {
    font-family: var(--gf-font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gf-amber);
}

.price-period {
    color: var(--gf-text-muted);
    font-size: 1rem;
}

.price-note {
    font-size: 0.85rem;
    color: var(--gf-text-secondary);
    margin-top: var(--gf-space-xs);
}

.pricing-features {
    list-style: none;
    flex: 1;
    margin-bottom: var(--gf-space-lg);
}

.pricing-features li {
    padding: var(--gf-space-sm) 0;
    color: var(--gf-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
}

.pricing-features li::before {
    content: '\\2713';
    color: var(--gf-green);
    font-weight: bold;
}

.pricing-guarantee {
    text-align: center;
    color: var(--gf-text-muted);
    margin-top: var(--gf-space-xl);
    font-size: 0.9rem;
}

/* ================================
   FINAL CTA SECTION
   ================================ */
.final-cta-section {
    padding: var(--gf-space-3xl) 0;
    text-align: center;
    background: linear-gradient(180deg, var(--gf-bg-primary) 0%, rgba(255, 191, 0, 0.05) 100%);
}

.final-cta-section h2 {
    font-family: var(--gf-font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: var(--gf-space-md);
}

.final-cta-section p {
    color: var(--gf-text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--gf-space-xl);
}

/* ================================
   FOOTER
   ================================ */
.gadfly-footer {
    padding: var(--gf-space-3xl) 0 var(--gf-space-xl);
    background: var(--gf-bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--gf-space-3xl);
    margin-bottom: var(--gf-space-2xl);
}

.footer-brand p {
    color: var(--gf-text-muted);
    margin-top: var(--gf-space-md);
    font-size: 0.9rem;
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gf-space-xl);
}

.footer-column h4 {
    color: var(--gf-amber);
    font-family: var(--gf-font-heading);
    margin-bottom: var(--gf-space-md);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: var(--gf-text-secondary);
    text-decoration: none;
    padding: var(--gf-space-xs) 0;
    font-size: 0.9rem;
    transition: var(--gf-transition-fast);
}

.footer-column a:hover {
    color: var(--gf-amber);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--gf-space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gf-text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--gf-amber);
    text-decoration: none;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
    }

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

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

    .hero-social-proof {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
    }

    .feature-card.featured {
        grid-column: span 1;
    }

    .how-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .how-step::after {
        display: none;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links-group {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .how-steps {
        grid-template-columns: 1fr;
    }

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

/* ================================
   APP-SPECIFIC STYLES
   ================================ */
.app-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* App Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--gf-space-md) var(--gf-space-lg);
    background: var(--gf-bg-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.app-header .gadfly-logo {
    font-size: 1.2rem;
}

.app-header .gadfly-logo .logo-icon {
    font-size: 1.5rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--gf-space-md);
}

.header-btn {
    background: var(--gf-bg-elevated);
    border: none;
    color: var(--gf-text-secondary);
    padding: var(--gf-space-sm) var(--gf-space-md);
    border-radius: var(--gf-radius-md);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--gf-transition-fast);
}

.header-btn:hover {
    color: var(--gf-amber);
    background: var(--gf-bg-card);
}

/* App Main Content */
.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--gf-space-lg);
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

/* Energy Check-in */
.energy-checkin {
    text-align: center;
    padding: var(--gf-space-3xl) var(--gf-space-lg);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.energy-checkin h2 {
    font-family: var(--gf-font-heading);
    font-size: 1.8rem;
    margin-bottom: var(--gf-space-sm);
}

.energy-checkin p {
    color: var(--gf-text-secondary);
    margin-bottom: var(--gf-space-2xl);
}

.energy-options {
    display: flex;
    gap: var(--gf-space-md);
    justify-content: center;
}

.energy-btn {
    flex: 1;
    max-width: 140px;
    padding: var(--gf-space-xl) var(--gf-space-md);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--gf-radius-lg);
    background: var(--gf-bg-card);
    color: var(--gf-text-primary);
    cursor: pointer;
    transition: var(--gf-transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gf-space-sm);
}

.energy-btn:hover {
    transform: translateY(-4px);
}

.energy-btn.low:hover,
.energy-btn.low.selected {
    border-color: var(--gf-energy-low);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.energy-btn.medium:hover,
.energy-btn.medium.selected {
    border-color: var(--gf-energy-medium);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
}

.energy-btn.high:hover,
.energy-btn.high.selected {
    border-color: var(--gf-energy-high);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.energy-icon {
    font-size: 2rem;
}

.energy-label {
    font-weight: 600;
    font-size: 1rem;
}

/* Focus Mode - Task View */
.focus-mode {
    flex: 1;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.5s ease;
}

.focus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--gf-space-lg);
}

.current-energy {
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
    padding: var(--gf-space-xs) var(--gf-space-md);
    border-radius: var(--gf-radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.current-energy.low {
    background: rgba(239, 68, 68, 0.2);
    color: var(--gf-energy-low);
}

.current-energy.medium {
    background: rgba(250, 204, 21, 0.2);
    color: var(--gf-energy-medium);
}

.current-energy.high {
    background: rgba(34, 197, 94, 0.2);
    color: var(--gf-energy-high);
}

.mode-selector {
    display: flex;
    background: var(--gf-bg-card);
    border-radius: var(--gf-radius-full);
    padding: 4px;
}

.mode-btn {
    padding: var(--gf-space-sm) var(--gf-space-md);
    border: none;
    background: transparent;
    color: var(--gf-text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: var(--gf-radius-full);
    cursor: pointer;
    transition: var(--gf-transition-fast);
}

.mode-btn.active {
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
}

/* Task Card */
.task-card {
    background: var(--gf-bg-card);
    border-radius: var(--gf-radius-xl);
    padding: var(--gf-space-2xl);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 400px;
}

.task-priority {
    display: inline-flex;
    align-items: center;
    gap: var(--gf-space-xs);
    padding: var(--gf-space-xs) var(--gf-space-md);
    border-radius: var(--gf-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--gf-space-md);
}

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

.task-priority.medium {
    background: rgba(250, 204, 21, 0.2);
    color: var(--gf-yellow);
}

.task-priority.low {
    background: rgba(34, 197, 94, 0.2);
    color: var(--gf-green);
}

.task-title {
    font-family: var(--gf-font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: var(--gf-space-lg);
    line-height: 1.3;
}

/* Time Ring */
.time-ring-container {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto var(--gf-space-xl);
}

.time-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.time-ring .ring-bg {
    fill: none;
    stroke: var(--gf-bg-elevated);
    stroke-width: 10;
}

.time-ring .ring-progress {
    fill: none;
    stroke: var(--gf-green);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 440;
    stroke-dashoffset: 0;
    transition: stroke 0.5s ease, stroke-dashoffset 0.1s linear;
}

.time-ring .ring-progress.warning {
    stroke: var(--gf-yellow);
}

.time-ring .ring-progress.urgent {
    stroke: var(--gf-orange);
}

.time-ring .ring-progress.critical {
    stroke: var(--gf-red);
}

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

.time-minutes {
    font-family: var(--gf-font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.time-label {
    font-size: 0.8rem;
    color: var(--gf-text-muted);
}

/* Task Actions */
.task-actions {
    display: flex;
    flex-direction: column;
    gap: var(--gf-space-md);
    margin-top: auto;
}

.done-btn {
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
    border: none;
    padding: var(--gf-space-lg);
    border-radius: var(--gf-radius-lg);
    font-family: var(--gf-font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--gf-transition-normal);
    box-shadow: var(--gf-shadow-glow);
}

.done-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px var(--gf-amber-glow);
}

.done-btn:active {
    transform: scale(0.98);
}

.secondary-actions {
    display: flex;
    gap: var(--gf-space-md);
    justify-content: center;
}

.secondary-btn {
    background: var(--gf-bg-elevated);
    border: none;
    color: var(--gf-text-secondary);
    padding: var(--gf-space-md) var(--gf-space-lg);
    border-radius: var(--gf-radius-md);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--gf-transition-fast);
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
}

.secondary-btn:hover {
    color: var(--gf-amber);
    background: var(--gf-bg-card);
}

/* Momentum Meter */
.momentum-section {
    background: var(--gf-bg-card);
    border-radius: var(--gf-radius-lg);
    padding: var(--gf-space-lg);
    margin-top: var(--gf-space-lg);
}

.momentum-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--gf-space-md);
}

.momentum-label {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
}

.momentum-level {
    font-size: 0.85rem;
    color: var(--gf-amber);
}

.momentum-points {
    font-family: var(--gf-font-heading);
    font-size: 1.1rem;
    color: var(--gf-amber);
}

.momentum-bar {
    height: 8px;
    background: var(--gf-bg-elevated);
    border-radius: var(--gf-radius-full);
    overflow: hidden;
}

.momentum-fill {
    height: 100%;
    border-radius: var(--gf-radius-full);
    transition: width 0.5s ease, background-color 0.3s ease;
}

.momentum-fill.starting {
    background: var(--gf-momentum-starting);
}

.momentum-fill.building {
    background: var(--gf-momentum-building);
}

.momentum-fill.steady {
    background: var(--gf-momentum-steady);
}

.momentum-fill.rolling {
    background: var(--gf-momentum-rolling);
}

.momentum-fill.fire {
    background: linear-gradient(90deg, var(--gf-momentum-fire), var(--gf-red));
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--gf-space-3xl);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: var(--gf-space-lg);
}

.empty-state h3 {
    font-family: var(--gf-font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--gf-space-sm);
}

.empty-state p {
    color: var(--gf-text-secondary);
    margin-bottom: var(--gf-space-xl);
}

/* Add Task FAB */
.add-task-fab {
    position: fixed;
    bottom: var(--gf-space-xl);
    right: var(--gf-space-xl);
    width: 64px;
    height: 64px;
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: var(--gf-shadow-lg), var(--gf-shadow-glow);
    transition: var(--gf-transition-normal);
    z-index: 100;
}

.add-task-fab:hover {
    transform: scale(1.1);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: var(--gf-space-lg);
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background: var(--gf-bg-card);
    border-radius: var(--gf-radius-xl);
    padding: var(--gf-space-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--gf-space-lg);
}

.modal-header h3 {
    font-family: var(--gf-font-heading);
    font-size: 1.3rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--gf-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--gf-space-sm);
}

.modal-close:hover {
    color: var(--gf-text-primary);
}

/* Form Styles */
.form-group {
    margin-bottom: var(--gf-space-lg);
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--gf-space-sm);
    color: var(--gf-text-secondary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--gf-space-md);
    background: var(--gf-bg-elevated);
    border: 2px solid transparent;
    border-radius: var(--gf-radius-md);
    color: var(--gf-text-primary);
    font-family: var(--gf-font-body);
    font-size: 1rem;
    transition: var(--gf-transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--gf-amber);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-select {
    cursor: pointer;
}

.priority-options {
    display: flex;
    gap: var(--gf-space-sm);
}

.priority-option {
    flex: 1;
    padding: var(--gf-space-md);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--gf-radius-md);
    background: var(--gf-bg-elevated);
    color: var(--gf-text-secondary);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--gf-transition-fast);
}

.priority-option:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.priority-option.selected.high {
    border-color: var(--gf-red);
    background: rgba(239, 68, 68, 0.1);
    color: var(--gf-red);
}

.priority-option.selected.medium {
    border-color: var(--gf-yellow);
    background: rgba(250, 204, 21, 0.1);
    color: var(--gf-yellow);
}

.priority-option.selected.low {
    border-color: var(--gf-green);
    background: rgba(34, 197, 94, 0.1);
    color: var(--gf-green);
}

/* Celebration Overlay */
.celebration-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.celebration-content {
    text-align: center;
    animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.celebration-emoji {
    font-size: 6rem;
    margin-bottom: var(--gf-space-lg);
    animation: pulse 1s infinite;
}

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

.celebration-message {
    font-family: var(--gf-font-heading);
    font-size: 2rem;
    margin-bottom: var(--gf-space-md);
    color: var(--gf-amber);
}

.celebration-points {
    font-size: 1.2rem;
    color: var(--gf-text-secondary);
    margin-bottom: var(--gf-space-xl);
}

/* Confetti Canvas */
#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1999;
}

/* Task Attack Advisor */
.advisor-panel {
    background: var(--gf-bg-card);
    border-radius: var(--gf-radius-lg);
    padding: var(--gf-space-lg);
    margin-top: var(--gf-space-lg);
}

.advisor-header {
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
    margin-bottom: var(--gf-space-md);
}

.advisor-header h4 {
    font-family: var(--gf-font-heading);
    color: var(--gf-amber);
}

.strategy-options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gf-space-sm);
}

.strategy-chip {
    padding: var(--gf-space-sm) var(--gf-space-md);
    background: var(--gf-bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--gf-radius-full);
    color: var(--gf-text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--gf-transition-fast);
}

.strategy-chip:hover,
.strategy-chip.selected {
    border-color: var(--gf-amber);
    color: var(--gf-amber);
    background: rgba(255, 191, 0, 0.1);
}

.strategy-suggestion {
    margin-top: var(--gf-space-md);
    padding: var(--gf-space-md);
    background: rgba(255, 191, 0, 0.1);
    border-radius: var(--gf-radius-md);
    border-left: 3px solid var(--gf-amber);
}

.strategy-suggestion p {
    color: var(--gf-text-secondary);
    font-size: 0.9rem;
}

.tiny-step {
    margin-top: var(--gf-space-sm);
    font-weight: 600;
    color: var(--gf-text-primary);
}

/* Task List View */
.task-list-view {
    padding: var(--gf-space-lg);
}

.task-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--gf-space-lg);
}

.task-list-header h2 {
    font-family: var(--gf-font-heading);
    font-size: 1.5rem;
}

.view-toggle {
    display: flex;
    background: var(--gf-bg-card);
    border-radius: var(--gf-radius-full);
    padding: 4px;
}

.view-btn {
    padding: var(--gf-space-sm) var(--gf-space-md);
    border: none;
    background: transparent;
    color: var(--gf-text-muted);
    font-size: 0.85rem;
    border-radius: var(--gf-radius-full);
    cursor: pointer;
    transition: var(--gf-transition-fast);
}

.view-btn.active {
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: var(--gf-space-sm);
}

.task-list-item {
    display: flex;
    align-items: center;
    gap: var(--gf-space-md);
    padding: var(--gf-space-md);
    background: var(--gf-bg-card);
    border-radius: var(--gf-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: var(--gf-transition-fast);
}

.task-list-item:hover {
    border-color: rgba(255, 191, 0, 0.3);
}

.task-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--gf-text-muted);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--gf-transition-fast);
}

.task-list-item:hover .task-checkbox {
    border-color: var(--gf-amber);
}

.task-list-item.completed .task-checkbox {
    background: var(--gf-green);
    border-color: var(--gf-green);
}

.task-list-item.completed .task-checkbox::after {
    content: '\\2713';
    color: white;
    font-size: 0.8rem;
}

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

.task-info-title {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.task-list-item.completed .task-info-title {
    text-decoration: line-through;
    color: var(--gf-text-muted);
}

.task-info-meta {
    display: flex;
    gap: var(--gf-space-md);
    font-size: 0.8rem;
    color: var(--gf-text-muted);
    margin-top: var(--gf-space-xs);
}

.task-delete {
    background: none;
    border: none;
    color: var(--gf-text-muted);
    padding: var(--gf-space-sm);
    cursor: pointer;
    opacity: 0;
    transition: var(--gf-transition-fast);
}

.task-list-item:hover .task-delete {
    opacity: 1;
}

.task-delete:hover {
    color: var(--gf-red);
}

/* ==========================================================================
   CALENDAR VIEW
   ========================================================================== */

.calendar-view {
    padding: var(--gf-space-lg);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--gf-space-lg);
}

.calendar-header h2 {
    font-family: var(--gf-font-heading);
    font-size: 1.3rem;
    color: var(--gf-text-primary);
}

.calendar-nav-btn {
    background: var(--gf-bg-elevated);
    border: 1px solid rgba(255, 191, 0, 0.2);
    color: var(--gf-amber);
    width: 40px;
    height: 40px;
    border-radius: var(--gf-radius-md);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--gf-transition-fast);
}

.calendar-nav-btn:hover {
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: var(--gf-space-sm);
    text-align: center;
}

.calendar-weekdays span {
    font-size: 0.75rem;
    color: var(--gf-text-muted);
    padding: var(--gf-space-xs) 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: var(--gf-space-lg);
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gf-bg-card);
    border-radius: var(--gf-radius-sm);
    cursor: pointer;
    transition: var(--gf-transition-fast);
    position: relative;
    min-height: 45px;
}

.calendar-day:hover {
    background: var(--gf-bg-elevated);
}

.calendar-day.today {
    border: 2px solid var(--gf-amber);
}

.calendar-day.selected {
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
}

.calendar-day.other-month {
    opacity: 0.3;
}

.calendar-day-number {
    font-weight: 500;
    font-size: 0.9rem;
}

.calendar-day-dots {
    display: flex;
    gap: 2px;
    margin-top: 2px;
}

.calendar-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gf-amber);
}

.calendar-day.selected .calendar-dot {
    background: var(--gf-bg-primary);
}

.calendar-tasks {
    background: var(--gf-bg-card);
    border-radius: var(--gf-radius-lg);
    padding: var(--gf-space-lg);
}

.calendar-tasks h3 {
    font-family: var(--gf-font-heading);
    font-size: 1rem;
    margin-bottom: var(--gf-space-md);
    color: var(--gf-text-secondary);
}

.calendar-task-list {
    display: flex;
    flex-direction: column;
    gap: var(--gf-space-sm);
}

.calendar-task-item {
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
    padding: var(--gf-space-sm) var(--gf-space-md);
    background: var(--gf-bg-elevated);
    border-radius: var(--gf-radius-md);
    font-size: 0.9rem;
}

.calendar-task-time {
    font-size: 0.8rem;
    color: var(--gf-text-muted);
    min-width: 50px;
}

.calendar-task-title {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calendar-empty {
    text-align: center;
    padding: var(--gf-space-xl);
    color: var(--gf-text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   VERSION SELECTOR
   ========================================================================== */

.version-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gf-space-sm);
}

.version-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--gf-space-md);
    background: var(--gf-bg-elevated);
    border: 2px solid transparent;
    border-radius: var(--gf-radius-lg);
    cursor: pointer;
    transition: var(--gf-transition-normal);
}

.version-btn:hover {
    border-color: rgba(255, 191, 0, 0.3);
}

.version-btn.active {
    border-color: var(--gf-amber);
    background: rgba(255, 191, 0, 0.1);
}

.version-icon {
    font-size: 2rem;
    margin-bottom: var(--gf-space-xs);
}

.version-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gf-text-primary);
}

.version-desc {
    font-size: 0.75rem;
    color: var(--gf-text-muted);
    margin-top: 2px;
}

.version-customization {
    margin-top: var(--gf-space-md);
}

.feature-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gf-space-sm);
}

.feature-toggle {
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
    padding: var(--gf-space-sm) var(--gf-space-md);
    background: var(--gf-bg-elevated);
    border-radius: var(--gf-radius-full);
    cursor: pointer;
    transition: var(--gf-transition-fast);
    font-size: 0.85rem;
}

.feature-toggle:hover {
    background: rgba(255, 191, 0, 0.1);
}

.feature-toggle input {
    display: none;
}

.feature-toggle input:checked + span {
    color: var(--gf-amber);
}

.feature-toggle input:not(:checked) + span {
    opacity: 0.5;
}

/* ==========================================================================
   VERSION-SPECIFIC BODY CLASSES
   ========================================================================== */

/* Kids Mode - Bigger, simpler, more colorful */
body.version-kids {
    --gf-font-size-base: 1.1rem;
}

body.version-kids .app-main {
    font-size: 1.1rem;
}

body.version-kids .task-title {
    font-size: 1.5rem;
}

body.version-kids .done-btn {
    font-size: 1.3rem;
    padding: 20px 48px;
    border-radius: var(--gf-radius-xl);
}

body.version-kids .energy-btn {
    padding: 24px;
}

body.version-kids .energy-icon {
    font-size: 3rem;
}

body.version-kids .energy-label {
    font-size: 1.2rem;
}

body.version-kids .task-card {
    border-radius: var(--gf-radius-xl);
}

/* Hide complex elements for kids */
body.version-kids .mode-selector,
body.version-kids .advisor-panel,
body.version-kids .time-ring-container,
body.version-kids .secondary-btn:not(#skipBtn),
body.version-kids .task-priority {
    display: none !important;
}

body.version-kids .task-actions {
    flex-direction: column;
    gap: var(--gf-space-md);
}

body.version-kids .secondary-actions {
    justify-content: center;
}

body.version-kids #skipBtn {
    font-size: 1.1rem;
    padding: 12px 24px;
}

/* Kids empty state */
body.version-kids .empty-state h3 {
    font-size: 1.5rem;
}

body.version-kids .empty-action-btn {
    font-size: 1.1rem;
    padding: 16px 24px;
}

/* Teens Mode - Balanced, school-focused */
body.version-teens .task-card {
    border-radius: var(--gf-radius-lg);
}

/* Hide some advanced features for teens */
body.version-teens .advisor-panel .strategy-chip[data-strategy="pomodoro"],
body.version-teens .advisor-panel .strategy-chip[data-strategy="body-double"] {
    display: none;
}

/* Settings Panel */
.settings-panel {
    padding: var(--gf-space-lg);
}

.settings-section {
    margin-bottom: var(--gf-space-2xl);
}

.settings-section h3 {
    font-family: var(--gf-font-heading);
    font-size: 1.2rem;
    margin-bottom: var(--gf-space-lg);
    color: var(--gf-amber);
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--gf-space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.setting-label {
    font-weight: 500;
}

.setting-description {
    font-size: 0.85rem;
    color: var(--gf-text-muted);
    margin-top: var(--gf-space-xs);
}

/* Toggle Switch */
.toggle {
    position: relative;
    width: 50px;
    height: 28px;
    background: var(--gf-bg-elevated);
    border-radius: var(--gf-radius-full);
    cursor: pointer;
    transition: var(--gf-transition-fast);
}

.toggle.active {
    background: var(--gf-amber);
}

.toggle::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: var(--gf-transition-fast);
}

.toggle.active::after {
    left: 26px;
}

/* Welcome Back Message */
.welcome-back {
    background: linear-gradient(135deg, rgba(255, 191, 0, 0.1) 0%, rgba(255, 191, 0, 0.05) 100%);
    border: 1px solid rgba(255, 191, 0, 0.2);
    border-radius: var(--gf-radius-lg);
    padding: var(--gf-space-lg);
    text-align: center;
    margin-bottom: var(--gf-space-lg);
    animation: fadeIn 0.5s ease;
}

.welcome-back-icon {
    font-size: 2.5rem;
    margin-bottom: var(--gf-space-sm);
}

.welcome-back h3 {
    font-family: var(--gf-font-heading);
    color: var(--gf-amber);
    margin-bottom: var(--gf-space-xs);
}

.welcome-back p {
    color: var(--gf-text-secondary);
    font-size: 0.9rem;
}

.bonus-points {
    display: inline-block;
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
    padding: var(--gf-space-xs) var(--gf-space-md);
    border-radius: var(--gf-radius-full);
    font-weight: 700;
    margin-top: var(--gf-space-sm);
}

/* PWA Install Banner */
.pwa-install-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gf-bg-card);
    padding: var(--gf-space-md) var(--gf-space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gf-space-md);
    border-top: 1px solid rgba(255, 191, 0, 0.2);
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

.pwa-install-banner p {
    font-size: 0.9rem;
    color: var(--gf-text-secondary);
}

.pwa-install-banner strong {
    color: var(--gf-text-primary);
}

.pwa-install-btn {
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
    border: none;
    padding: var(--gf-space-sm) var(--gf-space-lg);
    border-radius: var(--gf-radius-full);
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.pwa-dismiss {
    background: none;
    border: none;
    color: var(--gf-text-muted);
    padding: var(--gf-space-sm);
    cursor: pointer;
    font-size: 1.2rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   FOUNDER STORY SECTION
   ========================================================================== */

.story-section {
    background: linear-gradient(180deg, var(--gf-bg-secondary) 0%, var(--gf-bg-primary) 100%);
    padding: var(--gf-space-3xl) 0;
    border-top: 1px solid rgba(255, 191, 0, 0.1);
    border-bottom: 1px solid rgba(255, 191, 0, 0.1);
}

.story-content {
    max-width: 720px;
    margin: 0 auto;
}

.story-header {
    text-align: center;
    margin-bottom: var(--gf-space-xl);
}

.story-label {
    display: inline-block;
    background: rgba(255, 191, 0, 0.15);
    color: var(--gf-amber);
    padding: var(--gf-space-xs) var(--gf-space-md);
    border-radius: var(--gf-radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--gf-space-md);
}

.story-header h2 {
    font-family: var(--gf-font-heading);
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--gf-text-primary);
    margin: 0;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gf-text-secondary);
}

.story-text p {
    margin-bottom: var(--gf-space-lg);
}

.story-lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gf-text-primary);
}

.story-text strong {
    color: var(--gf-amber);
    font-weight: 600;
}

.story-text em {
    font-style: italic;
    color: var(--gf-text-primary);
}

.story-callout {
    background: rgba(255, 191, 0, 0.08);
    border-left: 4px solid var(--gf-amber);
    padding: var(--gf-space-lg);
    margin: var(--gf-space-xl) 0;
    border-radius: 0 var(--gf-radius-md) var(--gf-radius-md) 0;
    position: relative;
}

.callout-icon {
    font-size: 1.5rem;
    margin-bottom: var(--gf-space-sm);
    display: block;
}

.story-callout p {
    margin: 0;
    font-size: 1rem;
    color: var(--gf-text-secondary);
    font-style: italic;
}

.story-signature {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gf-text-primary);
    margin-top: var(--gf-space-xl);
    padding-top: var(--gf-space-lg);
    border-top: 1px solid rgba(255, 191, 0, 0.2);
}

.story-cta {
    text-align: center;
    margin-top: var(--gf-space-xl);
}

/* Mobile adjustments for story */
@media (max-width: 768px) {
    .story-section {
        padding: var(--gf-space-2xl) 0;
    }

    .story-text {
        font-size: 1rem;
    }

    .story-lead {
        font-size: 1.1rem;
    }

    .story-callout {
        padding: var(--gf-space-md);
        margin: var(--gf-space-lg) 0;
    }
}

/* ==========================================================================
   ADHD BRAIN SCIENCE SECTION
   ========================================================================== */

.brain-section {
    background: linear-gradient(180deg, var(--gf-bg-primary) 0%, var(--gf-bg-secondary) 50%, var(--gf-bg-primary) 100%);
    padding: var(--gf-space-3xl) 0;
    position: relative;
}

.brain-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gf-amber), transparent);
    opacity: 0.3;
}

.brain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--gf-space-xl);
    margin-top: var(--gf-space-2xl);
}

.brain-card {
    background: var(--gf-bg-card);
    border: 1px solid rgba(255, 191, 0, 0.15);
    border-radius: var(--gf-radius-lg);
    padding: var(--gf-space-xl);
    transition: all var(--gf-transition-normal);
    position: relative;
    overflow: hidden;
}

.brain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gf-amber), var(--gf-amber-light));
    opacity: 0;
    transition: opacity var(--gf-transition-normal);
}

.brain-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 191, 0, 0.3);
    box-shadow: 0 12px 40px rgba(255, 191, 0, 0.1);
}

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

.brain-icon {
    font-size: 2.5rem;
    margin-bottom: var(--gf-space-md);
    display: block;
}

.brain-card h3 {
    font-family: var(--gf-font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gf-text-primary);
    margin-bottom: var(--gf-space-lg);
}

.brain-detail {
    display: flex;
    flex-direction: column;
    gap: var(--gf-space-md);
}

.brain-what,
.brain-fail,
.brain-help {
    padding: var(--gf-space-md);
    border-radius: var(--gf-radius-md);
    transition: background var(--gf-transition-fast);
}

.brain-what {
    background: rgba(59, 130, 246, 0.08);
    border-left: 3px solid var(--gf-blue);
}

.brain-fail {
    background: rgba(239, 68, 68, 0.08);
    border-left: 3px solid var(--gf-red);
}

.brain-help {
    background: rgba(34, 197, 94, 0.08);
    border-left: 3px solid var(--gf-green);
}

.detail-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--gf-space-xs);
}

.brain-what .detail-label {
    color: var(--gf-blue);
}

.brain-fail .detail-label {
    color: var(--gf-red);
}

.brain-help .detail-label {
    color: var(--gf-green);
}

.brain-detail p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--gf-text-secondary);
    margin: 0;
}

.brain-cta {
    text-align: center;
    margin-top: var(--gf-space-3xl);
    padding-top: var(--gf-space-xl);
    border-top: 1px solid rgba(255, 191, 0, 0.15);
}

.brain-summary {
    font-size: 1.15rem;
    color: var(--gf-text-secondary);
    max-width: 700px;
    margin: 0 auto var(--gf-space-lg);
    line-height: 1.7;
}

.brain-summary strong {
    color: var(--gf-amber);
}

/* Mobile adjustments for brain section */
@media (max-width: 768px) {
    .brain-section {
        padding: var(--gf-space-2xl) 0;
    }

    .brain-grid {
        grid-template-columns: 1fr;
        gap: var(--gf-space-lg);
    }

    .brain-card {
        padding: var(--gf-space-lg);
    }

    .brain-icon {
        font-size: 2rem;
    }

    .brain-card h3 {
        font-size: 1.15rem;
    }

    .brain-what,
    .brain-fail,
    .brain-help {
        padding: var(--gf-space-sm);
    }

    .brain-detail p {
        font-size: 0.85rem;
    }

    .brain-summary {
        font-size: 1rem;
    }
}

/* ==========================================================================
   OTHER TASKS PREVIEW
   ========================================================================== */

.other-tasks-preview {
    margin-top: var(--gf-space-lg);
    padding: var(--gf-space-md);
    background: rgba(255, 191, 0, 0.05);
    border-radius: var(--gf-radius-md);
    border: 1px solid rgba(255, 191, 0, 0.1);
}

.other-tasks-label {
    font-size: 0.75rem;
    color: var(--gf-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--gf-space-sm);
}

.other-tasks-list {
    display: flex;
    flex-direction: column;
    gap: var(--gf-space-xs);
}

.other-task-item {
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
    padding: var(--gf-space-xs) 0;
    font-size: 0.85rem;
}

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

.other-task-dot.high {
    background: var(--gf-error);
}

.other-task-dot.medium {
    background: var(--gf-amber);
}

.other-task-dot.low {
    background: var(--gf-success);
}

.other-task-title {
    flex: 1;
    color: var(--gf-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.other-task-reason {
    font-size: 0.7rem;
    color: var(--gf-text-muted);
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--gf-radius-sm);
    white-space: nowrap;
}

/* Priority reason badges */
.task-priority {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    padding: var(--gf-space-xs) var(--gf-space-sm);
    border-radius: var(--gf-radius-full);
    background: rgba(255, 191, 0, 0.1);
}

.task-priority.high {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.task-priority.medium {
    background: rgba(255, 191, 0, 0.15);
    color: var(--gf-amber);
}

.task-priority.low {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

/* ==========================================================================
   SELF-CARE NOTIFICATION
   ========================================================================== */

.self-care-notification {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gf-bg-card);
    border: 2px solid var(--gf-amber);
    border-radius: var(--gf-radius-lg);
    padding: var(--gf-space-lg);
    max-width: 90%;
    width: 360px;
    z-index: 1100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: top 0.4s ease;
    text-align: center;
}

.self-care-notification.show {
    top: var(--gf-space-lg);
}

.care-icon {
    font-size: 3rem;
    margin-bottom: var(--gf-space-sm);
}

.care-message {
    font-size: 1.1rem;
    color: var(--gf-text-primary);
    margin-bottom: var(--gf-space-md);
    line-height: 1.5;
}

.care-actions {
    display: flex;
    gap: var(--gf-space-sm);
    justify-content: center;
}

.care-done {
    background: var(--gf-success);
    color: white;
    border: none;
    padding: var(--gf-space-sm) var(--gf-space-lg);
    border-radius: var(--gf-radius-full);
    font-weight: 600;
    cursor: pointer;
}

.care-snooze {
    background: transparent;
    color: var(--gf-text-secondary);
    border: 1px solid var(--gf-text-muted);
    padding: var(--gf-space-sm) var(--gf-space-md);
    border-radius: var(--gf-radius-full);
    cursor: pointer;
}

.care-dismiss {
    background: transparent;
    color: var(--gf-text-muted);
    border: none;
    padding: var(--gf-space-sm);
    font-size: 1.2rem;
    cursor: pointer;
    position: absolute;
    top: var(--gf-space-sm);
    right: var(--gf-space-sm);
}

/* ==========================================================================
   TASK DISCOVERY / BRAIN DUMP
   ========================================================================== */

.discovery-modal {
    max-width: 480px;
}

.discovery-header {
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
    margin-bottom: var(--gf-space-md);
}

.discovery-icon {
    font-size: 2rem;
}

.discovery-header h3 {
    margin: 0;
    color: var(--gf-text-primary);
}

.discovery-prompt {
    font-size: 1.1rem;
    color: var(--gf-amber);
    margin-bottom: var(--gf-space-lg);
}

.discovery-input-area {
    margin-bottom: var(--gf-space-lg);
}

.discovery-input-area textarea {
    min-height: 150px;
    font-size: 1rem;
}

.discovery-hint {
    font-size: 0.8rem;
    color: var(--gf-text-muted);
    margin-top: var(--gf-space-xs);
}

.discovery-actions {
    display: flex;
    gap: var(--gf-space-md);
}

.discovery-actions button {
    flex: 1;
}

/* ==========================================================================
   POST-TASK PROMPT
   ========================================================================== */

.post-task-prompt {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gf-bg-card);
    border: 1px solid rgba(255, 191, 0, 0.3);
    border-radius: var(--gf-radius-lg);
    padding: var(--gf-space-md) var(--gf-space-lg);
    max-width: 90%;
    width: 400px;
    z-index: 1050;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    transition: bottom 0.3s ease;
}

.post-task-prompt.show {
    bottom: 100px;
}

.prompt-content {
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
    margin-bottom: var(--gf-space-md);
}

.prompt-icon {
    font-size: 1.5rem;
}

.prompt-text {
    color: var(--gf-text-primary);
    font-size: 0.95rem;
}

.prompt-actions {
    display: flex;
    gap: var(--gf-space-sm);
}

.prompt-yes {
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
    border: none;
    padding: var(--gf-space-xs) var(--gf-space-md);
    border-radius: var(--gf-radius-full);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
}

.prompt-no {
    background: transparent;
    color: var(--gf-text-muted);
    border: 1px solid var(--gf-text-muted);
    padding: var(--gf-space-xs) var(--gf-space-md);
    border-radius: var(--gf-radius-full);
    cursor: pointer;
    font-size: 0.85rem;
}

/* ==========================================================================
   SELF-CARE SETTINGS
   ========================================================================== */

.care-settings-grid {
    display: grid;
    gap: var(--gf-space-md);
}

.care-type-toggle {
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
    padding: var(--gf-space-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--gf-radius-md);
}

.care-type-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gf-amber);
}

.care-type-icon {
    font-size: 1.2rem;
}

.care-type-label {
    flex: 1;
    color: var(--gf-text-primary);
    font-size: 0.9rem;
}

.care-level-selector,
.age-mode-selector {
    display: flex;
    gap: var(--gf-space-xs);
    margin-top: var(--gf-space-sm);
}

.care-level-btn,
.age-mode-btn {
    flex: 1;
    padding: var(--gf-space-sm);
    background: var(--gf-bg-secondary);
    border: 1px solid var(--gf-text-muted);
    border-radius: var(--gf-radius-md);
    color: var(--gf-text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.care-level-btn.active,
.age-mode-btn.active {
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
    border-color: var(--gf-amber);
}

.brain-dump-btn {
    width: 100%;
    padding: var(--gf-space-md);
    background: linear-gradient(135deg, rgba(255, 191, 0, 0.15), rgba(255, 191, 0, 0.05));
    border: 1px solid rgba(255, 191, 0, 0.3);
    border-radius: var(--gf-radius-md);
    color: var(--gf-amber);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gf-space-sm);
    margin-top: var(--gf-space-md);
}

.brain-dump-btn:hover {
    background: linear-gradient(135deg, rgba(255, 191, 0, 0.25), rgba(255, 191, 0, 0.1));
}

/* ==========================================================================
   SCHEDULE HELPER MODAL
   ========================================================================== */

.schedule-modal {
    max-width: 420px;
}

.schedule-task-title {
    color: var(--gf-amber);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: var(--gf-space-xs);
}

.schedule-prompt {
    color: var(--gf-text-secondary);
    margin-bottom: var(--gf-space-lg);
}

.schedule-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gf-space-sm);
}

.schedule-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--gf-space-md);
    background: var(--gf-bg-secondary);
    border: 1px solid var(--gf-text-muted);
    border-radius: var(--gf-radius-md);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.schedule-option:hover {
    border-color: var(--gf-amber);
    background: rgba(255, 191, 0, 0.1);
}

.option-icon {
    font-size: 1.5rem;
    margin-bottom: var(--gf-space-xs);
}

.option-label {
    color: var(--gf-text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.option-desc {
    color: var(--gf-text-muted);
    font-size: 0.75rem;
    margin-top: 2px;
}

.specific-time-picker {
    margin-top: var(--gf-space-lg);
    display: flex;
    gap: var(--gf-space-sm);
}

.specific-time-picker input {
    flex: 1;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .schedule-options {
        grid-template-columns: 1fr 1fr;
        gap: var(--gf-space-xs);
    }

    .schedule-option {
        padding: var(--gf-space-sm);
    }

    .option-icon {
        font-size: 1.2rem;
    }

    .option-label {
        font-size: 0.8rem;
    }

    .option-desc {
        display: none;
    }
}

/* ==========================================================================
   TEAM MODE / PERSONALITY ELEMENTS
   ========================================================================== */

.team-modal {
    text-align: center;
}

.team-modal .modal-header h3 {
    margin: 0;
}

.team-prompt,
.team-encouragement {
    color: var(--gf-text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--gf-space-md);
}

.team-encouragement {
    color: var(--gf-amber);
    font-style: italic;
    font-size: 0.9rem;
    padding: var(--gf-space-sm) var(--gf-space-md);
    background: rgba(255, 191, 0, 0.1);
    border-radius: var(--gf-radius-md);
    margin-bottom: var(--gf-space-lg);
}

/* Quick Add Buttons */
.quick-add-buttons {
    margin: var(--gf-space-lg) 0;
}

.quick-add-btn {
    width: 100%;
    padding: var(--gf-space-md);
    background: var(--gf-bg-secondary);
    border: 1px dashed var(--gf-text-muted);
    border-radius: var(--gf-radius-md);
    color: var(--gf-text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gf-space-sm);
    transition: all 0.2s;
}

.quick-add-btn:hover {
    border-color: var(--gf-amber);
    color: var(--gf-amber);
    background: rgba(255, 191, 0, 0.05);
}

.quick-add-btn span {
    font-size: 1.2rem;
}

/* Urgency Options */
.urgency-options {
    display: flex;
    flex-direction: column;
    gap: var(--gf-space-xs);
}

.urgency-btn {
    padding: var(--gf-space-sm) var(--gf-space-md);
    background: var(--gf-bg-secondary);
    border: 1px solid var(--gf-text-muted);
    border-radius: var(--gf-radius-md);
    color: var(--gf-text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s;
}

.urgency-btn:hover {
    border-color: var(--gf-amber);
}

.urgency-btn.active {
    border-color: var(--gf-amber);
    background: rgba(255, 191, 0, 0.1);
    color: var(--gf-text-primary);
}

/* Reward Preview */
.reward-preview {
    text-align: center;
    padding: var(--gf-space-md);
    margin: var(--gf-space-md) 0;
    background: linear-gradient(135deg, rgba(255, 191, 0, 0.1), rgba(34, 197, 94, 0.1));
    border-radius: var(--gf-radius-md);
    border: 1px solid rgba(255, 191, 0, 0.2);
}

.reward-message {
    color: var(--gf-text-primary);
    font-size: 0.95rem;
    margin-bottom: var(--gf-space-xs);
}

.reward-points {
    color: var(--gf-amber);
    font-weight: 600;
    font-size: 0.85rem;
}

/* Delegated Task Modal */
.delegated-task-modal .form-group {
    text-align: left;
}

/* Empty state with personality */
.empty-state-team {
    text-align: center;
    padding: var(--gf-space-2xl) var(--gf-space-lg);
}

.empty-state-team .empty-icon {
    font-size: 4rem;
    margin-bottom: var(--gf-space-md);
}

.empty-state-team h3 {
    color: var(--gf-text-primary);
    margin-bottom: var(--gf-space-sm);
}

.empty-state-team p {
    color: var(--gf-text-secondary);
    margin-bottom: var(--gf-space-lg);
}

.empty-action-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--gf-space-sm);
    max-width: 280px;
    margin: 0 auto;
}

.empty-action-btn {
    padding: var(--gf-space-md);
    background: var(--gf-bg-card);
    border: 1px solid var(--gf-text-muted);
    border-radius: var(--gf-radius-md);
    color: var(--gf-text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
    transition: all 0.2s;
}

.empty-action-btn:hover {
    border-color: var(--gf-amber);
    background: rgba(255, 191, 0, 0.05);
}

.empty-action-btn.primary {
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
    border-color: var(--gf-amber);
}

.empty-action-btn.primary:hover {
    background: #e6ac00;
}

/* ==========================================================================
   INTERRUPT / SOMETHING CAME UP SYSTEM
   ========================================================================== */

/* Interrupt FAB Button */
.interrupt-fab {
    position: fixed;
    bottom: 100px;
    right: var(--gf-space-lg);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
    z-index: 100;
    transition: all 0.2s;
    animation: pulse-attention 2s infinite;
}

.interrupt-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(239, 68, 68, 0.5);
}

@keyframes pulse-attention {
    0%, 100% { box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(239, 68, 68, 0.6); }
}

/* ==========================================================================
   HYPERFOCUS MODE BUTTON
   Large toggle button to pause all self-care reminders
   ========================================================================== */

.hyperfocus-button {
    position: fixed;
    bottom: var(--gf-space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
    padding: 16px 32px;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--gf-font-display);
    color: var(--gf-text-primary);
    background: linear-gradient(135deg, var(--gf-surface-elevated) 0%, var(--gf-surface) 100%);
    border: 2px solid var(--gf-purple);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.3);
    z-index: 100;
}

.hyperfocus-button:hover {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 6px 30px rgba(147, 51, 234, 0.5);
}

.hyperfocus-button.active {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    color: white;
    border-color: #a855f7;
    animation: hyperfocus-pulse 2s infinite;
}

.hyperfocus-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.hyperfocus-button.active .hyperfocus-icon {
    transform: scale(1.2);
}

.hyperfocus-text {
    white-space: nowrap;
}

@keyframes hyperfocus-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(147, 51, 234, 0.5),
                    0 0 0 0 rgba(147, 51, 234, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(147, 51, 234, 0.7),
                    0 0 0 10px rgba(147, 51, 234, 0);
    }
}

/* Hide button when in settings/list/calendar views */
body:has(.settings-panel:not(.hidden)) .hyperfocus-button,
body:has(.task-list-view:not(.hidden)) .hyperfocus-button,
body:has(.calendar-view:not(.hidden)) .hyperfocus-button {
    opacity: 0.3;
    pointer-events: none;
}

/* Kids version - bigger and more colorful */
body.kids .hyperfocus-button {
    font-size: 1.4rem;
    padding: 20px 40px;
    border-radius: 60px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-color: #fcd34d;
    color: #1a1a1a;
}

body.kids .hyperfocus-button.active {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    border-color: #6ee7b7;
}

/* Responsive - slightly smaller on mobile */
@media (max-width: 480px) {
    .hyperfocus-button {
        padding: 14px 24px;
        font-size: 1rem;
        bottom: 80px;
    }

    .hyperfocus-icon {
        font-size: 1.3rem;
    }
}

/* Interrupt Modal */
.interrupt-modal .modal-content {
    max-width: 440px;
}

.interrupt-header {
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
    margin-bottom: var(--gf-space-sm);
}

.interrupt-icon {
    font-size: 2rem;
}

.interrupt-header h3 {
    margin: 0;
    color: var(--gf-text-primary);
}

.interrupt-prompt {
    color: var(--gf-amber);
    font-size: 1.1rem;
    margin-bottom: var(--gf-space-xs);
}

.interrupt-hint {
    color: var(--gf-text-muted);
    font-size: 0.85rem;
    margin-bottom: var(--gf-space-md);
}

.interrupt-input {
    min-height: 120px;
    font-size: 1rem;
    margin-bottom: var(--gf-space-md);
}

.interrupt-urgency {
    margin-bottom: var(--gf-space-lg);
}

.interrupt-urgency > span {
    display: block;
    font-size: 0.85rem;
    color: var(--gf-text-secondary);
    margin-bottom: var(--gf-space-sm);
}

.urgency-quick-btns {
    display: flex;
    gap: var(--gf-space-xs);
}

.urgency-quick {
    flex: 1;
    padding: var(--gf-space-sm);
    background: var(--gf-bg-secondary);
    border: 1px solid var(--gf-text-muted);
    border-radius: var(--gf-radius-md);
    color: var(--gf-text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.urgency-quick:hover {
    border-color: var(--gf-amber);
}

.urgency-quick.active {
    background: rgba(255, 191, 0, 0.15);
    border-color: var(--gf-amber);
    color: var(--gf-amber);
}

.urgency-quick[data-urgency="now"].active {
    background: rgba(239, 68, 68, 0.15);
    border-color: #ef4444;
    color: #ef4444;
}

.interrupt-actions {
    display: flex;
    gap: var(--gf-space-md);
}

.interrupt-actions button {
    flex: 1;
}

/* Periodic Check-in Notification */
.periodic-checkin {
    position: fixed;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gf-bg-card);
    border: 1px solid rgba(255, 191, 0, 0.3);
    border-radius: var(--gf-radius-lg);
    padding: var(--gf-space-md) var(--gf-space-lg);
    max-width: 90%;
    width: 400px;
    z-index: 1100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: top 0.4s ease;
}

.periodic-checkin.show {
    top: var(--gf-space-lg);
}

.checkin-content {
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
    margin-bottom: var(--gf-space-md);
}

.checkin-icon {
    font-size: 1.5rem;
}

.checkin-text {
    color: var(--gf-text-primary);
    font-size: 0.95rem;
}

.checkin-actions {
    display: flex;
    gap: var(--gf-space-sm);
}

.checkin-btn {
    flex: 1;
    padding: var(--gf-space-sm) var(--gf-space-md);
    border-radius: var(--gf-radius-md);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.checkin-btn.yes {
    background: var(--gf-amber);
    color: var(--gf-bg-primary);
    border: none;
}

.checkin-btn.no {
    background: transparent;
    color: var(--gf-text-secondary);
    border: 1px solid var(--gf-text-muted);
}

.checkin-btn:hover {
    transform: translateY(-1px);
}

/* ==========================================================================
   REWARD BREAK SYSTEM
   ========================================================================== */

.reward-break-modal .modal-content {
    max-width: 420px;
    text-align: center;
}

.reward-break-content {
    padding: var(--gf-space-xl);
}

.reward-break-header {
    margin-bottom: var(--gf-space-xl);
}

.reward-break-emoji {
    font-size: 3.5rem;
    margin-bottom: var(--gf-space-md);
    animation: bounce 0.6s ease-in-out;
}

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

.reward-break-header h3 {
    font-family: var(--gf-font-heading);
    font-size: 1.5rem;
    color: var(--gf-text-primary);
    margin-bottom: var(--gf-space-sm);
}

.reward-break-header p {
    color: var(--gf-text-secondary);
    font-size: 0.95rem;
}

/* Break offer */
.break-suggestions {
    text-align: left;
    margin-bottom: var(--gf-space-xl);
}

.break-suggestions h4 {
    font-size: 0.9rem;
    color: var(--gf-text-secondary);
    margin-bottom: var(--gf-space-md);
}

.break-ideas-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gf-space-sm);
}

.break-ideas-list li {
    padding: var(--gf-space-sm) var(--gf-space-md);
    background: rgba(255, 191, 0, 0.08);
    border-radius: var(--gf-radius-md);
    font-size: 0.85rem;
    color: var(--gf-text-secondary);
}

.break-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--gf-space-md);
}

.break-buttons .btn-primary {
    font-size: 1.1rem;
    padding: var(--gf-space-md) var(--gf-space-xl);
}

.break-buttons .btn-secondary {
    background: transparent;
    border: none;
    color: var(--gf-text-muted);
    font-size: 0.9rem;
    cursor: pointer;
}

.break-buttons .btn-secondary:hover {
    color: var(--gf-text-secondary);
}

/* Break timer */
.break-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gf-space-xl);
}

.break-timer-display {
    position: relative;
    z-index: 2;
}

.break-time-remaining {
    font-family: var(--gf-font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gf-amber);
    letter-spacing: -0.02em;
}

.break-timer-label {
    font-size: 1rem;
    color: var(--gf-text-secondary);
    margin-top: var(--gf-space-xs);
}

.break-timer-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    z-index: 1;
}

.break-timer-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.break-ring-bg {
    fill: none;
    stroke: rgba(255, 191, 0, 0.1);
    stroke-width: 6;
}

.break-ring-progress {
    fill: none;
    stroke: var(--gf-amber);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
}

.break-encouragement {
    font-size: 1rem;
    color: var(--gf-text-secondary);
    padding: var(--gf-space-md) var(--gf-space-lg);
    background: rgba(255, 191, 0, 0.08);
    border-radius: var(--gf-radius-lg);
    max-width: 300px;
    line-height: 1.5;
}

/* Break complete */
.break-complete {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gf-space-lg);
}

.break-complete-emoji {
    font-size: 4rem;
    animation: pulse 1s ease-in-out infinite;
}

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

.break-complete h3 {
    font-family: var(--gf-font-heading);
    font-size: 1.5rem;
    color: var(--gf-green);
}

.break-complete p {
    color: var(--gf-text-secondary);
    font-size: 1rem;
}

/* Break duration selector in settings */
.break-duration-selector {
    display: flex;
    gap: var(--gf-space-sm);
}

.break-duration-btn {
    flex: 1;
    padding: var(--gf-space-sm) var(--gf-space-md);
    background: var(--gf-bg-elevated);
    border: 1px solid transparent;
    border-radius: var(--gf-radius-md);
    color: var(--gf-text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.break-duration-btn:hover {
    border-color: rgba(255, 191, 0, 0.3);
}

.break-duration-btn.active {
    background: rgba(255, 191, 0, 0.15);
    border-color: var(--gf-amber);
    color: var(--gf-amber);
}

/* ==========================================================================
   SMART SETUP / "SET IT UP FOR ME"
   ========================================================================== */

.smart-setup-btn {
    display: flex;
    align-items: center;
    gap: var(--gf-space-md);
    width: 100%;
    padding: var(--gf-space-md) var(--gf-space-lg);
    background: linear-gradient(135deg, rgba(255, 191, 0, 0.15) 0%, rgba(34, 197, 94, 0.15) 100%);
    border: 2px solid var(--gf-amber);
    border-radius: var(--gf-radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: var(--gf-space-lg);
    text-align: left;
}

.smart-setup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 191, 0, 0.2);
    background: linear-gradient(135deg, rgba(255, 191, 0, 0.25) 0%, rgba(34, 197, 94, 0.25) 100%);
}

.smart-setup-icon {
    font-size: 2rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(10deg); }
}

.smart-setup-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.smart-setup-title {
    font-family: var(--gf-font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gf-amber);
}

.smart-setup-desc {
    font-size: 0.85rem;
    color: var(--gf-text-secondary);
}

/* Smart setup confirmation toast */
.smart-setup-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--gf-green);
    color: white;
    padding: var(--gf-space-md) var(--gf-space-xl);
    border-radius: var(--gf-radius-full);
    font-weight: 500;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1000;
}

.smart-setup-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ==========================================================================
   LEGAL & PRIVACY SECTION
   ========================================================================== */

.legal-section h3 {
    margin-bottom: var(--gf-space-md);
}

.legal-link {
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
    padding: var(--gf-space-md);
    background: var(--gf-bg-elevated);
    border-radius: var(--gf-radius-md);
    color: var(--gf-text-primary);
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: var(--gf-space-md);
}

.legal-link:hover {
    background: rgba(255, 191, 0, 0.1);
}

.legal-icon {
    font-size: 1.2rem;
}

.legal-arrow {
    margin-left: auto;
    color: var(--gf-text-muted);
}

.health-disclaimer-box {
    padding: var(--gf-space-md);
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--gf-radius-md);
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
    margin-bottom: var(--gf-space-sm);
    color: var(--gf-red);
}

.disclaimer-icon {
    font-size: 1rem;
}

.health-disclaimer-box p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--gf-text-secondary);
    margin: 0;
}

/* Footer disclaimer for landing page */
.footer-disclaimer {
    padding: var(--gf-space-lg) 0;
    border-top: 1px solid rgba(255, 191, 0, 0.1);
    margin-top: var(--gf-space-lg);
}

.footer-disclaimer p {
    font-size: 0.75rem;
    line-height: 1.6;
    color: var(--gf-text-muted);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.footer-disclaimer strong {
    color: var(--gf-text-secondary);
}

/* ==========================================================================
   ENHANCED SELF-CARE SETTINGS
   ========================================================================== */

.care-category {
    background: var(--gf-bg-elevated);
    border-radius: var(--gf-radius-lg);
    padding: var(--gf-space-md);
    margin-bottom: var(--gf-space-md);
}

.care-category-header {
    display: flex;
    align-items: center;
    gap: var(--gf-space-sm);
    margin-bottom: var(--gf-space-sm);
}

.care-category-icon {
    font-size: 1.3rem;
}

.care-category-title {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gf-text-primary);
}

.care-category-options {
    padding-top: var(--gf-space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: var(--gf-space-sm);
}

.toggle.small {
    transform: scale(0.8);
}

.setting-label.small {
    font-size: 0.8rem;
    margin-bottom: var(--gf-space-xs);
}

.setting-description.small {
    font-size: 0.7rem;
}

.setting-item.compact {
    padding: var(--gf-space-sm) 0;
}

/* Frequency selector */
.frequency-selector {
    display: flex;
    gap: var(--gf-space-xs);
    flex-wrap: wrap;
}

.freq-btn {
    padding: var(--gf-space-xs) var(--gf-space-sm);
    background: var(--gf-bg-card);
    border: 1px solid transparent;
    border-radius: var(--gf-radius-md);
    color: var(--gf-text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.freq-btn:hover {
    border-color: rgba(255, 191, 0, 0.3);
}

.freq-btn.active {
    background: rgba(255, 191, 0, 0.15);
    border-color: var(--gf-amber);
    color: var(--gf-amber);
}

/* Meal count selector */
.meal-count-selector {
    display: flex;
    gap: var(--gf-space-xs);
}

.meal-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gf-bg-card);
    border: 1px solid transparent;
    border-radius: var(--gf-radius-md);
    color: var(--gf-text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.meal-btn:hover {
    border-color: rgba(255, 191, 0, 0.3);
}

.meal-btn.active {
    background: rgba(255, 191, 0, 0.15);
    border-color: var(--gf-amber);
    color: var(--gf-amber);
}

/* Meal times */
.meal-times {
    display: flex;
    flex-direction: column;
    gap: var(--gf-space-sm);
}

.meal-time-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--gf-space-xs) 0;
}

.meal-time-row span {
    font-size: 0.85rem;
    color: var(--gf-text-secondary);
}

.meal-time-input {
    background: var(--gf-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--gf-radius-md);
    color: var(--gf-text-primary);
    padding: var(--gf-space-xs) var(--gf-space-sm);
    font-size: 0.85rem;
    cursor: pointer;
}

.meal-time-input:focus {
    outline: none;
    border-color: var(--gf-amber);
}

/* Color scheme for time input */
.meal-time-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .break-ideas-list {
        grid-template-columns: 1fr;
    }

    .break-time-remaining {
        font-size: 2.5rem;
    }

    .break-timer-ring {
        width: 160px;
        height: 160px;
    }
}

/* ==========================================================================
   SCHEDULE COACH MODAL
   Smart scheduling guidance for ADHD users
   ========================================================================== */

.schedule-coach-modal .modal-content {
    max-width: 440px;
}

.schedule-coach-body {
    padding: var(--gf-space-sm) 0;
}

.schedule-message {
    font-size: 1.1rem;
    color: var(--gf-text-primary);
    line-height: 1.5;
    margin-bottom: var(--gf-space-md);
}

.schedule-suggestion {
    color: var(--gf-amber);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: var(--gf-space-lg);
    padding: var(--gf-space-sm) var(--gf-space-md);
    background: rgba(255, 191, 0, 0.1);
    border-radius: var(--gf-radius-md);
    border-left: 3px solid var(--gf-amber);
}

.schedule-actions {
    display: flex;
    gap: var(--gf-space-md);
}

.schedule-actions button {
    flex: 1;
}

/* Priority Picker Modal */
.priority-picker-modal .modal-content {
    max-width: 480px;
}

.priority-picker-body {
    padding: var(--gf-space-sm) 0;
}

.priority-picker-body > p {
    color: var(--gf-text-secondary);
    margin-bottom: var(--gf-space-lg);
    font-size: 0.95rem;
}

.priority-task-options {
    display: flex;
    flex-direction: column;
    gap: var(--gf-space-sm);
}

.priority-task-option {
    width: 100%;
    padding: var(--gf-space-md) var(--gf-space-lg);
    background: var(--gf-surface);
    border: 2px solid transparent;
    border-radius: var(--gf-radius-md);
    color: var(--gf-text-primary);
    font-size: 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.priority-task-option:hover {
    border-color: var(--gf-purple);
    background: rgba(147, 51, 234, 0.1);
    transform: translateX(4px);
}

/* ==========================================================================
   HYPERFOCUS TIMER & DURATION TRACKING
   Color changes based on time in hyperfocus mode
   ========================================================================== */

/* Timer display on button */
.hyperfocus-timer {
    display: none;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
    margin-left: var(--gf-space-xs);
}

.hyperfocus-button.active .hyperfocus-timer {
    display: inline;
}

/* Duration-based color stages */
/* 0-30 min: Purple (default active state) */
.hyperfocus-button.active {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    border-color: #a855f7;
}

/* 30-60 min: Blue - still good! */
.hyperfocus-button.active.duration-30 {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border-color: #60a5fa;
    animation: hyperfocus-pulse-blue 2s infinite;
}

/* 60-90 min: Teal - getting long */
.hyperfocus-button.active.duration-60 {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    border-color: #2dd4bf;
    animation: hyperfocus-pulse-teal 2s infinite;
}

/* 90-120 min: Amber - time to consider a break */
.hyperfocus-button.active.duration-90 {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    border-color: #fbbf24;
    animation: hyperfocus-pulse-amber 2s infinite;
}

/* 120+ min: Red - you should really take a break! */
.hyperfocus-button.active.duration-120 {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-color: #f87171;
    animation: hyperfocus-pulse-red 1.5s infinite;
}

@keyframes hyperfocus-pulse-blue {
    0%, 100% { box-shadow: 0 4px 20px rgba(59, 130, 246, 0.5); }
    50% { box-shadow: 0 6px 30px rgba(59, 130, 246, 0.7), 0 0 0 10px rgba(59, 130, 246, 0); }
}

@keyframes hyperfocus-pulse-teal {
    0%, 100% { box-shadow: 0 4px 20px rgba(20, 184, 166, 0.5); }
    50% { box-shadow: 0 6px 30px rgba(20, 184, 166, 0.7), 0 0 0 10px rgba(20, 184, 166, 0); }
}

@keyframes hyperfocus-pulse-amber {
    0%, 100% { box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5); }
    50% { box-shadow: 0 6px 30px rgba(245, 158, 11, 0.7), 0 0 0 10px rgba(245, 158, 11, 0); }
}

@keyframes hyperfocus-pulse-red {
    0%, 100% { box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5); }
    50% { box-shadow: 0 6px 30px rgba(239, 68, 68, 0.7), 0 0 0 12px rgba(239, 68, 68, 0); }
}

/* ==========================================================================
   HYPERFOCUS FULL PAGE VIEW
   Dedicated page with giant button for easy ADHD interaction
   ========================================================================== */

.hyperfocus-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s, visibility 0.3s;
}

.hyperfocus-page.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hyperfocus-page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 40px 20px;
    width: 100%;
    max-width: 400px;
    text-align: center;
    position: relative;
    height: 100%;
}

/* Close button */
.hyperfocus-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.hyperfocus-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Status text */
.hyperfocus-status {
    text-align: center;
}

.hyperfocus-title {
    font-family: var(--gf-font-display);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 12px 0;
}

.hyperfocus-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Giant round button */
.hyperfocus-giant-button {
    position: relative;
    width: 220px;
    height: 220px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s;
}

.hyperfocus-giant-button:hover {
    transform: scale(1.05);
}

.hyperfocus-giant-button:active {
    transform: scale(0.95);
}

.hyperfocus-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s;
}

.hyperfocus-giant-button.active .hyperfocus-glow {
    background: radial-gradient(circle, rgba(147, 51, 234, 0.3) 0%, transparent 70%);
    animation: glow-pulse 2s ease-in-out infinite;
}

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

.hyperfocus-circle {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a2a3e 0%, #1a1a2e 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5),
                inset 0 2px 4px rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.hyperfocus-giant-button.active .hyperfocus-circle {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    box-shadow: 0 10px 60px rgba(147, 51, 234, 0.5),
                inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

/* Duration stages */
.hyperfocus-giant-button.active.duration-30 .hyperfocus-circle {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    box-shadow: 0 10px 60px rgba(59, 130, 246, 0.5);
}

.hyperfocus-giant-button.active.duration-60 .hyperfocus-circle {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
    box-shadow: 0 10px 60px rgba(20, 184, 166, 0.5);
}

.hyperfocus-giant-button.active.duration-90 .hyperfocus-circle {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    box-shadow: 0 10px 60px rgba(245, 158, 11, 0.5);
}

.hyperfocus-giant-button.active.duration-120 .hyperfocus-circle {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    box-shadow: 0 10px 60px rgba(239, 68, 68, 0.5);
}

.hyperfocus-giant-icon {
    font-size: 4rem;
    line-height: 1;
}

.hyperfocus-giant-label {
    font-family: var(--gf-font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: 2px;
}

/* Timer display */
.hyperfocus-timer-display {
    text-align: center;
    transition: opacity 0.3s;
}

.hyperfocus-timer-display.hidden {
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.hyperfocus-timer-value {
    display: block;
    font-family: var(--gf-font-mono);
    font-size: 3.5rem;
    font-weight: 300;
    color: white;
    line-height: 1;
}

.hyperfocus-stage-message {
    display: block;
    font-size: 0.9rem;
    color: var(--gf-purple);
    margin-top: 8px;
    transition: color 0.3s;
}

/* Stage-based message colors */
.hyperfocus-page.duration-30 .hyperfocus-stage-message { color: #3b82f6; }
.hyperfocus-page.duration-60 .hyperfocus-stage-message { color: #14b8a6; }
.hyperfocus-page.duration-90 .hyperfocus-stage-message { color: #f59e0b; }
.hyperfocus-page.duration-120 .hyperfocus-stage-message { color: #ef4444; }

/* Tip */
.hyperfocus-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.tip-icon {
    font-size: 1.1rem;
}

/* Background gradient based on stage */
.hyperfocus-page.active {
    background: linear-gradient(180deg,
        rgba(147, 51, 234, 0.2) 0%,
        #0f0f1a 100%);
}

.hyperfocus-page.active.duration-30 {
    background: linear-gradient(180deg,
        rgba(59, 130, 246, 0.2) 0%,
        #0f0f1a 100%);
}

.hyperfocus-page.active.duration-60 {
    background: linear-gradient(180deg,
        rgba(20, 184, 166, 0.2) 0%,
        #0f0f1a 100%);
}

.hyperfocus-page.active.duration-90 {
    background: linear-gradient(180deg,
        rgba(245, 158, 11, 0.2) 0%,
        #0f0f1a 100%);
}

.hyperfocus-page.active.duration-120 {
    background: linear-gradient(180deg,
        rgba(239, 68, 68, 0.2) 0%,
        #0f0f1a 100%);
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .hyperfocus-giant-button {
        width: 180px;
        height: 180px;
    }

    .hyperfocus-giant-icon {
        font-size: 3rem;
    }

    .hyperfocus-giant-label {
        font-size: 1.2rem;
    }

    .hyperfocus-timer-value {
        font-size: 2.5rem;
    }

    .hyperfocus-title {
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   END-OF-DAY SELF-CHECK
   Help ADHD users locate important items before ending their day
   ========================================================================== */

.self-check-modal {
    max-width: 440px;
}

.self-check-body {
    padding: var(--gf-space-sm) 0;
}

.self-check-intro {
    color: var(--gf-text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--gf-space-lg);
    text-align: center;
}

.self-check-items {
    display: flex;
    flex-direction: column;
    gap: var(--gf-space-md);
}

.self-check-item {
    display: flex;
    align-items: center;
    gap: var(--gf-space-md);
    padding: var(--gf-space-md);
    background: var(--gf-surface);
    border-radius: var(--gf-radius-md);
    border: 2px solid transparent;
    transition: all 0.2s;
}

.self-check-item.checked {
    border-color: var(--gf-green);
    background: rgba(34, 197, 94, 0.1);
}

.self-check-item.needs-attention {
    border-color: var(--gf-amber);
    background: rgba(255, 191, 0, 0.1);
}

.self-check-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.self-check-content {
    flex: 1;
}

.self-check-question {
    color: var(--gf-text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.self-check-location {
    color: var(--gf-text-secondary);
    font-size: 0.8rem;
    margin-top: 4px;
}

.self-check-location:not(:empty)::before {
    content: '📍 ';
}

.self-check-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.check-btn {
    padding: 8px 16px;
    border-radius: var(--gf-radius-md);
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.check-btn.yes {
    background: rgba(34, 197, 94, 0.15);
    color: var(--gf-green);
}

.check-btn.yes:hover {
    background: rgba(34, 197, 94, 0.25);
}

.check-btn.yes.selected {
    background: var(--gf-green);
    color: white;
}

.check-btn.no {
    background: rgba(255, 191, 0, 0.15);
    color: var(--gf-amber);
}

.check-btn.no:hover {
    background: rgba(255, 191, 0, 0.25);
}

.check-btn.no.selected {
    background: var(--gf-amber);
    color: #1a1a1a;
}

/* Location input */
.self-check-locate {
    margin-top: var(--gf-space-lg);
    padding: var(--gf-space-md);
    background: var(--gf-surface);
    border-radius: var(--gf-radius-md);
    border-left: 3px solid var(--gf-amber);
}

.locate-prompt {
    color: var(--gf-text-primary);
    font-size: 0.95rem;
    margin-bottom: var(--gf-space-sm);
}

.locate-actions {
    display: flex;
    gap: var(--gf-space-sm);
    margin-top: var(--gf-space-md);
}

.locate-actions button {
    flex: 1;
}

/* Summary */
.self-check-summary {
    text-align: center;
    padding: var(--gf-space-xl) var(--gf-space-md);
}

.summary-icon {
    font-size: 3rem;
    margin-bottom: var(--gf-space-md);
}

.summary-text {
    color: var(--gf-green);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Footer */
.self-check-footer {
    display: flex;
    gap: var(--gf-space-md);
    padding-top: var(--gf-space-md);
    border-top: 1px solid var(--gf-surface);
    margin-top: var(--gf-space-md);
}

.self-check-footer button {
    flex: 1;
}

/* Self-Check Settings */
.self-check-settings {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.check-item-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--gf-surface);
    border-radius: var(--gf-radius-sm);
    font-size: 0.9rem;
    color: var(--gf-text-primary);
    cursor: pointer;
    transition: background 0.2s;
}

.check-item-toggle:hover {
    background: var(--gf-surface-elevated);
}

.check-item-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--gf-purple);
    cursor: pointer;
}

@media (max-width: 480px) {
    .self-check-settings {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SELF-CHECK FULL PAGE
   ========================================================================== */

.self-check-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: linear-gradient(180deg, #1a2e1a 0%, #0f1a0f 100%);
    overflow-y: auto;
    transition: opacity 0.3s, visibility 0.3s;
}

.self-check-page.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.self-check-page-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.self-check-header {
    text-align: center;
    padding: 20px 0 30px;
    position: relative;
}

.self-check-page .self-check-close {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}

.self-check-page-title {
    font-family: var(--gf-font-display);
    font-size: 2rem;
    color: white;
    margin: 0 0 8px;
}

.self-check-page-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin: 0;
}

/* Item Cards */
.self-check-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.self-check-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.self-check-card.checked {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.5);
}

.self-check-card.unknown {
    background: rgba(255, 191, 0, 0.1);
    border-color: rgba(255, 191, 0, 0.4);
}

.self-check-card-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.self-check-card-content {
    flex: 1;
}

.self-check-card-name {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.self-check-card-location {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-top: 2px;
}

.self-check-card-actions {
    display: flex;
    gap: 8px;
}

.check-card-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-card-btn.yes {
    background: rgba(34, 197, 94, 0.2);
    color: var(--gf-green);
}

.check-card-btn.yes:hover,
.check-card-btn.yes.selected {
    background: var(--gf-green);
    color: white;
}

.check-card-btn.no {
    background: rgba(255, 191, 0, 0.2);
    color: var(--gf-amber);
}

.check-card-btn.no:hover,
.check-card-btn.no.selected {
    background: var(--gf-amber);
    color: #1a1a1a;
}

/* Location input inline */
.self-check-card-locate {
    width: 100%;
    margin-top: 12px;
    display: flex;
    gap: 8px;
}

.self-check-card-locate input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 191, 0, 0.3);
    border-radius: 8px;
    padding: 10px 12px;
    color: white;
    font-size: 0.9rem;
}

.self-check-card-locate input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.self-check-card-locate button {
    padding: 10px 16px;
    background: var(--gf-amber);
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Progress */
.self-check-progress {
    padding: 20px 0;
    text-align: center;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gf-green), #34d399);
    border-radius: 3px;
    transition: width 0.3s;
    width: 0%;
}

.progress-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Completion */
.self-check-complete {
    text-align: center;
    padding: 40px 20px;
    animation: fadeInUp 0.5s ease;
}

.self-check-complete.hidden {
    display: none;
}

.complete-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.complete-title {
    font-family: var(--gf-font-display);
    font-size: 1.8rem;
    color: white;
    margin: 0 0 8px;
}

.complete-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin: 0 0 24px;
}

.complete-btn {
    padding: 14px 40px;
    font-size: 1.1rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Self-Check Prompt Modal (Do Now or Later)
   ========================================================================== */

.self-check-prompt-modal {
    background: rgba(0, 0, 0, 0.85);
}

.self-check-prompt-content {
    max-width: 400px;
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(180deg, #1a3a1a 0%, #0f1a0f 100%);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.prompt-header {
    margin-bottom: 28px;
}

.prompt-emoji {
    font-size: 4rem;
    margin-bottom: 16px;
}

.prompt-header h2 {
    font-family: var(--gf-font-display);
    font-size: 1.75rem;
    color: white;
    margin: 0 0 8px;
}

.prompt-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.prompt-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prompt-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 24px;
    border-radius: 16px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

.prompt-btn.primary {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    font-size: 1.25rem;
}

.prompt-btn.primary:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
}

.prompt-btn-icon {
    font-size: 1.5rem;
}

.prompt-later-section {
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    margin-top: 8px;
}

.later-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0 0 12px;
}

.later-options {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.later-btn {
    flex: 1;
    padding: 12px 8px;
    background: var(--gf-bg-secondary);
    border: 1px solid var(--gf-text-muted);
    border-radius: 10px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.later-btn:hover {
    background: rgba(74, 222, 128, 0.15);
    border-color: var(--gf-green);
}

.specific-time-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.specific-time-row label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    white-space: nowrap;
}

.specific-time-row input[type="time"] {
    flex: 1;
    padding: 8px 12px;
    background: var(--gf-bg-secondary);
    border: 1px solid var(--gf-text-muted);
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    font-family: inherit;
}

.set-time-btn {
    padding: 8px 16px;
    background: var(--gf-green);
    border: none;
    border-radius: 8px;
    color: black;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.set-time-btn:hover {
    background: #2ee66e;
}

.prompt-btn.skip {
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    font-weight: normal;
    padding: 12px;
}

.prompt-btn.skip:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* Task Age Indicator */
.task-age {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
}

.task-list-item {
    transition: border-color 0.3s ease;
}

/* ==========================================================================
   Timesheet / Work Session Tracker
   ========================================================================== */

.hours-btn {
    flex: 1;
    padding: 10px 8px;
    background: var(--gf-bg-secondary);
    border: 1px solid var(--gf-text-muted);
    border-radius: 8px;
    color: var(--gf-text-secondary);
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.hours-btn:hover {
    border-color: var(--gf-green);
}

.hours-btn.active {
    background: rgba(34, 197, 94, 0.15);
    border-color: var(--gf-green);
    color: var(--gf-green);
}

.form-select.small {
    padding: 8px 12px;
    background: var(--gf-bg-secondary);
    border: 1px solid var(--gf-text-muted);
    border-radius: 8px;
    color: var(--gf-text-primary);
    font-size: 0.85rem;
    font-family: inherit;
}

.setting-item.compact {
    padding: 8px 0;
}

/* ==========================================================================
   "We Organize For You" Section
   ========================================================================== */

.organize-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--gf-bg-primary) 0%, #0a1a0a 100%);
}

.organize-header {
    text-align: center;
    margin: 0 auto 40px;
}

.organize-header h2 {
    font-family: var(--gf-font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--gf-text-primary);
}

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

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

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

.organize-card {
    background: var(--gf-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--gf-radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.organize-card:hover {
    border-color: var(--gf-green);
    transform: translateY(-4px);
}

.organize-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

.organize-card h3 {
    font-family: var(--gf-font-display);
    font-size: 1rem;
    color: var(--gf-text-primary);
    margin: 0;
}

/* ==========================================================================
   Gentle Onboarding Flow
   ========================================================================== */

.onboarding-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.onboarding-card {
    background: var(--gf-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    max-width: 400px;
    width: 100%;
    text-align: center;
}

.onboarding-progress {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.onboarding-progress .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gf-text-muted);
    transition: all 0.3s;
}

.onboarding-progress .dot.active {
    background: var(--gf-green);
    width: 24px;
    border-radius: 4px;
}

.onboarding-progress .dot.done {
    background: var(--gf-green);
}

.onboarding-content {
    margin-bottom: 28px;
}

.onboarding-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.onboarding-content h3 {
    font-family: var(--gf-font-display);
    font-size: 1.5rem;
    color: var(--gf-text-primary);
    margin-bottom: 12px;
}

.onboarding-content p {
    color: var(--gf-text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.onboarding-example {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--gf-text-secondary);
    font-style: italic;
}

.onboarding-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.onboarding-btn {
    flex: 1;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.onboarding-btn.skip {
    background: var(--gf-bg-secondary);
    color: var(--gf-text-secondary);
}

.onboarding-btn.skip:hover {
    background: var(--gf-bg-tertiary);
    color: var(--gf-text-primary);
}

.onboarding-btn.primary {
    background: var(--gf-green);
    color: black;
}

.onboarding-btn.primary:hover {
    background: #2ee66e;
    transform: scale(1.02);
}

.onboarding-skip-all {
    background: none;
    border: none;
    color: var(--gf-text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 8px;
    font-family: inherit;
}

.onboarding-skip-all:hover {
    color: var(--gf-text-secondary);
    text-decoration: underline;
}

/* Quick Setup within onboarding */
.onboarding-quick-setup {
    text-align: left;
    margin-top: 16px;
}

.onboarding-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.onboarding-toggle-row:last-child {
    border-bottom: none;
}

.onboarding-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.onboarding-toggle-label span {
    font-size: 1.2rem;
}

/* ==========================================================================
   "Same as Yesterday" Modal
   ========================================================================== */

.same-as-yesterday-modal {
    background: rgba(0, 0, 0, 0.85);
}

.same-yesterday-content {
    max-width: 400px;
    text-align: center;
    padding: 32px;
    background: linear-gradient(180deg, #1a2a1a 0%, var(--gf-bg-card) 100%);
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.yesterday-emoji {
    font-size: 4rem;
    margin-bottom: 16px;
}

.same-yesterday-content h2 {
    font-family: var(--gf-font-display);
    font-size: 1.5rem;
    color: var(--gf-text-primary);
    margin-bottom: 20px;
}

.yesterday-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}

.yesterday-icon {
    font-size: 2.5rem;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.yesterday-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yesterday-actions .btn-primary {
    padding: 18px 24px;
    font-size: 1.1rem;
}

.yesterday-actions .btn-secondary {
    padding: 14px 20px;
}

/* ==========================================================================
   Simple Mode Task Actions
   ========================================================================== */

.task-actions.simple-mode {
    display: flex;
    gap: 12px;
}

.done-btn.big {
    flex: 2;
    padding: 20px 32px;
    font-size: 1.3rem;
}

.push-btn {
    flex: 1;
    padding: 20px 24px;
    background: var(--gf-bg-secondary);
    border: 1px solid var(--gf-text-muted);
    border-radius: var(--gf-radius-lg);
    color: var(--gf-text-secondary);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.push-btn:hover {
    background: var(--gf-bg-tertiary);
    border-color: var(--gf-amber);
    color: var(--gf-amber);
}

/* Pro Mode Actions */
.pro-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pro-options {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.pro-btn {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gf-bg-secondary);
    border: 1px solid var(--gf-text-muted);
    color: var(--gf-text-secondary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s;
}

.pro-btn:hover {
    background: var(--gf-bg-tertiary);
    border-color: var(--gf-amber);
    color: var(--gf-amber);
    transform: scale(1.05);
}

/* Pro Mode Actions */
.task-actions.pro-mode .secondary-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

/* Defer Options */
.defer-options {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding: 12px;
    background: var(--gf-bg-secondary);
    border-radius: var(--gf-radius-md);
}

.defer-choice {
    flex: 1;
    padding: 12px 8px;
    background: var(--gf-bg-card);
    border: 1px solid var(--gf-text-muted);
    border-radius: 8px;
    color: var(--gf-text-secondary);
    font-size: 0.85rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}

.defer-choice:hover {
    border-color: var(--gf-amber);
    color: var(--gf-amber);
}

.defer-choice.cancel {
    background: transparent;
    border-color: transparent;
    color: var(--gf-text-muted);
}

/* ==========================================================================
   Experience Mode Selector
   ========================================================================== */

.mode-selector {
    display: flex;
    gap: 12px;
}

.mode-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: var(--gf-bg-secondary);
    border: 2px solid transparent;
    border-radius: var(--gf-radius-lg);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.mode-option:hover {
    background: var(--gf-bg-tertiary);
}

.mode-option.active {
    background: rgba(34, 197, 94, 0.1);
    border-color: var(--gf-green);
}

.mode-icon {
    font-size: 2rem;
}

.mode-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gf-text-primary);
}

.mode-desc {
    font-size: 0.8rem;
    color: var(--gf-text-secondary);
    text-align: center;
}
