/* RND Solutions — glavni stilski sistem.
   Izvucen iz inline <style> bloka pocetne, da bi podstranice koristile
   iste stilove kao main page. Ucitava se posle chrome.css (zaglavlje/futer)
   i pre style.css (specificnosti podstranica), pa oni mogu da ga nadjacaju. */
/* ===== RESET ===== */
  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  /* ===== DESIGN TOKENS ===== */
  

  body {
    background: linear-gradient(-45deg, #F0FDF9, #F8FAFC, #EFF6FF, #FDF4FF, #F0FDF9);
    background-size: 400% 400%;
    color: var(--text-body);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor:pointer;
    line-height: 1.6;
  }

  /* ===== SPLASH SCREEN ===== */
  #splash-screen {
    position: fixed; inset: 0; z-index: 99999;
    background: #0D1B2A;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 1.5rem;
    transition: opacity 0.4s ease;
  }
  #splash-screen.hidden { opacity: 0; pointer-events: none; }

  .splash-brand {
    display: flex; flex-direction: column;
    align-items: center; gap: 0.4rem;
    opacity: 0;
  }
  .splash-rnd {
    font-family: var(--font-display);
    font-size: 4rem; font-weight: 700;
    color: #fff; letter-spacing: -0.02em;
    line-height: 1;
  }
  .splash-solutions {
    font-family: var(--font-body);
    font-size: 0.85rem; font-weight: 500;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.35em; text-transform: uppercase;
  }
  .splash-line {
    display: block;
    height: 2px; width: 0;
    background: #059669;
    border-radius: 2px;
    transition: width 0.5s ease 0s;
  }

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

  /* ===== CUSTOM CURSOR ===== */
  .cursor {
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9999;
    transition: transform 0.08s ease;
  }
  .cursor-ring {
    width: 26px; height: 26px;
    border: 1.5px solid var(--accent);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none; z-index: 9998;
    transition: all 0.15s ease;
    opacity: 0.25;
  }

  /* ===== LANGUAGE TOGGLE ===== */
  /* i18n: elements are always in DOM; JS swaps text nodes.
     The . / .en-text / . / .en-inline classes are kept
     purely so legacy selectors still resolve — JS replaces textContent
     dynamically on language switch.  SEO crawlers see the default (SR)
     text directly in the HTML source. */
  .en-text  { display: none; }
  .en-inline{ display: none; }

  /* ===== NAV ===== */
  nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 5%;
    height: 68px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(13,27,42,0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
  }
  .logo-dot {
    color: var(--accent);
    font-size: 2rem;
    line-height: 1;
  }
  .nav-links {
    display: flex; gap: 1.4rem; list-style: none; align-items: center;
  }
  .nav-links a {
    font-family: var(--font-body);
    font-size: 0.82rem; font-weight: 500;
    color: rgba(255,255,255,0.65); text-decoration: none;
    letter-spacing: 0;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: #fff; }
  .nav-cta {
    display: inline-block;
    background: var(--accent) !important;
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem; font-weight: 600;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    border: none !important;
  }
  .nav-cta:hover {
    background: var(--accent-hover) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(5,150,105,0.25) !important;
  }
  .lang-toggle { display: flex; gap: 0.4rem; align-items: center; }
  .lang-btn {
    background: none; border: none;
    font-family: var(--font-body);
    font-size: 0.78rem; font-weight: 600;
    color: rgba(255,255,255,0.45);
    cursor:pointer; letter-spacing: 0.05em;
    transition: color 0.2s;
    padding: 0.2rem 0.3rem;
  }
  .lang-btn.active { color: var(--accent); }
  .lang-btn:hover { color: #fff; }

  /* ===== HERO ===== */
  .hero {
    min-height: 100vh;
    display: flex; flex-direction: column; align-items: stretch; justify-content: center;
    padding: 100px 0 0;
    position: relative;
    background: var(--hero-dark);
    overflow: hidden;
  }

  /* Dot-grid animated background */
  .hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(5,150,105,0.12) 1px, transparent 1px);
    background-size: 32px 32px;
    animation: gridDrift 25s linear infinite;
    pointer-events: none; z-index: 0;
  }
  @keyframes gridDrift {
    0%   { background-position: 0 0; }
    100% { background-position: 32px 32px; }
  }

  /* Green radial glow top-left */
  .hero::before {
    content: '';
    position: absolute;
    top: -20%; left: -10%;
    width: 60%; height: 80%;
    background: radial-gradient(ellipse at top left, rgba(5,150,105,0.18) 0%, transparent 65%);
    pointer-events: none; z-index: 0;
  }

  /* Hero: tekst levo, telefon desno. Preko mreze i sjaja ide tamni sloj,
     da naslov uvek ima kontrast bez obzira sta se ispod animira. */
  .hero-body {
    position: relative; z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 0 5%;
    flex: 1;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
  }

  /* Tamni sloj preko mreze i sjaja, da tekst uvek ima kontrast */
  /* WebGL pozadina heroa. Dok se ne pokrene, stoji ispod nje postojeci
     gradijent i tackasta mreza — ako WebGL2 nema ili je iskljucen animacijom,
     hero izgleda kao i pre. Klasu .is-live postavlja js/shader-hero.js. */
  #hero-shader {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    display: block; z-index: 0;
    opacity: 0; transition: opacity .6s ease;
  }
  #hero-shader.is-live { opacity: 1; }
  /* kad shader radi, CSS mreza i sjaj bi se tukli sa njim */
  .hero:has(#hero-shader.is-live)::before,
  .hero:has(#hero-shader.is-live)::after { opacity: 0; }

  .hero-scrim {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(100deg, rgba(13,27,42,.86) 0%, rgba(13,27,42,.55) 42%, rgba(13,27,42,.10) 76%);
  }

  @media (max-width: 899px) { #hero-shader { display: none; } }
  @media (prefers-reduced-motion: reduce) { #hero-shader { display: none; } }

  .hero-inner {
    position: relative;
    flex: 1 1 0;
    max-width: 34rem;
    animation: fadeUp 0.7s ease forwards;
  }

  .hero-tag {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: rgba(5,150,105,0.12);
    border: 1px solid rgba(5,150,105,0.25);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem; font-weight: 600;
    color: #34D399;
    margin-bottom: 2rem;
  }

  .hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.4vw, 4.2rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #fff;
    margin-bottom: 1.8rem;
  }
  .hero-static { display: block; }

  /* Rotirajuca rec: traka nosi tri reci + kopiju prve, pa je petlja besavna.
     Visina okvira je jedan red, visak je odsecen. */
  .hero-rot {
    display: block; overflow: hidden;
    height: 1.12em; margin-top: .12em;
  }
  .hero-rot-track {
    display: flex; flex-direction: column;
    animation: heroRot 9s cubic-bezier(.76,0,.24,1) infinite;
  }
  .hero-rot-track > span { display: block; line-height: 1.12em; white-space: nowrap; }
  @keyframes heroRot {
    0%,   26.6% { transform: translateY(0); }
    33.3%, 59.9% { transform: translateY(-1.12em); }
    66.6%, 93.2% { transform: translateY(-2.24em); }
    100%        { transform: translateY(-3.36em); }
  }
  .visually-hidden {
    position:absolute; width:1px; height:1px; margin:-1px; padding:0;
    overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
  }
  @media (prefers-reduced-motion: reduce) {
    .hero-rot-track { animation: none; }
  }

  /* Telefon je desna kolona heroa */
  .hero .hero-visual { flex: 0 0 360px; max-width: 360px; }
  @media (max-width: 860px) { .hero .hero-visual { display: none; } }

  .hero-sub {
    font-size: 1.1rem; color: rgba(255,255,255,0.72);
    line-height: 1.75; max-width: 34rem;
    margin: 0 0 2.8rem; font-weight: 400;
  }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

  /* Service strip */
  .hero-service-strip {
    position: relative; z-index: 2;
    margin-top: 4rem;
    background: transparent;
    border-top: 3px solid var(--accent);
    padding: 0 5%;
    display: flex; gap: 0; overflow-x: auto;
    scrollbar-width: none;
  }
  .hero-service-strip::-webkit-scrollbar { display: none; }
  .strip-item {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 1.4rem 2rem;
    border-right: 1px solid rgba(255,255,255,0.08);
    text-decoration: none; color: rgba(255,255,255,0.55);
    font-size: 0.88rem; font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap; flex-shrink: 0;
    position: relative;
  }
  .strip-item::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--strip-color, var(--accent));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.25s ease;
  }
  .strip-item:hover { color: #fff; background: rgba(255,255,255,0.04); }
  .strip-item:hover { transform: translateY(-3px); }
  .strip-item:hover::after { transform: scaleX(1); }
  .strip-icon { font-size: 1.3rem; display:flex; align-items:center; } .strip-icon svg { width:20px; height:20px; }

  /* ===== HERO PROCESS CARD ===== */
  .hero-visual {
    flex: 0 0 360px;
    animation: fadeUp 0.9s ease 0.2s both;
  }

  .process-card {
    background: rgba(255,255,255,0.035);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 1.6rem 1.4rem;
    position: relative;
    overflow: hidden;
  }
  .process-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at top right, rgba(5,150,105,0.07) 0%, transparent 70%);
    pointer-events: none;
  }

  .process-card-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    margin-bottom: 1.2rem;
  }

  .process-timeline {
    display: flex;
    flex-direction: column;
    position: relative;
  }
  .process-timeline::before {
    content: '';
    position: absolute;
    left: 14px; top: 14px; bottom: 14px;
    width: 1px;
    background: rgba(255,255,255,0.06);
  }

  .process-step {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.5rem 0.6rem;
    border-radius: 10px;
    position: relative;
    cursor: default;
    transition: background 0.4s ease, padding 0.4s ease;
    overflow: hidden;
  }
  .process-step.active {
    background: rgba(5,150,105,0.07);
    padding: 0.75rem 0.6rem;
  }

  .ps-dot {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    position: relative; z-index: 1;
    transition: all 0.45s ease;
  }
  .process-step.active .ps-dot {
    background: rgba(5,150,105,0.18);
    border-color: rgba(5,150,105,0.5);
    box-shadow: 0 0 0 4px rgba(5,150,105,0.08), 0 0 16px rgba(5,150,105,0.2);
    transform: scale(1.1);
    animation: dotPulse 2s ease infinite;
  }

  .ps-text { flex: 1; min-width: 0; }

  .ps-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.35);
    transition: color 0.4s ease, transform 0.4s ease;
    line-height: 1.3;
    transform: translateX(0);
  }
  .process-step.active .ps-label {
    color: #fff;
    transform: translateX(2px);
  }

  .ps-desc {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    margin-top: 0.25rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-4px);
    transition: max-height 0.45s ease, opacity 0.4s ease 0.05s, transform 0.4s ease 0.05s;
  }
  .process-step.active .ps-desc {
    max-height: 40px;
    opacity: 1;
    transform: translateY(0);
  }

  /* Progress bar */
  .process-progress {
    margin-top: 1.2rem;
    height: 2px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    overflow: hidden;
  }
  .process-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #34D399);
    border-radius: 2px;
    width: 16.66%;
    transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Pulse on active dot */
  @keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(5,150,105,0.08), 0 0 16px rgba(5,150,105,0.2); }
    50%       { box-shadow: 0 0 0 7px rgba(5,150,105,0.04), 0 0 24px rgba(5,150,105,0.3); }
  }

  @media (max-width: 900px) {
    .hero-inner { max-width: 100%; }
  }

  /* ===== STATS BAR ===== */
  .stats-bar {
    background: var(--hero-dark);
    border-top: none;
    border-bottom: 3px solid var(--accent);
    padding: 1.5rem 5%;
    display: flex; gap: 3.5rem;
    overflow-x: auto; position: relative; z-index: 2;
  }
  .stat-item { display: flex; flex-direction: column; gap: 0.2rem; white-space: nowrap; }
  .stat-num {
    font-family: var(--font-display);
    font-size: 1.9rem; font-weight: 800;
    color: var(--accent); letter-spacing: -0.02em;
  }
  .stat-label {
    font-size: 0.72rem; color: rgba(255,255,255,0.5);
    font-weight: 500; letter-spacing: 0.02em;
  }

  /* ===== PILLARS (zlatni krugovi — signature panel) ===== */
  .pillars-section {
    position: relative;
    background-image:
      radial-gradient(120% 140% at 50% -10%, rgba(20,24,30,0.4) 0%, rgba(15,18,22,0.55) 45%, rgba(7,9,12,0.82) 100%),
      url("/img/pillars-bg.webp");
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    padding: 120px 5% 130px;
    overflow: hidden;
    isolation: isolate;
  }
  .pillars-grain {
    position: absolute; inset: 0; z-index: 0;
    opacity: 0.05; mix-blend-mode: overlay; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
  .pillars-inner {
    position: relative; z-index: 1;
    max-width: 900px; margin: 0 auto;
    text-align: center;
  }
  .pillars-h2 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.6vw, 3.1rem);
    font-weight: 800; line-height: 1.18;
    letter-spacing: -0.02em;
    color: #fff; margin: 0 auto 4.5rem; max-width: 640px;
  }
  .pillars-h2 .pillars-lead {
    display: block;
    font-family: var(--font-display);
    font-style: italic; font-weight: 500;
    color: var(--accent-gold-bright);
    font-size: 1.28em; letter-spacing: -0.01em;
    margin-bottom: 0.1em;
  }

  .pillars-rings {
    position: relative;
    width: min(600px, 92vw);
    aspect-ratio: 1 / 0.92;
    margin: 0 auto 3.5rem;
  }
  .pillar-ring {
    position: absolute;
    width: clamp(190px, 27vw, 268px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1.5px solid var(--accent-gold-line);
    box-shadow: 0 0 46px var(--accent-gold-soft);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.35rem;
    color: var(--accent-gold-bright);
  }
  .pr-1 { top: 0;    left: 50%; transform: translateX(-50%); }
  .pr-2 { bottom: 0; left: 26%; transform: translateX(-50%); }
  .pr-3 { bottom: 0; left: 74%; transform: translateX(-50%); }

  .pr-num {
    font-family: var(--font-display); font-style: italic; font-weight: 600;
    font-size: 1.5rem; color: var(--accent-gold-bright); line-height: 1;
  }
  .pr-icon { color: var(--accent-gold-bright); opacity: 0.92; }
  .pr-label {
    font-size: 0.92rem; font-weight: 700;
    letter-spacing: 0.02em; color: #fff;
  }

  .pillars-foot {
    font-family: var(--font-mono);
    font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: rgba(233,205,140,0.6);
  }

  @media (max-width: 720px) {
    .pillars-section { padding: 90px 6% 100px; }
    .pillars-h2 { margin-bottom: 3.5rem; }
    .pillars-rings {
      width: 100%; aspect-ratio: auto;
      display: flex; flex-direction: column; align-items: center;
      gap: 0; margin-bottom: 2.5rem;
    }
    .pillar-ring {
      position: static; transform: none !important;
      width: clamp(190px, 62vw, 230px);
      margin-top: -34px;
    }
    .pillar-ring:first-child { margin-top: 0; }
  }

  /* ===== GLOBAL HEADING STYLES ===== */
  h1, h2, h3 {
    color: var(--text);
    font-family: var(--font-main, 'Plus Jakarta Sans', system-ui, sans-serif);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
  }

  /* ===== SECTIONS ===== */
  section { padding: 100px 5%; position: relative; z-index: 2; }
  .section-tag {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.75rem; font-weight: 600;
    color: var(--accent); letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 1rem;
  }
  .section-tag::before {
    content: '';
    width: 20px; height: 2px;
    background: var(--accent); border-radius: 2px;
    display: inline-block;
  }
  .section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    font-weight: 800; line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--text); margin-bottom: 1rem;
  }
  .section-sub {
    color: var(--text-muted); font-size: 1.05rem;
    line-height: 1.8; max-width: 580px;
    margin-bottom: 2.5rem; font-weight: 400;
  }

  /* ===== ACCENT WORD ===== */
  .accent-word {
    color: var(--accent-yellow);
    font-style: italic;
  }

  /* ===== ANIMATE HOVER ===== */
  .animate-text-hover:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
    color: var(--accent);
  }

  /* ===== BUTTONS ===== */
  .btn-primary {
    background: var(--accent); color: #fff;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem; font-weight: 600;
    text-decoration: none; border: none; cursor:pointer;
    transition: all 0.2s;
    display: inline-flex; align-items: center; gap: 0.5rem;
    box-shadow: 0 2px 10px rgba(5,150,105,0.2);
  }
  .btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5,150,105,0.28);
  }
  .btn-ghost {
    background: transparent; color: var(--text);
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem; font-weight: 600;
    text-decoration: none;
    border: 1.5px solid var(--border);
    cursor:pointer; transition: all 0.2s;
    display: inline-flex; align-items: center; gap: 0.5rem;
  }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

  /* ===== SERVICES ===== */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    background: transparent; border: none;
  }
  .service-card { contain: layout style;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--card-accent, var(--accent));
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    position: relative; overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.25s ease;
  }
  .service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--card-accent, var(--accent));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.35s ease;
    border-radius: 0;
  }
  .service-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-left-color: var(--card-accent, var(--accent));
  }
  .service-card:hover::before { transform: scaleX(1); }

  .service-card.featured {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
  }
  .service-card.featured::before { display: block; }

  /* Pillar accents */
  .service-card.pillar-web:hover { border-color: rgba(99,102,241,0.3); }
  .service-card.pillar-web::before { background: var(--accent-web); }
  .service-card.pillar-web .service-icon { color: var(--accent-web); background: var(--accent-web-soft); border-color: rgba(99,102,241,0.15); }
  .service-card.pillar-web .tag { color: var(--accent-web); background: var(--accent-web-soft); border-color: rgba(99,102,241,0.15); }

  .service-card.pillar-video:hover { border-color: rgba(245,158,11,0.3); }
  .service-card.pillar-video::before { background: var(--accent-video); }
  .service-card.pillar-video .service-icon { color: var(--accent-video); background: var(--accent-video-soft); border-color: rgba(245,158,11,0.15); }
  .service-card.pillar-video .tag { color: var(--accent-video); background: var(--accent-video-soft); border-color: rgba(245,158,11,0.15); }

  .service-card.pillar-social:hover { border-color: rgba(236,72,153,0.3); }
  .service-card.pillar-social::before { background: var(--accent-social); }
  .service-card.pillar-social .service-icon { color: var(--accent-social); background: var(--accent-social-soft); border-color: rgba(236,72,153,0.15); }
  .service-card.pillar-social .tag { color: var(--accent-social); background: var(--accent-social-soft); border-color: rgba(236,72,153,0.15); }

  .service-card.pillar-it:hover { border-color: rgba(5,150,105,0.25); }
  .service-card.pillar-it::before { background: var(--accent); }
  .service-card.pillar-it .service-icon { color: var(--accent); background: var(--accent-light); border-color: rgba(5,150,105,0.15); }

  .service-icon {
    width: 46px; height: 46px;
    margin-bottom: 1.4rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--accent);
    background: var(--accent-light);
  }
  .service-icon svg { width: 24px; height: 24px; flex-shrink: 0; }
  .service-num {
    font-family: var(--font-mono);
    font-size: 0.68rem; color: var(--text-light);
    letter-spacing: 0.12em; margin-bottom: 0.7rem;
  }
  .service-title {
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 700;
    color: var(--text); margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
  }
  .service-desc {
    font-size: 0.95rem; color: var(--text-muted);
    line-height: 1.75; font-weight: 400;
  }
  .service-tags { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
  .tag {
    font-size: 0.72rem; font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    letter-spacing: 0.02em;
  }

  /* Category badge */
  .service-category-badge {
    display: inline-flex; align-items: center; gap: 0.35rem;
    font-size: 0.65rem; font-weight: 600;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.22rem 0.65rem; border-radius: 999px;
    margin-bottom: 0.9rem;
  }
  .badge-it { background: rgba(5,150,105,0.1); color: var(--accent); }
  .badge-web { background: rgba(99,102,241,0.1); color: var(--accent-web); }
  .badge-video { background: rgba(245,158,11,0.1); color: var(--accent-video); }
  .badge-social { background: rgba(236,72,153,0.1); color: var(--accent-social); }

  /* ===== WHY SECTION ===== */
  .why-section { background: var(--bg-alt); }
  .why-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
  }
  .why-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
  .why-item {
    display: flex; gap: 1.4rem; align-items: flex-start;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left 0.2s;
  }
  .why-item:last-child { border-bottom: none; }
  .why-item:hover { padding-left: 0.4rem; }
  .why-num {
    font-family: var(--font-mono);
    font-size: 0.7rem; color: var(--accent);
    min-width: 28px; padding-top: 0.25rem; font-weight: 600;
  }
  .why-content h3 {
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 700;
    color: var(--text); margin-bottom: 0.35rem;
  }
  .why-content p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

  /* ===== TERMINAL ===== */
  .terminal {
    background: #0F172A;
    border: 1px solid #1E293B;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.8rem; line-height: 2;
    box-shadow: var(--shadow-lg);
  }
  .terminal-header { display: flex; gap: 0.5rem; margin-bottom: 1.3rem; align-items: center; }
  .dot { width: 10px; height: 10px; border-radius: 50%; }
  .dot-red { background: #EF4444; }
  .dot-yellow { background: #F59E0B; }
  .dot-green { background: #22C55E; }
  .term-line { color: #64748B; }
  .term-cmd { color: #4ADE80; }
  .term-out { color: #34D399; }
  .term-comment { color: #334155; }
  .blink { animation: blink 1s step-end infinite; color: #34D399; }

  /* ===== TEAM ===== */
  .about-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 1.25rem; background: transparent; border: none;
    margin-top: 2.5rem;
  }
  .team-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.25s ease;
  }
  .team-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
  .team-role {
    font-size: 0.72rem; font-weight: 600;
    color: var(--accent); letter-spacing: 0.08em;
    text-transform: uppercase; margin-bottom: 0.9rem;
  }
  .team-name {
    font-family: var(--font-display);
    font-size: 1.4rem; font-weight: 800;
    color: var(--text); margin-bottom: 0.75rem;
  }
  .team-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
  .team-skills { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }

  /* ===== CONTACT ===== */
  .contact-section { background: var(--bg); }
  .contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
  .contact-info { display: flex; flex-direction: column; gap: 1.8rem; }
  .contact-item { display: flex; flex-direction: column; gap: 0.3rem; }
  .contact-label {
    font-size: 0.7rem; font-weight: 600;
    color: var(--text-light); letter-spacing: 0.1em; text-transform: uppercase;
  }
  .contact-value { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text); }
  .contact-value a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
  .contact-value a:hover { color: var(--accent-hover); }
  .contact-form { display: flex; flex-direction: column; gap: 1rem; }
  .form-group { display: flex; flex-direction: column; gap: 0.4rem; }
  .form-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.04em; }
  .form-input, .form-textarea {
    background: var(--bg-section);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text); padding: 0.85rem 1rem;
    font-family: var(--font-body); font-size: 0.9rem;
    outline: none; transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%; resize: none;
  }
  .form-input:focus, .form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
  }
  .form-textarea { min-height: 120px; }
  .form-submit {
    background: var(--accent); color: #fff;
    border: none; padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
    cursor:pointer; transition: all 0.2s;
    align-self: flex-start;
    box-shadow: 0 2px 10px rgba(5,150,105,0.2);
  }
  .form-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(5,150,105,0.28);
  }

  /* ===== FOOTER ===== */
  footer {
    background: var(--text);
    padding: 3rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1rem;
  }
  .footer-logo { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
  .footer-logo span { color: var(--accent-mid); }
  .footer-copy { font-size: 0.78rem; color: #94A3B8; }
  .footer-socials { display: flex; gap: 1rem; }
  .footer-socials a { font-size: 0.78rem; color: #64748B; text-decoration: none; transition: color 0.2s; }
  .footer-socials a:hover { color: var(--accent-mid); }

  /* ===== MISC DECORATIVE ===== */
  .bg-arrow-wrap { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; z-index: 0; }
  .bg-arrow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.04; }
  .circuit-overlay { display: none; }

  /* Live dot */
  .live-dot {
    display: inline-block; width: 7px; height: 7px;
    background: var(--accent); border-radius: 50%;
    animation: pulse 2s infinite; margin-right: 0.35rem;
    vertical-align: middle;
  }

  /* Floating contact */
  .nikola-float {
    position: fixed; bottom: 2rem; right: 2rem;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem; z-index: 50;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
    max-width: 220px;
    cursor: pointer;
  }
  .nikola-float:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); }
  .nikola-float .nf-label {
    font-size: 0.65rem; font-weight: 600;
    color: var(--accent); letter-spacing: 0.1em;
    text-transform: uppercase; margin-bottom: 0.35rem;
  }
  .nikola-float .nf-name { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 0.2rem; }
  .nikola-float .nf-num { font-size: 0.78rem; color: var(--text-muted); }
  .nikola-float .nf-num a { color: var(--text); text-decoration: none; }
  .nikola-float .nf-num a:hover { color: var(--accent); }

  /* ===== ANIMATIONS ===== */
  @keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

  .animate-in { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .animate-in.visible { opacity: 1; transform: translateY(0); }

  /* ===== RESPONSIVE ===== */

  /* ============================================
     RESPONSIVE — COMPLETE BREAKPOINT SYSTEM
     1280px+ | 901-1280px | 481-900px | 0-480px
  ============================================ */

  /* ── Large desktop (1280px+) ── */
  @media (min-width: 1280px) {
    .hero-layout { gap: 6rem; }
    .hero h1 { font-size: 4.2rem; }
    .hero-brand-title .hbt-main { font-size: 6.5rem; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    section { padding: 100px 6%; }
    nav { padding: 0 6%; }
  }

  /* ── Small laptop (901px – 1280px) ── */
  @media (max-width: 1280px) and (min-width: 901px) {
    .hero-layout { gap: 3.5rem; }
    .hero h1 { font-size: clamp(2.6rem, 4.5vw, 4rem); }
    .hero-brand-title .hbt-main { font-size: clamp(3rem, 5.5vw, 5rem); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    section { padding: 80px 5%; }
  }

  /* ── Tablet (481px – 900px) ── */
  @media (max-width: 900px) {
    .hero-layout { grid-template-columns: 1fr; }
    .hero-planet { display: none; }
    /* Nav */
    .nav-links { display: none; }
    .nav-socials { display: none !important; }
    .nav-phone-btn { display: none !important; }
    .hamburger { display: flex !important; }

    /* Hero */
    .hero { flex-direction: column; padding: 90px 5% 50px; }
    .hero-layout { grid-template-columns: 1fr; gap: 2rem; }
    .hero-cards { display: none; }
    .hero-brand-title { padding: 1.5rem 5% 0; }
    .hero-brand-title .hbt-main { font-size: clamp(2.2rem, 8vw, 4rem); letter-spacing: 0.06em; }
    .hero h1 { font-size: clamp(2rem, 5vw, 2.9rem); }
    .hero-content { max-width: 100%; }
    .hero-sub { font-size: 1rem; }
    .hero-actions { flex-direction: row; flex-wrap: wrap; gap: 0.75rem; }
    .btn-primary, .btn-ghost { min-height: 48px; padding: 0.75rem 1.8rem; font-size: 1rem; }

    /* Grids → 2 cols on tablet */
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .problems-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }

    /* Portfolio */
    #portfolio-grid { grid-template-columns: repeat(2, 1fr); }

    /* Blog */
    #blog > div > div:last-child { grid-template-columns: repeat(2, 1fr); }

    /* Stats */
    .stats-bar { gap: 1.5rem; padding: 1.2rem 4%; flex-wrap: wrap; }

    /* Contact */
    .contact-wrapper { grid-template-columns: 1fr; }

    /* Footer */
    footer { flex-direction: column; text-align: center; gap: 1.2rem; }
    .footer-socials { justify-content: center; }

    /* Sections */
    section { padding: 70px 4%; }
    .section-title { font-size: 1.9rem; }

    /* Float widget */
    .nikola-float { bottom: 1rem; right: 1rem; max-width: 200px; }

    /* Team */
    .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  }

  /* ── Mobile (0 – 480px) ── */
  @media (max-width: 480px) {
    /* Nav */
    nav { padding: 0 4%; height: 58px; }

    /* Hero */
    .hero { padding: 80px 4% 40px; }
    .hero-brand-title { padding: 1.2rem 4% 0; }
    .hero-brand-title .hbt-main { font-size: clamp(1.9rem, 11vw, 2.8rem); letter-spacing: 0.04em; }
    .hero-brand-title .hbt-sub { font-size: 0.6rem; letter-spacing: 0.2em; }
    .hero h1 { font-size: clamp(1.8rem, 9vw, 2.4rem); letter-spacing: -0.03em; margin-bottom: 1rem; }
    .hero-sub { font-size: 0.92rem; line-height: 1.65; }
    .hero-tag { font-size: 0.72rem; padding: 0.3rem 0.8rem; }
    .hero-actions { flex-direction: column; align-items: stretch; gap: 0.75rem; }
    .btn-primary, .btn-ghost {
      width: 100%; justify-content: center;
      min-height: 52px; font-size: 1rem;
      border-radius: 12px;
    }

    /* Grids → single column */
    .services-grid { grid-template-columns: 1fr; }
    .problems-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr !important; }
    #portfolio-grid { grid-template-columns: 1fr; }
    #blog > div > div:last-child { grid-template-columns: 1fr !important; }

    /* Service cards */
    .service-card { contain: layout style; padding: 1.4rem; }
    .hs-card { padding: 1rem 1.2rem; min-height: 56px; }

    /* Stats */
    .stats-bar { flex-wrap: wrap; gap: 1rem 1.5rem; padding: 1rem 4%; justify-content: center; }
    .stat-num { font-size: 1.6rem; }
    .stat-label { font-size: 0.72rem; }

    /* Sections */
    section { padding: 55px 4%; }
    .section-title { font-size: 1.55rem; letter-spacing: -0.02em; }
    .section-sub { font-size: 0.9rem; }

    /* FAQ touch targets */
    details { padding: 1.2rem !important; }
    details summary { font-size: 0.92rem !important; min-height: 44px; align-items: flex-start !important; padding-top: 0.2rem; }

    /* Blog cards */
    article { border-radius: 12px !important; }

    /* Portfolio filter buttons */
    [onclick^="filterPortfolio"] { min-height: 40px; padding: 0.5rem 1rem !important; font-size: 0.8rem !important; }

    /* Contact form inputs */
    input, textarea, select { min-height: 48px; font-size: 1rem !important; border-radius: 10px; }
    textarea { min-height: 120px; }

    /* Team cards */
    .team-card { padding: 1.3rem; }

    /* Float widget */
    .nikola-float { bottom: 0.75rem; right: 0.75rem; max-width: 160px; padding: 0.7rem 0.9rem; font-size: 0.78rem; }

    /* Footer */
    footer { flex-direction: column; text-align: center; gap: 1rem; padding: 1.5rem 4%; }
    .footer-socials { justify-content: center; }

    /* AI section */
    .ai-grid { grid-template-columns: 1fr; }
    .ai-process-steps { flex-direction: column !important; gap: 1rem !important; }
    .ai-process-steps > div { width: 100% !important; }

    /* Misc */
    .section-tag { margin-bottom: 0.75rem; }
  }

  /* ===== ANIMATED BACKGROUND ===== */
  #bg-canvas {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
    will-change: transform;
  }

  /* Animated gradient body */
  body {
    animation: gradientShift 28s ease-in-out infinite;
    background-size: 400% 400%;
  }
  @keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    25%  { background-position: 100% 50%; }
    50%  { background-position: 100% 0%; }
    75%  { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
  }


  /* prefers-reduced-motion */
  @media (prefers-reduced-motion: reduce) {
    body { animation: none; }
    #bg-canvas { display: none; }
  }


  /* Make all sections have transparent bg so blobs show through */
  .why-section { background: rgba(241,245,249,0.75); backdrop-filter: blur(2px); }
  .ai-section { background: linear-gradient(135deg, rgba(250,251,255,0.85) 0%, rgba(240,253,249,0.85) 60%, rgba(250,251,255,0.85) 100%); backdrop-filter: blur(2px); }
  .problems-section { background: rgba(255,255,255,0.7); backdrop-filter: blur(2px); }
  .faq-section { background: rgba(241,245,249,0.75); backdrop-filter: blur(2px); }
  .contact-section { background: rgba(248,250,252,0.8); backdrop-filter: blur(2px); }

  /* ===== AI TRANSPARENCY SECTION ===== */
  .ai-section {
    background: linear-gradient(135deg, #FAFBFF 0%, #F0FDF9 60%, #FAFBFF 100%);
    border-top: 1px solid #E2E8F0; border-bottom: 1px solid #E2E8F0;
    overflow: hidden; position: relative;
  }
  .ai-section::before {
    content: '';
    position: absolute; top: -60px; right: -60px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 65%);
    pointer-events: none;
  }
  .ai-section::after {
    content: '';
    position: absolute; bottom: -40px; left: -40px;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(5,150,105,0.06) 0%, transparent 65%);
    pointer-events: none;
  }
  .ai-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center; position: relative; z-index: 1;
  }
  .ai-principles { display: flex; flex-direction: column; gap: 1.4rem; }
  .ai-principle {
    display: flex; gap: 1.2rem; align-items: flex-start;
    padding: 1.4rem;
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(226,232,240,0.8);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    transition: box-shadow 0.2s, transform 0.2s;
  }
  .ai-principle:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.07); transform: translateY(-2px); }
  .ai-principle-icon {
    width: 42px; height: 42px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
  }
  .ai-principle-icon.purple { background: linear-gradient(135deg, #EEF2FF, #E0E7FF); }
  .ai-principle-icon.green  { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); }
  .ai-principle-icon.blue   { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); }
  .ai-principle h4 {
    font-size: 0.95rem; font-weight: 700; color: var(--text);
    margin-bottom: 0.3rem;
  }
  .ai-principle p { font-size: 0.84rem; color: var(--text-muted); line-height: 1.65; }

  /* AI visual — shimmer demo card */
  .ai-demo-card {
    background: #fff;
    border: 1.5px solid #E2E8F0; border-radius: 20px;
    padding: 2rem; box-shadow: 0 8px 32px rgba(0,0,0,0.07);
    position: relative; overflow: hidden;
  }
  .ai-demo-card::before {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shimmer 2.8s ease-in-out infinite;
  }
  @keyframes shimmer { 0% { left: -100%; } 100% { left: 200%; } }

  .ai-demo-label {
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--text-light);
    margin-bottom: 1.2rem; display: flex; align-items: center; gap: 0.5rem;
  }
  .ai-process-step {
    display: flex; align-items: center; gap: 0.9rem;
    padding: 0.75rem 1rem; border-radius: 10px;
    margin-bottom: 0.5rem; font-size: 0.85rem; font-weight: 500;
    transition: all 0.3s;
  }
  .ai-process-step.done { background: #F0FDF4; color: #059669; }
  .ai-process-step.active { background: linear-gradient(90deg,#EEF2FF,#F0FDF9); color: #6366F1; }
  .ai-process-step.pending { background: #F8FAFC; color: #94A3B8; }
  .ai-step-icon { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; flex-shrink: 0; }
  .ai-step-icon.done { background: #D1FAE5; color: #059669; }
  .ai-step-icon.active { background: #E0E7FF; color: #6366F1; animation: pulse-soft 1.5s ease-in-out infinite; }
  .ai-step-icon.pending { background: #F1F5F9; color: #94A3B8; }

.ai-result-bar {
    margin-top: 1.2rem; padding: 1rem;
    background: linear-gradient(135deg, #F0FDF4, #ECFDF5);
    border: 1px solid rgba(5,150,105,0.2); border-radius: 10px;
  }
  .ai-result-bar .result-label { font-size: 0.72rem; font-weight: 600; color: #059669; margin-bottom: 0.5rem; }
  .ai-result-bar .result-stats { display: flex; gap: 1.5rem; }
  .ai-stat-mini { display: flex; flex-direction: column; }
  .ai-stat-mini .num { font-size: 1.3rem; font-weight: 800; color: #059669; letter-spacing: -0.02em; }
  .ai-stat-mini .lbl { font-size: 0.68rem; color: var(--text-muted); }

  /* ===== PROBLEMS SECTION ===== */
  .problems-section { background: var(--bg-section); }
  .problems-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem; margin-top: 0.5rem;
  }
  .problem-card {
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 18px;
    padding: 1.8rem; background: var(--bg-card);
    box-shadow: var(--shadow-card); transition: all 0.25s ease;
    position: relative; overflow: hidden;
  }
  .problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #CBD5E1; }
  .problem-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    border-radius: 3px 3px 0 0;
  }
  .problem-card:nth-child(1)::before { background: linear-gradient(90deg, #059669, #10B981); }
  .problem-card:nth-child(2)::before { background: linear-gradient(90deg, #6366F1, #8B5CF6); }
  .problem-card:nth-child(3)::before { background: linear-gradient(90deg, #F59E0B, #F97316); }
  .problem-card:nth-child(4)::before { background: linear-gradient(90deg, #EC4899, #F43F5E); }
  .problem-card:nth-child(5)::before { background: linear-gradient(90deg, #0EA5E9, #6366F1); }
  .problem-card:nth-child(6)::before { background: linear-gradient(90deg, #10B981, #0EA5E9); }
  .problem-icon { font-size: 1.8rem; margin-bottom: 1rem; }
  .problem-challenge {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--text-light);
    margin-bottom: 0.4rem;
  }
  .problem-result {
    font-size: 1rem; font-weight: 700; color: var(--text);
    line-height: 1.35; margin-bottom: 0.8rem;
  }
  .problem-how {
    font-size: 0.82rem; color: var(--text-muted);
    line-height: 1.65; border-top: 1px solid var(--border);
    padding-top: 0.8rem; margin-top: 0.8rem;
  }
  .problem-metric {
    display: inline-block;
    font-size: 3rem; font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #059669, #6366F1);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 0.4rem;
  }

  /* ===== FAQ ===== */
  .faq-section { background: var(--bg-alt); }
  .faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
  .faq-item {
    background: var(--bg-card); border: 1.5px solid var(--border);
    border-radius: 14px; overflow: hidden;
    box-shadow: var(--shadow-sm); transition: box-shadow 0.2s;
  }
  .faq-item:hover { box-shadow: var(--shadow-md); }
  .faq-q {
    width: 100%; text-align: left; padding: 1.2rem 1.5rem;
    background: none; border: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.95rem; font-weight: 600; color: var(--text);
    transition: color 0.2s;
  }
  .faq-q:hover { color: var(--accent); }
  .faq-q svg { flex-shrink: 0; transition: transform 0.3s; color: var(--text-light); }
  .faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--accent); }
  .faq-item.open .faq-q { color: var(--accent); }
  .faq-a {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    font-size: 0.9rem; color: var(--text-muted); line-height: 1.75;
    padding: 0 1.5rem;
  }
  .faq-item.open .faq-a { max-height: 200px; padding: 0 1.5rem 1.2rem; }

  /* ===== AI CHATBOT ===== */
  .chat-bubble { will-change: transform; contain: layout;
    position: fixed; bottom: 2rem; left: 2rem;
    z-index: 200;
  }
  .chat-toggle {
    width: 56px; height: 56px; border-radius: 999px;
    background: linear-gradient(135deg, #059669, #6366F1);
    border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; box-shadow: 0 4px 20px rgba(5,150,105,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
  }
  .chat-toggle:hover { transform: scale(1.08); box-shadow: 0 8px 28px rgba(5,150,105,0.4); }
  .chat-toggle .chat-dot {
    position: absolute; top: 2px; right: 2px;
    width: 12px; height: 12px; border-radius: 50%;
    background: #22C55E; border: 2px solid #fff;
    animation: pulse 2s infinite;
  }
  .chat-window {
    position: absolute; bottom: 70px; left: 0;
    width: 340px; background: #fff;
    border: 1.5px solid #E2E8F0; border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.14);
    overflow: hidden;
    transform: scale(0.9) translateY(10px);
    transform-origin: bottom left;
    opacity: 0; pointer-events: none;
    transition: all 0.25s cubic-bezier(0.34,1.56,0.64,1);
  }
  .chat-window.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
  .chat-header {
    background: linear-gradient(135deg, #059669, #6366F1);
    padding: 1rem 1.2rem;
    display: flex; align-items: center; gap: 0.8rem;
  }
  .chat-header-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; border: 2px solid rgba(255,255,255,0.3);
  }
  .chat-header-info .name { font-size: 0.9rem; font-weight: 700; color: #fff; }
  .chat-header-info .status { font-size: 0.72rem; color: rgba(255,255,255,0.75); }
  .chat-messages {
    padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem;
    max-height: 260px; overflow-y: auto;
    background: #F8FAFC;
  }
  .msg { display: flex; flex-direction: column; max-width: 88%; }
  .msg.bot { align-self: flex-start; }
  .msg.user { align-self: flex-end; }
  .msg-bubble {
    padding: 0.65rem 0.9rem; border-radius: 14px;
    font-size: 0.83rem; line-height: 1.55;
  }
  .msg.bot .msg-bubble { background: #fff; border: 1px solid #E2E8F0; color: #334155; border-bottom-left-radius: 4px; }
  .msg.user .msg-bubble { background: linear-gradient(135deg,#059669,#6366F1); color: #fff; border-bottom-right-radius: 4px; }
  .msg-time { font-size: 0.62rem; color: #94A3B8; margin-top: 0.25rem; padding: 0 0.2rem; }
  .msg.user .msg-time { text-align: right; }
  .chat-quick-replies {
    padding: 0.5rem 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; background: #F8FAFC;
  }
  .quick-reply {
    font-size: 0.75rem; font-weight: 600; color: #059669;
    background: #ECFDF5; border: 1px solid rgba(5,150,105,0.2);
    border-radius: 999px; padding: 0.3rem 0.75rem;
    cursor: pointer; transition: all 0.15s;
  }
  .quick-reply:hover { background: #059669; color: #fff; }
  .chat-input-row {
    display: flex; gap: 0.5rem; padding: 0.8rem 1rem;
    border-top: 1px solid #E2E8F0; background: #fff;
  }
  .chat-input {
    flex: 1; border: 1.5px solid #E2E8F0; border-radius: 10px;
    padding: 0.55rem 0.85rem; font-size: 0.83rem; outline: none;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: #334155;
    transition: border-color 0.2s;
  }
  .chat-input:focus { border-color: #059669; }
  .chat-send {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg,#059669,#6366F1);
    border: none; cursor: pointer; color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.15s;
  }
  .chat-send:hover { transform: scale(1.1); }

  /* ===== FREE AUDIT CTA ===== */
  .audit-banner {
    background: linear-gradient(135deg, #F0FDF9 0%, #EEF2FF 100%);
    border: 1.5px solid rgba(99,102,241,0.15);
    border-radius: 20px; padding: 2.5rem 3rem;
    display: flex; justify-content: space-between; align-items: center;
    gap: 2rem; flex-wrap: wrap;
    margin-top: 3rem; position: relative; overflow: hidden;
  }
  .audit-banner::before {
    content: '✨';
    position: absolute; right: 2rem; top: 50%;
    transform: translateY(-50%);
    font-size: 5rem; opacity: 0.08;
    pointer-events: none;
  }
  .audit-banner h3 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 1.35rem; font-weight: 800; color: var(--text);
    margin-bottom: 0.4rem;
  }
  .audit-banner p { font-size: 0.9rem; color: var(--text-muted); max-width: 480px; line-height: 1.65; }
  .btn-audit {
    background: linear-gradient(135deg, #059669, #6366F1);
    color: #fff; padding: 0.9rem 2rem;
    border-radius: 10px; font-size: 0.9rem; font-weight: 700;
    text-decoration: none; white-space: nowrap;
    box-shadow: 0 4px 18px rgba(5,150,105,0.25);
    transition: all 0.2s; cursor: pointer; border: none;
  }
  .btn-audit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(5,150,105,0.32); }

  @media (max-width: 768px) {
    .ai-grid { grid-template-columns: 1fr; }
    .problems-grid { grid-template-columns: 1fr; }
    .audit-banner { flex-direction: column; padding: 1.8rem; }
    .chat-window { width: 300px; }
  }

/* ===== HAMBURGER MENU ===== */
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    cursor: pointer;
    background: none; border: none;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s;
    z-index: 1001;
  }
  .hamburger:hover { background: rgba(5,150,105,0.08); }
  .hamburger span {
    display: block; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile nav drawer */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13,27,42,0.97);
    backdrop-filter: blur(8px);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .mobile-nav.open {
    display: flex;
    opacity: 1;
  }
  .mobile-nav a {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 0.6rem 2rem;
    border-radius: 12px;
    transition: all 0.2s;
    letter-spacing: -0.02em;
    min-height: 56px;
    display: flex; align-items: center;
  }
  .mobile-nav a:hover { background: rgba(5,150,105,0.08); color: #fff; }
  .mobile-nav a.nav-cta {
    background: var(--accent); color: white !important;
    padding: 0.8rem 2.5rem;
    margin-top: 0.5rem;
    min-height: 56px;
  }
  .mobile-nav-close {
    position: absolute; top: 1rem; right: 1.2rem;
    font-size: 1.5rem; background: none; border: none;
    cursor: pointer; color: rgba(255,255,255,0.8); width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
  }
  .mobile-nav-lang {
    display: flex; gap: 1rem; margin-top: 1.5rem;
  }
  .mobile-nav-lang button {
    font-size: 0.9rem; font-weight: 600; padding: 0.5rem 1.2rem;
    border-radius: 999px; border: 1px solid var(--border);
    background: none; cursor: pointer; color: rgba(255,255,255,0.45);
    min-height: 40px;
  }

/* ===== GLOBAL TOUCH & MOBILE POLISH ===== */

  /* Smooth scroll everywhere */
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

  /* Touch targets — all interactive elements min 44px */
  a, button, [role="button"], details summary, input, select, textarea {
    -webkit-tap-highlight-color: transparent;
  }
  button, a { touch-action: manipulation; }

  /* Prevent overflow on small screens */
  body { overflow-x: hidden; }
  img { max-width: 100%; height: auto; }

  /* Safe area insets for notched phones (iPhone X+) */
  @supports (padding-left: env(safe-area-inset-left)) {
    nav {
      padding-left: calc(5% + env(safe-area-inset-left));
      padding-right: calc(5% + env(safe-area-inset-right));
    }
    footer {
      padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    }
  }

  /* Better tap state on cards */
  .hs-card:active, .service-card:active, article:active {
    transform: scale(0.98);
    transition: transform 0.1s;
  }

  /* Smooth inputs on iOS */
  input, textarea, select {
    -webkit-appearance: none;
    appearance: none;
    border-radius: 10px;
  }

  /* Fluid section padding using clamp */
  .services-section, .why-section, .ai-section,
  .problems-section, .contact-section { 
    padding-left: clamp(1rem, 5vw, 6%);
    padding-right: clamp(1rem, 5vw, 6%);
  }

  /* Portfolio cards on hover — disable on touch */
  @media (hover: none) {
    .pf-overlay { display: none !important; }
    .hs-card:hover { transform: none; }
    article:hover { transform: none !important; box-shadow: none !important; }
  }
