/* ═══════════════════════════════════════════════════════════
   ConTask AI Landing — Dark Cyan Glow Theme
   Colors from Remotion promo: #060b11, #00d2d2, glass effects
   ═══════════════════════════════════════════════════════════ */

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

:root {
    --bg: #060b11;
    --bg-gradient: linear-gradient(135deg, #050A12 0%, #071C2A 100%);
    --bg-card: rgba(0, 210, 210, 0.06);
    --bg-card-border: rgba(0, 210, 210, 0.12);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent: #00d2d2;
    --accent-blue: #0ea5e9;
    --accent-green: #22c55e;
    --accent-orange: #f59e0b;
    --glow: rgba(0, 210, 210, 0.35);
    --glow-blue: rgba(14, 165, 233, 0.30);
    --font: 'DM Sans', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

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

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

/* ── Global Background Elements ───────────────────────── */
.global-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* ── Noise Overlay ────────────────────────────────────── */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0.04;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* ── Particles Canvas ─────────────────────────────────── */
#particles {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ── NAV ──────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 2rem;
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
    background: rgba(6, 11, 17, 0.85);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    box-shadow: 0 1px 0 rgba(0, 210, 210, 0.08);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav-logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
}

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

.nav-cta {
    padding: 8px 20px !important;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--accent), #0096C8);
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    transition: transform 0.3s, box-shadow 0.3s !important;
    box-shadow: 0 4px 20px rgba(0, 210, 210, 0.25);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(0, 210, 210, 0.4);
}

/* ── HERO ─────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-beam {
    position: absolute;
    pointer-events: none;
}

.hero-beam--1 {
    top: 15%;
    left: -30%;
    width: 160%;
    height: 200px;
    transform: rotate(-25deg);
    background: linear-gradient(90deg, transparent, rgba(0, 190, 200, 0.06), transparent);
    filter: blur(50px);
    mix-blend-mode: screen;
}

.hero-beam--2 {
    bottom: 10%;
    left: -20%;
    width: 140%;
    height: 180px;
    transform: rotate(15deg);
    background: linear-gradient(90deg, transparent, rgba(0, 190, 200, 0.06), transparent);
    filter: blur(60px);
    mix-blend-mode: screen;
}

.hero-grid {
    position: absolute;
    inset: -20%;
    background-image:
        linear-gradient(rgba(0, 190, 200, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 190, 200, 0.035) 1px, transparent 1px);
    background-size: 80px 80px;
    transform: perspective(1200px) rotateX(40deg);
    transform-origin: top center;
    opacity: 0.7;
    animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 80px;
    }
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 700px;
    height: 700px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 190, 200, 0.12) 0%, transparent 50%);
    filter: blur(80px);
    z-index: 1;
}

/* ── Floating tiles ───────────────────────────────────── */
.floating-tiles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.ftile {
    position: absolute;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4)) drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5));
    will-change: transform, opacity;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.ftile--1 {
    left: 12%;
    top: 15%;
    width: clamp(180px, 22vw, 320px);
    animation: tileEnter1 1.2s 0.6s forwards, floatA 8s 1.8s ease-in-out infinite;
}

.ftile--2 {
    right: 14%;
    top: 18%;
    width: clamp(140px, 16vw, 240px);
    animation: tileEnter2 1.2s 1s forwards, floatB 9s 2.2s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4)) drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5));
}

.ftile--3 {
    right: 15%;
    bottom: 15%;
    width: clamp(160px, 20vw, 300px);
    animation: tileEnter3 1.2s 1.4s forwards, floatC 7s 2.6s ease-in-out infinite;
}

.ftile--4 {
    left: 10%;
    bottom: 18%;
    width: clamp(150px, 18vw, 260px);
    animation: tileEnter4 1.2s 1.1s forwards, floatD 8.5s 2.3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4)) drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5));
}

@keyframes tileEnter1 {
    from {
        opacity: 0;
        transform: translateY(60px) rotate(3deg);
    }

    to {
        opacity: 0.85;
        transform: translateY(0) rotate(3deg);
    }
}

