/* ============================================================
   KAMVA DIGITAL - COMPLETE SITE STYLESHEET
   Apple-tier design system — LIGHT THEME
   Covers: Home, Services, Products, Product, Insights,
   Articles, Article, Checkout, Team, plus shared components
   ============================================================ */

/* ============================================================
   1. RESET & TOKENS
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }

:root {
    /* Colors */
    --bg: #ffffff;
    --surface: #f5f5f7;
    --surface-2: #fafafa;
    --surface-3: #ebebed;
    --border: rgba(0,0,0,0.08);
    --border-strong: rgba(0,0,0,0.16);
    --text: #1d1d1f;
    --text-dim: #6e6e73;
    --text-mute: #86868b;
    --accent: #0071e3;
    --success: #00875a;
    --success-light: #e6f4ed;
    --warning: #d97706;
    --warning-light: #fef3e2;
    --danger: #de1135;
    --danger-light: #fdecef;
    --info: #0055cc;
    --info-light: #e6efff;

    /* Type */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'SF Mono', 'JetBrains Mono', Menlo, monospace;

    /* Layout */
    --max: 1200px;
    --gutter: 24px;
    --radius: 20px;
    --radius-lg: 28px;

    /* Motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    letter-spacing: -0.011em;
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
    z-index: 2;
}

/* ============================================================
   2. AURORA BACKGROUND
   ============================================================ */
.aurora-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.aurora-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.18;
    will-change: transform;
}
.aurora-glow-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #a5c8ff 0%, transparent 70%);
    top: -10%; left: 10%;
    animation: float1 20s ease-in-out infinite;
}
.aurora-glow-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #ffc9c0 0%, transparent 70%);
    top: 40%; right: -5%;
    animation: float2 25s ease-in-out infinite;
    opacity: 0.15;
}
@keyframes float1 {
    0%,100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(80px, 60px) scale(1.1); }
}
@keyframes float2 {
    0%,100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(-60px, -80px) scale(1.15); }
}
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

/* ============================================================
   3. NAVIGATION
   ============================================================ */
.nav {
    position: fixed !important;
    top: 0 !important;
    left: 0; right: 0;
    z-index: 1000;
    padding: 12px 0;
    transform: none !important;
    transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.scrolled {
    background: rgba(255,255,255,0.78);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 1100;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.02em;
    color: var(--text);
}
.brand-mark {
    width: 32px; height: 32px;
    background: #1d1d1f;
    color: #fff;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.brand-name {
    font-size: 15px;
    letter-spacing: -0.015em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}
.brand-dot { color: var(--text-mute); }

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-links a {
    text-decoration: none;
    font-size: 14px;
    color: var(--text-dim);
    transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 600; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #1d1d1f;
    color: #fff;
    border-radius: 40px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.nav-cta:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.nav-cta i { font-size: 12px; }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    width: 40px; height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    position: relative;
}
.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav-cta-mobile { display: none; }

/* ============================================================
   4. HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    padding: 140px 0 80px;
    display: flex;
    align-items: center;
    position: relative;
}
.hero .container { text-align: center; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    border-radius: 40px;
    font-size: 13px;
    color: var(--text-dim);
    margin-bottom: 32px;
    animation: fadeUp 0.8s var(--ease-out) both;
}
.hero-eyebrow .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 12px var(--success);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(48px, 9vw, 120px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.045em;
    margin-bottom: 24px;
    color: var(--text);
}
.hero-line {
    display: block;
    animation: fadeUp 0.9s var(--ease-out) both;
}
.hero-line:nth-child(2) { animation-delay: 0.1s; }
.hero-line-accent {
    background: linear-gradient(135deg, #1d1d1f 0%, #6e6e73 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(16px, 1.8vw, 21px);
    color: var(--text-dim);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.5;
    animation: fadeUp 1s var(--ease-out) 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
    animation: fadeUp 1s var(--ease-out) 0.3s both;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 40px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
    white-space: nowrap;
}
.btn i { font-size: 12px; transition: transform 0.3s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }
.btn-primary {
    background: #1d1d1f;
    color: #fff;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.btn-ghost {
    background: rgba(0,0,0,0.04);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    background: rgba(0,0,0,0.08);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}
.btn-lg { padding: 18px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   6. HERO VISUAL
   ============================================================ */
.hero-visual {
    max-width: 720px;
    margin: 0 auto 60px;
    animation: fadeUp 1.1s var(--ease-out) 0.4s both;
}
.hero-window {
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 40px 100px -20px rgba(0,0,0,0.18),
        0 0 0 1px rgba(0,0,0,0.02) inset,
        0 0 80px -20px rgba(74,106,255,0.15);
}
.window-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: rgba(0,0,0,0.03);
    border-bottom: 1px solid var(--border);
}
.w-dot { width: 11px; height: 11px; border-radius: 50%; }
.w-red { background: #ff5f57; }
.w-yellow { background: #febc2e; }
.w-green { background: #28c840; }
.window-title {
    margin-left: 12px;
    font-size: 12px;
    color: var(--text-mute);
    font-family: var(--font-mono);
}
.window-body {
    padding: 28px 24px;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
    overflow-x: auto;
}
.window-body code { color: var(--text-dim); }
.c-dim { color: var(--text-mute); }
.c-key { color: #d63384; }
.c-fn { color: #0055cc; }
.c-attr { color: #0071e3; }
.c-str { color: #00875a; }
.c-ok { color: var(--success); font-weight: 700; }

/* ============================================================
   7. HERO STATS
   ============================================================ */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 720px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    animation: fadeUp 1.2s var(--ease-out) 0.5s both;
}
.hstat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}
.hstat strong {
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text);
}
.hstat span {
    font-size: 12px;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================================
   8. SECTIONS
   ============================================================ */
.section {
    padding: 120px 0;
    position: relative;
}
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}
.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-mute);
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text);
}
.section-sub {
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--text-dim);
    line-height: 1.5;
}
.section-more {
    text-align: center;
    margin-top: 48px;
}

/* ============================================================
   9. BENTO GRID (Services)
   ============================================================ */
.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    grid-auto-rows: minmax(200px, auto);
}
.bento-card {
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    cursor: pointer;
    transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(74,106,255,0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}
.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15);
}
.bento-card:hover::before { opacity: 1; }

.bento-lg { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }

.bento-icon {
    width: 52px; height: 52px;
    background: rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text);
    transition: transform 0.4s var(--ease-out), background 0.4s var(--ease), color 0.4s var(--ease);
    flex-shrink: 0;
}
.bento-card:hover .bento-icon {
    background: #1d1d1f;
    color: #fff;
    transform: scale(1.08) rotate(-4deg);
}
.bento-card h3 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}
.bento-lg h3 { font-size: 28px; }
.bento-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-dim);
    flex: 1;
}
.bento-lg p { font-size: 15px; }

.bento-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-top: auto;
}
.bento-cta i { transition: transform 0.3s var(--ease); }
.bento-card:hover .bento-cta i { transform: translateX(4px); }

/* ============================================================
   10. CAROUSEL
   ============================================================ */
.carousel-wrap {
    position: relative;
    padding: 0 var(--gutter);
    max-width: 1400px;
    margin: 0 auto;
}
.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 4px 30px;
    scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    z-index: 5;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.carousel-nav:hover {
    background: #1d1d1f;
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}
.carousel-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.carousel-nav-prev { left: 4px; }
.carousel-nav-next { right: 4px; }

