/*
 * ARGETIA Design System v4.0
 * 2025 Premium Agency Aesthetic
 * Dark · Grid · Glassmorphism · Flashlight Cursor
 */

/* ═══════════════════════════════════════════════════════════
   0. TOKENS
   ═══════════════════════════════════════════════════════════ */
:root {
    --bg:          #080c18;
    --bg-1:        #0d1225;
    --bg-2:        #111827;
    --purple:      #6c63ff;
    --blue:        #3b82f6;
    --green:       #00ff88;
    --white:       #ffffff;
    --dim:         rgba(255,255,255,0.65);
    --muted:       rgba(255,255,255,0.38);
    --glass:       rgba(255,255,255,0.04);
    --glass-b:     rgba(255,255,255,0.09);
    --glass-h:     rgba(255,255,255,0.07);
    --glow-p:      rgba(108,99,255,0.35);
    --glow-b:      rgba(59,130,246,0.3);
    --grad:        linear-gradient(135deg,var(--purple),var(--blue));
    --r-sm:        12px;
    --r-md:        20px;
    --r-lg:        28px;
    --r-xl:        36px;
    --ease:        cubic-bezier(0.16,1,0.3,1);
    --t:           0.4s var(--ease);
    --max:         1200px;
    --mouse-x:     50%;
    --mouse-y:     50%;
}

/* ═══════════════════════════════════════════════════════════
   1. RESET & BASE
   ═══════════════════════════════════════════════════════════ */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }

html { scroll-behavior:smooth; color-scheme:dark; }

body {
    background-color: var(--bg);
    background-image:
        radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(108,99,255,0.07) 0%, transparent 70%),
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 100% 100%, 44px 44px, 44px 44px;
    background-attachment: fixed, fixed, fixed;
    color: var(--white);
    font-family: 'Plus Jakarta Sans','Inter',system-ui,sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display:block; max-width:100%; }
ul,ol { list-style:none; }
button { border:none; background:none; cursor:pointer; font:inherit; }

/* ═══════════════════════════════════════════════════════════
   2. NOISE GRAIN
   ═══════════════════════════════════════════════════════════ */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

/* ═══════════════════════════════════════════════════════════
   3. FLASHLIGHT / SPOTLIGHT CURSOR
   ═══════════════════════════════════════════════════════════ */
.cursor-spotlight {
    position: fixed;
    top: 0; left: 0;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255,255,255,0.055) 0%,
        rgba(108,99,255,0.04) 40%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 9989;
    transform: translate(-50%,-50%);
    transition: opacity 0.4s ease;
    mix-blend-mode: screen;
}

/* ═══════════════════════════════════════════════════════════
   4. PAGE TRANSITION
   ═══════════════════════════════════════════════════════════ */
#page-transition {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    clip-path: circle(0% at 50% 50%);
    pointer-events: none;
    transition: clip-path 0.65s cubic-bezier(0.76,0,0.24,1);
}
#page-transition.active { clip-path: circle(150% at 50% 50%); pointer-events: all; }

/* ═══════════════════════════════════════════════════════════
   5. LAYOUT HELPERS
   ═══════════════════════════════════════════════════════════ */
.container {
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: 40px;
}

.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }

.label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--green);
    background: rgba(0,255,136,0.07);
    border: 1px solid rgba(0,255,136,0.2);
    border-radius: 100px;
    padding: 5px 14px;
}
.label::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
    flex-shrink: 0;
}

