/* =========================================================
   Landing Page Styles
   ========================================================= */

.landing-page {
    font-family: 'IBM Plex Sans', sans-serif;
    color: hsl(var(--foreground));
    background: hsl(var(--background));
    overflow-x: hidden;
}

/* ── Scroll Reveal System ─────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-stagger.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* ── Navbar ───────────────────────────────────────────────── */
.landing-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: hsl(var(--background) / 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.landing-nav.scrolled {
    border-bottom-color: hsl(var(--border));
    box-shadow: 0 2px 24px hsl(var(--foreground) / 0.06);
}

.landing-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}
.landing-nav-brand img {
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
}
.landing-nav-brand span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--foreground));
}
.landing-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ── Hero ─────────────────────────────────────────────────── */
.landing-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 7rem 2rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg,
        hsl(var(--sidebar-background)) 0%,
        hsl(var(--primary-dark)) 55%,
        hsl(220 35% 10%) 100%
    );
}

/* Aurora shimmer layer */
.landing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 110% 65% at 65% -10%, hsl(var(--primary) / 0.45) 0%, transparent 55%),
        radial-gradient(ellipse 70% 55% at -5% 85%,  hsl(35 100% 60% / 0.25) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 105% 60%, hsl(270 80% 65% / 0.18) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: auroraShift 10s ease-in-out infinite;
}
@keyframes auroraShift {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.06) translateY(-12px); }
}

/* Grid texture overlay */
.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(hsl(0 0% 100% / 0.07) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 20%, transparent 75%);
}

/* Animated gradient blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    animation: blobFloat 12s ease-in-out infinite;
    z-index: 0;
}
.hero-blob-1 {
    width: 600px; height: 600px;
    background: hsl(var(--primary) / 0.45);
    top: -160px; right: -100px;
    animation-duration: 11s;
}
.hero-blob-2 {
    width: 460px; height: 460px;
    background: hsl(35 100% 60% / 0.3);
    bottom: -100px; left: -100px;
    animation-duration: 14s;
    animation-direction: reverse;
}
.hero-blob-3 {
    width: 340px; height: 340px;
    background: hsl(270 80% 65% / 0.2);
    top: 35%; left: 8%;
    animation-duration: 17s;
    animation-delay: -5s;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(35px, -55px) scale(1.08); }
    66%       { transform: translate(-30px, 30px) scale(0.93); }
}

.landing-hero-content {
    max-width: 820px;
    position: relative;
    z-index: 2;
}

/* Floating notification cards */
.hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    background: hsl(0 0% 100% / 0.07);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid hsl(0 0% 100% / 0.14);
    border-radius: 12px;
    color: hsl(0 0% 95%);
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 3;
    pointer-events: none;
}
.hero-float-icon { font-size: 1.125rem; line-height: 1; }
.hero-float-val  { font-weight: 700; font-size: 0.875rem; color: #fff; }
.hero-float-lbl  { font-size: 0.72rem; opacity: 0.65; }
.hero-float-1 {
    top: 22%; left: 4%;
    animation: floatA 7s ease-in-out infinite;
}
.hero-float-2 {
    top: 28%; right: 4%;
    animation: floatB 8s ease-in-out infinite;
}
.hero-float-3 {
    bottom: 38%; right: 6%;
    animation: floatA 9s ease-in-out infinite 1.5s;
}
@keyframes floatA {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}
@keyframes floatB {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(10px); }
}

/* Badge */
.landing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: hsl(0 0% 100% / 0.1);
    border: 1px solid hsl(0 0% 100% / 0.22);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: hsl(0 0% 92%);
    margin-bottom: 1.5rem;
    animation: badgePulse 4s ease infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 hsl(var(--primary) / 0); }
    50%       { box-shadow: 0 0 0 8px hsl(var(--primary) / 0.15); }
}

