/* ============================================
   NowOne — Landing Page Styles
   Brand Colors & Design System
   ============================================ */

:root {
    /* Brand Colors */
    --blue: #5B8DEF;
    --blue-dark: #4A7AD8;
    --blue-light: #7DA8FF;
    --cream: #FBF5EC;
    --cream-dark: #F5EDE0;
    --pink: #F7A6C7;
    --pink-hot: #E8518D;
    --dark: #2E2E2E;
    --gold: #D9A066;
    --gold-light: #E4B87E;
    --white: #FFFFFF;
    --text: #2E2E2E;
    --text-light: rgba(0, 0, 0, 0.5);
    --card-bg: #F5EDE0;
    --card-bg-light: #F8F2E8;
    --beige: #F0E6D4;

    /* Spacing */
    --section-pad: 120px;
    --container-max: 1200px;

    /* Radius */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 40px;

    /* Shadows */
    --shadow-soft: 0 4px 30px rgba(91, 141, 239, 0.08);
    --shadow-card: 0 8px 40px rgba(91, 141, 239, 0.12);
    --shadow-phone: 0 20px 60px rgba(46, 46, 46, 0.15);
    --shadow-glow: 0 0 60px rgba(91, 141, 239, 0.3);
}

/* ============================================
   Utilities
   ============================================ */

.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;
}

/* ============================================
   Reset & Base
   ============================================ */

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

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

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

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

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

/* ============================================
   Smooth Sections Container
   ============================================ */

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

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-title .highlight {
    background: linear-gradient(135deg, var(--blue), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.15rem;
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 64px;
    font-weight: 600;
}

/* ============================================
   Navigation
   ============================================ */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#navbar.scrolled {
    background: rgba(251, 245, 236, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--blue);
}

.nav-smiley {
    animation: smileyBounce 3s ease-in-out infinite;
}

@keyframes smileyBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-4px) rotate(-3deg); }
    75% { transform: translateY(-2px) rotate(3deg); }
}

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

.nav-links a {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

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

.nav-cta {
    background: var(--blue) !important;
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 141, 239, 0.4);
    background: var(--blue-dark) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
    position: relative;
}

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    position: relative;
    overflow: hidden;
}

/* Animated Background Blobs */
.hero-bg-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blobFloat 8s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--blue-light);
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: var(--pink);
    top: 20%;
    right: -5%;
    animation-delay: -3s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--gold-light);
    bottom: 10%;
    left: 30%;
    animation-delay: -5s;
}

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

.hero-content {
    text-align: center;
    z-index: 2;
    animation: heroFadeIn 1s ease-out;
}

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

.hero-smiley {
    margin: 0 auto 24px;
    animation: smileyFloat 4s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.3s;
}

.hero-smiley:hover {
    transform: scale(1.1) rotate(5deg);
}

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

.hero-title {
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 16px;
}

.title-now {
    color: var(--blue);
}

.title-one {
    color: var(--blue);
    opacity: 0.7;
}

.hero-tagline {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 8px;
    animation: heroFadeIn 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 40px;
    animation: heroFadeIn 1s ease-out 0.4s both;
}

.hero-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--dark);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 800;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    animation: heroFadeIn 1s ease-out 0.6s both;
    position: relative;
    overflow: hidden;
}

.hero-download::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    opacity: 0;
    transition: opacity 0.4s;
}

.hero-download:hover::before {
    opacity: 1;
}

.hero-download:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.hero-download .apple-icon,
.hero-download span {
    position: relative;
    z-index: 1;
}

/* Floating Phone Mockups */
.hero-phones {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 60px;
    z-index: 2;
    perspective: 1000px;
}

.phone-mockup {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-phone);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    animation: phoneFloat 6s ease-in-out infinite;
}

.phone-mockup img {
    width: 100%;
    height: auto;
}

.phone-left {
    width: 200px;
    transform: rotate(-5deg) translateY(20px);
    animation-delay: -1s;
}

.phone-center {
    width: 240px;
    transform: translateY(-10px);
    z-index: 3;
    animation-delay: -2s;
}

.phone-right {
    width: 200px;
    transform: rotate(5deg) translateY(20px);
    animation-delay: -3s;
}