.product {
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.product:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.18);
}
.product-media {
    aspect-ratio: 16/10;
    background: #ebebed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.product:hover .product-media img { transform: scale(1.06); }
.product-icon {
    font-size: 56px;
    color: rgba(0,0,0,0.15);
    transition: transform 0.5s var(--ease-out), color 0.4s var(--ease);
}
.product:hover .product-icon { color: rgba(0,0,0,0.35); transform: scale(1.15) rotate(-6deg); }
.product-tag {
    position: absolute;
    top: 14px; right: 14px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.product-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.product-cat {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-mute);
    font-weight: 600;
}
.product-body h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}
.product-body p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-dim);
    flex: 1;
}
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.product-features span {
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-dim);
}
.product-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
}
.product-price {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}
.product-rating {
    font-size: 13px;
    color: #f5a623;
    display: flex;
    align-items: center;
    gap: 5px;
}
.product-btn {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s var(--ease);
}
.product-btn:hover {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
}
.product-btn i { transition: transform 0.3s var(--ease); }
.product-btn:hover i { transform: translateX(3px); }

.carousel-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}
.carousel-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.carousel-dot.active {
    background: #1d1d1f;
    width: 24px;
    border-radius: 20px;
}

/* ============================================================
   11. MASONRY
   ============================================================ */
.masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 14px;
}
.m-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: var(--surface);
    border: 1px solid var(--border);
}
.m-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.m-item:hover img { transform: scale(1.08); }
.m-normal { grid-column: span 1; grid-row: span 1; }
.m-wide { grid-column: span 2; grid-row: span 1; }
.m-tall { grid-column: span 1; grid-row: span 2; }
.m-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}
.m-item:hover .m-overlay { opacity: 1; }
.m-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-mute);
    font-size: 32px;
}

/* ============================================================
   12. BLOG / POSTS
   ============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.post {
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.post:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.15);
}
.post-link { text-decoration: none; color: inherit; display: block; }
.post-media {
    aspect-ratio: 16/9;
    background: var(--surface-3);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.post-media-fallback { font-size: 40px; color: var(--text-mute); }
.post-body { padding: 22px; }
.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-mute);
    margin-bottom: 12px;
}
.post-cat {
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 11px;
}
.post-body h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin-bottom: 10px;
    color: var(--text);
}
.post-body p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-dim);
    margin-bottom: 16px;
}
.post-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.post-cta i { transition: transform 0.3s var(--ease); }
.post:hover .post-cta i { transform: translateX(4px); }

/* Horizontal blog carousel variant */
#insights .carousel .post {
    flex: 0 0 340px;
    scroll-snap-align: start;
    height: auto;
}
#insights .carousel .post-body h3 { font-size: 17px; }

/* ============================================================
   13. DEMO PROJECT CARDS
   ============================================================ */
.demo-card {
    flex: 0 0 380px;
    scroll-snap-align: start;
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.demo-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.15);
}
.demo-media {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #f5f5f7 0%, #ebebed 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.demo-badge {
    position: absolute;
    top: 14px; right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    z-index: 2;
    backdrop-filter: blur(10px);
}
.demo-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}
.demo-badge-live { background: rgba(0,135,90,0.12); color: var(--success); border: 1px solid rgba(0,135,90,0.3); }
.demo-badge-progress { background: rgba(255,159,10,0.12); color: #d97706; border: 1px solid rgba(255,159,10,0.3); }
.demo-badge-planning { background: rgba(74,106,255,0.12); color: #2563eb; border: 1px solid rgba(74,106,255,0.3); }
.demo-preview {
    width: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.demo-browser {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.db-dot { width: 8px; height: 8px; border-radius: 50%; }
.db-red { background: #ff5f57; }
.db-yellow { background: #febc2e; }
.db-green { background: #28c840; }
.db-url {
    margin-left: 10px;
    font-size: 11px;
    color: var(--text-mute);
    font-family: var(--font-mono);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.demo-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    font-size: 42px;
    color: rgba(0,0,0,0.12);
    transition: transform 0.5s var(--ease-out), color 0.4s var(--ease);
}
.demo-card:hover .demo-thumb {
    color: rgba(0,0,0,0.3);
    transform: scale(1.1);
}
.demo-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.demo-client {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-mute);
    font-weight: 600;
}
.demo-body h3 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}
.demo-body p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-dim);
    flex: 1;
}
.demo-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 12px;
    color: var(--text-dim);
}
.demo-note i { color: var(--text-mute); font-size: 11px; }
.demo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #1d1d1f;
    border: 1px solid #1d1d1f;
    border-radius: 40px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s var(--ease);
    margin-top: 6px;
}
.demo-btn:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.demo-btn i { font-size: 11px; transition: transform 0.3s var(--ease); }
.demo-btn:hover i { transform: translate(3px, -3px); }
.demo-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0;
}
.demo-tags span {
    font-size: 11px;
    padding: 3px 10px;
    background: rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-dim);
    font-weight: 500;
}

/* ============================================================
   14. CTA
   ============================================================ */
.cta { padding: 120px 0; text-align: center; }
.cta-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 40px;
    background:
        radial-gradient(circle at top, rgba(74,106,255,0.08) 0%, transparent 60%),
        linear-gradient(180deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid var(--border);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px -30px rgba(0,0,0,0.1);
}
.cta-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 16px;
    color: var(--text);
}
.cta-sub {
    font-size: 17px;
    color: var(--text-dim);
    margin-bottom: 40px;
}
.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.cta-contacts {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    font-size: 13px;
    color: var(--text-mute);
    flex-wrap: wrap;
}
.cta-contacts a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}
.cta-contacts a:hover { color: var(--text); }
.cta-divider { color: var(--text-mute); }

/* ============================================================
   15. EMPTY CARD
   ============================================================ */
.empty-card {
    text-align: center;
    padding: 60px 24px;
    background: var(--surface);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
}
.empty-card i {
    font-size: 40px;
    color: var(--text-mute);
    margin-bottom: 16px;
    display: block;
}
.empty-card h3 { font-size: 20px; margin-bottom: 8px; color: var(--text); }
.empty-card p { color: var(--text-dim); font-size: 14px; }

/* ============================================================
   16. FOOTER (with improved newsletter spacing)
   ============================================================ */
.footer,
.site-footer {
    padding: 0 0 40px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.015) 100%);
    position: relative;
    z-index: 3;
    display: block;
    visibility: visible;
    opacity: 1;
    margin-top: 80px;
    color: var(--text);
}

/* Investors block */
.investors {
    padding: 64px 48px;
    background:
        radial-gradient(circle at top right, rgba(74,106,255,0.08) 0%, transparent 50%),
        linear-gradient(135deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid var(--border);
    border-radius: 32px;
    margin: 80px 0 0;
    position: relative;
    overflow: hidden;
}
.investors-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}
.investors-copy h2 {
    font-size: clamp(24px, 3.2vw, 40px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 16px 0;
    color: var(--text);
}
.investors-copy p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dim);
    margin-bottom: 28px;
    max-width: 480px;
}
.investors-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.investors-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.im {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    box-shadow: 0 4px 12px -4px rgba(0,0,0,0.05);
}
.im-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-mute);
    font-weight: 600;
}
.im-value {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text);
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.im-value small {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* --- Newsletter wrap (with breathing room below) --- */
.footer-newsletter-wrap {
    padding: 88px 0 72px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(74,106,255,0.02), transparent);
}