.title {
    font-size: clamp(32px,4vw,52px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-top: 16px;
}

.sub {
    font-size: 17px;
    color: var(--dim);
    line-height: 1.75;
    margin-top: 14px;
    max-width: 520px;
}

/* Gradient text */
.g-text {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass card */
.card {
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: var(--r-lg);
    transition: var(--t);
}
.card:hover {
    background: var(--glass-h);
    border-color: rgba(108,99,255,0.22);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* ═══════════════════════════════════════════════════════════
   6. BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: var(--t);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 8px 28px rgba(108,99,255,0.32);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(108,99,255,0.5);
    color: #fff;
}
.btn-secondary {
    background: var(--glass);
    color: var(--white);
    border: 1px solid var(--glass-b);
}
.btn-secondary:hover {
    background: var(--glass-h);
    border-color: rgba(255,255,255,0.18);
    color: #fff;
}
.btn-ghost {
    background: transparent;
    color: var(--dim);
    border: 1px solid var(--glass-b);
}
.btn-ghost:hover { background: var(--glass); color: #fff; }

.magnetic-wrap { display: inline-block; }

/* ═══════════════════════════════════════════════════════════
   7. NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(94%, 1140px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 20px 10px 20px;
    background: rgba(8,12,24,0.75);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-b);
    border-radius: 100px;
    transition: var(--t);
}
.site-header.scrolled {
    top: 12px;
    background: rgba(8,12,24,0.92);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.nav-logo img { height: 26px; width: auto; }

.main-navigation { display: flex; align-items: center; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links li a {
    display: block;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dim);
    border-radius: 100px;
    transition: var(--t);
    white-space: nowrap;
}
.nav-links li a:hover,
.nav-links li.current-menu-item a,
.nav-links li.current_page_item a {
    color: var(--white);
    background: rgba(255,255,255,0.06);
}

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta-btn {
    padding: 9px 20px;
    font-size: 13px;
    border-radius: 100px;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px; height: 36px;
    padding: 6px;
    border-radius: var(--r-sm);
    background: var(--glass);
    border: 1px solid var(--glass-b);
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 18px; height: 1.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--t);
    transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* Mobile overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8,12,24,0.96);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay a {
    font-size: 26px;
    font-weight: 800;
    color: var(--dim);
    padding: 12px 24px;
    border-radius: var(--r-md);
    transition: var(--t);
    letter-spacing: -0.02em;
}
.mobile-nav-overlay a:hover { color: var(--white); background: var(--glass); }

/* ═══════════════════════════════════════════════════════════
   8. HERO SECTION
   ═══════════════════════════════════════════════════════════ */
.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--green);
    border: 1px solid rgba(0,255,136,0.22);
    background: rgba(0,255,136,0.06);
    border-radius: 100px;
    padding: 6px 16px;
    margin-bottom: 28px;
}
.hero-eyebrow::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
}

.hero-headline {
    font-size: clamp(52px,9vw,120px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.05em;
    max-width: 900px;
}

.hero-desc {
    font-size: 18px;
    color: var(--dim);
    max-width: 480px;
    line-height: 1.75;
    margin: 28px auto 0;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Background orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}
.orb-1 {
    width: 560px; height: 560px;
    background: radial-gradient(circle, rgba(108,99,255,0.22) 0%, transparent 70%);
    top: -100px; right: -120px;
}
.orb-2 {
    width: 440px; height: 440px;
    background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
    bottom: -60px; left: -80px;
}
.orb-3 {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(0,255,136,0.1) 0%, transparent 70%);
    top: 40%; left: 60%;
}

