:root {
    /* Tyrone Brooks / Flowstate Theme */
    --bg: #030304;
    /* Deepest black/charcoal */
    --bg-dark: #000000;
    --text: #EDEDED;
    /* Off-white for readability */
    --text-light: #9CA3AF;
    /* Muted gray */
    --primary: #FFAF20;
    /* Amber Gold from image */
    --primary-light: #FFC860;
    --accent: #FFAF20;

    /* App Internal Theme (matching dark vibe) */
    --app-bg: #28282d;
    --app-text: #FFFFFF;
    --app-muted: #94A3B8;
    --app-primary: #FFAF20;

    --white: #FFFFFF;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    /* scroll-behavior: smooth; */
    /* Disabled for Lenis */
    font-size: 16px;
    height: auto;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Prevent X-Scroll blowout */
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: 0.3s;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    /* Darker glass */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 50%;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.2s;
}

.nav-link:hover {
    color: var(--text);
}

.nav-cta {
    background: var(--primary);
    color: #000;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.magnetic-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: -20px;
}

.nav-cta:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 175, 32, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
}

/* Full-Screen Hero */
.hero-full {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 24px 80px;
    background: var(--bg);
    position: relative;
    /* Amber Glow Spot */
    background-image:
        radial-gradient(circle at 50% 30%, rgba(255, 175, 32, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 10%, rgba(255, 175, 32, 0.08) 0%, transparent 50%);
}

.hero-content-center {
    max-width: 800px;
}

.hero-eyebrow {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(79, 70, 229, 0.08);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.5px;
    margin-bottom: 28px;
}

.hero-headline {
    margin-bottom: 20px;
}

.hero-brand {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(3.5rem, 10vw, 7.5rem);
    /* Bigger */
    font-weight: 800;
    color: var(--white);
    letter-spacing: -3px;
    line-height: 0.95;
    text-shadow: 0 0 40px rgba(255, 175, 32, 0.3);
    /* Subtle text glow */
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-light);
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: -0.3px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: var(--primary);
    color: #000;
    /* Contrast on amber */
    border-radius: 100px;
    /* Pill shape */
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(255, 175, 32, 0.4);
    /* Glow */
}

.btn-hero:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 175, 32, 0.5);
}

.btn-icon {
    font-size: 0.9rem;
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.05);
    /* Glass */
    color: var(--white);
    border: 1px solid var(--border);
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    text-align: center;
}

.trust-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.trust-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll-indicator span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    margin: 0 auto;
    border-right: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
    }

    50% {
        transform: rotate(45deg) translateY(6px);
    }
}

/* Sticky Showcase Section */
.demo-section {
    position: relative;
    background: var(--bg);
    min-height: 300vh;
    /* 3 steps worth of scrolling */
    padding: 0;
}

.showcase-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.sticky-phone-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.showcase-scroll {
    width: 28%;
}

.showcase-item {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.15;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateY(30px);
}

.showcase-item.active {
    opacity: 1;
    transform: translateY(0);
}

.side-right .showcase-item {
    align-items: flex-start;
}

.side-left .showcase-item {
    align-items: flex-end;
    text-align: right;
}

.demo-features-light {
    list-style: none;
    padding: 0;
}

.demo-features-light li {
    margin-bottom: 24px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-features-light .check {
    width: 32px;
    height: 32px;
    background: rgba(255, 175, 32, 0.15);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 0 20px rgba(255, 175, 32, 0.1);
}

@media (max-width: 1100px) {
    .showcase-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .sticky-phone-container {
        width: 100%;
        position: sticky;
        /* Keep it sticky even on smaller screens if they are tall enough */
        top: 0;
        height: 80vh;
    }

    .showcase-scroll {
        width: 100%;
        position: relative;
        z-index: 5;
    }

    .showcase-item {
        height: auto;
        min-height: 30vh;
        padding: 40px 0;
        align-items: center !important;
        text-align: center !important;
        background: rgba(3, 3, 4, 0.8);
        backdrop-filter: blur(10px);
        margin: 20px 0;
        border-radius: 20px;
    }

    .demo-section {
        min-height: auto;
    }
}


/* [OLD DEMO CLASSES REMOVED] */


/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 580px;
    background: #1a1a24;
    border-radius: 40px;
    padding: 8px;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15);
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--app-bg);
    border-radius: 34px;
    overflow: hidden;
    position: relative;
}

