@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');

/* ─── Design tokens (Human-Centric) ─── */
:root {
    /* Core */
    --navy:       #2A2826;     /* Warm Charcoal */
    --navy-2:     #3B3835;     /* Lighter Charcoal */
    --surface:    #FAF8F5;     /* Warm Oat / Off-White */
    --surface-2:  #F2EFE9;     /* Slightly darker Oat */
    --surface-3:  #E8E4DD;     /* Warm Sand */
    --text:       #2A2826;     /* Charcoal */
    --text-2:     #4A4744;     /* Medium Warm Gray */
    --muted:      #76736F;     /* Muted Warm Gray */
    --border:     rgba(42, 40, 38, 0.08);
    --border-2:   rgba(42, 40, 38, 0.15);

    /* Brand */
    --indigo:     #D97757;     /* Terracotta */
    --indigo-dk:  #C26345;     /* Dark Terracotta */
    --violet:     #E8B49A;     /* Soft Peach */
    --cyan:       #7D9B85;     /* Sage Green */
    --sky:        #8FA896;     /* Light Sage */
    --emerald:    #7D9B85;     /* Sage Green */
    --amber:      #E4A853;     /* Warm Mustard */
    --pink:       #C97A7E;     /* Dusty Rose */

    /* Shadows - Softer & Warmer */
    --shadow-xs:  0 2px 4px rgba(42, 40, 38, 0.04);
    --shadow-sm:  0 4px 12px rgba(42, 40, 38, 0.06);
    --shadow-md:  0 8px 24px rgba(42, 40, 38, 0.08);
    --shadow-lg:  0 12px 36px rgba(42, 40, 38, 0.1);
    --shadow-xl:  0 24px 64px rgba(42, 40, 38, 0.12);

    /* Layout */
    --max-w:      1160px;
    --gap:        1.5rem;
    --section-py: 8rem;
    --radius:     20px;
    --radius-lg:  32px;
}

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--surface);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, .brand {
    font-family: 'DM Serif Display', serif;
    line-height: 1.15;
    letter-spacing: -0.01em;
    font-weight: 400;
}
a { text-decoration: none; }
img { display: block; max-width: 100%; }
input, button { font-family: inherit; }
*:focus-visible {
    outline: 2px solid var(--indigo);
    outline-offset: 2px;
    border-radius: 4px;
}
button:focus-visible, a:focus-visible { outline-offset: 3px; }

/* ─── Container ─── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ─── Eyebrow / label ─── */
.eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--indigo);
    display: block;
    margin-bottom: 0.875rem;
}

/* ─── Section header ─── */
.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 4.5rem;
}
.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    color: var(--navy);
    margin-bottom: 1rem;
}
.section-header.light h2 { color: var(--surface); }
.section-sub {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.75;
}