.footer-newsletter {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 56px;
    align-items: center;
}
.fn-copy h3 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: var(--text);
}
.fn-copy p { font-size: 14px; line-height: 1.55; color: var(--text-dim); }
.fn-form { display: flex; gap: 10px; flex-wrap: wrap; }
.fn-form input {
    flex: 1;
    min-width: 220px;
    padding: 15px 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 40px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s var(--ease);
    color: var(--text);
    font-family: inherit;
}
.fn-form input:focus { border-color: var(--border-strong); }
.fn-form input::placeholder { color: var(--text-mute); }
.fn-form button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 26px;
    background: #1d1d1f;
    color: #fff;
    border: none;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
    font-family: inherit;
}
.fn-form button:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.fn-form button i { font-size: 12px; }
.fn-alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    margin-top: 12px;
}
.fn-success { background: var(--success-light); color: var(--success); border: 1px solid rgba(0,135,90,0.3); }
.fn-error { background: var(--danger-light); color: var(--danger); border: 1px solid rgba(222,17,53,0.3); }

/* --- Footer main (link columns) --- */
.footer-main {
    padding: 72px 0 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 56px;
    margin-bottom: 0;
}
.fg-brand .brand { margin-bottom: 20px; }
.fg-brand p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-dim);
    max-width: 300px;
    margin-bottom: 20px;
}
.fg-social {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.fg-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s var(--ease);
}
.fg-social a:hover {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
    transform: translateY(-2px);
}
.fg-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 22px;
}
.fg-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 0;
    font-size: 14px;
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}
.fg-col a:hover { color: var(--text); }
.fg-col a i { font-size: 13px; }
.fg-col a.wa,
.fg-wa { color: #25d366 !important; }
.fg-contact {
    display: flex !important;
    align-items: center;
    gap: 8px;
}
.fg-loc {
    color: var(--text-dim);
    font-size: 14px;
    padding: 7px 0;
}

/* --- Policies row --- */
.footer-policies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    font-size: 13px;
}
.footer-policies a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}
.footer-policies a:hover { color: var(--text); }
.fp-dot { color: var(--text-mute); }

/* --- Footer bottom --- */
.footer-bottom {
    padding: 28px 0 0;
    border-top: 1px solid var(--border);
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-mute);
    flex-wrap: wrap;
    gap: 16px;
}
.fb-copy { font-size: 13px; }
.fb-links { display: flex; gap: 20px; }
.fb-links a {
    color: var(--text-mute);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}
.fb-links a:hover { color: var(--text); }

/* Legacy footer classes (for pages not yet updated) */
.footer-grid-legacy { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer h4 { color: var(--text); margin-bottom: 16px; font-size: 16px; }
.footer a { color: var(--text-dim); text-decoration: none; display: block; margin-bottom: 10px; font-size: 14px; transition: color 0.3s; }
.footer a:hover { color: var(--text); }
.footer p { color: var(--text-dim); font-size: 14px; line-height: 1.6; }
.whatsapp-link { color: #25d366 !important; }

/* ============================================================
   17. FAB
   ============================================================ */
.fab {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #1d1d1f;
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.05);
    transition: transform 0.3s var(--ease);
    z-index: 90;
}
.fab:hover { transform: scale(1.08); }

/* ============================================================
   18. MODAL
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s var(--ease);
}
.modal-overlay.active { display: flex; }
.modal {
    background: #ffffff;
    border: 1px solid var(--border-strong);
    border-radius: 24px;
    padding: 36px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s var(--ease-out);
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.3);
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.96) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    border: none;
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s var(--ease);
}
.modal-close:hover { background: rgba(0,0,0,0.1); }
.modal h3 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    padding-right: 40px;
    color: var(--text);
}
.modal-alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 20px;
}
.modal-success { background: var(--success-light); color: var(--success); border: 1px solid rgba(0,135,90,0.3); }
.modal-error { background: var(--danger-light); color: var(--danger); border: 1px solid rgba(222,17,53,0.3); }

.field { margin-bottom: 18px; }
.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 13px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
    font-family: inherit;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--border-strong);
    box-shadow: 0 0 0 3px rgba(0,113,227,0.08);
}
.field textarea { resize: vertical; min-height: 80px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-mute); }
.field select option { background: #fff; color: var(--text); }

.toggle { display: flex; gap: 8px; }
.toggle button {
    flex: 1;
    padding: 12px;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.toggle button.active {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
    font-weight: 600;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    padding: 8px 14px;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text-dim);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--border-strong); color: var(--text); }
.chip.selected {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
    font-weight: 600;
}

/* ============================================================
   19. LIGHTBOX
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
    padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox img,
.lightbox video {
    max-width: 92vw;
    max-height: 92vh;
    border-radius: 12px;
    cursor: default;
}
.lb-close {
    position: absolute;
    top: 24px; right: 24px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   20. REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

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

/* ============================================================
   21. COOKIE NOTICE
   ============================================================ */
.cookie-notice,
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: calc(100% - 40px);
    max-width: 900px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    padding: 20px 24px;
    z-index: 9999;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.cookie-notice.show,
.cookie-popup.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}
.cookie-inner,
.cookie-popup-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-icon,
.cookie-popup-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffd60a, #ff9f0a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #000;
    flex-shrink: 0;
}
.cookie-copy,
.cookie-popup-content {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-dim);
}
.cookie-copy strong,
.cookie-popup-content strong { color: var(--text); font-weight: 600; font-size: 14px; }
.cookie-copy a,
.cookie-popup-content a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions,
.cookie-popup-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    white-space: nowrap;
    font-family: inherit;
}
.cookie-btn:hover { border-color: var(--border-strong); background: rgba(0,0,0,0.04); }
.cookie-btn-ghost:hover { background: rgba(0,0,0,0.04); }
.cookie-accept,
.cookie-btn-primary {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
}
.cookie-accept:hover,
.cookie-btn-primary:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ============================================================
   22. TEAM BLOCK (Homepage)
   ============================================================ */
.section-team {
    background: linear-gradient(180deg, transparent 0%, rgba(74,106,255,0.02) 50%, transparent 100%);
}
.team-block {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid var(--border);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}
.team-copy h2 {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 16px 0 20px;
    color: var(--text);
}
.team-copy > p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dim);
    margin-bottom: 28px;
    max-width: 480px;
}
.team-perks {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-bottom: 32px;
}
.team-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-dim);
}
.team-perks i {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(0,135,90,0.12);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}
.team-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.team-roles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.role-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.role-card:hover {
    border-color: var(--border-strong);
    transform: translateX(4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.role-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--text);
    flex-shrink: 0;
    transition: all 0.3s var(--ease);
}
.role-card:hover .role-icon {
    background: #1d1d1f;
    color: #fff;
    transform: scale(1.05);
}
.role-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.role-title { font-size: 14px; font-weight: 600; color: var(--text); }
.role-meta { font-size: 12px; color: var(--text-mute); }
.role-arrow {
    color: var(--text-mute);
    font-size: 12px;
    transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.role-card:hover .role-arrow {
    color: var(--text);
    transform: translateX(4px);
}

/* ============================================================
   23. INVESTOR BLOCK (Homepage)
   ============================================================ */
.section-investors {
    background: linear-gradient(180deg, transparent 0%, rgba(255,95,87,0.02) 50%, transparent 100%);
}
.invest-block {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 40px;
    background:
        radial-gradient(circle at top right, rgba(74,106,255,0.06) 0%, transparent 55%),
        linear-gradient(135deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid var(--border);
    border-radius: 32px;
    position: relative;
    overflow: hidden;
}
.invest-copy h2 {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 16px 0 20px;
    color: var(--text);
}
.invest-copy > p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dim);
    margin-bottom: 28px;
    max-width: 480px;
}
.invest-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.invest-note {
    font-size: 13px;
    color: var(--text-mute);
    font-style: italic;
    max-width: 400px;
}
.invest-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.im-card {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.3s var(--ease);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.im-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}
.im-card .im-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-mute);
    font-weight: 600;
}
.im-card .im-value {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    display: flex;
    align-items: baseline;
    gap: 2px;
    line-height: 1;
}
.im-card .im-value small {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-mute);
}
.im-sub {
    font-size: 11px;
    color: var(--text-mute);
    margin-top: 4px;
}