.phone-mockup:hover {
    transform: translateY(-10px) scale(1.05) !important;
    box-shadow: var(--shadow-glow);
}

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

.phone-left {
    animation-name: phoneFloatLeft;
}

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

.phone-center {
    animation-name: phoneFloatCenter;
}

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

.phone-right {
    animation-name: phoneFloatRight;
}

@keyframes phoneFloatRight {
    0%, 100% { transform: rotate(5deg) translateY(20px); }
    50% { transform: rotate(5deg) translateY(10px); }
}

/* ============================================
   Features Section
   ============================================ */

.features {
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, transparent, var(--blue-light), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.feature-card > p {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 20px;
}

.feature-screenshot {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--cream);
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.05);
    max-height: 280px;
    display: flex;
    align-items: flex-start;
}

.feature-screenshot img {
    width: 100%;
    transition: transform 8s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover .feature-screenshot img {
    transform: translateY(-20%);
}

/* ============================================
   Coming Soon Features
   ============================================ */

.coming-soon-title {
    margin-top: 80px;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.coming-soon-card {
    aspect-ratio: 1;
    border: 2px dashed var(--cream-dark);
    border-radius: var(--radius-lg);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: default;
}

.coming-soon-card:hover {
    border-color: var(--blue-light);
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
}

.coming-soon-icon {
    font-size: 2rem;
    font-weight: 900;
    color: var(--cream-dark);
    transition: color 0.3s;
}

.coming-soon-card:hover .coming-soon-icon {
    color: var(--blue);
}

.coming-soon-revealed {
    flex-direction: column;
    gap: 12px;
    border-style: solid;
    border-color: var(--cream-dark);
}

.coming-soon-revealed-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text);
}

/* ============================================
   Interactive Task Demo
   ============================================ */

.try-it-section {
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
}

.demo-phone {
    max-width: 380px;
    margin: 0 auto;
    background: var(--cream);
    border-radius: 44px;
    padding: 16px;
    box-shadow: var(--shadow-phone), inset 0 0 0 3px var(--cream-dark);
    position: relative;
}

.demo-phone-notch {
    width: 120px;
    height: 28px;
    background: var(--dark);
    border-radius: 20px;
    margin: 0 auto 20px;
}

.demo-phone-screen {
    background: var(--cream);
    border-radius: 28px;
    padding: 20px;
}

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

.demo-smiley {
    flex-shrink: 0;
}

.demo-tabs {
    display: flex;
    gap: 8px;
    flex: 1;
}

.demo-tab {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    background: var(--cream-dark);
    color: var(--text-light);
    transition: all 0.3s;
}

.demo-tab.active {
    background: var(--pink);
    color: var(--white);
}

.demo-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 12px;
}

.demo-tasks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.demo-task {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--cream-dark);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    user-select: none;
}

.demo-task:hover {
    background: var(--beige);
}

.demo-task.completed {
    opacity: 0.5;
    transform: scale(0.97);
}

.demo-task.completed .demo-task-title {
    text-decoration: line-through;
    color: var(--text-light);
}

