/* ══════════════════════════════════════════════════
   Global Services — Main Stylesheet
   ══════════════════════════════════════════════════ */

/* ── CSS Variables (Light) ───────────────────────── */
:root, [data-theme="light"] {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --accent: #06b6d4;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-card: #ffffff;
    --bg-code: #f1f5f9;
    --text: #334155;
    --text-heading: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07), 0 2px 4px -2px rgba(0,0,0,.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -4px rgba(0,0,0,.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.04);
    --nav-bg: rgba(255,255,255,.92);
    --footer-bg: #0f172a;
    --footer-text: rgba(255,255,255,.5);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
}

/* ── Dark Theme ──────────────────────────────────── */
[data-theme="dark"] {
    --bg: #0f172a;
    --bg-alt: #1e293b;
    --bg-card: #1e293b;
    --bg-code: #334155;
    --text: #cbd5e1;
    --text-heading: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --border: #334155;
    --border-light: #1e293b;
    --shadow: 0 1px 3px rgba(0,0,0,.3);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,.4);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.4);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.4);
    --nav-bg: rgba(15,23,42,.92);
    --footer-bg: #020617;
    --footer-text: rgba(255,255,255,.4);
}

/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text); background: var(--bg);
    line-height: 1.6; -webkit-font-smoothing: antialiased;
    transition: background .3s, color .3s;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Typography ──────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { color: var(--text-heading); line-height: 1.25; }
h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2.2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Section ─────────────────────────────────────── */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--footer-bg); color: #fff; }
.section-dark .section-tag { color: var(--accent); }
.section-dark .section-title { color: #fff; }
.section-dark .section-desc { color: rgba(255,255,255,.5); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block; font-size: .8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2px; color: var(--primary); margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-desc { font-size: 1.05rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: var(--radius-sm); font-weight: 600;
    font-size: .95rem; text-decoration: none; transition: all .2s;
    border: none; cursor: pointer; font-family: inherit;
}
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-primary {
    background: var(--primary); color: #fff;
    box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-outline {
    background: var(--bg-card); color: var(--text);
    border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ── Navigation ──────────────────────────────────── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s, background .3s;
}
nav.scrolled { box-shadow: var(--shadow-lg); }
.nav-inner {
    display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 1.15rem; color: var(--text-heading); text-decoration: none;
}
.logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: .85rem;
}
.nav-links {
    display: flex; align-items: center; gap: 8px; list-style: none;
}
.nav-links > li > a, .nav-links > li > button {
    color: var(--text-muted); font-size: .9rem; font-weight: 500;
    padding: 8px 14px; border-radius: 6px; transition: all .2s;
}
.nav-links > li > a:hover, .nav-links > li > a.active {
    color: var(--primary); background: rgba(37,99,235,.06);
}
.nav-cta {
    background: var(--primary) !important; color: #fff !important;
    padding: 10px 22px !important; border-radius: 8px !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }

/* Theme toggle */
.theme-toggle {
    background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: 8px; padding: 6px 10px; cursor: pointer; font-size: 1rem;
    transition: all .2s;
}
.theme-toggle:hover { border-color: var(--primary); }
[data-theme="light"] .theme-icon-dark { display: none; }
[data-theme="dark"] .theme-icon-light { display: none; }

/* Dropdowns */
.has-dropdown { position: relative; }
.dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-xl);
    min-width: 240px; padding: 8px; z-index: 200;
}
.has-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block; padding: 10px 16px; border-radius: 6px;
    color: var(--text); font-size: .9rem; transition: background .15s;
}
.dropdown-menu a:hover { background: var(--bg-alt); color: var(--primary); }