/* ────────────────────────────────────────
   NAVBAR
───────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    padding: 1.125rem 0;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.07), var(--shadow-sm);
    padding: 0.75rem 0;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.logo-mark {
    width: 32px; height: 32px;
    border-radius: 9px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.brand {
    font-size: 1.175rem;
    font-weight: 800;
    color: var(--navy);
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 0.125rem;
}
.nav-links a {
    display: block;
    padding: 0.45rem 0.875rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-2);
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface-3); }
.nav-links a.active { color: var(--indigo); background: rgba(99, 91, 255, 0.07); font-weight: 600; }

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    font-size: 0.925rem;
    border-radius: 9px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    padding: 0.7rem 1.4rem;
}
.btn:active { transform: scale(0.98); }
.btn-cta {
    background: var(--indigo);
    color: white;
    font-size: 0.875rem;
    padding: 0.6rem 1.2rem;
    box-shadow: 0 2px 8px rgba(99,91,255,0.3);
}
.btn-cta:hover { background: var(--indigo-dk); box-shadow: 0 4px 14px rgba(99,91,255,0.4); transform: translateY(-1px); }
.btn-cta:active { transform: translateY(1px); box-shadow: none; }
.btn-primary {
    background: var(--indigo);
    color: white;
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    box-shadow: 0 4px 14px rgba(99,91,255,0.35);
}
.btn-primary:hover { background: var(--indigo-dk); box-shadow: 0 6px 20px rgba(99,91,255,0.45); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 1px 4px rgba(99,91,255,0.25); }
.btn-link {
    color: var(--indigo);
    background: transparent;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    border: 1.5px solid rgba(99, 91, 255, 0.25);
    border-radius: 9px;
}
.btn-link:hover {
    color: var(--indigo-dk);
    background: rgba(99, 91, 255, 0.05);
    border-color: rgba(99, 91, 255, 0.45);
    transform: translateY(-1px);
}
.btn-link:active { transform: translateY(1px); }
.btn-app-light {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    margin-top: auto;
    padding: 0.75rem 1.25rem;
}
.btn-app-light:hover { background: rgba(255,255,255,0.16); color: white; transform: translateY(-1px); }
.btn-white {
    background: white;
    color: var(--navy);
    padding: 0.85rem 1.75rem;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}
.btn-white:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

/* ────────────────────────────────────────
   HERO — Warm organic mesh
───────────────────────────────────────── */
.hero {
    min-height: 100vh;
    background: var(--surface);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 5.5rem;
}
.hero-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle 800px at 15% 10%, rgba(217, 119, 87, 0.08) 0%, transparent 60%),
        radial-gradient(circle 900px at 85% 20%, rgba(125, 155, 133, 0.08) 0%, transparent 60%),
        radial-gradient(circle 600px at 50% 90%, rgba(232, 180, 154, 0.12) 0%, transparent 60%);
}
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 3rem;
    padding-bottom: 6rem;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    border-radius: 100px;
    background: rgba(99,91,255,0.07);
    border: 1px solid rgba(99,91,255,0.18);
    color: var(--indigo);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1.75rem;
}
.badge-pip {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--indigo);
    box-shadow: 0 0 5px var(--indigo);
    animation: pip 2s ease-in-out infinite;
}
@keyframes pip {
    0%,100% { opacity:1; box-shadow: 0 0 5px var(--indigo); }
    50%      { opacity:0.5; box-shadow: 0 0 10px var(--indigo); }
}
.hero-content h1 {
    font-size: clamp(2.875rem, 5.5vw, 5rem);
    font-weight: 900;
    color: var(--navy);
    margin-bottom: 1.5rem;
    line-height: 1.08;
}
.hero-em {
    background: linear-gradient(130deg, var(--indigo) 0%, var(--violet) 40%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 1.1rem;
    color: var(--muted);
    line-height: 1.75;
    max-width: 460px;
    margin-bottom: 2rem;
}
.cta-row {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.hero-trust {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.hero-trust span {
    font-size: 0.825rem;
    color: var(--muted);
    font-weight: 500;
}

/* ─── Browser frame mockup ─── */
.hero-visual { position: relative; }

.browser-frame {
    background: var(--navy);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06),
        0 24px 60px rgba(10,37,64,0.3),
        0 8px 24px rgba(10,37,64,0.2);
    transform: perspective(1400px) rotateY(-3deg) rotateX(2deg);
    transition: transform 0.5s ease;
}
.browser-frame:hover { transform: perspective(1400px) rotateY(0deg) rotateX(0deg); }

.browser-bar {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.6rem 0.875rem;
    background: #0D2D4F;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
}
.b-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.b-dot.r { background: #FF5F57; }
.b-dot.y { background: #FFBD2E; }
.b-dot.g { background: #28CA41; }
.b-address {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    padding: 0.28rem 0.65rem;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
    margin: 0 0.25rem;
    flex-shrink: 0;
}
.b-tab {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.3);
    padding: 0.28rem 0.65rem;
    border-radius: 5px;
    white-space: nowrap;
    flex-shrink: 0;
}
.b-tab.active {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.75);
}

.browser-body { background: #F6F9FC; }

/* ─── Pinodock inner UI ─── */
.pd-ui { display: flex; flex-direction: column; gap: 0; }

.pd-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background: white;
    border-bottom: 1px solid var(--border);
}
.pd-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.82rem;
    color: var(--muted);
    background: transparent;
    cursor: text;
    display: inline-flex;
    align-items: center;
}
.pd-input::after {
    content: '';
    display: inline-block;
    width: 1.5px;
    height: 0.85em;
    background: var(--indigo);
    margin-left: 3px;
    vertical-align: middle;
    border-radius: 1px;
    animation: blink-cursor 1.1s step-end infinite;
}
@keyframes blink-cursor {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}
kbd {
    font-size: 0.65rem;
    font-family: 'Inter', monospace;
    padding: 0.15rem 0.4rem;
    background: var(--surface-3);
    border: 1px solid var(--border-2);
    border-radius: 4px;
    color: var(--muted);
    flex-shrink: 0;
}

.pd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 1rem;
    background: var(--surface-2);
    gap: 0.75rem;
}
.pd-quick-links { grid-column: 1; }
.pd-link-title {
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.6rem;
}
.pd-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}
.pd-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.6rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.7rem;
    color: var(--text-2);
    transition: box-shadow 0.15s;
}
.pd-link span {
    width: 20px; height: 20px;
    border-radius: 5px;
    background: var(--c, #6b7280);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pd-link:hover { box-shadow: var(--shadow-sm); }

.pd-right { display: flex; flex-direction: column; gap: 0.6rem; }

.pd-pomo {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem;
}
.pd-pomo-header {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 0.6rem;
}
.pd-pomo-status {
    margin-left: auto;
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--indigo);
    background: rgba(99,91,255,0.08);
    padding: 0.15rem 0.45rem;
    border-radius: 100px;
}
.pd-pomo-ring {
    position: relative;
    width: 54px; height: 54px;
    margin: 0 auto 0.5rem;
}
.pd-pomo-ring svg { width: 100%; height: 100%; }
.pd-pomo-ring span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
}
.pd-pomo-controls {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
}
.pomo-btn {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
    font-size: 0.58rem;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.15s;
}
.pomo-btn:hover { background: var(--surface-3); }