/* Scroll indicator */
.scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    animation: bob 2s ease-in-out infinite;
}
.scroll-hint span {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dim);
}
.scroll-arrow {
    width: 20px; height: 20px;
    border-right: 1.5px solid var(--dim);
    border-bottom: 1.5px solid var(--dim);
    transform: rotate(45deg);
}
@keyframes bob {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Tech pills row */
.tech-pills {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 52px;
}
.tech-pill {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: 100px;
    padding: 6px 14px;
    transition: var(--t);
}
.tech-pill:hover { color: var(--white); border-color: rgba(108,99,255,0.3); }

/* ═══════════════════════════════════════════════════════════
   9. STATS
   ═══════════════════════════════════════════════════════════ */
.stats-wrap {
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: var(--r-xl);
    padding: 56px 60px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    text-align: center;
}
.stat-num {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}
.stat-lbl {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   10. SERVICES — STICKY SPLIT
   ═══════════════════════════════════════════════════════════ */
.split-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.split-sticky {
    position: sticky;
    top: 120px;
}
.split-items { display: flex; flex-direction: column; gap: 20px; padding: 60px 0; }
.svc-card {
    padding: 32px;
    border-radius: var(--r-lg);
    background: var(--glass);
    border: 1px solid var(--glass-b);
    transition: var(--t);
    cursor: default;
}
.svc-card:hover {
    background: var(--glass-h);
    border-color: rgba(108,99,255,0.25);
    transform: translateX(6px);
}
.svc-icon {
    width: 48px; height: 48px;
    background: rgba(108,99,255,0.1);
    border: 1px solid rgba(108,99,255,0.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    margin-bottom: 18px;
}
.svc-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.svc-desc { font-size: 14px; color: var(--dim); line-height: 1.7; margin-bottom: 16px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(108,99,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* ═══════════════════════════════════════════════════════════
   11. BENTO / PROJECTS GRID
   ═══════════════════════════════════════════════════════════ */
.bento {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}
.bento-item {
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: var(--t);
    position: relative;
}
.bento-item:hover {
    border-color: rgba(108,99,255,0.25);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.bento-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}
.bento-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
    min-height: 220px;
}
.bento-item:hover .bento-img { transform: scale(1.04); }
.bento-over {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,12,24,0.95) 0%, rgba(8,12,24,0.3) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    opacity: 0;
    transition: var(--t);
}
.bento-item:hover .bento-over,
.bento-item.featured .bento-over { opacity: 1; }
.bento-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--green);
    margin-bottom: 6px;
}
.bento-name {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 10px;
}
.bento-featured-info {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,12,24,0.96) 0%, rgba(8,12,24,0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px;
}
.bento-placeholder {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    background: radial-gradient(circle at 50% 50%, rgba(108,99,255,0.12) 0%, transparent 70%);
}

/* ═══════════════════════════════════════════════════════════
   12. VALUES / SKILLS
   ═══════════════════════════════════════════════════════════ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.val-card {
    padding: 28px;
    border-radius: var(--r-md);
    background: var(--glass);
    border: 1px solid var(--glass-b);
    margin-bottom: 16px;
    transition: var(--t);
}
.val-card:hover { background: var(--glass-h); transform: translateY(-3px); }
.val-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}
.val-icon.p { background: rgba(108,99,255,0.12); border: 1px solid rgba(108,99,255,0.18); }
.val-icon.g { background: rgba(0,255,136,0.08); border: 1px solid rgba(0,255,136,0.15); }
.val-icon.b { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.18); }
.val-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.val-desc { font-size: 14px; color: var(--dim); line-height: 1.65; }

/* Skill bars */
.skill-item { margin-bottom: 24px; }
.skill-row { display: flex; justify-content: space-between; margin-bottom: 8px; }
.skill-name { font-size: 14px; font-weight: 600; }
.skill-pct { font-size: 13px; font-weight: 700; color: var(--purple); }
.skill-track {
    height: 5px;
    background: rgba(255,255,255,0.06);
    border-radius: 100px;
    overflow: hidden;
}
.skill-fill {
    height: 100%;
    background: var(--grad);
    border-radius: 100px;
    width: 0%;
    box-shadow: 0 0 10px rgba(108,99,255,0.5);
}

/* ═══════════════════════════════════════════════════════════
   13. CTA BANNER
   ═══════════════════════════════════════════════════════════ */
.cta-box {
    background: linear-gradient(135deg, rgba(108,99,255,0.12) 0%, rgba(59,130,246,0.08) 100%);
    border: 1px solid rgba(108,99,255,0.2);
    border-radius: var(--r-xl);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -80px; left: 50%;
    transform: translateX(-50%);
    width: 500px; height: 250px;
    background: radial-gradient(ellipse, rgba(108,99,255,0.25) 0%, transparent 70%);
    pointer-events: none;
}
.cta-title { font-size: clamp(30px,4vw,52px); font-weight: 900; letter-spacing: -0.04em; }

/* ═══════════════════════════════════════════════════════════
   14. PAGE HEROES (subpages)
   ═══════════════════════════════════════════════════════════ */
.page-hero {
    min-height: 56vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}
.page-hero-title { font-size: clamp(38px,6vw,72px); font-weight: 900; letter-spacing: -0.04em; margin-top: 16px; }
.page-hero-sub { font-size: 17px; color: var(--dim); max-width: 520px; line-height: 1.75; margin-top: 16px; }

/* ═══════════════════════════════════════════════════════════
   15. SERVICE DETAIL PAGES
   ═══════════════════════════════════════════════════════════ */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.detail-grid.rev { direction: rtl; }
.detail-grid.rev > * { direction: ltr; }
.detail-h2 { font-size: clamp(28px,3.5vw,42px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 18px; }
.detail-p { font-size: 15px; color: var(--dim); line-height: 1.8; margin-bottom: 16px; }
.feat-list { list-style: none; }
.feat-list li {
    display: flex; gap: 12px; align-items: flex-start;
    font-size: 14px; color: var(--dim);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    line-height: 1.6;
}
.feat-list li:first-child { border-top: 1px solid rgba(255,255,255,0.05); }
.feat-check {
    flex-shrink: 0; margin-top: 2px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: rgba(0,255,136,0.1);
    border: 1px solid rgba(0,255,136,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 9px;
    color: var(--green);
}
.img-frame {
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--glass-b);
    background: var(--glass);
    aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(108,99,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Feature boxes */
.feat-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.feat-box {
    padding: 24px;
    border-radius: var(--r-md);
    background: var(--glass);
    border: 1px solid var(--glass-b);
    transition: var(--t);
}
.feat-box:hover { background: var(--glass-h); transform: translateY(-4px); }
.feat-box-emoji { font-size: 26px; margin-bottom: 12px; }
.feat-box h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.feat-box p { font-size: 13px; color: var(--dim); line-height: 1.6; }

/* Tech stack */
.tech-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 40px; }
.tech-badge {
    background: rgba(108,99,255,0.07);
    border: 1px solid rgba(108,99,255,0.14);
    border-radius: var(--r-md);
    padding: 18px 14px;
    text-align: center;
    transition: var(--t);
}
.tech-badge:hover { background: rgba(108,99,255,0.13); border-color: rgba(108,99,255,0.3); transform: translateY(-4px); }
.tech-emoji { font-size: 26px; display: block; margin-bottom: 8px; }
.tech-name { font-size: 13px; font-weight: 700; display: block; }
.tech-sub { font-size: 11px; color: var(--muted); margin-top: 3px; display: block; }

/* ═══════════════════════════════════════════════════════════
   16. SOLUTIONS GRID
   ═══════════════════════════════════════════════════════════ */
.solutions-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 60px; }
.sol-card {
    padding: 36px;
    border-radius: var(--r-xl);
    background: var(--glass);
    border: 1px solid var(--glass-b);
    position: relative;
    overflow: hidden;
    transition: var(--t);
    text-decoration: none;
    color: inherit;
    display: block;
}
.sol-card:hover {
    background: var(--glass-h);
    border-color: rgba(108,99,255,0.25);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    text-decoration: none;
    color: inherit;
}
.sol-icon {
    width: 60px; height: 60px;
    background: rgba(108,99,255,0.1);
    border: 1px solid rgba(108,99,255,0.18);
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
}
.sol-title { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.sol-desc { font-size: 14px; color: var(--dim); line-height: 1.7; margin-bottom: 22px; }
.sol-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 700;
    color: var(--purple);
    transition: gap 0.3s var(--ease);
}
.sol-card:hover .sol-link { gap: 12px; }

/* ═══════════════════════════════════════════════════════════
   17. ABOUT PAGE
   ═══════════════════════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.about-img {
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--glass-b);
    background: var(--glass);
    aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 60px; }
.team-card {
    padding: 32px;
    border-radius: var(--r-lg);
    background: var(--glass);
    border: 1px solid var(--glass-b);
    text-align: center;
    transition: var(--t);
}
.team-card:hover { background: var(--glass-h); transform: translateY(-6px); }
.team-emoji { font-size: 40px; display: block; margin-bottom: 16px; }
.team-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.team-card p { font-size: 14px; color: var(--dim); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════
   18. PROJECTS PAGE
   ═══════════════════════════════════════════════════════════ */
.proj-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 60px; }
.proj-card {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--glass-b);
    background: var(--glass);
    transition: var(--t);
    position: relative;
    aspect-ratio: 4/3;
}
.proj-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.proj-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.proj-card:hover img { transform: scale(1.05); }
.proj-over {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8,12,24,0.95) 0%, transparent 60%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 24px;
    opacity: 0; transition: var(--t);
}
.proj-card:hover .proj-over { opacity: 1; }
.proj-cat { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--green); margin-bottom: 5px; }
.proj-name { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.proj-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px;
    background: radial-gradient(circle, rgba(108,99,255,0.12) 0%, transparent 70%);
    min-height: 220px;
}