/* Headline */
.landing-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: hsl(0 0% 97%);
    margin-bottom: 1.25rem;
}
.landing-hero h1 .accent {
    background: linear-gradient(90deg,
        hsl(var(--primary-light)),
        hsl(35 100% 65%),
        hsl(var(--primary-light))
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3.5s linear infinite;
}
@keyframes textShine {
    to { background-position: 200% center; }
}

.landing-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: hsl(0 0% 75%);
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}
.landing-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* CTA button glow */
.landing-hero .btn-primary {
    box-shadow: 0 0 28px hsl(var(--primary) / 0.55), 0 4px 18px hsl(var(--primary) / 0.35);
    animation: ctaGlow 2.8s ease-in-out infinite;
}
@keyframes ctaGlow {
    0%, 100% { box-shadow: 0 0 20px hsl(var(--primary) / 0.4), 0 4px 14px hsl(var(--primary) / 0.25); }
    50%       { box-shadow: 0 0 45px hsl(var(--primary) / 0.7), 0 4px 28px hsl(var(--primary) / 0.5); }
}
.landing-hero .btn-outline {
    border-color: hsl(0 0% 100% / 0.3);
    color: hsl(0 0% 95%);
    background: hsl(0 0% 100% / 0.06);
}
.landing-hero .btn-outline:hover {
    background: hsl(0 0% 100% / 0.14);
    border-color: hsl(0 0% 100% / 0.5);
    color: #fff;
}

/* ── Hero preview (peeking dashboard mockup) ──────────────── */
.hero-preview {
    width: 100%;
    max-width: 1020px;
    margin: 3rem auto 0;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    animation: heroPreviewFadeUp 1s ease 0.4s both;
}
@keyframes heroPreviewFadeUp {
    from { opacity: 0; transform: translateY(50px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* Single clean fade — mockup straight to page background */
.hero-preview::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(to bottom, transparent 0%, hsl(var(--background)) 100%);
    pointer-events: none;
    z-index: 10;
    border-radius: 0 0 14px 14px;
}
.hero-section-fade {
    display: none;
}
/* Hero preview: subtle 3D tilt */
.hero-preview .browser-mockup {
    transform: perspective(1400px) rotateX(5deg);
    transform-origin: top center;
    transition: transform 0.7s ease;
    border-radius: 14px 14px 0 0;
    max-width: 100%;
}
.hero-preview .browser-mockup:hover {
    transform: perspective(1400px) rotateX(2deg);
    box-shadow:
        0 0 0 1px hsl(var(--border)),
        0 50px 120px hsl(var(--primary) / 0.3);
}
/* Bars immediately visible in hero */
.hero-preview .dm-bar {
    height: var(--h);
    transition: none;
}
.hero-preview .dm-act {
    opacity: 1;
    transform: none;
    transition: background 0.2s;
}

/* Button shine (non-hero landing CTAs) */
.landing-page .btn-primary {
    position: relative;
    overflow: hidden;
}
.landing-page .btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    animation: btnShine 4s ease infinite 2s;
    pointer-events: none;
}
@keyframes btnShine {
    0%        { left: -100%; }
    50%, 100% { left: 200%; }
}

/* ── Section base ─────────────────────────────────────────── */
.landing-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.landing-section-full {
    padding: 5rem 2rem;
    background: hsl(var(--muted) / 0.3);
}
.landing-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: hsl(var(--primary));
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.0625rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    max-width: 580px;
}
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-header .section-subtitle { margin: 0 auto; }

/* ── Feature cards ────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.feature-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 12px;
    padding: 1.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px hsl(var(--foreground) / 0.09);
    border-color: hsl(var(--primary) / 0.35);
}
.feature-icon {
    width: 3rem; height: 3rem;
    border-radius: 10px;
    background: hsl(var(--primary) / 0.1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
    color: hsl(var(--primary));
}
.feature-icon svg { width: 1.5rem; height: 1.5rem; }
.feature-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.0625rem; font-weight: 600;
    margin-bottom: 0.5rem;
    color: hsl(var(--foreground));
}
.feature-card p {
    font-size: 0.9375rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
}

/* ── Browser mockup wrapper ───────────────────────────────── */
.mockup-section {
    padding-bottom: 6rem;
}