.demo-task.completing {
    animation: taskPop 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes taskPop {
    0% { transform: scale(1); }
    30% { transform: scale(1.04); }
    60% { transform: scale(0.97); }
    100% { transform: scale(0.97); }
}

.demo-checkbox {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2.5px solid var(--text-light);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    margin-top: 2px;
}

.check-svg {
    width: 16px;
    height: 16px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-task.completed .demo-checkbox {
    background: var(--blue);
    border-color: var(--blue);
    animation: checkboxPop 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-task.completed .check-svg {
    opacity: 1;
    transform: scale(1);
}

@keyframes checkboxPop {
    0% { transform: scale(1); }
    40% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.demo-task-content {
    flex: 1;
}

.demo-task-title {
    font-weight: 700;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 6px;
    transition: all 0.3s;
}

.demo-task-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.tag-high { background: #FDDEDE; color: #D44; }
.tag-medium { background: #FFF0D4; color: var(--gold); }
.tag-low { background: #E8F4E8; color: #5A8; }
.tag-today { background: var(--pink); color: var(--white); }
.tag-module { background: var(--cream); color: var(--text-light); }
.tag-subtasks { background: #E8EDFF; color: var(--blue); }

.demo-progress-bar {
    height: 6px;
    background: var(--cream-dark);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.demo-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--blue), var(--pink));
    border-radius: 3px;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-progress-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
}

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

/* ============================================
   Demo — Dual View System
   ============================================ */

.demo-view {
    display: none;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-view.active {
    display: block;
    opacity: 1;
}

.demo-view.fade-out {
    opacity: 0;
}

/* Task fade-in */
.demo-task {
    opacity: 0;
    transform: translateY(12px);
}

.demo-task.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Demo — Mail View
   ============================================ */

.demo-mail-label {
    display: flex;
    align-items: center;
    gap: 4px;
}

.demo-mail-icon {
    font-size: 0.85rem;
}

.demo-mail-badge {
    background: var(--pink-hot);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 10px;
    margin-left: 6px;
}

.demo-mail-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.demo-mail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--cream-dark);
    border-radius: var(--radius-md);
    position: relative;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-mail-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
}

.demo-mail-content {
    flex: 1;
    min-width: 0;
}

.demo-mail-sender {
    font-weight: 800;
    font-size: 0.85rem;
}

.demo-mail-subject {
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text);
}

.demo-mail-preview {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.demo-mail-time {
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 700;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 2px;
}

/* Unread dot */
.demo-mail-unread-dot {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--blue);
    border-radius: 50%;
    animation: pulseDot 1.5s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.4); opacity: 0.7; }
}

/* New mail slide-in */
.demo-mail-new {
    transform: translateY(100%);
    opacity: 0;
}

.demo-mail-new.slide-in {
    transform: translateY(0);
    opacity: 1;
}

/* Tap ripple */
.demo-mail-item.tapped {
    background: var(--beige);
}

.demo-mail-item.tapped::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    background: rgba(91, 141, 239, 0.15);
    animation: tapRipple 0.6s ease-out forwards;
}

@keyframes tapRipple {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* Mail morph animation */
.demo-mail-item.morphing {
    animation: mailMorph 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes mailMorph {
    0% { transform: scale(1); opacity: 1; }
    40% { transform: scale(0.95) translateY(-10px); opacity: 0.8; border-radius: 20px; }
    70% { transform: scale(0.6) translateY(-60px); opacity: 0.4; }
    100% { transform: scale(0.3) translateY(-120px); opacity: 0; }
}

/* ============================================
   Demo — Typewriter & Tags
   ============================================ */

.typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--blue);
    margin-left: 2px;
    animation: cursorBlink 0.6s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Tags animate in */
.demo-task-tags .tag {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-task-tags .tag.pop-in {
    opacity: 1;
    transform: scale(1);
}

/* "From Mail" tag */
.tag-from-mail {
    background: linear-gradient(135deg, rgba(251, 177, 255, 0.15), rgba(232, 81, 141, 0.15));
    color: var(--pink-hot);
    border: 1.5px solid var(--pink);
}

/* SVG checkmark draw animation */
.demo-task.auto-completing .check-svg polyline {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: drawCheck 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

/* ============================================
   Demo — Story Step Indicators
   ============================================ */

.demo-story-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.demo-step {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-light);
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--cream-dark);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-step.active {
    background: var(--blue);
    color: var(--white);
}

.demo-step-divider {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 600;
}

/* Smiley celebration bounce */
.demo-smiley.celebrating {
    animation: smileyCelebrate 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes smileyCelebrate {
    0% { transform: scale(1) rotate(0); }
    25% { transform: scale(1.2) rotate(-10deg); }
    50% { transform: scale(1.15) rotate(10deg); }
    75% { transform: scale(1.1) rotate(-5deg); }
    100% { transform: scale(1) rotate(0); }
}

/* ============================================
   Demo — Reduced Motion
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    .demo-view { transition: none; }
    .demo-mail-new { transition: none; }
    .demo-mail-item.morphing { animation: none; }
    .demo-task { transition: none; }
    .typewriter-cursor { animation: none; opacity: 1; }
    .demo-mail-unread-dot { animation: none; }
    .demo-smiley.celebrating { animation: none; }
    .float-decor,
    .footer-decor-icon { animation: none !important; }
}

/* ============================================
   Stats Section
   ============================================ */

.stats-section {
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
}

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

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 28px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.stat-label {
    font-size: 1.1rem;
    font-weight: 800;
    margin-top: 20px;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 4px;
}

/* Progress Ring */
.progress-ring-container {
    position: relative;
    display: inline-block;
}

.progress-ring-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: baseline;
}

.progress-percent {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--blue);
}

.progress-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
    margin-left: 2px;
}

/* Stat Counters */
.stat-counters {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.stat-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.counter-value {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--blue);
}

.counter-done { color: var(--gold); }
.counter-overdue { color: var(--pink-hot); }

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

/* Zone Distribution */
.zone-distribution {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.zone-bar {
    display: flex;
    align-items: center;
    gap: 12px;
}

.zone-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    min-width: 64px;
}

.zone-track {
    flex: 1;
    height: 10px;
    background: var(--cream-dark);
    border-radius: 5px;
    overflow: hidden;
}

.zone-fill {
    height: 100%;
    border-radius: 5px;
    width: 0%;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.zone-inbox { background: var(--blue); }
.zone-later { background: var(--gold); }
.zone-organise { background: var(--blue-light); }
.zone-done { background: var(--dark); }

.zone-count {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text);
    min-width: 24px;
    text-align: right;
}

/* ============================================
   Roadmap Section — Horizontal
   ============================================ */

.roadmap-section {
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
}

.roadmap-h {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Horizontal connecting line */
.roadmap-h-line {
    position: absolute;
    top: 14px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: var(--cream-dark);
    border-radius: 2px;
    z-index: 0;
    overflow: hidden;
}

.roadmap-h-line-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--blue), var(--pink), var(--gold-light));
    border-radius: 2px;
    transition: width 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Each roadmap item */