@keyframes tileEnter2 {
    from {
        opacity: 0;
        transform: translateY(60px) rotate(-2deg);
    }

    to {
        opacity: 0.7;
        transform: translateY(0) rotate(-2deg);
    }
}

@keyframes tileEnter3 {
    from {
        opacity: 0;
        transform: translateY(60px) rotate(-4deg);
    }

    to {
        opacity: 0.85;
        transform: translateY(0) rotate(-4deg);
    }
}

@keyframes tileEnter4 {
    from {
        opacity: 0;
        transform: translateY(60px) rotate(2deg);
    }

    to {
        opacity: 0.7;
        transform: translateY(0) rotate(2deg);
    }
}

@keyframes floatA {

    0%,
    100% {
        transform: translateY(0) rotate(3deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes floatB {

    0%,
    100% {
        transform: translateY(0) rotate(-2deg);
    }

    50% {
        transform: translateY(-18px) rotate(-4deg);
    }
}

@keyframes floatC {

    0%,
    100% {
        transform: translateY(0) rotate(-4deg);
    }

    50% {
        transform: translateY(-22px) rotate(-2deg);
    }
}

@keyframes floatD {

    0%,
    100% {
        transform: translateY(0) rotate(2deg);
    }

    50% {
        transform: translateY(-16px) rotate(4deg);
    }
}

/* ── Hero text ────────────────────────────────────────── */
.hero-text {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-line1 {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    line-height: 1.3;
    letter-spacing: -0.5px;
    min-height: 1.3em;
}

.hero-line2 {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    min-height: 1.2em;
    position: relative;
}

/* Glow behind hero line 2 */
.hero-line2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 200%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(0, 210, 210, 0.2) 0%, rgba(14, 165, 233, 0.08) 40%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s;
}

.hero-line2.glow-active::before {
    opacity: 1;
}

/* ── Typing cursor ────────────────────────────────────── */
.typing-cursor {
    display: inline-block;
    width: 4px;
    height: 0.9em;
    background: var(--accent);
    margin-left: 3px;
    border-radius: 2px;
    vertical-align: text-bottom;
    animation: cursorBlink 0.8s step-end infinite;
    box-shadow: 0 0 12px var(--accent), 0 0 30px var(--accent);
}

.typing-cursor--muted {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ── Scroll indicator ─────────────────────────────────── */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-indicator-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent), transparent);
    border-radius: 2px;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.6);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

/* ── SECTIONS (shared) ────────────────────────────────── */
.section {
    position: relative;
    z-index: 1;
    padding: 8rem 2rem;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-floaters {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

/* ── Reveal animations ────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.reveal-child {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1), transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-child.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── MANIFESTO ────────────────────────────────────────── */
.manifesto {
    text-align: center;
    background: transparent;
}

.manifesto .section-inner {
    position: relative;
    z-index: 2;
}

.float-chip {
    position: absolute;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--bg-card-border);
    background: rgba(6, 11, 17, 0.52);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.mf-chip--1 {
    top: 24%;
    left: 13%;
    animation: floatNarrativeA 7s ease-in-out infinite;
}

.mf-chip--2 {
    top: 18%;
    right: 12%;
    animation: floatNarrativeB 6.6s ease-in-out infinite;
}

.mf-chip--3 {
    bottom: 18%;
    right: 20%;
    animation: floatNarrativeA 7.4s ease-in-out infinite;
}

.mf-chip--4 {
    bottom: 22%;
    left: 9%;
    animation: floatNarrativeB 6.2s ease-in-out infinite;
}

.mf-chip--5 {
    top: 42%;
    right: 6%;
    animation: floatNarrativeA 7.8s ease-in-out infinite;
}

.manifesto-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.manifesto-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 2rem;
    min-height: 2.5em;
}

.manifesto-body {
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto;
}

.manifesto-body strong {
    color: var(--accent);
    font-weight: 600;
}

.manifesto-body em {
    color: var(--text-primary);
    font-style: normal;
    font-weight: 500;
}

/* ── FEATURE SECTIONS ─────────────────────────────────── */
.feature-section {
    background: transparent;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-section--reverse .feature-grid {
    direction: rtl;
}

.feature-section--reverse .feature-grid>* {
    direction: ltr;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.feature-badge--center {
    margin-left: auto;
    margin-right: auto;
}

.feature-badge-icon {
    font-size: 1rem;
}

.feature-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.feature-body {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-footnote {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 1.5rem;
}

.feature-footnote strong {
    color: var(--accent);
}

/* ── Phone frame ──────────────────────────────────────── */
.feature-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.phone-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 210, 0.15) 0%, transparent 60%);
    filter: blur(60px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* New 3D Mockup Component */
.mockup-3d {
    position: relative;
    width: clamp(240px, 28vw, 300px);
    aspect-ratio: 9/19.5;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.mockup-3d:hover {
    transform: rotateY(-10deg) rotateX(5deg) translateY(-10px);
}

.phone-frame-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    object-fit: contain;
}

.phone-screen-container {
    position: absolute;
    top: 2%;
    left: 4.8%;
    right: 4.8%;
    bottom: 2%;
    background: #000;
    border-radius: 38px;
    overflow: hidden;
    z-index: 5;
}

.phone-screen-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-shadow {
    position: absolute;
    bottom: -40px;
    left: 10%;
    right: 10%;
    height: 40px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
    filter: blur(15px);
    transform: translateZ(-50px);
}

/* Original fallbacks for non-3D uses */
.phone-frame {
    position: relative;
    width: clamp(240px, 28vw, 320px);
    border-radius: 32px;
    overflow: hidden;
    border: 2px solid rgba(0, 210, 210, 0.12);
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(0, 210, 210, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    background: #0a0f16;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.phone-frame:hover {
    transform: translateY(-8px) scale(1.02);
}

.phone-screen {
    width: 100%;
    display: block;
}

/* ── Chat demo ────────────────────────────────────────── */
.chat-demo {
    margin: 2rem 0;
}

.chat-bubble {
    padding: 16px 20px;
    border-radius: 18px 18px 4px 18px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.chat-bubble--user {
    background: linear-gradient(135deg, rgba(0, 210, 210, 0.12), rgba(14, 165, 233, 0.08));
    border: 1px solid rgba(0, 210, 210, 0.15);
    color: var(--text-primary);
    min-height: 52px;
    display: flex;
    align-items: center;
}

.chat-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s 0.3s, transform 0.6s 0.3s;
}

.chat-results.visible {
    opacity: 1;
    transform: translateY(0);
}

.chat-result-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(0, 210, 210, 0.06);
    border: 1px solid rgba(0, 210, 210, 0.08);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.result-check {
    color: var(--accent);
    font-weight: 700;
}

/* ── Context list ─────────────────────────────────────── */
.context-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2rem;
}

.context-item {
    padding: 8px 16px;
    border-radius: 100px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    font-size: 0.85rem;
    color: var(--text-secondary);
    backdrop-filter: blur(8px);
}

/* ── AI suggestions ───────────────────────────────────── */
.ai-suggestions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-suggestion {
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 210, 210, 0.08), rgba(14, 165, 233, 0.04));
    border: 1px solid rgba(0, 210, 210, 0.1);
    font-size: 0.9rem;
    font-style: italic;
    color: var(--accent);
    position: relative;
    overflow: hidden;
}

.ai-suggestion::before {
    content: '✦';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    opacity: 0.4;
    font-style: normal;
}

#context .feature-visual,
#calendar .feature-visual,
#difference .section-inner {
    overflow: visible;
}

.context-node {
    position: absolute;
    z-index: 4;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(6, 11, 17, 0.62);
    border: 1px solid rgba(0, 210, 210, 0.22);
    color: #9ffefe;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(8px);
}

.context-node--1 {
    top: 7%;
    right: -8%;
    animation: floatNarrativeB 7.2s ease-in-out infinite;
}

.context-node--2 {
    top: 25%;
    left: -14%;
    animation: floatNarrativeA 6.8s ease-in-out infinite;
}

.context-node--3 {
    bottom: 8%;
    right: -5%;
    animation: floatNarrativeB 6.4s ease-in-out infinite;
}

.context-node--4 {
    bottom: 22%;
    left: -8%;
    animation: floatNarrativeA 7.6s ease-in-out infinite;
}

.context-node--5 {
    top: 48%;
    right: -12%;
    animation: floatNarrativeB 5.9s ease-in-out infinite;
}

/* ── Calendar features ────────────────────────────────── */
.calendar-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cal-feat {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    backdrop-filter: blur(8px);
}

.cal-feat-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.cal-feat strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

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

.calendar-tag {
    position: absolute;
    z-index: 4;
    padding: 9px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 210, 210, 0.16), rgba(14, 165, 233, 0.09));
    border: 1px solid rgba(0, 210, 210, 0.22);
    color: var(--text-primary);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(7px);
}