/* App Screens */
.app-screen {
    position: absolute;
    inset: 0;
    padding: 40px 12px 68px;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
}

.app-screen.active {
    opacity: 1;
    pointer-events: auto;
}

.app-screen::-webkit-scrollbar {
    width: 0;
}

/* App Styling */
.app-header-home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.app-header-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    color: var(--app-text);
}

.back-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--app-text);
}

.header-title {
    flex: 1;
    font-size: 15px;
    font-weight: 700;
    color: var(--app-text);
}

.header-actions {
    display: flex;
    gap: 6px;
}

.greeting-block {
    text-align: center;
}

.greeting-time {
    display: block;
    font-size: 10px;
    color: var(--app-muted);
}

.greeting-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--app-text);
}

.quote-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.quote-icon {
    font-size: 14px;
}

.quote-text {
    font-size: 11px;
    color: var(--app-muted);
    font-style: italic;
    flex: 1;
}

.section-block {
    margin-bottom: 14px;
}

.section-title-app {
    font-size: 13px;
    font-weight: 700;
    color: var(--app-text);
    margin-bottom: 8px;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.text-btn {
    background: none;
    border: none;
    color: var(--app-primary);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
}

.activity-card {
    background: linear-gradient(135deg, var(--app-primary), #7c3aed);
    border-radius: 14px;
    padding: 12px;
    color: var(--white);
}

.activity-date {
    font-size: 10px;
    opacity: 0.75;
    margin-bottom: 2px;
}

.activity-heading {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.activity-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.activity-stats-row {
    display: flex;
    gap: 10px;
}

.mini-stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: 10px;
}

.mini-stat-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.mini-stat-label {
    font-size: 9px;
    opacity: 0.8;
}

.progress-ring-container {
    width: 50px;
    height: 50px;
    position: relative;
}

.progress-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 5;
}

.ring-progress {
    fill: none;
    stroke: var(--white);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 251;
    stroke-dashoffset: 251;
    transition: 0.6s;
}

.ring-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 14px;
}

.quick-action-card {
    background: var(--white);
    border: none;
    border-radius: 12px;
    padding: 10px 6px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: 0.15s;
}

.quick-action-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.action-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    margin: 0 auto 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-icon-wrap.blue {
    background: #e0e7ff;
    color: var(--app-primary);
}

.action-icon-wrap.purple {
    background: #f3e8ff;
    color: #7c3aed;
}

.action-icon-wrap.pink {
    background: #fce7f3;
    color: #ec4899;
}

.action-name {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--app-text);
}

.tasks-list,
.full-tasks-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: var(--white);
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: 0.15s;
}

.task-item:hover {
    background: #f8fafc;
}

.task-item.completed {
    opacity: 0.5;
}

.task-item.completed .task-name {
    text-decoration: line-through;
}

.task-check {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 2px solid var(--app-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.task-item.completed .task-check {
    background: var(--app-primary);
    color: var(--white);
}

.task-info {
    flex: 1;
}

.task-name {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--app-text);
}

.task-time {
    display: block;
    font-size: 10px;
    color: var(--app-muted);
}

.fab {
    position: absolute;
    bottom: 74px;
    right: 14px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--app-primary);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
    transition: 0.2s;
    z-index: 5;
}

.fab:hover {
    transform: scale(1.05);
}

.tasks-stats-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.task-stat-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: var(--white);
    border-radius: 16px;
    font-size: 11px;
    color: var(--app-muted);
}

.chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.chip-dot.completed {
    background: #10b981;
}

.chip-dot.pending {
    background: #f59e0b;
}

.focus-hero {
    text-align: center;
    padding: 14px 0;
}