/* ============================================================
   24. ARTICLES ARCHIVE (articles.php)
   ============================================================ */
.archive-hero {
    min-height: auto;
    padding: 160px 0 40px;
    text-align: center;
}
.archive-filters {
    padding: 0 0 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}
.archive-search {
    display: flex;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto 24px;
    flex-wrap: wrap;
}
.archive-search-wrap {
    flex: 1;
    min-width: 240px;
    position: relative;
    display: flex;
    align-items: center;
}
.archive-search-wrap i.fa-search {
    position: absolute;
    left: 20px;
    color: var(--text-mute);
    font-size: 14px;
    pointer-events: none;
}
.archive-search-wrap input {
    width: 100%;
    padding: 16px 48px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}
.archive-search-wrap input:focus {
    border-color: var(--border-strong);
    box-shadow: 0 0 0 3px rgba(0,113,227,0.08);
}
.archive-search-wrap input::placeholder { color: var(--text-mute); }
.archive-clear {
    position: absolute;
    right: 16px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-mute);
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s;
}
.archive-clear:hover {
    background: rgba(0,0,0,0.1);
    color: var(--text);
}
.archive-cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.archive-cat {
    padding: 8px 18px;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}
.archive-cat:hover {
    border-color: var(--border-strong);
    color: var(--text);
}
.archive-cat.active {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
    font-weight: 600;
}
.archive-section { padding: 60px 0; }
.archive-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 16px 20px;
    background: rgba(0,0,0,0.02);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 32px;
    font-size: 14px;
    color: var(--text-dim);
}
.archive-results-info strong { color: var(--text); }
.archive-results-info em { color: var(--text); font-style: italic; }
.archive-reset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-dim);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 40px;
    transition: all 0.2s;
}
.archive-reset:hover { color: var(--text); border-color: var(--border-strong); }

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}
.article-card {
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.article-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.15);
}
.article-card.article-featured { border-color: rgba(255,180,0,0.4); }
.article-card.article-featured:hover {
    border-color: rgba(255,180,0,0.6);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.15), 0 0 40px -10px rgba(255,180,0,0.2);
}
.article-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.article-media {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    background-color: var(--surface-3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.article-media-fallback {
    font-size: 40px;
    color: var(--text-mute);
}
.article-featured-badge {
    position: absolute;
    top: 14px; left: 14px;
    padding: 5px 12px;
    background: rgba(255,215,0,0.25);
    border: 1px solid rgba(255,180,0,0.5);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8a5a00;
    z-index: 2;
}
.article-featured-badge i { font-size: 10px; margin-right: 4px; }
.article-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.article-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-mute);
}
.article-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}
.article-dot { color: var(--text-mute); }
.article-body h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--text);
    transition: color 0.2s;
}
.article-card:hover .article-body h3 { color: #000; }
.article-body p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-dim);
    flex: 1;
}
.article-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
    gap: 12px;
}
.article-author { display: flex; align-items: center; gap: 10px; min-width: 0; }
.article-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e5e7 0%, #d5d5d7 100%);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
}
.article-author > div { min-width: 0; }
.article-author strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-author small {
    display: block;
    font-size: 11px;
    color: var(--text-mute);
}
.article-read {
    font-size: 12px;
    color: var(--text-mute);
    white-space: nowrap;
    flex-shrink: 0;
}
.article-read i { margin-right: 4px; }

/* Pagination (shared) */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    margin: 40px 0 20px;
    flex-wrap: wrap;
}
.page-link {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}
.page-link:hover {
    border-color: var(--border-strong);
    color: var(--text);
    transform: translateY(-1px);
}
.page-link.active {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
}
.page-ellipsis { color: var(--text-mute); padding: 0 6px; }

/* ============================================================
   25. INSIGHTS PAGE
   ============================================================ */
.insights-hero {
    min-height: auto;
    padding: 160px 0 40px;
    text-align: center;
}
.insights-filters {
    padding: 0 0 40px;
    margin-bottom: 0;
}
.insights-cats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.insights-cat {
    padding: 9px 20px;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s var(--ease);
}
.insights-cat:hover {
    border-color: var(--border-strong);
    color: var(--text);
}
.insights-cat.active {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
    font-weight: 600;
}

.insights-featured { padding: 20px 0 40px; }
.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    padding: 48px;
    background:
        radial-gradient(circle at top left, rgba(255,215,0,0.08) 0%, transparent 50%),
        linear-gradient(135deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid rgba(255,180,0,0.3);
    border-radius: 32px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s var(--ease-out);
    align-items: center;
    position: relative;
    overflow: hidden;
}
.featured-card:hover {
    border-color: rgba(255,180,0,0.5);
    transform: translateY(-4px);
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.15), 0 0 60px -20px rgba(255,180,0,0.25);
}
.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255,215,0,0.2);
    border: 1px solid rgba(255,180,0,0.4);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a5a00;
    margin-bottom: 20px;
}
.featured-badge i { font-size: 10px; }
.featured-copy h2 {
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text);
    transition: color 0.2s;
}
.featured-card:hover .featured-copy h2 { color: #000; }
.featured-copy > p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dim);
    margin-bottom: 28px;
    max-width: 520px;
}
.featured-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--text-mute);
}
.feat-author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}
.feat-avatar {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e5e7 0%, #d5d5d7 100%);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
}
.feat-author > div { display: flex; flex-direction: column; gap: 1px; }
.feat-author strong { font-size: 13px; font-weight: 600; color: var(--text); }
.feat-author small { font-size: 11px; color: var(--text-mute); }
.feat-sep { color: var(--text-mute); }
.featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: #1d1d1f;
    color: #fff;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s var(--ease);
}
.featured-card:hover .featured-cta {
    transform: translateX(4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.featured-cta i { font-size: 12px; }
.featured-media {
    aspect-ratio: 4/3;
    border-radius: 20px;
    background-color: var(--surface-3);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border);
}
.featured-media-fallback { font-size: 56px; color: var(--text-mute); }

.insights-grid-section { padding: 40px 0 60px; }
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.insight-card {
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.insight-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.15);
}
.insight-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.insight-media {
    aspect-ratio: 16/9;
    background-color: var(--surface-3);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.insight-media-fallback { font-size: 40px; color: var(--text-mute); }
.insight-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.insight-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.insight-meta {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    color: var(--text-mute);
}
.insight-sep { color: var(--text-mute); }
.insight-body h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--text);
    transition: color 0.2s;
}
.insight-card:hover .insight-body h3 { color: #000; }
.insight-body p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-dim);
    flex: 1;
}
.insight-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
    gap: 12px;
}
.insight-author {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.insight-avatar {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e5e7 0%, #d5d5d7 100%);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
}
.insight-author-name {
    font-size: 13px;
    color: var(--text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.insight-read {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: gap 0.3s var(--ease);
}
.insight-card:hover .insight-read { gap: 10px; }
.insight-read i { font-size: 11px; }

/* ============================================================
   26. SINGLE ARTICLE PAGE
   ============================================================ */
.article-narrow { max-width: 780px !important; margin: 0 auto; }
.article-page { padding-bottom: 0; }

.article-hero { padding: 150px 0 40px; }
.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-mute);
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.2s var(--ease);
}
.article-back:hover { color: var(--text); }
.article-back i { font-size: 11px; }

.article-meta-top {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.article-cat-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    background: rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}
.article-feat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: rgba(255,215,0,0.2);
    border: 1px solid rgba(255,180,0,0.4);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a5a00;
}
.article-feat-badge i { font-size: 10px; }