.calendar-tag--1 {
    top: 9%;
    left: -16%;
    animation: floatNarrativeA 7s ease-in-out infinite;
}

.calendar-tag--2 {
    bottom: 13%;
    right: -13%;
    animation: floatNarrativeB 6.5s ease-in-out infinite;
}

.calendar-dot {
    position: absolute;
    z-index: 3;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 0 rgba(0, 210, 210, 0.45);
    animation: pulseDot 2.4s ease-in-out infinite;
}

.calendar-dot--1 {
    top: 26%;
    right: -2%;
}

.calendar-dot--2 {
    bottom: 25%;
    left: -6%;
    animation-delay: 1.2s;
}

.calendar-tag--3 {
    top: 42%;
    right: -16%;
    animation: floatNarrativeA 5.6s ease-in-out infinite;
}

.calendar-dot--3 {
    top: 12%;
    left: 2%;
    animation: pulseDot 2.4s ease-in-out infinite;
    animation-delay: 0.6s;
}

/* ── WIDGET SECTION ───────────────────────────────────── */
.widget-section {
    background: transparent;
    text-align: center;
}

.widget-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.widget-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.widget-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.widget-tile {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 210, 210, 0.1);
    background: rgba(0, 210, 210, 0.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s;
}

.widget-tile:hover {
    transform: translateY(-10px) scale(1.04);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 210, 210, 0.1);
}