.focus-icon-large {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    background: linear-gradient(135deg, #e0e7ff, #f3e8ff);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--app-primary);
}

.focus-headline {
    font-size: 16px;
    font-weight: 700;
    color: var(--app-primary);
    margin-bottom: 4px;
}

.focus-subtext {
    font-size: 11px;
    color: var(--app-muted);
}

.focus-stats-row {
    display: flex;
    justify-content: space-around;
    padding: 12px 0;
    margin-bottom: 12px;
}

.focus-stat-card {
    text-align: center;
}

.fs-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--app-text);
}

.fs-label {
    font-size: 9px;
    color: var(--app-muted);
}

.session-section {
    margin-top: 8px;
}

.session-heading {
    font-size: 12px;
    font-weight: 600;
    color: var(--app-text);
    margin-bottom: 8px;
}

.session-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.session-card {
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: 0.15s;
}

.session-card:hover,
.session-card.selected {
    border-color: var(--app-primary);
    background: #f0f0ff;
}

.session-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.session-name {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--app-text);
}

.session-desc {
    display: block;
    font-size: 9px;
    color: var(--app-muted);
    margin-top: 2px;
}

#screen-timer {
    padding: 0;
    background: linear-gradient(180deg, #1e1b4b, #0f0824);
}

.timer-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 14px 70px;
    color: var(--white);
}

.timer-status-badge {
    background: rgba(79, 70, 229, 0.2);
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.timer-visual {
    position: relative;
    width: 130px;
    height: 130px;
    margin-bottom: 16px;
}

.timer-ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.timer-ring-bg {
    fill: none;
    stroke: rgba(79, 70, 229, 0.2);
    stroke-width: 5;
}

.timer-ring-progress {
    fill: none;
    stroke: url(#timerGradient);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 534;
    stroke-dashoffset: 0;
    transition: 1s linear;
}

.timer-lock-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.timer-digits {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.timer-colon {
    opacity: 0.6;
}

.timer-labels {
    display: flex;
    gap: 60px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

.timer-controls {
    display: flex;
    gap: 10px;
}

.timer-control-btn {
    padding: 10px 18px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.15s;
}

.timer-control-btn.outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
}

.timer-control-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.assistant-avatar-block {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e0e7ff, #f3e8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.avatar-info {
    display: flex;
    flex-direction: column;
}

.avatar-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--app-text);
}

.avatar-status {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: var(--app-muted);
}

.status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 6px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: calc(100% - 120px);
}

.chat-msg {
    display: flex;
    gap: 6px;
    align-items: flex-start;
}

.chat-msg.user {
    flex-direction: row-reverse;
}

.msg-avatar {
    font-size: 16px;
    flex-shrink: 0;
}

.msg-content {
    max-width: 80%;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.5;
}

.chat-msg.bot .msg-content {
    background: var(--white);
    color: var(--app-text);
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.chat-msg.user .msg-content {
    background: var(--app-primary);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.msg-time {
    display: block;
    font-size: 9px;
    color: var(--app-muted);
    margin-top: 4px;
}

.chat-msg.user .msg-time {
    color: rgba(255, 255, 255, 0.7);
}

.chat-input-bar {
    position: absolute;
    bottom: 64px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    background: var(--app-bg);
    padding-top: 6px;
}

#chat-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    outline: none;
    transition: 0.15s;
}

#chat-input:focus {
    border-color: var(--app-primary);
}

.send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--app-primary);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.15s;
}

.send-btn:hover {
    transform: scale(1.05);
}

.calendar-strip {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    padding: 8px 0;
    margin-bottom: 12px;
}

.cal-day {
    min-width: 38px;
    padding: 6px;
    text-align: center;
    background: var(--white);
    border-radius: 10px;
    cursor: pointer;
    transition: 0.15s;
}

.cal-day.active {
    background: var(--app-primary);
    color: var(--white);
}

.cal-day-name {
    display: block;
    font-size: 9px;
    color: var(--app-muted);
}

.cal-day.active .cal-day-name {
    color: rgba(255, 255, 255, 0.75);
}

.cal-day-num {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--app-text);
}

.cal-day.active .cal-day-num {
    color: var(--white);
}

.schedule-timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-item {
    display: flex;
    gap: 8px;
}