.browser-mockup {
    max-width: 1020px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 0 0 1px hsl(var(--border)),
        0 30px 80px hsl(var(--foreground) / 0.14),
        0 8px 24px hsl(var(--foreground) / 0.08);
    transform: perspective(1200px) rotateX(1deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.browser-mockup:hover {
    transform: perspective(1200px) rotateX(0deg);
    box-shadow:
        0 0 0 1px hsl(var(--border)),
        0 40px 100px hsl(var(--foreground) / 0.18),
        0 12px 32px hsl(var(--foreground) / 0.1);
}

/* Browser chrome bar */
.browser-chrome {
    height: 40px;
    background: hsl(var(--muted) / 0.6);
    border-bottom: 1px solid hsl(var(--border));
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.75rem;
}
.browser-dots {
    display: flex;
    gap: 5px;
}
.browser-dots span {
    width: 11px; height: 11px;
    border-radius: 50%;
    display: block;
}
.browser-address {
    flex: 1;
    max-width: 320px;
    height: 22px;
    background: hsl(var(--background));
    border: 1px solid hsl(var(--border));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.6875rem;
    color: hsl(var(--muted-foreground));
}
.browser-address svg { width: 10px; height: 10px; opacity: 0.6; }

/* ── Dashboard mockup inner layout ───────────────────────── */
.dm-wrapper {
    display: flex;
    height: 430px;
    background: hsl(var(--background));
}

/* Sidebar */
.dm-sidebar {
    width: 148px;
    flex-shrink: 0;
    background: hsl(var(--sidebar-background, 196 90% 15%));
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0;
    border-right: 1px solid hsl(var(--sidebar-border, 196 60% 22%));
}
.dm-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem 1rem;
}
.dm-brand img {
    width: 1.5rem; height: 1.5rem;
    border-radius: 4px;
}
.dm-brand span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: hsl(var(--sidebar-foreground, 0 0% 95%));
}
.dm-nav {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 0 0.5rem;
}
.dm-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.625rem;
    border-radius: 6px;
    font-size: 0.7rem;
    color: hsl(var(--sidebar-muted, 196 30% 65%));
    cursor: default;
    transition: background 0.2s;
}
.dm-nav-item svg { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }
.dm-nav-item.active {
    background: hsl(var(--sidebar-accent, 196 55% 26%));
    color: hsl(0 0% 96%);
}

/* Main area */
.dm-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0.75rem;
    gap: 0.625rem;
    background: hsl(var(--muted) / 0.15);
}

/* Topbar inside dashboard */
.dm-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dm-page-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--foreground));
}
.dm-page-sub {
    font-size: 0.65rem;
    color: hsl(var(--muted-foreground));
}

/* Live badge */
.dm-live-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    background: hsl(142 70% 45% / 0.1);
    color: hsl(142 60% 35%);
    border: 1px solid hsl(142 70% 45% / 0.25);
    border-radius: 100px;
    padding: 2px 8px;
    font-size: 0.625rem;
    font-weight: 600;
}
.dm-live-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: hsl(142 70% 45%);
    animation: livePulse 2s ease infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.75); }
}