/* Mobile */
.mobile-toggle {
    display: none; flex-direction: column; background: none; border: none; cursor: pointer;
    padding: 10px; min-width: 44px; min-height: 44px;
    align-items: center; justify-content: center;
}
.mobile-toggle span {
    display: block; width: 24px; height: 2px; background: var(--text-heading);
    margin: 5px 0; transition: .3s; transform-origin: center;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(12px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-12px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────── */
.hero {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
    position: relative; overflow: hidden;
}
[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.hero::before {
    content: ''; position: absolute; top: -40%; right: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,.07) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    position: relative; z-index: 1;
}
.hero-content { max-width: 580px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(37,99,235,.08); color: var(--primary);
    padding: 6px 16px; border-radius: 20px; font-size: .85rem; font-weight: 600;
    margin-bottom: 24px;
}
.hero-badge::before {
    content: ''; width: 8px; height: 8px; background: var(--success);
    border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.hero h1 { margin-bottom: 20px; }
.hero p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 36px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
    display: flex; gap: 48px; margin-top: 56px;
    padding-top: 32px; border-top: 1px solid var(--border);
}
.stat-num { font-size: 1.8rem; font-weight: 700; color: var(--text-heading); }
.stat-label { font-size: .85rem; color: var(--text-muted); margin-top: 2px; }

/* Hero Showcase (right side) */
.hero-showcase {
    display: flex; flex-direction: column; gap: 24px;
    perspective: 1000px;
}
.tech-cube {
    width: 100%; height: 200px; position: relative;
    transform-style: preserve-3d; animation: rotate-cube 20s infinite linear;
}
@keyframes rotate-cube {
    0% { transform: rotateY(0deg) rotateX(15deg); }
    100% { transform: rotateY(360deg) rotateX(15deg); }
}
.tech-face {
    position: absolute; width: 180px; height: 180px; left: 50%; top: 50%;
    margin: -90px 0 0 -90px;
    background: rgba(37,99,235,.08); border: 1px solid var(--border);
    border-radius: 16px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 12px;
    backdrop-filter: blur(10px); transition: all .3s;
}
[data-theme="dark"] .tech-face { background: rgba(37,99,235,.12); }
.tech-icon { font-size: 3rem; }
.tech-name { font-size: .9rem; font-weight: 600; color: var(--text-heading); }
.tech-face-1 { transform: translateZ(90px); }
.tech-face-2 { transform: rotateY(90deg) translateZ(90px); }
.tech-face-3 { transform: rotateY(180deg) translateZ(90px); }
.tech-face-4 { transform: rotateY(270deg) translateZ(90px); }

.skills-panel {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 24px;
    box-shadow: var(--shadow-lg);
}
.skill-bar { margin-bottom: 20px; }
.skill-bar:last-child { margin-bottom: 0; }
.skill-info {
    display: flex; justify-content: space-between; margin-bottom: 8px;
    font-size: .88rem;
}
.skill-label { font-weight: 600; color: var(--text-heading); }
.skill-value { color: var(--primary); font-weight: 700; }
.skill-progress {
    height: 8px; background: var(--bg-alt); border-radius: 4px;
    overflow: hidden; position: relative;
}
.skill-progress::after {
    content: ''; position: absolute; left: 0; top: 0; height: 100%;
    width: var(--skill-width); background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px; animation: skill-load 1.5s ease-out;
}
@keyframes skill-load { from { width: 0; } to { width: var(--skill-width); } }

.code-preview {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-lg); font-family: 'Courier New', monospace;
}
.code-header {
    background: var(--bg-alt); padding: 10px 14px;
    display: flex; align-items: center; gap: 6px;
    border-bottom: 1px solid var(--border);
}
.code-dot {
    width: 12px; height: 12px; border-radius: 50%;
}
.code-title {
    margin-left: 8px; font-size: .8rem; color: var(--text-muted);
}
.code-body {
    padding: 16px; font-size: .85rem; line-height: 1.6;
}
.code-line {
    display: block; color: var(--text);
}
.code-comment { color: var(--text-muted); font-style: italic; }
.code-keyword { color: var(--primary); font-weight: 600; }
.code-success { color: var(--success); }
.cursor-blink {
    animation: blink 1s infinite;
}
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* ── Page Hero (inner pages) ─────────────────────── */
.page-hero {
    padding: 140px 0 60px;
    background: var(--bg-alt); border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .page-hero { background: var(--bg-alt); }
.page-hero h1 { margin-bottom: 12px; }
.page-hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; }
.breadcrumb {
    display: flex; gap: 8px; align-items: center;
    font-size: .85rem; color: var(--text-light); margin-bottom: 16px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb span { color: var(--text-light); }

/* ── Cards ───────────────────────────────────────── */
.card {
    padding: 32px 28px; border-radius: var(--radius);
    border: 1px solid var(--border); background: var(--bg-card);
    transition: all .3s;
}
.card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.card-icon {
    width: 52px; height: 52px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .92rem; color: var(--text-muted); line-height: 1.65; }
.icon-blue { background: rgba(37,99,235,.08); color: var(--primary); }
.icon-cyan { background: rgba(6,182,212,.08); color: var(--accent); }
.icon-green { background: rgba(34,197,94,.08); color: var(--success); }
.icon-purple { background: rgba(139,92,246,.08); color: #8b5cf6; }
.icon-orange { background: rgba(249,115,22,.08); color: #f97316; }
.icon-rose { background: rgba(244,63,94,.08); color: #f43f5e; }

/* ── Grids ───────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ── Process Steps ───────────────────────────────── */
.step { text-align: center; position: relative; }
.step:not(:last-child)::after {
    content: ''; position: absolute; top: 28px; left: 60%; right: -40%;
    height: 2px; background: var(--border);
}
.step-num {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; font-weight: 700; font-size: 1.2rem;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 20px; position: relative; z-index: 1;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: .88rem; color: var(--text-muted); }

/* ── Stats Box (dark bg) ─────────────────────────── */
.stats-panel {
    background: linear-gradient(135deg, var(--footer-bg), #1e293b);
    border-radius: var(--radius-lg); padding: 40px; color: #fff;
    position: relative; overflow: hidden;
}
.stats-panel::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40L40 0' stroke='%23ffffff08' stroke-width='1'/%3E%3C/svg%3E");
}
.stats-panel > * { position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stat-box {
    background: rgba(255,255,255,.06); border-radius: 12px; padding: 20px;
    border: 1px solid rgba(255,255,255,.08);
}
.stat-box .stat-num { color: var(--accent); }
.stat-box .stat-label { color: rgba(255,255,255,.6); }

/* ── Tech Tags ───────────────────────────────────── */
.tech-tags {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
    max-width: 900px; margin: 0 auto;
}
.tech-tag {
    padding: 8px 18px; border-radius: 8px; font-size: .85rem; font-weight: 500;
    background: rgba(255,255,255,.06); color: rgba(255,255,255,.7);
    border: 1px solid rgba(255,255,255,.08);
}
[data-theme="light"] .section:not(.section-dark) .tech-tag {
    background: var(--bg-alt); color: var(--text-muted); border-color: var(--border);
}

/* ── Feature List ────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 24px; }
.feature-item { display: flex; gap: 16px; }
.feature-icon {
    flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
    background: rgba(37,99,235,.08); color: var(--primary);
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.feature-item h4 { margin-bottom: 4px; }
.feature-item p { font-size: .9rem; color: var(--text-muted); }

/* ── CTA Banner ──────────────────────────────────── */
.cta-section {
    padding: 100px 0; text-align: center;
    background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
}
[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, #1e293b, #0f172a);
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Forms ────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: .9rem; font-weight: 600;
    color: var(--text-heading); margin-bottom: 6px;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
    border: 1px solid var(--border); background: var(--bg-card);
    color: var(--text); font-family: inherit; font-size: .95rem;
    transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-message {
    padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 20px;
    font-size: .9rem;
}
.form-message.success { background: rgba(34,197,94,.1); color: var(--success); border: 1px solid rgba(34,197,94,.2); }
.form-message.error { background: rgba(239,68,68,.1); color: var(--danger); border: 1px solid rgba(239,68,68,.2); }
.honey { position: absolute; left: -9999px; }

/* ── Legal Pages ─────────────────────────────────── */
.legal-content {
    max-width: 800px; margin: 0 auto; padding: 60px 0;
}
.legal-content h2 { font-size: 1.5rem; margin: 40px 0 16px; padding-top: 20px; border-top: 1px solid var(--border); }
.legal-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content h3 { font-size: 1.15rem; margin: 24px 0 12px; }
.legal-content p { margin-bottom: 16px; color: var(--text); }
.legal-content ul, .legal-content ol { margin-bottom: 16px; padding-left: 24px; }
.legal-content li { margin-bottom: 8px; color: var(--text); }
.legal-content .last-updated { font-size: .85rem; color: var(--text-muted); margin-bottom: 32px; }

/* ── FAQ Accordion ───────────────────────────────── */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    margin-bottom: 12px; overflow: hidden;
}
.accordion-header {
    width: 100%; padding: 18px 20px; background: var(--bg-card);
    border: none; cursor: pointer; font-family: inherit;
    font-size: 1rem; font-weight: 600; color: var(--text-heading);
    display: flex; justify-content: space-between; align-items: center;
    transition: background .2s;
}
.accordion-header:hover { background: var(--bg-alt); }
.accordion-header .arrow { transition: transform .2s; font-size: .8rem; }
.accordion-item.open .accordion-header .arrow { transform: rotate(180deg); }
.accordion-body {
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
    padding: 0 20px;
}
.accordion-item.open .accordion-body { max-height: 500px; padding: 0 20px 18px; }
.accordion-body p { font-size: .92rem; color: var(--text-muted); }

/* ── Portfolio ───────────────────────────────────── */
.portfolio-card {
    border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border); background: var(--bg-card);
    transition: all .3s;
}
.portfolio-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.portfolio-thumb {
    height: 200px; background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem; color: rgba(255,255,255,.5);
}
.portfolio-info { padding: 24px; }
.portfolio-info h3 { margin-bottom: 8px; }
.portfolio-info p { font-size: .9rem; color: var(--text-muted); }
.portfolio-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.portfolio-tag {
    padding: 4px 10px; border-radius: 4px; font-size: .75rem; font-weight: 600;
    background: rgba(37,99,235,.08); color: var(--primary);
}

/* ── Footer ──────────────────────────────────────── */
footer {
    padding: 60px 0 32px; background: var(--footer-bg); color: var(--footer-text);
    border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; line-height: 1.7; }
.footer-links h5 {
    color: #fff; font-size: .8rem; text-transform: uppercase;
    letter-spacing: 1.5px; margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--footer-text); font-size: .88rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
    margin-top: 48px; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.06);
    display: flex; justify-content: space-between; align-items: center;
    font-size: .82rem; flex-wrap: wrap; gap: 12px;
}
.footer-contact a { color: var(--accent); }

/* ── Cookie Banner ───────────────────────────────── */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
    background: var(--bg-card); border-top: 1px solid var(--border);
    box-shadow: 0 -4px 12px rgba(0,0,0,.1);
}
.cookie-inner {
    max-width: 1200px; margin: 0 auto; padding: 16px 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
}
.cookie-inner p { font-size: .88rem; color: var(--text-muted); }
.cookie-actions { display: flex; gap: 10px; }

/* ── Table ───────────────────────────────────────── */
.table-responsive { overflow-x: auto; }
table {
    width: 100%; border-collapse: collapse; margin-bottom: 24px;
}
th, td {
    padding: 12px 16px; text-align: left;
    border-bottom: 1px solid var(--border);
}
th { font-weight: 600; color: var(--text-heading); background: var(--bg-alt); }

/* ── Pricing Cards ───────────────────────────────── */
.pricing-grid { display: grid; gap: 28px; }
.pricing-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pricing-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pricing-card {
    padding: 32px 28px; border-radius: var(--radius);
    border: 1px solid var(--border); background: var(--bg-card);
    transition: all .3s; display: flex; flex-direction: column;
}
.pricing-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pricing-card.featured {
    border-color: var(--primary); position: relative;
    box-shadow: 0 0 0 1px var(--primary), var(--shadow-lg);
}
.pricing-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: #fff; font-size: .75rem; font-weight: 700;
    padding: 4px 16px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px;
}
.pricing-header { text-align: center; margin-bottom: 20px; }
.pricing-header h4 { margin-bottom: 4px; }
.pricing-header .pricing-desc { font-size: .85rem; color: var(--text-muted); }
.pricing-price {
    text-align: center; margin-bottom: 24px;
    padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.pricing-amount { font-size: 2.2rem; font-weight: 700; color: var(--text-heading); }
.pricing-period { font-size: .85rem; color: var(--text-muted); }
.pricing-features { list-style: none; margin: 0 0 24px; padding: 0; flex: 1; }
.pricing-features li {
    padding: 8px 0; font-size: .88rem; color: var(--text);
    border-bottom: 1px solid var(--border-light);
    display: flex; align-items: center; gap: 8px;
}
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }
.pricing-cta { text-align: center; margin-top: auto; }
.pricing-cta .btn { width: 100%; justify-content: center; }

/* Pricing Table (tabular) */
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table th {
    padding: 14px 16px; text-align: left; font-weight: 600;
    color: var(--text-heading); background: var(--bg-alt);
    border-bottom: 2px solid var(--border);
}
.pricing-table td {
    padding: 12px 16px; border-bottom: 1px solid var(--border-light);
    font-size: .92rem;
}
.pricing-table tr:hover { background: var(--bg-alt); }
.pricing-table .price-col { font-weight: 600; color: var(--primary); white-space: nowrap; }
.pricing-table .featured-row { background: rgba(37,99,235,.04); }
.pricing-table .featured-row td:first-child::after {
    content: ' ★'; color: var(--warning); font-size: .75rem;
}
.pricing-note {
    font-size: .82rem; color: var(--text-muted); margin-top: 12px; font-style: italic;
}

/* Pricing Tabs */
.pricing-tabs {
    display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px;
}
.pricing-tab {
    padding: 10px 22px; border-radius: 8px; font-size: .88rem; font-weight: 600;
    background: var(--bg-card); border: 1px solid var(--border);
    cursor: pointer; transition: all .2s; font-family: inherit; color: var(--text);
}
.pricing-tab:hover { border-color: var(--primary); color: var(--primary); }
.pricing-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pricing-panel { display: none; }
.pricing-panel.active { display: block; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-aside { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        height: calc(100vh - 72px); background: var(--bg);
        flex-direction: column; align-items: stretch;
        padding: 16px; gap: 2px; overflow-y: auto; z-index: 200;
        border-top: 1px solid var(--border);
    }
    .nav-links.show { display: flex; }
    .nav-links > li { width: 100%; }
    .nav-links > li > a, .nav-links > li > button {
        display: block; width: 100%; padding: 14px 16px; font-size: 1rem;
        text-align: left; border-radius: 8px;
    }
    .nav-cta { text-align: center !important; margin-top: 8px; }
    .has-dropdown .dropdown-menu {
        position: static; box-shadow: none; border: none;
        background: var(--bg-alt); margin-top: 4px; border-radius: 8px;
    }
    .has-dropdown:hover .dropdown-menu { display: none; }
    .has-dropdown.open .dropdown-menu { display: block; }
    .dropdown-menu a { padding: 12px 20px; }
    .mobile-toggle { display: flex; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .hero { padding: 120px 0 60px; }
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-showcase { order: -1; }
    .tech-cube { height: 160px; }
    .tech-face { width: 140px; height: 140px; margin: -70px 0 0 -70px; }
    .tech-face-1 { transform: translateZ(70px); }
    .tech-face-2 { transform: rotateY(90deg) translateZ(70px); }
    .tech-face-3 { transform: rotateY(180deg) translateZ(70px); }
    .tech-face-4 { transform: rotateY(270deg) translateZ(70px); }
    .hero-stats { flex-direction: column; gap: 16px; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .pricing-grid-3, .pricing-grid-4 { grid-template-columns: 1fr; }
    .step::after { display: none !important; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cookie-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    h1 { font-size: 1.7rem; }
    .hero-actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
}