.tl-time {
    width: 54px;
    font-size: 10px;
    font-weight: 500;
    color: var(--app-muted);
    padding-top: 6px;
}

.tl-event {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
}

.tl-event.blue {
    background: #e0e7ff;
    border-left: 3px solid var(--app-primary);
}

.tl-event.purple {
    background: #f3e8ff;
    border-left: 3px solid #7c3aed;
}

.tl-event.pink {
    background: #fce7f3;
    border-left: 3px solid #ec4899;
}

.tl-title {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--app-text);
}

.insights-period {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.period-btn {
    padding: 6px 14px;
    border-radius: 16px;
    border: none;
    background: var(--white);
    font-size: 11px;
    font-weight: 500;
    color: var(--app-muted);
    cursor: pointer;
    transition: 0.15s;
}

.period-btn.active {
    background: var(--app-primary);
    color: var(--white);
}

.insight-card {
    background: var(--white);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.insight-card h4 {
    font-size: 11px;
    font-weight: 600;
    color: var(--app-text);
    margin-bottom: 6px;
}

.insight-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.big-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--app-primary);
}

.unit {
    font-size: 11px;
    color: var(--app-muted);
}

.insight-bar {
    height: 5px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--app-primary);
    border-radius: 3px;
    transition: 0.4s;
}

.bar-fill.purple {
    background: #7c3aed;
}

.streak-card {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.streak-icon {
    font-size: 24px;
}

.streak-info {
    flex: 1;
}

.streak-num {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #b45309;
}

.streak-label {
    font-size: 10px;
    color: #92400e;
}

.matrix-intro {
    text-align: center;
    padding: 8px 0 12px;
}

.matrix-intro p {
    font-size: 11px;
    color: var(--app-muted);
}

.matrix-grid {
    margin-top: 8px;
}

.matrix-header {
    display: flex;
    margin-bottom: 4px;
}

.matrix-header span:first-child {
    width: 30px;
}

.mh-label {
    flex: 1;
    text-align: center;
    font-size: 8px;
    font-weight: 600;
    color: var(--app-muted);
}

.matrix-row {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.mr-label {
    width: 30px;
    font-size: 7px;
    font-weight: 600;
    color: var(--app-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.matrix-cell {
    flex: 1;
    padding: 8px 6px;
    border-radius: 8px;
    text-align: center;
}

.matrix-cell.do {
    background: #fef2f2;
}

.matrix-cell.decide {
    background: #eff6ff;
}

.matrix-cell.delegate {
    background: #fefce8;
}

.matrix-cell.delete {
    background: #f3f4f6;
}

.mc-title {
    display: block;
    font-size: 9px;
    font-weight: 700;
    margin-bottom: 4px;
}

.matrix-cell.do .mc-title {
    color: #dc2626;
}

.matrix-cell.decide .mc-title {
    color: #2563eb;
}

.matrix-cell.delegate .mc-title {
    color: #ca8a04;
}

.matrix-cell.delete .mc-title {
    color: #6b7280;
}

.mc-task {
    background: rgba(255, 255, 255, 0.6);
    padding: 4px;
    border-radius: 4px;
    font-size: 9px;
    color: var(--app-text);
}

.mc-empty {
    font-size: 9px;
    color: var(--app-muted);
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0e7ff, #f3e8ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.profile-info {
    flex: 1;
}

.profile-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--app-text);
}

.profile-email {
    font-size: 11px;
    color: var(--app-muted);
}

.settings-group {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: 0.15s;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item:hover {
    background: #f8fafc;
}

.setting-icon {
    font-size: 15px;
}

.setting-label {
    flex: 1;
    font-size: 13px;
    color: var(--app-text);
}

.setting-chevron {
    color: var(--app-muted);
    font-size: 16px;
}

.download-cta-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--app-primary), #7c3aed);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.download-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.app-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: var(--white);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 4px;
    box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.04);
    border-radius: 0 0 34px 34px;
}

.bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 0;
    transition: 0.15s;
}

.bnav-item svg {
    color: var(--app-muted);
    transition: 0.15s;
}

.bnav-item span {
    font-size: 9px;
    color: var(--app-muted);
    transition: 0.15s;
}