.article-h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 20px;
    color: var(--text);
}
.article-lede {
    font-size: clamp(17px, 1.8vw, 21px);
    line-height: 1.55;
    color: var(--text-dim);
    margin-bottom: 36px;
}
.article-author-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--text-mute);
}
.article-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}
.article-author-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e5e7 0%, #d5d5d7 100%);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    overflow: hidden;
    flex-shrink: 0;
}
.article-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.article-author-info > div { display: flex; flex-direction: column; gap: 1px; }
.article-author-info strong { font-size: 14px; font-weight: 600; color: var(--text); }
.article-author-info small { font-size: 12px; color: var(--text-mute); }
.article-meta-sep { color: var(--text-mute); }
.article-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.article-meta-item i { font-size: 12px; }

.article-featured-image {
    margin: 20px 0 40px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16/9;
    background: var(--surface-3);
}
.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Article content */
.article-content {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(29,29,31,0.85);
    letter-spacing: -0.005em;
}
.article-content > * + * { margin-top: 1.4em; }
.article-content p { margin-bottom: 1.4em; }
.article-content h2 {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 2em 0 0.6em;
}
.article-content h3 {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 600;
    color: var(--text);
    margin: 1.6em 0 0.5em;
}
.article-content h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin: 1.4em 0 0.4em;
}
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 1.5em 0;
    border: 1px solid var(--border);
}
.article-content blockquote {
    border-left: 3px solid var(--text);
    padding: 16px 24px;
    margin: 1.5em 0;
    background: rgba(0,0,0,0.02);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: var(--text-dim);
}
.article-content ul,
.article-content ol {
    padding-left: 1.5em;
    margin: 1em 0;
}
.article-content li {
    margin-bottom: 8px;
    color: rgba(29,29,31,0.8);
}
.article-content a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(0,0,0,0.3);
    transition: text-decoration-color 0.2s;
}
.article-content a:hover { text-decoration-color: var(--text); }
.article-content code {
    background: rgba(0,0,0,0.06);
    padding: 2px 8px;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.92em;
    color: #d63384;
}
.article-content pre {
    background: #f5f5f7;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    overflow-x: auto;
    margin: 1.5em 0;
    font-size: 14px;
    line-height: 1.6;
}
.article-content pre code {
    background: none;
    padding: 0;
    color: var(--text-dim);
}
.article-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 2.5em 0;
}
.article-content strong { color: var(--text); font-weight: 600; }
.article-content em { color: var(--text); }

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 40px 0 24px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}
.article-tag {
    padding: 7px 14px;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dim);
    text-decoration: none;
    transition: all 0.2s var(--ease);
}
.article-tag:hover {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
}

/* Share */
.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 20px 0;
    margin-bottom: 20px;
}
.article-share-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-mute);
    margin-right: 6px;
}
.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s var(--ease);
}
.share-btn:hover {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
    transform: translateY(-2px);
}

/* Author bio */
.article-author-bio {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 28px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    margin: 30px 0 60px;
}
.article-bio-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e5e7 0%, #d5d5d7 100%);
    border: 2px solid rgba(255,180,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    overflow: hidden;
    flex-shrink: 0;
}
.article-bio-avatar img { width: 100%; height: 100%; object-fit: cover; }
.article-bio-info h4 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.article-bio-role {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a5a00;
    margin-bottom: 8px;
}
.article-bio-info p { font-size: 14px; line-height: 1.55; color: var(--text-dim); margin: 0; }

/* Comments */
.article-comments {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}
.article-comments-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.comments-count {
    padding: 3px 12px;
    background: rgba(0,0,0,0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
}
.comments-empty {
    text-align: center;
    padding: 32px 20px;
    font-size: 14px;
    color: var(--text-mute);
    font-style: italic;
}
.comments-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}
.comment-item {
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
}
.comment-item:last-child { border-bottom: none; }
.comment-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.comment-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e5e5e7 0%, #d5d5d7 100%);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    flex-shrink: 0;
}
.comment-name { font-size: 14px; font-weight: 600; color: var(--text); }
.comment-date { font-size: 12px; color: var(--text-mute); }
.comment-body {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-dim);
    padding-left: 52px;
}

.comment-form-card {
    padding: 32px;
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    margin-top: 20px;
}
.comment-form-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 22px;
}
.comment-form-card .field { margin-bottom: 16px; }
.comment-form-card .field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 8px;
}
.comment-form-card .field input,
.comment-form-card .field textarea {
    width: 100%;
    padding: 13px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s var(--ease);
    resize: vertical;
}
.comment-form-card .field input:focus,
.comment-form-card .field textarea:focus {
    border-color: var(--border-strong);
    box-shadow: 0 0 0 3px rgba(0,113,227,0.08);
}
.comment-msg {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
}
.comment-msg-success { background: var(--success-light); color: var(--success); border: 1px solid rgba(0,135,90,0.3); }
.comment-msg-error { background: var(--danger-light); color: var(--danger); border: 1px solid rgba(222,17,53,0.3); }

.article-related-section {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}
.article-error-card {
    max-width: 520px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    text-align: center;
}
.article-error-card i {
    font-size: 48px;
    color: var(--danger);
    margin-bottom: 20px;
    display: block;
}
.article-error-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
.article-error-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dim);
}

/* ============================================================
   27. PRODUCTS PAGE (Listing)
   ============================================================ */
.products-hero {
    min-height: auto;
    padding: 160px 0 40px;
    text-align: center;
}
.cart-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 22px;
    border-radius: 16px;
    margin-bottom: 30px;
    font-size: 14px;
    flex-wrap: wrap;
    animation: slideDown 0.3s var(--ease-out);
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.cart-alert-success { background: var(--success-light); color: var(--success); border: 1px solid rgba(0,135,90,0.3); }
.cart-alert-error { background: var(--danger-light); color: var(--danger); border: 1px solid rgba(222,17,53,0.3); }
.cart-alert i { font-size: 16px; }
.cart-alert-cta {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 14px;
    border: 1px solid currentColor;
    border-radius: 40px;
    font-size: 12px;
    transition: all 0.2s var(--ease);
}
.cart-alert-cta:hover { background: currentColor; color: #fff; }
.cart-alert-cta i { font-size: 10px; }

.products-filters {
    padding: 0 0 40px;
    margin-bottom: 0;
}
.products-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.products-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    font-family: inherit;
}
.products-tab:hover {
    border-color: var(--border-strong);
    color: var(--text);
}
.products-tab.active {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
}
.products-tab i { font-size: 13px; }
.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dim);
}
.products-tab.active .tab-count { background: rgba(255,255,255,0.2); color: #fff; }

.products-section { padding: 40px 0 60px; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}
.product-card {
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.15);
}
.product-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    flex: 1;
}
.product-media {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #f5f5f7 0%, #ebebed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.product-card:hover .product-media img { transform: scale(1.06); }
.product-icon {
    font-size: 56px;
    color: rgba(0,0,0,0.15);
    transition: transform 0.5s var(--ease-out), color 0.4s var(--ease);
}
.product-card:hover .product-icon { color: rgba(0,0,0,0.35); transform: scale(1.15) rotate(-6deg); }
.product-tag {
    position: absolute;
    top: 14px; right: 14px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.product-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.product-cat {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-mute);
}
.product-body h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text);
    transition: color 0.2s;
}
.product-card:hover .product-body h3 { color: #000; }
.product-desc {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-dim);
    flex: 1;
}
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.product-features span {
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-dim);
    font-weight: 500;
}
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    gap: 12px;
}
.product-price {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
}
.price-old {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-mute);
    text-decoration: line-through;
    margin-left: 8px;
}
.product-rating {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #f5a623;
    font-weight: 600;
}
.product-actions {
    display: flex;
    gap: 8px;
    padding: 0 22px 22px;
}
.product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    text-decoration: none;
    font-family: inherit;
    border: 1px solid transparent;
    flex: 1;
    white-space: nowrap;
}
.product-btn i { font-size: 12px; }
.product-btn-ghost {
    background: rgba(0,0,0,0.04);
    border-color: var(--border);
    color: var(--text-dim);
}
.product-btn-ghost:hover {
    border-color: var(--border-strong);
    color: var(--text);
    background: rgba(0,0,0,0.08);
}
.product-btn-primary {
    background: #1d1d1f;
    color: #fff;
    border-color: #1d1d1f;
}
.product-btn-primary:hover {
    background: #000;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.products-empty-filter {
    text-align: center;
    padding: 60px 20px;
    background: rgba(0,0,0,0.02);
    border: 1px dashed var(--border);
    border-radius: 24px;
}
.products-empty-filter i {
    font-size: 40px;
    color: var(--text-mute);
    margin-bottom: 16px;
    display: block;
}
.products-empty-filter h3 { font-size: 18px; color: var(--text); margin-bottom: 6px; }
.products-empty-filter p { color: var(--text-dim); font-size: 14px; }