.roadmap-h-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 12px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Dot */
.roadmap-h-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--cream-dark);
    margin-bottom: 16px;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.roadmap-h-item.active .roadmap-h-dot,
.roadmap-h-dot.pulse {
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 0 0 0 rgba(91, 141, 239, 0.5);
    animation: dotPulseH 2s ease-in-out infinite;
}

@keyframes dotPulseH {
    0%, 100% { box-shadow: 0 0 0 0 rgba(91, 141, 239, 0.5); }
    50% { box-shadow: 0 0 0 10px rgba(91, 141, 239, 0); }
}

.roadmap-h-item.visible .roadmap-h-dot {
    border-color: var(--blue-light);
}

/* Badge */
.roadmap-h-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.roadmap-h-badge.current {
    background: var(--blue);
    color: var(--white);
}

.roadmap-h-badge.soon {
    background: var(--cream-dark);
    color: var(--gold);
}

/* Text */
.roadmap-h-item h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.roadmap-h-item p {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.45;
    max-width: 180px;
}

/* Coming Soon hero button style */
.coming-soon-hero {
    cursor: default;
    pointer-events: none;
    opacity: 0.85;
}

.coming-soon-badge {
    cursor: default;
    pointer-events: none;
}

/* ============================================
   Contact Section
   ============================================ */

.contact-section {
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
}

.contact-card {
    background: linear-gradient(135deg, var(--white), #F8F0FF);
    border-radius: var(--radius-xl);
    padding: 56px 44px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 300px;
    height: 300px;
    background: var(--pink);
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(60px);
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 250px;
    height: 250px;
    background: var(--blue);
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(60px);
}

.contact-smiley {
    margin-bottom: 16px;
    animation: smileyFloat 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.contact-card h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
}

.contact-card > p {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

/* Contact Form */
.contact-form {
    position: relative;
    z-index: 1;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--cream-dark);
    border-radius: var(--radius-sm);
    background: var(--white);
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #c0b8a8;
    font-weight: 600;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue-light);
    box-shadow: 0 0 0 4px rgba(91, 141, 239, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--pink-hot);
    box-shadow: 0 0 0 4px rgba(232, 81, 141, 0.08);
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A7A7A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
    line-height: 1.5;
}