/* Stats row */
.dm-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}
.dm-stat {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    padding: 0.5rem 0.625rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.dm-stat-icon {
    width: 28px; height: 28px;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.dm-stat-icon svg { width: 0.875rem; height: 0.875rem; }
.dm-icon-income  { background: hsl(142 60% 45% / 0.12); color: hsl(142 60% 38%); }
.dm-icon-expense { background: hsl(0 80% 55% / 0.12);  color: hsl(0 75% 50%);   }
.dm-icon-order   { background: hsl(var(--primary) / 0.12); color: hsl(var(--primary)); }
.dm-icon-delivery{ background: hsl(35 100% 55% / 0.12); color: hsl(35 100% 42%); }

.dm-stat-body { min-width: 0; }
.dm-stat-lbl {
    font-size: 0.6rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dm-stat-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: hsl(var(--foreground));
    line-height: 1.1;
    white-space: nowrap;
}
.dm-stat-chg {
    font-size: 0.6rem;
    font-weight: 500;
    margin-top: 2px;
}
.dm-stat-chg.pos  { color: hsl(142 60% 40%); }
.dm-stat-chg.neg  { color: hsl(0 75% 52%); }
.dm-stat-chg.muted{ color: hsl(var(--muted-foreground)); }

/* Content grid (chart + activity) */
.dm-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 0.5rem;
    flex: 1;
    min-height: 0;
}
.dm-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    padding: 0.625rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.dm-card-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.dm-card-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: hsl(var(--foreground));
}
.dm-card-tag {
    font-size: 0.6rem;
    color: hsl(var(--muted-foreground));
}

/* ── Animated Bar Chart ───────────────────────────────────── */
.dm-chart-wrap {
    display: flex;
    gap: 0.375rem;
    flex: 1;
    min-height: 0;
}
.dm-chart-yaxis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 1rem;
}
.dm-chart-yaxis span {
    font-size: 0.55rem;
    color: hsl(var(--muted-foreground) / 0.7);
}
.dm-chart-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.dm-chart-gridlines {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
}
.dm-chart-gridlines > div {
    height: 1px;
    background: hsl(var(--border) / 0.6);
}
.dm-bars-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    padding-bottom: 1.1rem;
}
.dm-bar-grp {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    flex-direction: row;
    position: relative;
}
.dm-bar {
    width: 9px;
    height: 0;
    border-radius: 3px 3px 0 0;
    transition: height 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: calc(var(--i, 0) * 0.12s);
}
/* Bars animate to their pixel height when browser-mockup gets .revealed */
.browser-mockup.revealed .dm-bar {
    height: var(--h);
}
.dm-bar-in { background: hsl(var(--primary)); }
.dm-bar-ex { background: hsl(0 76% 60%); }

.dm-bar-lbl {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    color: hsl(var(--muted-foreground) / 0.7);
    white-space: nowrap;
}

/* Chart legend */
.dm-chart-legend {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.25rem;
}
.dm-lgd {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6rem;
    color: hsl(var(--muted-foreground));
}
.dm-lgd-dot {
    width: 8px; height: 8px;
    border-radius: 2px;
    flex-shrink: 0;
}
.dm-lgd-in { background: hsl(var(--primary)); }
.dm-lgd-ex { background: hsl(0 76% 60%); }