.pd-todos {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.pd-todo-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-2);
    margin-bottom: 0.25rem;
}
.pd-todo-header span {
    font-weight: 500;
    color: var(--muted);
}
.pd-todo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: var(--text-2);
}
.pd-todo.done { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--border-2); }

.pd-clipboard {
    padding: 0.75rem 1rem;
    background: white;
    border-top: 1px solid var(--border);
}
.pd-clip-header {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.67rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 0.5rem;
}
.pd-clips { display: flex; flex-direction: column; gap: 0.3rem; }
.pd-clip {
    font-size: 0.68rem;
    color: var(--text-2);
    font-family: 'SF Mono', 'Fira Code', monospace;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ─── Floating PinoDrive card ─── */
.float-card {
    position: absolute;
    bottom: -20px;
    right: -24px;
    width: 210px;
    background: white;
    border-radius: 16px;
    padding: 1rem 1.125rem;
    box-shadow: var(--shadow-xl), 0 0 0 1px var(--border);
    animation: fc-float 4s ease-in-out infinite;
}
@keyframes fc-float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.fc-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}
.fc-icon {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(99,91,255,0.1), rgba(6,182,212,0.1));
    border: 1px solid rgba(99,91,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.fc-name { font-size: 0.78rem; font-weight: 700; color: var(--text); font-family: 'Outfit', sans-serif; }
.fc-sub  { font-size: 0.65rem; color: var(--muted); }
.fc-chart { display: flex; align-items: center; gap: 0.75rem; }
.fc-donut {
    position: relative;
    width: 68px; height: 68px;
    flex-shrink: 0;
}
.fc-donut svg { width: 100%; height: 100%; }
.fc-pct {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
}
.fc-pct span { font-size: 0.55rem; font-weight: 500; color: var(--muted); }
.fc-legend { display: flex; flex-direction: column; gap: 0.3rem; }
.fc-leg {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.67rem;
    color: var(--muted);
}
.fc-leg span {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.fc-leg b { font-weight: 600; color: var(--text-2); margin-left: auto; }

/* ────────────────────────────────────────
   TRUST BAR
───────────────────────────────────────── */
.trust-bar {
    background: var(--surface-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.875rem 0;
}
.trust-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 500;
}
.tb-dot { color: var(--border-2); font-size: 1.2em; }

/* ────────────────────────────────────────
   PHILOSOPHY / BENTO
───────────────────────────────────────── */
.philosophy {
    padding: var(--section-py) 0;
    background: var(--surface-2);
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: var(--gap);
}
.bento-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}
.bento-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: rgba(99,91,255,0.2);
}
.bento-card.span-2 { grid-column: span 2; }
.bento-card.tall { grid-row: span 2; }
.bento-icon {
    width: 46px; height: 46px;
    border-radius: 13px;
    background: color-mix(in srgb, var(--ic, #635BFF) 10%, white);
    border: 1px solid color-mix(in srgb, var(--ic, #635BFF) 18%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.bento-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.375rem;
}
.bento-content p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
}
.bento-chip {
    align-self: flex-start;
    margin-top: auto;
    padding: 0.28rem 0.7rem;
    background: rgba(99,91,255,0.07);
    color: var(--indigo);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* ────────────────────────────────────────
   APPS SECTION — Dark navy
───────────────────────────────────────── */
.apps-section {
    padding: var(--section-py) 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.apps-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 60% at 10% 20%, rgba(124,58,237,0.2) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 80%, rgba(6,182,212,0.15) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 60% 0%, rgba(99,91,255,0.12) 0%, transparent 55%);
}
.apps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}
.app-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
    backdrop-filter: blur(10px);
}
.app-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-4px);
}
.app-card-top {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}
.app-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.pinodock-icon { background: linear-gradient(135deg, #635BFF, #7C3AED); }
.pinodrive-icon { background: linear-gradient(135deg, #2E7D32, #1565C0); }
.app-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.375rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}
.app-type {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.app-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
}
.app-feats {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.app-feats li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}
.app-feats li svg { flex-shrink: 0; margin-top: 1px; }

/* ────────────────────────────────────────
   METRICS
───────────────────────────────────────── */
.metrics-section {
    padding: var(--section-py) 0;
    background: var(--surface);
}
.metrics-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.metric {
    text-align: center;
    padding: 0 3.5rem;
    flex: 1;
}
.m-num {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--indigo), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.m-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.375rem;
}
.m-sub {
    font-size: 0.825rem;
    color: var(--muted);
    line-height: 1.5;
    max-width: 180px;
    margin: 0 auto;
}
.m-rule {
    width: 1px;
    height: 80px;
    background: var(--border);
    align-self: center;
    flex-shrink: 0;
}

/* ────────────────────────────────────────
   CTA SECTION
───────────────────────────────────────── */
.cta-section {
    padding: 8rem 0;
    background: var(--navy);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 70% at 20% 10%, rgba(124,58,237,0.25) 0%, transparent 55%),
        radial-gradient(ellipse 60% 60% at 85% 90%, rgba(6,182,212,0.2) 0%, transparent 55%),
        radial-gradient(ellipse 50% 50% at 60% 50%, rgba(99,91,255,0.1) 0%, transparent 55%);
}
.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}
.cta-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1.25rem;
}
.cta-section p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}
.cta-section .cta-row { justify-content: center; }

