/* ============================================================
   NIZAAL - Professional landing page
   Refined color system, premium typography, polished motion
   ============================================================ */

/* ============ TOKENS ============ */
:root {
    /* Surface colors - warm off-black, not pure dark */
    --bg:           #0c0e14;
    --bg-elev:      #131620;
    --bg-card:      #181c28;
    --bg-card-2:    #1f2433;

    /* Ink - warmer whites, more readable */
    --ink:          #ecedf0;
    --ink-2:        #b8bcc7;
    --ink-mute:     #7e8494;
    --ink-faint:    #4d5260;

    /* Lines - subtle but visible */
    --line:         rgba(255, 255, 255, 0.05);
    --line-strong:  rgba(255, 255, 255, 0.10);

    /* Accent - warm amber, like Stripe / Vercel */
    --accent:       #d4a574;
    --accent-2:     #e8b87e;
    --accent-soft:  rgba(212, 165, 116, 0.10);
    --accent-glow:  rgba(212, 165, 116, 0.25);
    --accent-deep:  #a87a4f;

    /* Secondary accent - deep blue for trust */
    --blue:         #4a7fc4;
    --blue-soft:    rgba(74, 127, 196, 0.10);

    /* Status */
    --success:      #5cb88d;

    /* Gradient - subtle, not flashy */
    --gradient:     linear-gradient(135deg, #d4a574 0%, #e8b87e 100%);

    /* Typography */
    --font-en:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-ar:      'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
    --font-display-en: 'Fraunces', Georgia, serif;
    --font-display-ar: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
    --font-mono:    'JetBrains Mono', 'SF Mono', Monaco, monospace;

    /* Spacing */
    --container:    1240px;
    --gutter:       clamp(20px, 4vw, 40px);
    --section-y:    clamp(80px, 12vw, 140px);

    /* Radius */
    --r-sm:         8px;
    --r-md:         12px;
    --r-lg:         20px;
    --r-xl:         28px;
    --r-pill:       999px;

    /* Motion */
    --ease:         cubic-bezier(0.16, 1, 0.3, 1);
    --ease-2:       cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ RESET ============ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-en);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
html[lang="ar"] body { font-family: var(--font-ar); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--accent); color: var(--bg); }

/* ============ UTILITIES ============ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
html[lang="ar"] .eyebrow {
    font-family: var(--font-ar);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    font-size: 14px;
}
.eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--accent);
}

/* ============ NAV ============ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(12, 14, 20, 0.6);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled {
    border-bottom-color: var(--line);
    background: rgba(12, 14, 20, 0.85);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 19px;
    letter-spacing: -0.01em;
}
.brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--bg);
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
    transition: color 0.2s;
    position: relative;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-2);
    transition: all 0.2s;
}
.lang-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}
.lang-btn svg { width: 14px; height: 14px; opacity: 0.7; }

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--r-sm);
    border: 1px solid var(--line-strong);
    place-items: center;
}
.menu-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    left: 0;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: var(--r-pill);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.005em;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
    cursor: pointer;
}
.btn-primary {
    background: var(--ink);
    color: var(--bg);
}
.btn-primary:hover {
    background: var(--accent);
    color: var(--bg);
    transform: translateY(-1px);
    box-shadow: 0 12px 32px var(--accent-glow);
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line-strong);
}
.btn-ghost:hover {
    background: var(--bg-card);
    border-color: var(--ink-mute);
}
.btn .arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.25s var(--ease);
}
html[lang="ar"] .btn .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(3px); }
html[lang="ar"] .btn:hover .arrow { transform: scaleX(-1) translateX(3px); }

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, var(--accent-soft), transparent 60%),
        radial-gradient(ellipse 60% 40% at 50% 100%, var(--blue-soft), transparent 70%),
        var(--bg);
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 70%);
    pointer-events: none;
    opacity: 0.6;
}
.hero-inner {
    position: relative;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 8px;
    background: var(--bg-card);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-pill);
    font-size: 13px;
    color: var(--ink-2);
    margin-bottom: 36px;
}
html[lang="ar"] .hero-badge { padding: 8px 8px 8px 18px; }
.hero-badge .pulse {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(92, 184, 141, 0.18);
    display: grid;
    place-items: center;
    position: relative;
}
.hero-badge .pulse::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}
.hero-badge .pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--success);
    animation: ping 2s infinite;
}
@keyframes ping {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

.hero h1 {
    font-family: var(--font-display-en);
    font-size: clamp(40px, 7vw, 84px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin-bottom: 28px;
    font-variation-settings: "SOFT" 30, "WONK" 0;
}
html[lang="ar"] .hero h1 {
    font-family: var(--font-display-ar);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.005em;
}
.hero h1 .accent {
    color: var(--accent);
    font-style: italic;
    font-weight: 400;
}
html[lang="ar"] .hero h1 .accent {
    color: var(--accent);
    font-style: normal;
    font-weight: 700;
}
.hero p {
    font-size: clamp(16px, 1.5vw, 19px);
    color: var(--ink-2);
    max-width: 660px;
    margin: 0 auto 40px;
    line-height: 1.7;
}
.hero-ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero visual - dashboard mock */
.hero-visual {
    margin: 80px auto 0;
    max-width: 1100px;
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: var(--bg-elev);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--accent-soft) 0%, transparent 30%);
    pointer-events: none;
}