/* ============================================================
   28. SINGLE PRODUCT PAGE
   ============================================================ */
.product-page { padding: 140px 0 40px; }
.product-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-mute);
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.2s var(--ease);
}
.product-back:hover { color: var(--text); }
.product-back i { font-size: 11px; }
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.product-detail-media {
    position: relative;
    aspect-ratio: 1;
    border-radius: 28px;
    background: linear-gradient(135deg, #f5f5f7 0%, #ebebed 100%);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 100px;
}
.product-detail-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.product-detail-media:hover img { transform: scale(1.03); }
.product-detail-icon {
    font-size: 120px;
    color: rgba(0,0,0,0.1);
    transition: all 0.5s var(--ease-out);
}
.product-detail-media:hover .product-detail-icon {
    color: rgba(0,0,0,0.3);
    transform: scale(1.1) rotate(-4deg);
}
.product-detail-badge {
    position: absolute;
    top: 20px; left: 20px;
    padding: 7px 16px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.product-detail-cat {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 14px;
    background: rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}
.product-detail-info h1 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
}
.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-dim);
}
.product-detail-rating .stars {
    color: #f5a623;
    font-size: 16px;
    letter-spacing: 1px;
}
.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 0;
}
.product-detail-price .price-currency {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-mute);
}
.product-detail-price .price-value {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    line-height: 1;
}
.product-detail-price .price-old {
    font-size: 20px;
    color: var(--text-mute);
    text-decoration: line-through;
}
.product-detail-price .price-sale-badge {
    padding: 4px 12px;
    background: var(--danger-light);
    border: 1px solid rgba(222,17,53,0.3);
    color: var(--danger);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.product-detail-desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-dim);
}
.product-detail-features h4 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-mute);
    margin-bottom: 14px;
}
.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.feature-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 500;
}
.feature-item i { font-size: 11px; color: var(--success); }
.product-detail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.meta-item { display: flex; flex-direction: column; gap: 4px; }
.meta-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-mute);
}
.meta-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.product-detail-form { display: flex; flex-direction: column; gap: 20px; }
.qty-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.qty-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
}
.quantity-selector {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
}
.qty-btn {
    width: 44px; height: 44px;
    border: none;
    background: transparent;
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s var(--ease);
    font-family: inherit;
}
.qty-btn:hover { background: rgba(0,0,0,0.05); }
.qty-input {
    width: 56px; height: 44px;
    border: none;
    background: transparent;
    color: var(--text);
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.product-btn-cart,
.product-btn-buy {
    flex: 1;
    min-width: 180px;
    justify-content: center;
}
.product-related-section {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
    margin-top: 60px;
}
.product-error-card {
    max-width: 520px;
    margin: 0 auto;
    padding: 60px 40px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    text-align: center;
}
.product-error-card i {
    font-size: 48px;
    color: var(--text-mute);
    margin-bottom: 20px;
    display: block;
}
.product-error-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
.product-error-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dim);
}

/* ============================================================
   29. CHECKOUT PAGE
   ============================================================ */
.checkout-hero {
    min-height: auto;
    padding: 140px 0 20px;
    text-align: center;
}
.checkout-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.checkout-step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: rgba(0,0,0,0.02);
    border: 1px solid var(--border);
    color: var(--text-mute);
    font-size: 14px;
    font-weight: 500;
}
.checkout-step:first-child { border-radius: 40px 0 0 40px; border-right: none; }
.checkout-step:last-child  { border-radius: 0 40px 40px 0; border-left: none; }
.checkout-step.active {
    background: var(--success-light);
    border-color: rgba(0,135,90,0.4);
    color: var(--success);
    font-weight: 600;
}
.checkout-form-wrap { padding-bottom: 40px; }
.checkout-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 30px;
    align-items: start;
}
.checkout-left,
.checkout-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.checkout-right { position: sticky; top: 100px; }
.checkout-card {
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
}
.checkout-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkout-card h3 i {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text);
}
.checkout-card .field { margin-bottom: 16px; }
.checkout-card .field:last-child { margin-bottom: 0; }
.checkout-card .field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.checkout-card .field label .req { color: var(--danger); }
.checkout-card .field input,
.checkout-card .field select,
.checkout-card .field textarea {
    width: 100%;
    padding: 13px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s var(--ease);
    resize: vertical;
}
.checkout-card .field input:focus,
.checkout-card .field select:focus,
.checkout-card .field textarea:focus {
    border-color: var(--border-strong);
    box-shadow: 0 0 0 3px rgba(0,113,227,0.08);
}
.checkout-card .field input::placeholder,
.checkout-card .field textarea::placeholder { color: var(--text-mute); }
.checkout-card .field input[readonly] {
    background: var(--surface);
    color: var(--text-mute);
    cursor: not-allowed;
}
.checkout-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.payment-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: all 0.2s var(--ease);
    background: #fff;
}
.payment-option:hover {
    border-color: var(--border-strong);
    background: rgba(0,0,0,0.01);
}
.payment-option.selected {
    background: var(--success-light);
    border-color: rgba(0,135,90,0.4);
}
.payment-option input[type="radio"] { display: none; }
.payment-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text);
    flex-shrink: 0;
    transition: all 0.2s var(--ease);
}
.payment-option.selected .payment-icon {
    background: var(--success);
    color: #fff;
}
.payment-info { display: flex; flex-direction: column; gap: 2px; }
.payment-info strong { font-size: 14px; font-weight: 700; color: var(--text); }
.payment-info small { font-size: 12px; color: var(--text-mute); }
.checkout-summary { padding-bottom: 24px; }
.checkout-items {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    gap: 12px;
}
.checkout-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}
.checkout-item-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text);
    flex-shrink: 0;
}
.checkout-item-info strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.checkout-item-qty { font-size: 11px; color: var(--text-mute); }
.checkout-item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}
.checkout-summary-rows { display: flex; flex-direction: column; gap: 10px; }
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-dim);
}
.delivery-fee { color: var(--warning); }
.delivery-free { color: var(--success); font-weight: 600; }
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 14px;
    margin-top: 6px;
    border-top: 1px solid var(--border);
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}
.summary-total .total-amount {
    font-size: 24px;
    color: var(--success);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.checkout-free-delivery {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    margin-top: 18px;
    background: var(--warning-light);
    border: 1px solid rgba(255,159,10,0.35);
    border-radius: 14px;
    font-size: 12px;
    color: var(--warning);
    line-height: 1.5;
}
.checkout-free-delivery i { font-size: 18px; flex-shrink: 0; }
.checkout-free-delivery strong { color: var(--text); }
.checkout-tracking-info {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    background: var(--info-light);
    border: 1px solid rgba(0,85,204,0.25);
    border-radius: 16px;
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.5;
}
.checkout-tracking-info i {
    font-size: 22px;
    color: var(--info);
    flex-shrink: 0;
}
.checkout-tracking-info strong {
    display: block;
    color: var(--text);
    font-size: 13px;
    margin-bottom: 2px;
}
.checkout-tracking-info a { color: var(--info); word-break: break-all; }
.checkout-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 24px;
    border-radius: 50px;
    border: none;
    background: var(--success);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s var(--ease);
}
.checkout-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0,135,90,0.25);
    background: #006e4a;
}
.checkout-submit i { font-size: 13px; }
.checkout-secure-note {
    text-align: center;
    font-size: 12px;
    color: var(--text-mute);
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.checkout-success {
    max-width: 620px;
    margin: 40px auto 60px;
    padding: 60px 40px;
    background: linear-gradient(180deg, var(--success-light) 0%, #fff 100%);
    border: 1px solid rgba(0,135,90,0.3);
    border-radius: 32px;
    text-align: center;
}
.checkout-success-icon {
    font-size: 72px;
    color: var(--success);
    margin-bottom: 24px;
    animation: popIn 0.5s var(--ease-out);
}
@keyframes popIn {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}
.checkout-success h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.checkout-order-ref {
    font-size: 16px;
    font-weight: 700;
    color: var(--success);
    margin-bottom: 16px;
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}
.checkout-success p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dim);
    margin-bottom: 28px;
}
.checkout-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* ============================================================
   30. TEAM / CAREERS PAGE (Form)
   ============================================================ */