/* ═══════════════════════════════════════════════════════════
   19. BLOG
   ═══════════════════════════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 60px; }
.blog-card {
    border-radius: var(--r-lg);
    background: var(--glass);
    border: 1px solid var(--glass-b);
    overflow: hidden;
    transition: var(--t);
    text-decoration: none;
    color: inherit;
    display: block;
}
.blog-card:hover {
    background: var(--glass-h);
    border-color: rgba(108,99,255,0.22);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    color: inherit;
}
.blog-thumb { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-thumb-ph {
    height: 200px;
    display: flex; align-items: center; justify-content: center;
    font-size: 44px;
    background: radial-gradient(circle, rgba(108,99,255,0.12) 0%, transparent 70%);
}
.blog-body { padding: 24px; }
.blog-meta { display: flex; gap: 14px; font-size: 11px; color: var(--muted); margin-bottom: 12px; }
.blog-title { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; margin-bottom: 10px; transition: color 0.3s; }
.blog-card:hover .blog-title { color: var(--purple); }
.blog-excerpt { font-size: 13px; color: var(--dim); line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ═══════════════════════════════════════════════════════════
   20. CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; margin-top: 60px; }
.contact-info-item {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.c-icon {
    width: 42px; height: 42px; flex-shrink: 0;
    background: rgba(108,99,255,0.1);
    border: 1px solid rgba(108,99,255,0.18);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 17px;
}
.c-lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 4px; }
.c-val { font-size: 14px; color: var(--white); line-height: 1.55; }
.c-val a { color: var(--purple); transition: opacity 0.3s; }
.c-val a:hover { opacity: 0.8; }
.social-row { display: flex; gap: 10px; margin-top: 28px; }
.soc-btn {
    width: 42px; height: 42px;
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted);
    font-size: 16px;
    transition: var(--t);
    text-decoration: none;
}
.soc-btn:hover { background: rgba(108,99,255,0.12); border-color: rgba(108,99,255,0.3); color: var(--white); }

/* Form */
.form-wrap {
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: var(--r-xl);
    padding: 44px;
}
.form-wrap h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 28px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-field { margin-bottom: 14px; }
.f-field label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 7px; }
.f-field input,
.f-field textarea,
.f-field select {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--r-sm);
    padding: 13px 16px;
    color: var(--white);
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    appearance: none;
}
.f-field input:focus,
.f-field textarea:focus { border-color: rgba(108,99,255,0.5); background: rgba(108,99,255,0.04); }
.f-field input::placeholder,
.f-field textarea::placeholder { color: rgba(255,255,255,0.22); }
.f-field textarea { min-height: 130px; resize: vertical; }
.form-msg-ok {
    background: rgba(0,255,136,0.07);
    border: 1px solid rgba(0,255,136,0.22);
    border-radius: var(--r-sm);
    padding: 14px 18px;
    color: var(--green);
    font-size: 13px;
    margin-bottom: 20px;
}
.form-msg-err {
    background: rgba(255,60,60,0.07);
    border: 1px solid rgba(255,60,60,0.22);
    border-radius: var(--r-sm);
    padding: 14px 18px;
    color: #ff6b6b;
    font-size: 13px;
    margin-bottom: 20px;
}