/* Submit Button */
.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--blue);
    color: var(--white);
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    margin-top: 4px;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: var(--blue-dark);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-submit-btn .btn-icon {
    transition: transform 0.3s;
}

.contact-submit-btn:hover .btn-icon {
    transform: translate(3px, -3px);
}

.contact-submit-btn.sending {
    pointer-events: none;
    opacity: 0.8;
}

.contact-submit-btn.sent {
    background: #5A8;
    pointer-events: none;
}

/* Success message */
.form-success-msg {
    text-align: center;
    padding: 20px 0 4px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #5A8;
    animation: fadeInUp 0.4s ease-out;
}

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

/* ============================================
   Floating Decorative Elements
   ============================================ */

@keyframes floatDrift {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -20px) rotate(3deg); }
    50% { transform: translate(-10px, -35px) rotate(-2deg); }
    75% { transform: translate(20px, -15px) rotate(4deg); }
}

@keyframes floatSway {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    33% { transform: translateY(-18px) rotate(-6deg) scale(1.03); }
    66% { transform: translateY(-8px) rotate(5deg) scale(0.97); }
}

@keyframes floatGlide {
    0%, 100% { transform: translate(0, 0) rotate(-2deg); }
    50% { transform: translate(-25px, -20px) rotate(3deg); }
}

@keyframes floatDriftSlow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -25px) rotate(-4deg); }
}

.float-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.45;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    will-change: transform;
}

.float-task {
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: 30px;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--dark);
    box-shadow: var(--shadow-soft);
    white-space: nowrap;
    animation: floatDrift 6s ease-in-out infinite;
}

.float-keyword {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    animation: floatGlide 7s ease-in-out infinite;
}

.float-keyword--blue { color: var(--blue); opacity: 0.4; }
.float-keyword--pink { color: var(--pink); opacity: 0.45; }
.float-keyword--gold { color: var(--gold); opacity: 0.4; }

.float-calendar {
    background: var(--white);
    border-radius: var(--radius-sm);
    width: 90px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    animation: floatSway 5s ease-in-out infinite;
}

.float-calendar-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
}

.float-calendar-body {
    padding: 5px 8px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
}

.float-smiley {
    width: 32px;
    height: 32px;
    animation: floatSway 6s ease-in-out infinite;
}

.float-smiley svg {
    width: 100%;
    height: 100%;
}

.float-icon-pill {
    background: var(--white);
    border: 1.5px solid var(--cream-dark);
    border-radius: 20px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--dark);
    box-shadow: var(--shadow-soft);
    white-space: nowrap;
    animation: floatDriftSlow 8s ease-in-out infinite;
}

.float-icon-pill svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.float-todo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
    animation: floatDriftSlow 9s ease-in-out infinite;
}

.float-todo-check {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 2px solid var(--cream-dark);
    flex-shrink: 0;
}

.float-todo-check--done {
    background: var(--blue);
    border-color: var(--blue);
    position: relative;
}

.float-todo-check--done::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 0;
    width: 5px;
    height: 8px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.footer-decor-icon {
    position: absolute;
    bottom: -15px;
    right: 8%;
    width: 80px;
    height: 80px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
    border-radius: var(--radius-md);
    animation: floatGlide 8s ease-in-out infinite;
}

.footer-decor-icon img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: 48px 0;
    border-top: 1px solid var(--cream-dark);
    position: relative;
    overflow: hidden;
}

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

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--blue);
    margin-bottom: 8px;
}

.footer-tagline {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 16px;
}

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

.footer-links a {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: color 0.3s;
}

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

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

/* ============================================
   Legal Pages (Privacy & Terms)
   ============================================ */

.legal-page {
    padding: calc(80px + var(--section-pad) / 2) 0 var(--section-pad);
}

.legal-content {
    max-width: 780px;
    margin: 0 auto;
}

.legal-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 8px;
    line-height: 1.2;
}

.legal-updated {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 48px;
}

.legal-section {
    margin-bottom: 36px;
}

.legal-section h2 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--dark);
}

.legal-section p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 12px;
    font-weight: 500;
}

.legal-section ul {
    margin: 8px 0 12px 24px;
    line-height: 1.8;
    font-weight: 500;
}