.widget-tile img {
    width: 100%;
    display: block;
}

/* ── Workspace features ───────────────────────────────── */
.workspace-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.ws-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.ws-feat::before {
    content: '→';
    color: var(--accent);
    font-weight: 700;
}

/* ── DIFFERENCE SECTION ───────────────────────────────── */
.difference-section {
    background: transparent;
    text-align: center;
}

.difference-title {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 3rem;
    min-height: 1.5em;
}

.float-stat {
    position: absolute;
    z-index: 3;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(6, 11, 17, 0.6);
    border: 1px solid rgba(0, 210, 210, 0.2);
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.ds-stat--1 {
    top: 4%;
    left: 2%;
    animation: floatNarrativeA 7.1s ease-in-out infinite;
}

.ds-stat--2 {
    top: 8%;
    right: 4%;
    animation: floatNarrativeB 6.3s ease-in-out infinite;
}

.ds-stat--3 {
    bottom: 8%;
    right: 16%;
    animation: floatNarrativeA 7.4s ease-in-out infinite;
}

.ds-stat--4 {
    bottom: 4%;
    left: 8%;
    animation: floatNarrativeB 6s ease-in-out infinite;
}

.ds-stat--5 {
    top: 16%;
    left: 20%;
    animation: floatNarrativeA 6.8s ease-in-out infinite;
}

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

.diff-card {
    padding: 2.5rem 2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(0, 210, 210, 0.06), rgba(14, 165, 233, 0.03));
    border: 1px solid rgba(0, 210, 210, 0.1);
    backdrop-filter: blur(12px);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s, border-color 0.5s;
}

.diff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 210, 210, 0.08);
    border-color: rgba(0, 210, 210, 0.2);
}

.diff-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.diff-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}

.diff-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── CTA SECTION ──────────────────────────────────────── */
.cta-section {
    text-align: center;
    padding: 10rem 2rem;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.cta-glow {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 190, 200, 0.18) 0%, rgba(0, 150, 200, 0.04) 40%, transparent 70%);
    filter: blur(80px);
    animation: glowPulse 5s ease-in-out infinite;
}