/* ── Activity feed ────────────────────────────────────────── */
.dm-activity {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex: 1;
    overflow: hidden;
}
.dm-act {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.25rem;
    border-radius: 6px;
    background: hsl(var(--muted) / 0.4);
    /* Animate in when mockup revealed */
    opacity: 0;
    transform: translateX(14px);
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.2s;
}
.dm-act:hover { background: hsl(var(--muted) / 0.7); }
.browser-mockup.revealed .dm-act {
    opacity: 1;
    transform: translateX(0);
}
.dm-act-icon {
    width: 22px; height: 22px;
    border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.dm-act-icon svg { width: 0.7rem; height: 0.7rem; }
.dm-act-icon.dm-act-in  { background: hsl(142 60% 45% / 0.15); color: hsl(142 60% 38%); }
.dm-act-icon.dm-act-ex  { background: hsl(0 75% 55% / 0.12);   color: hsl(0 70% 50%);   }
.dm-act-icon.dm-act-del { background: hsl(var(--primary) / 0.12); color: hsl(var(--primary)); }

.dm-act-info { flex: 1; min-width: 0; }
.dm-act-name {
    font-size: 0.6875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dm-act-time {
    font-size: 0.575rem;
    color: hsl(var(--muted-foreground));
}
.dm-act-amt {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6875rem;
    font-weight: 600;
    flex-shrink: 0;
}
.dm-act-amt.in  { color: hsl(142 60% 38%); }
.dm-act-amt.ex  { color: hsl(0 70% 50%); }
.dm-act-amt.del { color: hsl(var(--primary)); }

/* ── Pricing ──────────────────────────────────────────────── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1120px;
    margin: 0 auto;
}
.pricing-card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px hsl(var(--foreground) / 0.11);
}
.pricing-card.featured {
    border-color: hsl(var(--primary) / 0.5);
    background: hsl(var(--primary) / 0.03);
}

/* Coming Soon card */
.pricing-card.coming-soon {
    border-color: hsl(270 60% 60% / 0.45);
    background: hsl(270 50% 50% / 0.03);
    position: relative;
    overflow: hidden;
}
.pricing-card.coming-soon::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, hsl(270 70% 65% / 0.5), hsl(220 80% 65% / 0.4), hsl(270 70% 65% / 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: aiGlow 3s ease infinite;
}
@keyframes aiGlow {
    0%, 100% { opacity: 0.6; }
    50%       { opacity: 1; }
}
.pricing-card.coming-soon .pricing-price,
.pricing-card.coming-soon .pricing-card h3 {
    opacity: 0.65;
}
.pricing-card.coming-soon .pricing-features li {
    color: hsl(var(--muted-foreground));
}
.pricing-badge.soon {
    background: linear-gradient(135deg, hsl(270 70% 55%), hsl(220 80% 58%));
    animation: soonPulse 2.5s ease infinite;
}
@keyframes soonPulse {
    0%, 100% { box-shadow: 0 0 0 0 hsl(270 70% 55% / 0); }
    50%       { box-shadow: 0 0 0 6px hsl(270 70% 55% / 0.2); }
}
.btn-coming-soon {
    width: 100%;
    padding: 0.625rem 1rem;
    border-radius: var(--radius);
    border: 1px solid hsl(270 60% 60% / 0.4);
    background: hsl(270 50% 55% / 0.08);
    color: hsl(270 60% 55%);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: not-allowed;
    text-align: center;
    letter-spacing: 0.02em;
}
.pricing-badge {
    position: absolute;
    top: -0.875rem; left: 50%;
    transform: translateX(-50%);
    background: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-size: 0.75rem; font-weight: 600;
    padding: 0.25rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}
.pricing-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem; font-weight: 700;
    margin-bottom: 0.5rem;
}
.pricing-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem; font-weight: 700;
    color: hsl(var(--primary));
    line-height: 1;
    margin-bottom: 0.25rem;
}
.pricing-price span {
    font-size: 1rem; font-weight: 400;
    color: hsl(var(--muted-foreground));
}
.pricing-desc {
    font-size: 0.9375rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.75rem;
    line-height: 1.5;
}
.pricing-features {
    list-style: none; padding: 0;
    margin: 0 0 2rem;
    display: flex; flex-direction: column; gap: 0.75rem;
}
.pricing-features li {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 0.9375rem;
    color: hsl(var(--foreground));
}
.pricing-features li svg {
    width: 1.125rem; height: 1.125rem;
    color: hsl(var(--primary));
    flex-shrink: 0;
}