.team-hero {
    min-height: auto;
    padding: 160px 0 40px;
    text-align: center;
}
.team-notice {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 24px;
    background: var(--warning-light);
    border: 1px solid rgba(255,159,10,0.35);
    border-radius: 20px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
    color: #8a5500;
}
.team-notice i {
    font-size: 22px;
    color: var(--warning);
    flex-shrink: 0;
    margin-top: 2px;
}
.team-notice strong { color: #8a5500; }
.alert-success, .alert-error {
    padding: 16px 22px;
    border-radius: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 12px;
}
.alert-success { background: var(--success-light); color: var(--success); border: 1px solid rgba(0,135,90,0.3); }
.alert-error { background: var(--danger-light); color: var(--danger); border: 1px solid rgba(222,17,53,0.3); }
.team-form-card {
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f7 100%);
    border: 1px solid var(--border);
    border-radius: 32px;
    padding: 40px;
    margin-bottom: 60px;
}
.team-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 44px;
    position: relative;
    padding: 0 20px;
}
.team-progress::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: rgba(0,0,0,0.08);
    z-index: 0;
}
.team-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}
.team-progress-dot {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-mute);
    transition: all 0.3s var(--ease);
}
.team-progress-step.active .team-progress-dot,
.team-progress-step.completed .team-progress-dot {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
    box-shadow: 0 0 20px rgba(0,135,90,0.3);
}
.team-progress-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-mute);
    transition: all 0.3s var(--ease);
}
.team-progress-step.active .team-progress-label,
.team-progress-step.completed .team-progress-label { color: var(--success); }
.team-section { display: none; }
.team-section.active { display: block; animation: fadeIn 0.4s var(--ease-out); }
.team-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.team-section-sub {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 26px;
    line-height: 1.5;
}
.team-role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}
.team-role-option {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 20px 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}
.team-role-option:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.team-role-option.selected {
    border-color: var(--success);
    background: var(--success-light);
    box-shadow: 0 0 25px rgba(0,135,90,0.15);
}
.team-role-icon {
    font-size: 26px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-role-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    line-height: 1.3;
}
.team-role-option.selected .team-role-label { color: var(--text); }
.team-field { margin-bottom: 18px; }
.team-field:last-child { margin-bottom: 0; }
.team-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.team-field label .req { color: var(--danger); }
.team-field input,
.team-field select,
.team-field textarea {
    width: 100%;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s var(--ease);
    resize: vertical;
}
.team-field input:focus,
.team-field select:focus,
.team-field textarea:focus {
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(0,135,90,0.1);
}
.team-field input::placeholder,
.team-field textarea::placeholder { color: var(--text-mute); }
.team-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.team-upload {
    display: block;
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    position: relative;
    background: #fff;
}
.team-upload:hover {
    border-color: rgba(0,135,90,0.5);
    background: var(--success-light);
}
.team-upload.has-file {
    border-color: var(--success);
    background: var(--success-light);
}
.team-upload input[type="file"] {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    cursor: pointer;
}
.team-upload-icon {
    font-size: 26px;
    color: var(--text-mute);
    margin-bottom: 8px;
}
.team-upload-text {
    font-size: 12px;
    color: var(--text-mute);
    font-weight: 500;
}
.team-file-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--success);
    margin-top: 8px;
    word-break: break-all;
}
.team-checkbox {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    margin: 20px 0;
}
.team-checkbox input[type="checkbox"] {
    width: 20px; height: 20px;
    margin-top: 2px;
    accent-color: var(--success);
    flex-shrink: 0;
    cursor: pointer;
}
.team-checkbox label {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-dim);
    cursor: pointer;
}
.team-checkbox label strong { color: var(--text); }
.team-checkbox .req { color: var(--danger); }
.team-security-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 16px;
    background: var(--info-light);
    border: 1px solid rgba(0,85,204,0.2);
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-dim);
}
.team-security-note i {
    color: var(--info);
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}
.team-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 30px;
    flex-wrap: wrap;
}
.team-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    font-family: inherit;
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}
.team-btn i { font-size: 12px; }
.team-btn-ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text-dim);
}
.team-btn-ghost:hover {
    border-color: var(--border-strong);
    color: var(--text);
    background: rgba(0,0,0,0.04);
}
.team-btn-primary {
    background: #1d1d1f;
    color: #fff;
}
.team-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.team-btn-primary:disabled { opacity: 0.4; cursor: not-allowed; }
.team-btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    background: var(--success);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-top: 8px;
    border: none;
}
.team-btn-submit:hover {
    background: #006e4a;
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0,135,90,0.3);
}