/* Project showcase grid (Hero visual) */
.project-showcase {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    padding: 20px;
    aspect-ratio: 16 / 10;
}
.showcase-item {
    position: relative;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--line);
    transition: transform 0.4s var(--ease);
}
.showcase-item:hover { transform: scale(1.02); }
.showcase-large {
    grid-row: span 2;
}
.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.showcase-item.no-image {
    background-color: var(--bg-card);
    background-image:
        linear-gradient(45deg, var(--line) 25%, transparent 25%),
        linear-gradient(-45deg, var(--line) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--line) 75%),
        linear-gradient(-45deg, transparent 75%, var(--line) 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
}
.showcase-item.no-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.06) 0%, transparent 100%);
}
.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 18px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(12, 14, 20, 0.92) 100%);
    z-index: 2;
}
.showcase-overlay h4 {
    font-family: var(--font-display-en);
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    margin: 0;
    line-height: 1.3;
}
html[lang="ar"] .showcase-overlay h4 {
    font-family: var(--font-display-ar);
    font-weight: 700;
    font-size: 17px;
}
.showcase-large .showcase-overlay h4 { font-size: 20px; }
.showcase-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-soft);
    padding: 4px 10px;
    border-radius: var(--r-pill);
    margin-bottom: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
html[lang="ar"] .showcase-tag {
    font-family: var(--font-ar);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    font-size: 11px;
}

/* Old dashboard mock styles (unused, kept for backward compatibility) */
.dashboard-mock {
    aspect-ratio: 16 / 9;
    padding: 24px;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
}
.mock-sidebar {
    background: var(--bg-card);
    border-radius: var(--r-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mock-sidebar-item {
    height: 32px;
    background: var(--bg-card-2);
    border-radius: var(--r-sm);
    opacity: 0.6;
}
.mock-sidebar-item.active {
    background: var(--accent-soft);
    opacity: 1;
    border-left: 2px solid var(--accent);
}
html[lang="ar"] .mock-sidebar-item.active {
    border-left: none;
    border-right: 2px solid var(--accent);
}
.mock-main {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 16px;
}
.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.mock-stat {
    background: var(--bg-card);
    border-radius: var(--r-md);
    padding: 16px;
    height: 80px;
    position: relative;
    overflow: hidden;
}
.mock-stat::before {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 16px;
    right: 16px;
    height: 18px;
    background: var(--bg-card-2);
    border-radius: 4px;
}
.mock-stat::after {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    width: 60%;
    height: 8px;
    background: var(--ink-faint);
    border-radius: 2px;
    opacity: 0.4;
}
.mock-chart {
    background: var(--bg-card);
    border-radius: var(--r-md);
    padding: 20px;
    position: relative;
}
.mock-chart svg { width: 100%; height: 100%; }

/* ============ TRUST STRIP ============ */
.trust {
    padding: 64px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.trust-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--ink-faint);
    text-align: center;
    margin-bottom: 36px;
}
html[lang="ar"] .trust-label {
    font-family: var(--font-ar);
    font-size: 13px;
    letter-spacing: 0;
    font-weight: 600;
}
.trust-items {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
    align-items: center;
    justify-items: center;
}
.trust-item {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-mute);
    transition: color 0.2s;
}
.trust-item:hover { color: var(--ink); }

/* ============ SECTIONS ============ */
.section {
    padding: var(--section-y) 0;
    position: relative;
}
.section-head {
    max-width: 720px;
    margin: 0 auto 72px;
    text-align: center;
}
.section-head h2 {
    font-family: var(--font-display-en);
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}
html[lang="ar"] .section-head h2 {
    font-family: var(--font-display-ar);
    font-weight: 700;
    line-height: 1.3;
}
.section-head p {
    font-size: 17px;
    color: var(--ink-mute);
    line-height: 1.6;
}

/* ============ SERVICES ============ */
.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 36px 32px;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.service-card:hover {
    border-color: var(--line-strong);
    background: var(--bg-card);
    transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    margin-bottom: 24px;
}
.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
    font-family: var(--font-display-en);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    line-height: 1.3;
}
html[lang="ar"] .service-card h3 {
    font-family: var(--font-display-ar);
    font-weight: 700;
}
.service-card p {
    color: var(--ink-mute);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 28px;
}
.service-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.service-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--ink-2);
}
.service-points li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