/* ── Mobile App Coming Soon ───────────────────────────────── */
.mobile-app-section {
    padding: 5rem 2rem;
    background: hsl(var(--sidebar-background, 196 90% 15%));
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative phone outlines */
.mobile-app-phones {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.phone-outline {
    position: absolute;
    width: 100px;
    height: 180px;
    border: 2px solid hsl(0 0% 100% / 0.1);
    border-radius: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.phone-outline::before {
    content: '';
    position: absolute;
    width: 32px; height: 5px;
    background: hsl(0 0% 100% / 0.1);
    border-radius: 3px;
    top: 10px; left: 50%;
    transform: translateX(-50%);
}
.phone-outline::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    border: 2px solid hsl(0 0% 100% / 0.1);
    border-radius: 50%;
    bottom: 10px; left: 50%;
    transform: translateX(-50%);
}
.phone-left  { left: 8%; transform: translateY(-50%) rotate(-10deg); }
.phone-right { right: 8%; transform: translateY(-50%) rotate(10deg); }

.mobile-app-content {
    position: relative;
    z-index: 1;
    max-width: 580px;
    margin: 0 auto;
}
.mobile-app-content .landing-hero-badge {
    background: hsl(0 0% 100% / 0.1);
    border-color: hsl(0 0% 100% / 0.2);
    color: hsl(0 0% 100% / 0.85);
}
.mobile-app-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: hsl(0 0% 100%);
    margin-bottom: 1rem;
}
.mobile-app-subtitle {
    font-size: 1.0625rem;
    color: hsl(0 0% 100% / 0.65);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Store badge buttons */
.store-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.store-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: hsl(0 0% 100% / 0.08);
    border: 1px solid hsl(0 0% 100% / 0.18);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    position: relative;
    min-width: 175px;
    cursor: not-allowed;
    transition: background 0.2s;
}
.store-badge:hover {
    background: hsl(0 0% 100% / 0.12);
}
.store-badge-icon {
    width: 28px; height: 28px;
    color: hsl(0 0% 100% / 0.8);
    flex-shrink: 0;
}
.store-badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}
.store-badge-sub {
    font-size: 0.6875rem;
    color: hsl(0 0% 100% / 0.55);
    line-height: 1;
}
.store-badge-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: hsl(0 0% 100% / 0.9);
    line-height: 1.2;
}
.store-badge-soon {
    position: absolute;
    top: -8px; right: -8px;
    background: hsl(270 70% 60%);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 100px;
    animation: soonPulse 2.5s ease infinite;
}

/* ── CTA section ──────────────────────────────────────────── */
.landing-cta {
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, hsl(var(--primary) / 0.07), hsl(var(--primary) / 0.02));
    border-top: 1px solid hsl(var(--primary) / 0.12);
    border-bottom: 1px solid hsl(var(--primary) / 0.12);
}
.landing-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(hsl(var(--primary) / 0.07) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}
.landing-cta h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
    color: hsl(var(--foreground));
    position: relative;
}
.landing-cta p {
    font-size: 1.0625rem;
    color: hsl(var(--muted-foreground));
    margin-bottom: 2.5rem;
    position: relative;
}

/* ── Footer ───────────────────────────────────────────────── */
.landing-footer {
    padding: 1.75rem 2rem;
    border-top: 1px solid hsl(var(--border));
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}
.landing-footer a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.2s;
}
.landing-footer a:hover { color: hsl(var(--primary)); }
.landing-footer-links {
    display: flex;
    gap: 1.5rem;
}
.landing-footer-copy {
    flex: 1;
    text-align: center;
}
.landing-footer-contact {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.landing-footer-contact-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    transition: color 0.2s;
}
.landing-footer-contact-link:hover { color: hsl(var(--primary)); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
    .dm-sidebar { display: none; }
    .dm-stats   { grid-template-columns: repeat(2, 1fr); }
    .dm-grid    { grid-template-columns: 1fr; }
    .dm-grid > .dm-card:last-child { display: none; }
}

@media (max-width: 640px) {
    .landing-nav { padding: 0.875rem 1rem; }
    .landing-nav-actions .btn-outline { display: none; }
    .landing-hero { padding: 7rem 1rem 4rem; }
    .landing-section { padding: 3.5rem 1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .landing-footer { flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
    .landing-footer-copy { flex: unset; }
    .landing-footer-contact { justify-content: center; }
    .browser-mockup { transform: none; }
    .browser-mockup:hover { transform: none; }
}