.bnav-item.active svg {
    color: var(--app-primary);
}

.bnav-item.active span {
    color: var(--app-primary);
    font-weight: 600;
}

/* Comparison Table */
.comparison-section {
    padding: 140px 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 175, 32, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 175, 32, 0.03) 0%, transparent 40%),
        #0f172a;
    position: relative;
    overflow: hidden;
}

.comparison-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

.comparison-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.comparison-table-wrap {
    overflow-x: auto;
    margin-bottom: 32px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #0f172a;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 24px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-size: 0.95rem;
}

.comparison-table th {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table th.highlight {
    color: var(--primary);
    background: rgba(255, 175, 32, 0.05);
}

.comparison-table td.feature-name {
    text-align: left;
    font-weight: 600;
    color: var(--white);
}

.comparison-table td.highlight {
    background: rgba(255, 175, 32, 0.02);
    border-left: 1px solid rgba(255, 175, 32, 0.2);
    border-right: 1px solid rgba(255, 175, 32, 0.2);
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.pricing-row {
    background: rgba(255, 175, 32, 0.08) !important;
}

.price-free {
    color: var(--primary);
    font-weight: 900;
    font-size: 1.2rem;
    text-shadow: 0 0 15px rgba(255, 175, 32, 0.3);
}

.price-other {
    color: var(--text-light);
    font-weight: 500;
    opacity: 0.8;
}

.check-yes {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(255, 175, 32, 0.3));
}

.check-no {
    opacity: 0.2;
    filter: grayscale(1);
    font-size: 1rem;
}

.check-partial {
    color: rgba(255, 175, 32, 0.5);
    font-size: 1rem;
}

.comparison-footer {
    text-align: center;
}

.comparison-note {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.comparison-subnote {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Features Grid */
.features-section {
    padding: 140px 0;
    background: radial-gradient(circle at 80% 10%, rgba(255, 175, 32, 0.04) 0%, transparent 50%),
        #0d121f;
    position: relative;
}

.features-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 300px;
    height: 300px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.05;
    pointer-events: none;
}

.features-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 175, 32, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 175, 32, 0.2);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(8deg);
    background: rgba(255, 175, 32, 0.2);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 175, 32, 0.2);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Blog Section */
.blog-section {
    padding: 140px 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 175, 32, 0.05) 0%, transparent 50%),
        #0f172a;
    position: relative;
}

.blog-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 48px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: 0.2s;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.blog-img {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.blog-content {
    padding: 24px;
}

.blog-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 175, 32, 0.1);
    border: 1px solid rgba(255, 175, 32, 0.2);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.blog-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Founder Section */
.founder-section {
    padding: 120px 0;
    background: #0b0f1a;
    position: relative;
}

.founder-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255, 175, 32, 0.03) 0%, transparent 70%);
}

.founder-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.founder-quote {
    position: relative;
    margin-bottom: 32px;
}

.quote-mark {
    font-family: 'DM Sans', serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: -20px;
}

.founder-quote blockquote {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text);
    line-height: 1.8;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

.founder-info {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.founder-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.founder-details {
    text-align: left;
}

.founder-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.founder-title {
    display: block;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
}

.founder-company {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 140px 0;
    background: #0f172a;
    background-image:
        radial-gradient(circle at 50% -20%, rgba(255, 175, 32, 0.15), transparent 70%);
}

.cta-card {
    text-align: center;
    padding: 64px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, #d97706 100%);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 175, 32, 0.2);
}

.cta-card h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-block;
    padding: 16px 36px;
    background: var(--white);
    color: var(--primary);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.2s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    padding: 60px 0 24px;
    background: linear-gradient(180deg, #b8c4d0 0%, #a8b5c4 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 8px;
    max-width: 280px;
}

.footer-made {
    color: var(--primary) !important;
}

.footer-links h4,
.footer-social h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-light);
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link i {
    transition: transform 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(255, 175, 32, 0.2);
}

.social-link:hover i {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Modals */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: #1e293b;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border);
    max-width: 360px;
    width: 90%;
    text-align: center;
    transform: translateY(20px);
    transition: 0.25s;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 14px;
}