/* ============ PROCESS ============ */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
    position: relative;
}
.process::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
    z-index: 0;
}
.process-step {
    position: relative;
    z-index: 1;
}
.process-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-elev);
    border: 1px solid var(--line-strong);
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 16px;
    color: var(--accent);
    margin-bottom: 24px;
    transition: all 0.3s;
}
html[lang="ar"] .process-num {
    font-family: var(--font-ar);
    font-weight: 700;
    font-size: 18px;
}
.process-step:hover .process-num {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}
.process-step h4 {
    font-family: var(--font-display-en);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    line-height: 1.3;
}
html[lang="ar"] .process-step h4 {
    font-family: var(--font-display-ar);
    font-weight: 700;
}
.process-step p {
    color: var(--ink-mute);
    font-size: 14px;
    line-height: 1.65;
}

/* ============ STATS ============ */
.stats-section {
    background:
        radial-gradient(ellipse 50% 80% at 50% 50%, var(--accent-soft), transparent),
        var(--bg-elev);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--line);
}
.stat {
    background: var(--bg-elev);
    padding: 44px 28px;
    text-align: center;
    transition: background 0.3s;
}
.stat:hover { background: var(--bg-card); }
.stat-num {
    font-family: var(--font-display-en);
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
    color: var(--accent);
}
html[lang="ar"] .stat-num {
    font-family: var(--font-display-ar);
    font-weight: 700;
}
.stat-label {
    font-size: 14px;
    color: var(--ink-mute);
    font-weight: 500;
}

/* ============ WHY US ============ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.why-item {
    padding: 32px;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: all 0.3s var(--ease);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.why-item:hover {
    border-color: var(--line-strong);
    background: var(--bg-card);
}
.why-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--r-md);
    background: var(--accent-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
}
.why-icon svg { width: 20px; height: 20px; }
.why-item h4 {
    font-family: var(--font-display-en);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.005em;
    margin-bottom: 10px;
    line-height: 1.3;
}
html[lang="ar"] .why-item h4 {
    font-family: var(--font-display-ar);
    font-weight: 700;
}
.why-item p {
    color: var(--ink-mute);
    font-size: 15px;
    line-height: 1.65;
}

/* ============ CTA ============ */
.cta-section {
    text-align: center;
    background:
        radial-gradient(ellipse 60% 80% at 50% 100%, var(--accent-soft), transparent),
        var(--bg);
    padding: clamp(80px, 12vw, 130px) 0;
    border-top: 1px solid var(--line);
}
.cta-inner {
    max-width: 720px;
    margin: 0 auto;
}
.cta-section h2 {
    font-family: var(--font-display-en);
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
    color: var(--ink);
}
html[lang="ar"] .cta-section h2 {
    font-family: var(--font-display-ar);
    font-weight: 700;
    line-height: 1.3;
}
.cta-section p {
    font-size: 18px;
    color: var(--ink-mute);
    margin-bottom: 36px;
    line-height: 1.6;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--bg-elev);
    border-top: 1px solid var(--line);
    padding: 80px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p {
    color: var(--ink-mute);
    font-size: 14px;
    line-height: 1.65;
    max-width: 320px;
}
.footer-col h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col a {
    font-size: 14px;
    color: var(--ink-mute);
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--ink); }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-rights {
    font-size: 13px;
    color: var(--ink-faint);
}
.socials {
    display: flex;
    gap: 8px;
}
.socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--ink-mute);
    transition: all 0.2s;
}
.socials a:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}
.socials svg { width: 15px; height: 15px; }

/* ============ ANIMATIONS ============ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .services { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .process::before { display: none; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: 1 / -1; margin-bottom: 20px; }
    .trust-items { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
    .nav { padding: 14px 0; }
    .nav-links { display: none; }
    .menu-toggle { display: grid; }

    .nav.menu-open .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-elev);
        padding: 24px var(--gutter);
        gap: 20px;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }
    .nav.menu-open .nav-links a {
        font-size: 16px;
        padding: 8px 0;
    }

    .hero { padding: 120px 0 60px; }
    .hero-ctas { flex-direction: column; gap: 10px; }
    .hero-ctas .btn { width: 100%; }
    .hero-visual { margin-top: 56px; }
    .dashboard-mock {
        grid-template-columns: 1fr;
        padding: 16px;
        aspect-ratio: 4 / 5;
    }
    .mock-sidebar { display: none; }
    .mock-stats { grid-template-columns: repeat(2, 1fr); }
    .mock-stats .mock-stat:nth-child(3) { display: none; }

    /* Project showcase on mobile - stack into single column */
    .project-showcase {
        grid-template-columns: 1fr;
        grid-template-rows: 200px 140px 140px;
        gap: 12px;
        padding: 14px;
        aspect-ratio: auto;
    }
    .showcase-large { grid-row: span 1; }
    .showcase-overlay { padding: 14px 16px; }
    .showcase-large .showcase-overlay h4 { font-size: 17px; }

    .services { grid-template-columns: 1fr; }
    .service-card { padding: 28px 24px; }

    .process { grid-template-columns: 1fr; gap: 28px; }

    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat { padding: 32px 20px; }

    .why-grid { grid-template-columns: 1fr; }
    .why-item { padding: 24px; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand { grid-column: 1 / -1; }

    .trust-items { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-cta .lang-btn span { display: none; }
    .lang-btn { padding: 9px 12px; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .trust-items { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}