/* ────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.footer {
    background: #060F1D;
    padding: 4.5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
    line-height: 1.7;
    max-width: 260px;
    margin-bottom: 1.25rem;
}
.footer-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.footer-pills span {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.3);
}
.footer-col h5 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.125rem;
    letter-spacing: 0.02em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.3);
    transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255,255,255,0.75); }
.footer-bottom { text-align: center; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.18); }

/* ────────────────────────────────────────
   SCROLLBAR
───────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: #1A3A5C; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #274D75; }

/* ────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; gap: 3.5rem; }
    .hero-sub { margin: 0 auto; }
    .hero-badge { margin: 0 auto 1.75rem; }
    .hero-trust { justify-content: center; }
    .cta-row { justify-content: center; }
    .hero-visual { max-width: 580px; margin: 0 auto; }
    .bento-grid { grid-template-columns: repeat(2,1fr); }
    .bento-card.span-2 { grid-column: span 2; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
}
@media (max-width: 768px) {
    :root { --section-py: 5rem; }
    .nav-links { display: none; }
    .trust-bar .container { gap: 0.625rem; }
    .tb-dot { display: none; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-card.span-2, .bento-card.tall { grid-column: auto; grid-row: auto; }
    .apps-grid { grid-template-columns: 1fr; }
    .metrics-grid { flex-wrap: wrap; }
    .metric { flex: 1 0 45%; padding: 1.5rem; }
    .m-rule { display: none; }
    .float-card { display: none; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .cta-section h2 { font-size: 2.25rem; }
}
/* ════════════════════════════════════════
   BLOG — Index & Post shared styles
════════════════════════════════════════ */

/* Blog index */
.blog-hero {
    padding: 9rem 0 5rem;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}
.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 600px at 10% 0%, rgba(217,119,87,0.07) 0%, transparent 60%),
        radial-gradient(circle 500px at 90% 80%, rgba(125,155,133,0.07) 0%, transparent 60%);
    pointer-events: none;
}
.blog-hero-inner { position: relative; z-index: 1; }
.blog-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--navy); margin-bottom: 1rem;
}
.blog-hero p { font-size: 1.1rem; color: var(--muted); max-width: 540px; line-height: 1.75; }

/* Tag filter bar */
.tag-bar {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    margin: 2.5rem 0 3rem;
}
.tag-btn {
    padding: 0.375rem 1rem; border-radius: 100px;
    font-size: 0.8rem; font-weight: 600; cursor: pointer;
    border: 1.5px solid var(--border-2);
    background: white; color: var(--text-2);
    transition: all 0.18s ease;
}
.tag-btn:hover { border-color: var(--indigo); color: var(--indigo); }
.tag-btn.active { background: var(--indigo); border-color: var(--indigo); color: white; }