/* ═══════════════════════════════════════════════════════════
   21. SINGLE / ARTICLE
   ═══════════════════════════════════════════════════════════ */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 140px 0 100px; }
.article-title { font-size: clamp(28px,4vw,48px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 20px; }
.article-meta { display: flex; align-items: center; gap: 18px; font-size: 12px; color: var(--muted); margin-bottom: 40px; }
.article-feat { border-radius: var(--r-xl); overflow: hidden; margin-bottom: 48px; border: 1px solid var(--glass-b); }
.article-feat img { width: 100%; display: block; }
.article-body { background: var(--glass); border: 1px solid var(--glass-b); border-radius: var(--r-xl); padding: 52px; }
.article-body h2 { font-size: 26px; font-weight: 800; margin: 2em 0 0.5em; letter-spacing: -0.02em; }
.article-body h3 { font-size: 20px; font-weight: 700; margin: 1.6em 0 0.5em; }
.article-body p { font-size: 16px; color: var(--dim); line-height: 1.85; margin-bottom: 1.5em; }
.article-body a { color: var(--purple); text-decoration: underline; }
.article-body ul, .article-body ol { margin: 0 0 1.5em 1.5em; color: var(--dim); line-height: 1.8; }
.article-body li { margin-bottom: 6px; }
.article-body code { background: rgba(108,99,255,0.1); border-radius: 5px; padding: 2px 7px; font-size: 0.87em; color: var(--purple); }
.article-body pre { background: rgba(5,8,18,0.8); border: 1px solid var(--glass-b); border-radius: var(--r-md); padding: 24px; overflow-x: auto; margin-bottom: 1.5em; }
.article-body blockquote { border-left: 3px solid var(--purple); padding: 18px 24px; background: rgba(108,99,255,0.06); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: 2em 0; font-style: italic; color: var(--dim); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.post-nav-link {
    background: var(--glass); border: 1px solid var(--glass-b);
    border-radius: var(--r-md); padding: 20px;
    text-decoration: none; transition: var(--t);
}
.post-nav-link:hover { background: var(--glass-h); transform: translateY(-3px); }
.post-nav-dir { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 6px; }
.post-nav-title { font-size: 14px; font-weight: 600; color: var(--white); line-height: 1.4; }

/* ═══════════════════════════════════════════════════════════
   22. 404
   ═══════════════════════════════════════════════════════════ */
.e404 {
    min-height: 100svh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 40px;
}
.e404-num {
    font-size: clamp(100px,22vw,200px);
    font-weight: 900; line-height: 0.9;
    letter-spacing: -0.06em;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block; margin-bottom: 28px;
}
.e404-title { font-size: clamp(22px,4vw,36px); font-weight: 800; margin-bottom: 14px; }
.e404-desc { font-size: 16px; color: var(--dim); max-width: 400px; line-height: 1.7; margin-bottom: 36px; }
.e404-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ═══════════════════════════════════════════════════════════
   23. FOOTER
   ═══════════════════════════════════════════════════════════ */
.site-footer {
    border-top: 1px solid var(--glass-b);
    padding: 72px 0 36px;
}
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr; gap: 60px; margin-bottom: 56px; }
.footer-brand p { font-size: 14px; color: var(--dim); line-height: 1.7; margin-top: 18px; max-width: 280px; }
.footer-col h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--dim); transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact p { font-size: 14px; color: var(--dim); line-height: 1.7; }
.footer-contact a { color: var(--purple); }
.footer-bottom {
    border-top: 1px solid var(--glass-b);
    padding-top: 28px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 14px;
}
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: var(--muted); transition: color 0.3s; }
.footer-legal a:hover { color: var(--white); }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-soc {
    width: 36px; height: 36px;
    background: var(--glass);
    border: 1px solid var(--glass-b);
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted); transition: var(--t);
    text-decoration: none;
}
.footer-soc:hover { background: rgba(108,99,255,0.1); border-color: rgba(108,99,255,0.25); color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   24. SCROLL PROGRESS
   ═══════════════════════════════════════════════════════════ */
.scroll-bar {
    position: fixed; top: 0; left: 0;
    height: 2px; width: 0%;
    background: var(--grad);
    z-index: 9998;
    transition: width 0.1s linear;
}

/* ═══════════════════════════════════════════════════════════
   25. ELEMENTOR COMPATIBILITY
   ═══════════════════════════════════════════════════════════ */

/*
 * Canvas — no header/footer (Elementor Canvas page template)
 * Elementor adds .elementor-page-template-canvas to <body>
 */
.elementor-page-template-canvas .site-header,
.elementor-page-template-canvas .site-footer,
.elementor-page-template-canvas .scroll-bar,
.elementor-page-template-canvas .scroll-hint {
    display: none !important;
}
.elementor-page-template-canvas .site-main {
    margin-top: 0;
    padding-top: 0;
}

/*
 * Full Width — header/footer visible, no side padding on content
 * Elementor adds .elementor-page-template-full-width to <body>
 */
.elementor-page-template-full-width .site-main {
    padding: 0;
    max-width: none;
}

/*
 * Any Elementor-built page: remove default article padding/containers
 * so Elementor sections control layout 100%
 */
.is-elementor-page .site-main {
    padding-top: 0;
}
.is-elementor-page .elementor-section-full_width,
.is-elementor-page .elementor-section-stretched {
    width: 100% !important;
    max-width: none !important;
    left: 0 !important;
}

/* Theme CSS variables exposed to Elementor Custom CSS fields */
/* Users can write var(--purple), var(--green) etc. in Elementor */

/* Elementor widget typography inherits theme base */
.elementor-widget-heading .elementor-heading-title { font-family: inherit; }
.elementor-widget-text-editor { font-size: 15px; color: var(--dim); line-height: 1.8; }
.elementor-widget-button .elementor-button { font-family: inherit; }

/* Ensure Elementor section background overlays work with our noise */
.elementor-section { position: relative; }

/* ═══════════════════════════════════════════════════════════
   26. ACCESSIBILITY
   ═══════════════════════════════════════════════════════════ */
.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    clip-path: inset(50%);
    height: 1px; width: 1px;
    overflow: hidden; position: absolute;
}
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }

/* ═══════════════════════════════════════════════════════════
   26. UTILITIES
   ═══════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-12 { gap: 12px; }
.w-full { width: 100%; }