/* ============================================================
   31. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .bento-lg, .bento-wide { grid-column: span 2; }
    .masonry { grid-template-columns: repeat(2, 1fr); }
    .m-wide { grid-column: span 2; }
    .m-tall { grid-row: span 1; }
    .investors-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-newsletter { grid-template-columns: 1fr; gap: 28px; }
    .footer-newsletter-wrap { padding: 64px 0 56px; }
    .footer-main { padding: 56px 0 40px; }
    .team-block, .invest-block { grid-template-columns: 1fr; gap: 40px; padding: 40px 28px; }
    .investors { padding: 48px 32px; margin-top: 64px; }
}

@media (max-width: 900px) {
    .brand-name { font-size: 14px; max-width: 180px; }

    .nav-links {
        position: fixed !important;
        top: 0; left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(255,255,255,0.99);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column !important;
        justify-content: center;
        align-items: center;
        gap: 28px;
        transform: translateY(-100%);
        transition: transform 0.4s var(--ease);
        z-index: 1050 !important;
        list-style: none;
        padding: 40px 24px;
        margin: 0;
        display: flex;
    }
    .nav-links.active { transform: translateY(0) !important; }
    .nav-links li { display: block; width: 100%; text-align: center; }
    .nav-links a {
        display: block;
        font-size: 24px;
        color: var(--text) !important;
        padding: 12px 0;
        font-weight: 600;
    }
    .nav-toggle { display: flex !important; }
    .nav-cta { display: none !important; }
    .nav-inner { position: relative; z-index: 1100; }
    .nav-cta-mobile { display: block; margin-top: 20px; }
    .nav-cta-mobile a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 14px 28px;
        background: #1d1d1f;
        color: #fff !important;
        border-radius: 40px;
        font-size: 16px;
        justify-content: center;
        width: auto;
        margin: 0 auto;
    }
}

@media (max-width: 968px) {
    .featured-card {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 32px;
    }
    .featured-media {
        aspect-ratio: 16/9;
        order: -1;
    }
    .checkout-grid { grid-template-columns: 1fr; gap: 20px; }
    .checkout-right { position: static; }
    .product-detail-layout { grid-template-columns: 1fr; gap: 32px; }
    .product-detail-media { position: static; aspect-ratio: 4/3; }
    .product-detail-icon { font-size: 80px; }
}

@media (max-width: 768px) {
    .hero { padding: 120px 0 60px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }

    .section { padding: 80px 0; }
    .bento { grid-template-columns: 1fr; }
    .bento-lg, .bento-wide { grid-column: span 1; }

    .carousel-wrap { padding: 0; }
    .carousel-nav { display: none; }
    .carousel { padding: 20px 24px; }
    .product { flex: 0 0 280px; }
    .demo-card { flex: 0 0 300px; }
    #insights .carousel .post { flex: 0 0 280px; }

    .masonry { grid-template-columns: 1fr; grid-auto-rows: 180px; }
    .m-wide, .m-tall { grid-column: span 1; grid-row: span 1; }

    .cta-inner { padding: 48px 24px; }
    .investors { padding: 40px 24px; margin-top: 56px; }
    .investors-metrics { grid-template-columns: 1fr 1fr; gap: 12px; }
    .im { padding: 16px; }
    .im-value { font-size: 20px; }
    .footer-newsletter-wrap { padding: 48px 0 40px; }
    .footer-main { padding: 48px 0 32px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }

    .modal { padding: 24px; border-radius: 20px; }
    .modal h3 { font-size: 20px; }

    .archive-hero { padding: 130px 0 30px; }
    .archive-search { flex-direction: column; }
    .articles-grid { grid-template-columns: 1fr; gap: 16px; }
    .archive-results-info { font-size: 13px; padding: 14px 16px; }
    .article-body { padding: 20px; }
    .article-body h3 { font-size: 17px; }
    .page-link { min-width: 38px; height: 38px; padding: 0 12px; font-size: 13px; }

    .insights-hero { padding: 130px 0 30px; }
    .insights-grid { grid-template-columns: 1fr; gap: 16px; }
    .featured-card { padding: 24px; }
    .featured-copy h2 { font-size: 24px; }
    .featured-copy > p { font-size: 14px; }
    .insights-cats { gap: 6px; }
    .insights-cat { padding: 7px 14px; font-size: 12px; }
    .insight-body { padding: 20px; }
    .insight-body h3 { font-size: 17px; }

    .article-hero { padding: 120px 0 30px; }
    .article-content { font-size: 16px; }
    .article-content pre { padding: 16px; font-size: 13px; }
    .article-author-row { gap: 10px; font-size: 12px; }
    .article-meta-sep { display: none; }
    .article-meta-item { font-size: 12px; }
    .comment-form-card { padding: 22px; }
    .comment-body { padding-left: 0; margin-top: 8px; }
    .article-comments-title { font-size: 18px; }
    .share-btn { width: 36px; height: 36px; font-size: 14px; }

    .products-hero { padding: 130px 0 30px; }
    .products-grid { grid-template-columns: 1fr; gap: 16px; }
    .products-tab { padding: 9px 14px; font-size: 12px; }
    .products-tab i { font-size: 11px; }
    .tab-count { min-width: 20px; height: 18px; font-size: 10px; }
    .product-body { padding: 18px; }
    .product-actions { padding: 0 18px 18px; }
    .product-price { font-size: 19px; }
    .cart-alert-cta { width: 100%; margin-left: 0; justify-content: center; }

    .product-page { padding: 120px 0 30px; }
    .product-detail-price .price-value { font-size: 34px; }
    .product-detail-actions { flex-direction: column; }
    .product-btn-cart, .product-btn-buy { min-width: 0; width: 100%; }
    .qty-row { flex-wrap: wrap; }
    .product-detail-info h1 { font-size: 26px; }
    .product-related-section { padding: 60px 0 30px; }

    .checkout-hero { padding: 120px 0 20px; }
    .checkout-step { padding: 10px 16px; font-size: 12px; }
    .checkout-step span { display: none; }
    .checkout-card { padding: 22px; border-radius: 20px; }
    .checkout-row { grid-template-columns: 1fr; }
    .checkout-success { padding: 40px 24px; border-radius: 24px; }
    .checkout-success-icon { font-size: 56px; }
    .checkout-success h2 { font-size: 22px; }
    .checkout-success-actions { flex-direction: column; }
    .checkout-success-actions .btn { width: 100%; justify-content: center; }

    .team-hero { padding: 130px 0 30px; }
    .team-form-card { padding: 24px 20px; border-radius: 24px; }
    .team-row { grid-template-columns: 1fr; }
    .team-role-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .team-role-option { padding: 16px 10px; }
    .team-role-icon { font-size: 22px; }
    .team-role-label { font-size: 11px; }
    .team-section h3 { font-size: 19px; }
    .team-progress { padding: 0; }
    .team-progress::before { left: 30px; right: 30px; }
    .team-progress-label { font-size: 10px; }
    .team-buttons { justify-content: stretch; }
    .team-buttons .team-btn { flex: 1; justify-content: center; }
    .team-notice { padding: 16px 18px; font-size: 13px; }

    .invest-block, .team-block { padding: 40px 24px; }

    .hide-mobile { display: none; }
}

@media (max-width: 640px) {
    .cookie-notice, .cookie-popup { padding: 16px; bottom: 16px; width: calc(100% - 32px); }
    .cookie-inner, .cookie-popup-inner { gap: 12px; }
    .cookie-icon, .cookie-popup-icon { width: 38px; height: 38px; font-size: 16px; }
    .cookie-copy, .cookie-popup-content { font-size: 12px; }
    .cookie-actions, .cookie-popup-actions { width: 100%; }
    .cookie-btn { flex: 1; text-align: center; justify-content: center; padding: 10px 14px; }
    .article-author-bio { flex-direction: column; text-align: center; }
    .invest-metrics { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
    .brand-name { font-size: 13px; max-width: 150px; }
    .footer-newsletter-wrap { padding: 40px 0 32px; }
    .footer-main { padding: 40px 0 28px; }
    .footer-bottom { padding: 20px 0 0; }
}