.cta-icon {
    width: 128px;
    height: 128px;
    border-radius: 32px;
    margin: 0 auto 2rem;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(0, 210, 210, 0.3));
    transition: transform 0.5s;
}

.cta-icon:hover {
    transform: scale(1.08);
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 18px 56px;
    border-radius: 100px;
    background: linear-gradient(135deg, #00D2D2 0%, #0096C8 100%);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow:
        0 20px 50px rgba(0, 210, 210, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 30px 60px rgba(0, 210, 210, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.cta-appstore {
    width: 180px;
    margin: 2rem auto 0;
    opacity: 0.85;
    transition: opacity 0.3s, transform 0.3s;
}

.cta-appstore:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
    background: rgba(6, 11, 17, 0.35);
    border-top: 1px solid rgba(0, 210, 210, 0.06);
    padding: 2rem;
    z-index: 1;
    position: relative;
    backdrop-filter: blur(8px);
}

/* ── AI CHAT VOICE DECORATION ────────────────────────── */
#ai-chat .feature-visual {
    overflow: visible;
}

.voice-orb {
    position: absolute;
    z-index: 4;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    color: #fff;
    background: radial-gradient(circle at 30% 30%, rgba(0, 210, 210, 0.55), rgba(14, 165, 233, 0.3));
    border: 1px solid rgba(0, 210, 210, 0.35);
    box-shadow: 0 0 0 0 rgba(0, 210, 210, 0.35), 0 14px 35px rgba(0, 0, 0, 0.4);
    animation: micPulse 2.2s ease-in-out infinite;
}

.voice-orb--mic {
    top: 10%;
    right: 8%;
}

.voice-wave {
    position: absolute;
    z-index: 3;
    display: flex;
    gap: 5px;
    align-items: flex-end;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(7, 28, 42, 0.5);
    border: 1px solid rgba(0, 210, 210, 0.2);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
}

.voice-wave--top {
    top: 18%;
    left: -8%;
    animation: floatVoiceA 6s ease-in-out infinite;
}

.voice-wave--bottom {
    bottom: 18%;
    right: -10%;
    animation: floatVoiceB 6.8s ease-in-out infinite;
}

.voice-wave span {
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #49f6f6 0%, #0ea5e9 100%);
    animation: waveBars 1.1s ease-in-out infinite;
}

.voice-wave span:nth-child(1) {
    height: 8px;
    animation-delay: 0s;
}

.voice-wave span:nth-child(2) {
    height: 18px;
    animation-delay: 0.15s;
}

.voice-wave span:nth-child(3) {
    height: 26px;
    animation-delay: 0.3s;
}

.voice-wave span:nth-child(4) {
    height: 16px;
    animation-delay: 0.45s;
}

.voice-wave span:nth-child(5) {
    height: 10px;
    animation-delay: 0.6s;
}

.voice-wave span:nth-child(6) {
    height: 20px;
    animation-delay: 0.75s;
}

.voice-wave span:nth-child(7) {
    height: 12px;
    animation-delay: 0.9s;
}

.voice-pill {
    position: absolute;
    z-index: 3;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #9ffefe;
    background: rgba(6, 11, 17, 0.65);
    border: 1px solid rgba(0, 210, 210, 0.22);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(8px);
}

.voice-pill--1 {
    top: 6%;
    left: 8%;
    animation: floatVoiceB 7s ease-in-out infinite;
}

.voice-pill--2 {
    bottom: 8%;
    left: -2%;
    animation: floatVoiceA 6.4s ease-in-out infinite;
}

.voice-pill--3 {
    bottom: 30%;
    right: -6%;
    animation: floatVoiceB 5.8s ease-in-out infinite;
}

/* ── FLOATING NOTIFICATION BADGES ────────────────────── */
.float-notif {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--text-primary);
    background: rgba(6, 11, 17, 0.72);
    border: 1px solid rgba(0, 210, 210, 0.18);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(10px);
}

.notif-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: pulseDot 2s ease-in-out infinite;
    flex-shrink: 0;
}