.legal-section li {
    margin-bottom: 4px;
}

.legal-section a {
    color: var(--blue);
    font-weight: 700;
    transition: color 0.3s;
}

.legal-section a:hover {
    color: var(--blue-dark);
}

/* ============================================
   Scroll Animations
   ============================================ */

.anim-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.anim-scale-up {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

body.menu-open {
    overflow: hidden;
}

body.menu-open #navbar {
    z-index: 1100;
}

/* ============================================
   Mobile Menu Overlay (appended to body via JS)
   ============================================ */

#mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(251, 245, 236, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

#mobile-menu.open {
    display: flex;
    opacity: 1;
    animation: menuFadeIn 0.3s ease-out forwards;
}

@keyframes menuFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#mobile-menu a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.2s;
}

#mobile-menu a:hover {
    color: var(--blue);
}

/* ============================================
   Responsive Design
   ============================================ */

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

    .coming-soon-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .stats-grid .stat-card:last-child {
        grid-column: span 2;
    }

    .float-task {
        font-size: 0.65rem;
        padding: 4px 12px;
    }

    .float-keyword {
        font-size: 0.75rem;
    }

    .float-calendar {
        width: 75px;
    }

    .float-smiley {
        width: 24px;
        height: 24px;
    }

    .float-icon-pill {
        font-size: 0.6rem;
        padding: 3px 10px;
    }

    .float-todo {
        font-size: 0.6rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 80px;
    }

    .float-decor {
        display: none;
    }

    .footer-decor-icon {
        width: 50px;
        height: 50px;
        opacity: 0.08;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .legal-page {
        padding: calc(80px + var(--section-pad) / 3) 0 var(--section-pad);
    }

    .legal-section h2 {
        font-size: 1.1rem;
    }

    .legal-updated {
        margin-bottom: 32px;
    }

    .hero-phones {
        gap: 12px;
    }

    .phone-left, .phone-right {
        width: 140px;
    }

    .phone-center {
        width: 170px;
    }

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

    .coming-soon-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

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

    .stats-grid .stat-card:last-child {
        grid-column: span 1;
    }

    .demo-phone {
        max-width: 340px;
    }

    .contact-card {
        padding: 36px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .roadmap-h {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 0;
    }

    .roadmap-h-line {
        display: none;
    }
}

@media (max-width: 480px) {
    :root {
        --section-pad: 60px;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-smiley svg {
        width: 120px;
        height: 120px;
    }

    .hero-phones {
        gap: 8px;
    }

    .phone-left, .phone-right {
        width: 110px;
    }

    .phone-center {
        width: 140px;
    }

    .hero-download {
        font-size: 0.95rem;
        padding: 14px 28px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .demo-phone {
        max-width: 100%;
        border-radius: 32px;
    }

    .demo-mail-preview {
        max-width: 120px;
    }

    .demo-story-steps {
        gap: 6px;
    }

    .demo-step {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .demo-step-divider {
        font-size: 0.7rem;
    }

    .stat-counters {
        gap: 16px;
    }

    .counter-value {
        font-size: 1.8rem;
    }

    .legal-page {
        padding: calc(70px + 20px) 0 var(--section-pad);
    }

    .legal-section {
        margin-bottom: 28px;
    }

    .legal-section ul {
        margin-left: 16px;
    }
}

/* ============================================
   Special Effects
   ============================================ */

/* Shimmer effect on hero title */
.hero-title {
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Celebration particles (used by JS) */
.celebration-particle {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    border-radius: 50%;
    animation: particleFly 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes particleFly {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) scale(0);
    }
}

/* Task completion celebration ring */
.celebration-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid var(--blue);
    pointer-events: none;
    animation: ringExpand 0.6s ease-out forwards;
}

@keyframes ringExpand {
    0% {
        width: 20px;
        height: 20px;
        opacity: 1;
    }
    100% {
        width: 80px;
        height: 80px;
        opacity: 0;
        margin-top: -30px;
        margin-left: -30px;
    }
}

/* Glowing text for "all done" state */
.all-done-glow {
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(91, 141, 239, 0.3); }
    50% { text-shadow: 0 0 40px rgba(91, 141, 239, 0.6); }
}