/* Post cards grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    padding-bottom: 6rem;
}
.post-card {
    background: white; border: 1px solid var(--border);
    border-radius: 18px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
    text-decoration: none; color: inherit;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.post-tag {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.25rem 0.7rem; border-radius: 100px;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
    text-transform: uppercase; margin-bottom: 0.875rem;
    width: fit-content;
}
.post-tag.tag-pinodock { background: rgba(124,92,255,0.1); color: #7c5cf6; }
.post-tag.tag-productivity { background: rgba(125,155,133,0.15); color: var(--cyan); }
.post-tag.tag-design { background: rgba(217,119,87,0.12); color: var(--indigo); }
.post-tag.tag-plugins { background: rgba(228,168,83,0.15); color: #c8862a; }
.post-card h2 {
    font-size: 1.2rem; color: var(--navy);
    margin-bottom: 0.625rem; line-height: 1.3;
}
.post-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; flex: 1; }
.post-meta {
    display: flex; align-items: center; gap: 0.75rem;
    margin-top: 1.25rem; padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.78rem; color: var(--muted); font-weight: 500;
}
.post-meta-dot { color: var(--border-2); }

/* ── Blog post page ── */
.post-layout {
    max-width: 720px; margin: 0 auto;
    padding: 7.5rem 2rem 6rem;
}
.post-header { margin-bottom: 2.5rem; }
.post-header .post-tag { margin-bottom: 1.25rem; }
.post-header h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: var(--navy); line-height: 1.12;
    margin-bottom: 1.25rem;
}
.post-header .post-meta { border-top: none; padding-top: 0; margin-top: 0; }
.post-divider {
    border: none; border-top: 1px solid var(--border);
    margin: 2rem 0 2.5rem;
}
.post-lead {
    font-size: 1.15rem; color: var(--text-2);
    line-height: 1.8; margin-bottom: 2rem; font-weight: 400;
}
.post-body { font-size: 1.0rem; line-height: 1.85; color: var(--text-2); }
.post-body h2 {
    font-size: 1.625rem; color: var(--navy);
    margin: 2.5rem 0 0.875rem;
    font-family: 'DM Serif Display', serif;
}
.post-body h3 {
    font-size: 1.15rem; color: var(--navy);
    margin: 2rem 0 0.6rem; font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.post-body p { margin-bottom: 1.25rem; }
.post-body ul, .post-body ol {
    padding-left: 1.5rem; margin-bottom: 1.25rem;
}
.post-body li { margin-bottom: 0.5rem; }
.post-body strong { color: var(--navy); font-weight: 600; }
.post-body a { color: var(--indigo); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--indigo-dk); }
.post-callout {
    background: var(--surface-2); border-left: 3px solid var(--indigo);
    border-radius: 0 12px 12px 0; padding: 1.25rem 1.5rem;
    margin: 2rem 0; font-size: 0.95rem; color: var(--text-2);
}
.post-callout strong { color: var(--navy); }
.post-kbd {
    display: inline-block;
    padding: 0.15rem 0.5rem; border-radius: 5px;
    background: var(--surface-3); border: 1px solid var(--border-2);
    font-family: 'SF Mono', 'Fira Code', monospace; font-size: 0.82rem;
    color: var(--navy); line-height: 1.5;
}
.post-tag-list {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
    margin: 2.5rem 0 0;
}
.post-tag-item {
    padding: 0.3rem 0.875rem; border-radius: 100px;
    font-size: 0.78rem; font-weight: 600;
    background: var(--surface-2); color: var(--muted);
    border: 1px solid var(--border-2);
}

/* Related posts */
.related-posts {
    background: var(--surface-2);
    padding: 4rem 0;
    border-top: 1px solid var(--border);
}
.related-posts h3 {
    font-size: 1.5rem; color: var(--navy);
    margin-bottom: 1.5rem;
    font-family: 'DM Serif Display', serif;
}
.related-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.related-card {
    background: white; border: 1px solid var(--border);
    border-radius: 14px; padding: 1.25rem;
    text-decoration: none; color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
    display: block;
}
.related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related-card .post-tag { margin-bottom: 0.625rem; }
.related-card h4 { font-size: 0.95rem; color: var(--navy); line-height: 1.35; font-weight: 600; }

@media (max-width: 900px) {
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .posts-grid { grid-template-columns: 1fr; }
    .related-grid { grid-template-columns: 1fr; }
    .post-layout { padding: 6rem 1.25rem 4rem; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.625rem; }
    .btn-cta { display: none; }
    .metric { flex: 1 0 100%; }
}