.modal-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.modal-content>p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.modal-dismiss {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 0.875rem;
    cursor: pointer;
}

#add-task-modal .modal-content {
    text-align: left;
}

#add-task-modal h3 {
    margin-bottom: 16px;
}

#add-task-modal input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 12px;
    outline: none;
}

#add-task-modal input:focus {
    border-color: var(--primary);
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.modal-cancel {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-light);
    font-size: 0.875rem;
    cursor: pointer;
}

.modal-confirm {
    flex: 1;
    padding: 12px;
    background: var(--primary);
    border: none;
    border-radius: 10px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.typing-indicator {
    display: flex;
    gap: 3px;
    padding: 8px 10px;
}

.typing-indicator span {
    width: 5px;
    height: 5px;
    background: var(--app-muted);
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.16s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.32s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-4px);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .demo-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .demo-features {
        display: inline-block;
        text-align: left;
    }

    .features-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 260px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 24px;
        transition: 0.3s;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-full {
        padding: 80px 20px 60px;
    }

    .hero-brand {
        font-size: 3rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .btn-hero,
    .btn-hero-outline {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .trust-divider {
        display: none;
    }

    .hero-trust {
        gap: 24px;
    }

    .demo-section {
        padding: 80px 0;
    }

    .phone-mockup {
        width: 260px;
        height: 540px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 14px;
        font-size: 0.8rem;
    }

    .features-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-brand {
        font-size: 2.5rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }
}

/* X-Scroll Section Overlay */
.hero-x-scroll-wrapper {
    position: absolute;
    top: 65%;
    /* Moved down */
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-20%);
    overflow: hidden;
    z-index: 20;
    /* Brought to front */
    pointer-events: none;
    /* Clicks pass through */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

/* Ensure Hero Content is visible above the X */
.hero-content-center {
    position: relative;
    z-index: 5;
    /* Lower than X visually, but moved physically up */
    max-width: 800px;
    transform: translateY(-80px);
    /* Moved content UP */
    transition: transform 0.3s ease;
}

.x-track {
    position: absolute;
    width: 200%;
    /* Wider to ensure coverage */
    padding: 24px 0;
    white-space: nowrap;
    display: flex;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.track-1 {
    background: var(--primary);
    transform: rotate(15deg);
    /* Steeper angle for "X" look */
    z-index: 1;
}

.track-2 {
    background: var(--white);
    transform: rotate(-15deg);
    z-index: 2;
}

.x-content {
    display: flex;
    animation: marquee 40s linear infinite;
}

.track-1 .x-content span {
    color: var(--white);
}

.track-2 .x-content span {
    color: var(--text);
}

.x-content span {
    font-family: 'DM Sans', sans-serif;
    font-size: 3rem;
    /* Larger text */
    font-weight: 800;
    text-transform: uppercase;
    padding: 0 40px;
    display: inline-block;
    letter-spacing: -1px;
}

.divider {
    font-size: 3rem;
    opacity: 0.3;
}

.track-2 .x-content {
    animation-direction: reverse;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Team Section */
.team-section {
    padding: 100px 0;
    background: var(--bg);
    overflow: hidden;
}

.team-header-center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.team-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.team-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.team-group {
    display: flex;
    gap: 40px;
}

.team-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    padding: 12px 24px 12px 12px;
    border-radius: 100px;
    /* Pill */
    border: 1px solid var(--border);
    transition: 0.3s;
    min-width: 260px;
}

.team-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.member-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
    flex-shrink: 0;
}

.member-img.gradient-1 {
    background: linear-gradient(135deg, #4f46e5 0%, #818cf8 100%);
}

.member-img.gradient-2 {
    background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
}

.member-img.gradient-3 {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
}

.member-img.gradient-4 {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
}

.member-data h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.member-data span {
    display: block;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Glassmorphism Overrides */
.feature-card,
.team-card,
.comparison-table-wrap,
.blog-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

.feature-card:hover,
.team-card:hover,
.blog-card:hover {
    background: rgba(255, 175, 32, 0.08) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 175, 32, 0.1) !important;
    transform: translateY(-8px);
    cursor: pointer;
}

.comparison-table-wrap {
    border-radius: 24px;
    overflow: hidden;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 175, 32, 0.2), transparent, rgba(255, 175, 32, 0.1)) !important;
}

.comparison-table {
    background: #0f172a !important;
    border-radius: 22px;
}

.feature-icon,
.member-img {
    color: var(--primary) !important;
}

/* Specific Gradient for Member Initials override */
.member-img.gradient-1,
.member-img.gradient-2,
.member-img.gradient-3,
.member-img.gradient-4 {
    background: rgba(255, 175, 32, 0.15) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(255, 175, 32, 0.3);
}

/* Comparison Table Dark Theme */
.comparison-table th,
.comparison-table td {
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.comparison-table .highlight {
    background: rgba(255, 175, 32, 0.05) !important;
    color: var(--primary) !important;
    border-left: 1px solid var(--primary);
    border-right: 1px solid var(--primary);
}

.check-yes .check {
    background: var(--primary);
    color: #000;
}

/* Comparison Table Premium Styling */
/* Cleaned up comparison table dark theme */
.comparison-table th,
.comparison-table td {
    color: var(--text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table .highlight {
    background: rgba(255, 175, 32, 0.05) !important;
    color: var(--primary) !important;
}

.check-yes .check {
    background: var(--primary);
    color: #000;
}

/* Restoring Demo App Original Feel (Light Theme inside Phone) */
.phone-screen {
    background: #f8fafc !important;
    /* Original light background */
}

.phone-mockup {
    background: #000 !important;
    border: 3px solid #333;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 175, 32, 0.1);
}

/* Ensure no unreadble text in Footer and other global areas */
.footer {
    background: #030304;
    border-top: 1px solid var(--border);
}

.footer h4 {
    color: var(--primary);
}

.footer p,
.footer-links a {
    color: var(--text-light);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    color: var(--text-light);
}


/* Mobile X-Scroll Fix */
@media (max-width: 768px) {
    .hero-x-scroll-wrapper {
        top: 60%;
        opacity: 0.5;
        transform: translateY(0);
    }

    .x-track {
        width: 300%;
        /* Wider for mobile */
        padding: 12px 0;
    }

    .x-content span {
        font-size: 1.5rem;
        /* Smaller text */
        padding: 0 20px;
    }

    .track-1 {
        transform: rotate(10deg);
    }

    .track-2 {
        transform: rotate(-10deg);
    }

    /* Move Hero content up more on mobile */
    .hero-content-center {
        transform: translateY(-40px);
        padding: 0 20px;
    }

    .hero-brand {
        font-size: 3.5rem;
    }

    /* Ensure no overflow */
    body,
    html {
        overflow-x: hidden;
        width: 100%;
    }

    /* Comparison Table Mobile Optimization */
    .comparison-section .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
        width: 100% !important;
    }

    .comparison-table-wrap {
        border-radius: 12px !important;
        padding: 1px !important;
        margin: 20px 0 !important;
        width: 100% !important;
        overflow-x: auto !important;
        /* Allow scrolling all columns */
        -webkit-overflow-scrolling: touch;
        display: block !important;
    }

    .comparison-table {
        table-layout: auto !important;
        /* Allow columns to fit content */
        width: 100% !important;
        min-width: 700px !important;
        /* Ensure all 5 columns are legible */
        border-radius: 11px !important;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px !important;
        font-size: 0.75rem !important;
        white-space: nowrap !important;
        /* Keep columns coherent */
    }

    .comparison-table td.feature-name {
        white-space: normal !important;
        /* Allow feature names to wrap */
        min-width: 140px;
        position: sticky;
        left: 0;
        background: #0f172a;
        z-index: 2;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }

    .comparison-table th.feature-col {
        position: sticky;
        left: 0;
        background: #0f172a;
        z-index: 3;
    }

    /* Remove column hiding to show 'Full' table */
    .comparison-table th:nth-child(4),
    .comparison-table td:nth-child(4),
    .comparison-table th:nth-child(5),
    .comparison-table td:nth-child(5) {
        display: table-cell !important;
    }
}