.notif-dot--warn {
    background: var(--accent-orange);
    box-shadow: 0 0 8px var(--accent-orange);
}

.notif-dot--green {
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
}

.float-notif--ai {
    bottom: 5%;
    right: 5%;
    animation: floatVoiceA 7.2s ease-in-out infinite;
}

.float-notif--ctx {
    bottom: 16%;
    left: -10%;
    animation: floatNarrativeB 6.6s ease-in-out infinite;
}

.float-notif--cal {
    top: 4%;
    right: -6%;
    animation: floatNarrativeA 5.8s ease-in-out infinite;
}

/* ── FLOATING BADGES (workspaces, etc.) ──────────────── */
.float-badge {
    position: absolute;
    z-index: 4;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #9ffefe;
    background: rgba(6, 11, 17, 0.62);
    border: 1px solid rgba(0, 210, 210, 0.22);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(8px);
}

.float-badge--ws {
    top: 2%;
    right: 8%;
    animation: floatMembersA 6.6s ease-in-out infinite;
}

.float-badge--ws2 {
    bottom: 2%;
    left: 6%;
    animation: floatMembersB 7s ease-in-out infinite;
}

/* ── WORKSPACES MEMBER AVATARS ───────────────────────── */
#workspaces .feature-visual {
    overflow: visible;
}

.member-avatar {
    position: absolute;
    z-index: 4;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.member-avatar--1 {
    top: 4%;
    left: 10%;
    background: linear-gradient(135deg, #22c55e, #00d2d2);
    animation: floatMembersA 7s ease-in-out infinite;
}

.member-avatar--2 {
    top: 22%;
    right: 2%;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    animation: floatMembersB 6.4s ease-in-out infinite;
}

.member-avatar--3 {
    bottom: 12%;
    left: 2%;
    background: linear-gradient(135deg, #8b5cf6, #0ea5e9);
    animation: floatMembersB 6.8s ease-in-out infinite;
}

.member-avatar--4 {
    bottom: 4%;
    right: 14%;
    background: linear-gradient(135deg, #ef4444, #ec4899);
    animation: floatMembersA 7.2s ease-in-out infinite;
}

.member-avatar--5 {
    top: 50%;
    left: -4%;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    animation: floatMembersB 7.6s ease-in-out infinite;
}

@keyframes waveBars {

    0%,
    100% {
        transform: scaleY(0.55);
        opacity: 0.6;
    }

    50% {
        transform: scaleY(1.25);
        opacity: 1;
    }
}

@keyframes micPulse {

    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 0 0 0 rgba(0, 210, 210, 0.3), 0 14px 35px rgba(0, 0, 0, 0.4);
    }

    50% {
        transform: translateY(-6px) scale(1.04);
        box-shadow: 0 0 0 14px rgba(0, 210, 210, 0), 0 20px 40px rgba(0, 0, 0, 0.45);
    }
}

@keyframes floatVoiceA {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes floatVoiceB {

    0%,
    100% {
        transform: translateY(0) rotate(1deg);
    }

    50% {
        transform: translateY(-12px) rotate(-1deg);
    }
}

@keyframes floatMembersA {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes floatMembersB {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-8px) scale(0.96);
    }
}

@keyframes floatNarrativeA {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-11px) rotate(1deg);
    }
}

@keyframes floatNarrativeB {

    0%,
    100% {
        transform: translateY(0) rotate(1deg);
    }

    50% {
        transform: translateY(-9px) rotate(-1deg);
    }
}

@keyframes pulseDot {

    0%,
    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 210, 210, 0.36);
    }

    50% {
        transform: scale(1.25);
        box-shadow: 0 0 0 10px rgba(0, 210, 210, 0);
    }
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ── WAITLIST MODAL ────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    position: relative;
    width: 90%;
    max-width: 440px;
    padding: 2.5rem 2rem 2rem;
    border-radius: 28px;
    background: rgba(8, 18, 28, 0.82);
    border: 1px solid rgba(0, 210, 210, 0.15);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 210, 210, 0.08);
    text-align: center;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.3s, color 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

.modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin: 0 auto 1.25rem;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 210, 210, 0.3));
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-subtitle strong {
    color: var(--accent);
}

.modal-form {
    margin-bottom: 0.75rem;
}

.modal-input-wrap {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.modal-input {
    flex: 1;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(0, 210, 210, 0.15);
    background: rgba(0, 210, 210, 0.06);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

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

.modal-input:focus {
    border-color: rgba(0, 210, 210, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 210, 210, 0.1);
}

.modal-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.modal-submit {
    padding: 14px 24px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #00D2D2 0%, #0096C8 100%);
    color: #fff;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 24px rgba(0, 210, 210, 0.25);
}

.modal-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(0, 210, 210, 0.35);
}

.modal-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.modal-submit.loading .modal-submit-text {
    opacity: 0;
}

.modal-submit.loading .modal-submit-loader {
    display: block;
}

.modal-submit-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

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

.modal-error {
    font-size: 0.8rem;
    color: #ef4444;
    min-height: 1.2em;
    margin: 0;
}

.modal-success {
    display: none;
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    padding: 1rem 0;
}

.modal-form.submitted + .modal-success {
    display: block;
}

.modal-form.submitted {
    display: none;
}

.modal-fine {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ── FOOTER LINKS ─────────────────────────────────────── */
.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

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

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .feature-section--reverse .feature-grid {
        direction: ltr;
    }

    .feature-visual {
        order: -1;
    }

    .difference-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 5rem 1.25rem;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .nav-inner {
        height: 60px;
    }

    .hero-text {
        padding: 0 1rem;
    }

    .hero-line2 {
        letter-spacing: -1px;
    }

    .ftile--1 {
        width: 140px;
        left: -5%;
        top: 12%;
    }

    .ftile--2 {
        width: 110px;
        right: 2%;
        top: 14%;
    }

    .ftile--3 {
        width: 130px;
        right: 0%;
        bottom: 12%;
    }

    .ftile--4 {
        width: 120px;
        left: -3%;
        bottom: 14%;
    }

    .chat-results {
        grid-template-columns: 1fr;
    }

    .phone-frame {
        width: 220px;
    }

    .voice-wave--top,
    .voice-pill--2 {
        left: 2%;
    }

    .mf-chip--1,
    .mf-chip--2,
    .mf-chip--3,
    .mf-chip--4,
    .mf-chip--5,
    .context-node,
    .calendar-tag,
    .float-stat,
    .float-notif,
    .float-badge {
        font-size: 0.68rem;
        padding: 7px 11px;
    }

    .context-node--1 {
        right: 2%;
    }

    .context-node--2 {
        left: 2%;
    }

    .context-node--3 {
        right: 6%;
    }

    .context-node--4 {
        left: 2%;
    }

    .context-node--5 {
        right: 2%;
    }

    .calendar-tag--1 {
        left: 2%;
    }

    .calendar-tag--2 {
        right: 3%;
    }

    .calendar-tag--3 {
        right: 2%;
    }

    .ds-stat--1 {
        left: 2%;
        top: 2%;
    }

    .ds-stat--2 {
        right: 2%;
    }

    .ds-stat--3 {
        right: 8%;
    }

    .ds-stat--4 {
        left: 2%;
    }

    .ds-stat--5 {
        left: 10%;
    }

    .float-notif--ctx {
        left: 2%;
    }

    .float-notif--cal {
        right: 2%;
    }

    .voice-wave--bottom {
        right: 2%;
    }

    .member-avatar {
        width: 44px;
        height: 44px;
        font-size: 0.88rem;
    }

    .widget-tiles {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .cta-section {
        padding: 6rem 1.25rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    /* Modal bottom-sheet on mobile */
    .modal-overlay {
        align-items: flex-end;
    }

    .modal-card {
        width: 100%;
        max-width: 100%;
        border-radius: 28px 28px 0 0;
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }

    .modal-overlay.active .modal-card {
        transform: translateY(0) scale(1);
    }

    .modal-input-wrap {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .widget-tiles {
        grid-template-columns: 1fr;
        max-width: 260px;
        margin: 0 auto;
    }
}