/* ── HERO ── */
.hero{
  min-height:100vh;display:flex;align-items:center;
  padding:120px 52px 80px;position:relative;overflow:hidden;
}
.hero-bg{
  position:absolute;inset:0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%,rgba(124,58,237,0.13) 0%,transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 80%,rgba(34,211,238,0.05) 0%,transparent 50%);
}
.hero-grid{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(124,58,237,0.06) 1px,transparent 1px),
    linear-gradient(90deg,rgba(124,58,237,0.06) 1px,transparent 1px);
  background-size:60px 60px;
  mask-image:radial-gradient(ellipse 90% 90% at 50% 50%,black 20%,transparent 100%);
}
.particles{position:absolute;inset:0;pointer-events:none;overflow:hidden}

.hero-glow-right{
  position:absolute;pointer-events:none;
  right:-10%;top:50%;transform:translateY(-50%);
  width:70%;height:140%;
  background:radial-gradient(ellipse 55% 55% at 70% 50%,rgba(120,60,220,0.45) 0%,transparent 70%);
  z-index:3;
}
.hero-glow-left{
  position:absolute;pointer-events:none;
  left:-5%;top:50%;transform:translateY(-50%);
  width:50%;height:120%;
  background:radial-gradient(ellipse 60% 60% at 30% 50%,rgba(120,60,220,0.15) 0%,transparent 70%);
  z-index:3;
}

.particle{
  position:absolute;border-radius:50%;
  animation:float var(--d,8s) var(--delay,0s) linear infinite;opacity:0;
}

.hero-inner{
  position:relative;z-index:10;
  display:grid;grid-template-columns:1fr 1fr;
  gap:40px;align-items:center;
  max-width:1200px;margin:0 auto;width:100%;
}

.hero-tag{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(124,58,237,0.12);border:1px solid rgba(124,58,237,0.3);
  color:var(--purple3);font-family:'DM Mono',monospace;
  font-size:0.6rem;letter-spacing:2px;text-transform:uppercase;
  padding:6px 14px;border-radius:20px;margin-bottom:24px;
  animation:fadeUp 0.8s 0.1s both;
}

.hero h1{
  font-family:'Poppins',sans-serif;
  font-size:3.75rem;
  font-weight:400;line-height:0.95;color:var(--white);
  animation:fadeUp 0.8s 0.25s both;
}
.hero h1 em{
  font-family:'Poppins',sans-serif;
  display:inline;padding-right:0.08em;
  background:linear-gradient(135deg,var(--purple2),var(--cyan));
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
}

.hero-sub{
  font-size:0.95rem;color:var(--muted);line-height:1.8;
  max-width:440px;margin:24px 0 40px;
  animation:fadeUp 0.8s 0.4s both;
}
.hero-btns{display:flex;align-items:center;gap:16px;flex-wrap:wrap;animation:fadeUp 0.8s 0.55s both}

.hero-stats{
  display:flex;gap:32px;margin-top:44px;
  animation:fadeUp 0.8s 0.7s both;
}
.hstat{border-left:2px solid var(--purple);padding-left:14px}
.hstat-num{font-family:'Syne',sans-serif;font-size:1.8rem;color:var(--white);line-height:1}
.hstat-label{font-size:0.62rem;color:var(--muted);text-transform:uppercase;letter-spacing:1px;margin-top:3px}

/* ── PHONE ── */
.hero-right{
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  animation:fadeIn 1s 0.3s both;position:relative;
}

.phone-halo{
  position:absolute;border-radius:50%;
  border:1px solid rgba(124,58,237,0.12);
  animation:halo 3s ease-in-out infinite;
}
.phone-halo:nth-child(1){width:308px;height:308px;animation-delay:0s}
.phone-halo:nth-child(2){width:421px;height:421px;animation-delay:1s;border-color:rgba(124,58,237,0.07)}
.phone-halo:nth-child(3){width:535px;height:535px;animation-delay:2s;border-color:rgba(34,211,238,0.04)}

.phone-scene{
  perspective:1400px;
  width:243px;height:494px;
  transform-style:preserve-3d;
  position:relative;z-index:2;
}
.phone-wrap{
  width:100%;height:100%;
  transform-style:preserve-3d;
  transition:transform 0.08s linear;
  position:relative;
}

.phone{
  width:100%;height:100%;
  background:linear-gradient(170deg,#22193A,#100C20,#0A0712);
  border-radius:48px;
  border:1.5px solid rgba(168,85,247,0.55);
  position:relative;overflow:hidden;
  box-shadow:
    0 0 0 1px rgba(168,85,247,0.15),
    0 40px 100px rgba(0,0,0,0.9),
    0 0 80px rgba(124,58,237,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.5);
}

.phone-edge{
  position:absolute;inset:0;border-radius:48px;
  background:linear-gradient(135deg,rgba(168,85,247,0.15) 0%,transparent 40%,transparent 60%,rgba(34,211,238,0.06) 100%);
  pointer-events:none;z-index:20;
}

.phone-notch{
  position:absolute;top:0;left:50%;transform:translateX(-50%);
  width:110px;height:32px;background:#08060E;
  border-radius:0 0 22px 22px;z-index:15;
  display:flex;align-items:center;justify-content:center;gap:8px;
}
.notch-cam{
  width:11px;height:11px;border-radius:50%;
  background:#0E0B1A;border:2px solid #1E1630;
  box-shadow:inset 0 0 4px rgba(124,58,237,0.3);
}
.notch-mic{width:36px;height:4px;border-radius:2px;background:#0E0B1A}

.phone-btn-r{
  position:absolute;right:-2px;top:110px;
  width:2px;height:56px;background:rgba(168,85,247,0.35);border-radius:0 2px 2px 0;
}
.phone-btn-l1,.phone-btn-l2{
  position:absolute;left:-2px;
  width:2px;background:rgba(168,85,247,0.25);border-radius:2px 0 0 2px;
}
.phone-btn-l1{top:90px;height:34px}
.phone-btn-l2{top:140px;height:56px}

.phone-screen{
  position:absolute;
  top:38px;left:10px;right:10px;bottom:10px;
  border-radius:38px;overflow:hidden;
  background:#06040F;
}

/* ── IMAGE SLIDES ── */
.img-slide{
  position:absolute;inset:0;
  opacity:0;
  transition:opacity 2.2s ease;
  pointer-events:none;
}
.img-slide.active{opacity:1;pointer-events:all}
.img-slide img{width:100%;height:100%;object-fit:cover;display:block}

/* ── DEMO DOTS ── */
.demo-dots{
  display:flex;justify-content:center;gap:7px;
  margin-top:14px;position:relative;z-index:3;
}
.demo-dot{
  width:7px;height:7px;border-radius:50%;
  background:rgba(124,58,237,0.25);
  transition:background 0.3s,transform 0.3s;cursor:pointer;
}
.demo-dot.active{
  background:var(--purple);
  transform:scale(1.35);
}

/* ── NOTIFICATION TOAST ── */
.phone-notif{
  position:absolute;top:42px;left:10px;right:10px;
  background:rgba(15,12,28,0.96);
  backdrop-filter:blur(16px);
  border:1px solid rgba(124,58,237,0.35);
  border-radius:14px;padding:10px 12px;
  display:flex;align-items:center;gap:8px;z-index:30;
  transform:translateY(-80px);
  transition:transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.phone-notif.show{transform:translateY(0)}
.notif-app{
  width:22px;height:22px;background:linear-gradient(135deg,var(--purple),var(--purple2));
  border-radius:6px;display:flex;align-items:center;justify-content:center;
  color:var(--white);flex-shrink:0;
}
.notif-body{flex:1}
.notif-from{font-size:0.4rem;font-weight:700;color:var(--purple3);text-transform:uppercase;letter-spacing:0.5px}
.notif-msg{font-size:0.44rem;color:var(--text);margin-top:1px;line-height:1.4}
.notif-time{font-family:'DM Mono',monospace;font-size:0.36rem;color:var(--muted);flex-shrink:0}

/* ── SERVICES ── */
.services{
  padding:56px 52px;background:var(--bg2);
  border-top:1px solid var(--border);border-bottom:1px solid var(--border);
  position:relative;overflow:hidden;
}
.circuit{position:absolute;inset:0;pointer-events:none;opacity:0.04}
.services-inner{max-width:1200px;margin:0 auto}
.services-top{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px;flex-wrap:wrap;gap:16px}
.services-note{font-size:0.85rem;color:var(--muted);max-width:300px;line-height:1.75}
.services-grid{
  display:grid;grid-template-columns:repeat(2,1fr);
  gap:1px;background:var(--border);
  border:1px solid var(--border);border-radius:12px;overflow:hidden;
}
.svc{
  background:var(--card);padding:24px;position:relative;
  text-decoration:none;color:inherit;overflow:hidden;
  transition:background 0.3s;display:block;
}
.svc::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(circle at var(--mx,50%) var(--my,50%),rgba(124,58,237,0.1) 0%,transparent 60%);
  opacity:0;transition:opacity 0.3s;
}
.svc:hover::before{opacity:1}
.svc:hover{background:#0F0C1E}
.svc-num{font-family:'DM Mono',monospace;font-size:0.6rem;color:var(--muted);letter-spacing:2px;margin-bottom:10px}
.svc-icon{
  width:40px;height:40px;background:rgba(124,58,237,0.1);border:1px solid rgba(124,58,237,0.2);
  border-radius:10px;display:flex;align-items:center;justify-content:center;
  color:var(--purple3);margin-bottom:10px;transition:all 0.3s;
}
.svc:hover .svc-icon{background:rgba(124,58,237,0.2);border-color:var(--purple2);box-shadow:0 0 24px rgba(124,58,237,0.35)}
.svc-arr{position:absolute;top:24px;right:24px;color:var(--border2);display:flex;transition:all 0.3s}
.svc:hover .svc-arr{color:var(--purple2);transform:translate(4px,-4px)}
.svc h3{font-family:'Poppins',sans-serif;font-size:1.4rem;font-weight:400;color:var(--white);margin-bottom:8px;line-height:1.1}
.svc p{font-size:0.82rem;color:var(--muted);line-height:1.6;margin-bottom:12px}
.svc-chips{display:flex;flex-wrap:wrap;gap:6px}
.chip{font-size:0.6rem;font-weight:600;letter-spacing:0.8px;text-transform:uppercase;padding:4px 10px;border-radius:3px;border:1px solid var(--border2);color:var(--muted);transition:all 0.2s}
.svc:hover .chip{border-color:rgba(124,58,237,0.35);color:var(--purple3)}

/* ── WHY US ── */
.tech-section{padding:56px 52px;position:relative;overflow:hidden}
.tech-inner{max-width:1200px;margin:0 auto}
.code-float{
  position:absolute;background:var(--card);border:1px solid var(--border);
  border-radius:8px;padding:14px 18px;font-family:'DM Mono',monospace;font-size:0.62rem;
  color:var(--purple3);opacity:0;transform:translateY(30px);
  transition:opacity 0.7s ease,transform 0.7s ease;pointer-events:none;white-space:nowrap;
}
.code-float.visible{opacity:1;transform:translateY(0)}
.code-float .comment{color:var(--muted)}
.code-float .kw{color:var(--cyan)}
.code-float .str{color:#F9A8D4}
.cf1{top:10%;right:5%;transition-delay:0.1s}
.cf2{bottom:44px;left:52px;transition-delay:0.3s}
.cf3{bottom:18%;right:8%;transition-delay:0.5s}
.tech-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;margin-top:28px}
.tech-features{margin-top:20px;display:flex;flex-direction:column;gap:0}
.tf{display:flex;gap:18px;padding:14px 0;border-bottom:1px solid var(--border)}
.tf:first-child{border-top:1px solid var(--border)}
.tf-icon{width:36px;height:36px;background:rgba(124,58,237,0.1);border:1px solid rgba(124,58,237,0.2);border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--purple3);flex-shrink:0;margin-top:2px;transition:all 0.3s}
.tf:hover .tf-icon{background:rgba(124,58,237,0.22);border-color:var(--purple2);box-shadow:0 0 18px rgba(124,58,237,0.35)}
.tf-title{font-size:0.85rem;font-weight:700;color:var(--white);margin-bottom:3px}
.tf-desc{font-size:0.77rem;color:var(--muted);line-height:1.5}
.metrics-card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:24px;position:relative;overflow:hidden}
.metrics-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--purple),var(--purple2),var(--cyan))}
.mc-title{font-family:'Syne',sans-serif;font-size:1rem;font-style:italic;color:var(--white);margin-bottom:14px}
.metric-bars{display:flex;flex-direction:column;gap:11px}
.mb{width:100%}
.mb-top{display:flex;justify-content:space-between;margin-bottom:6px}
.mb-label{font-size:0.72rem;color:var(--muted);font-weight:600}
.mb-val{font-size:0.72rem;color:var(--purple3);font-family:'DM Mono',monospace}
.mb-track{width:100%;height:6px;background:var(--border);border-radius:3px;overflow:hidden}
.mb-fill{height:100%;border-radius:3px;background:linear-gradient(90deg,var(--purple),var(--purple2));width:0;transition:width 1.4s cubic-bezier(0.4,0,0.2,1);box-shadow:0 0 10px rgba(168,85,247,0.5)}
.mc-divider{height:1px;background:var(--border);margin:14px 0}
.mc-bottom{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mc-stat{background:rgba(124,58,237,0.06);border:1px solid var(--border);border-radius:8px;padding:10px}
.mc-stat-num{font-family:'Syne',sans-serif;font-size:1.4rem;color:var(--purple3);line-height:1}
.mc-stat-label{font-size:0.62rem;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-top:3px}

/* ── PROJECTS ── */
.projects{padding:100px 52px;background:var(--bg2);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.projects-inner{max-width:1200px;margin:0 auto}
.proj-header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:56px;flex-wrap:wrap;gap:20px}
.proj-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.proj-grid-4{grid-template-columns:repeat(4,1fr)}
.proj-card{background:var(--card);border:1px solid var(--border);border-radius:12px;overflow:hidden;transition:transform 0.3s,box-shadow 0.3s,border-color 0.3s;will-change:transform;isolation:isolate}
.proj-card:hover{transform:translateY(-8px);box-shadow:0 24px 60px rgba(0,0,0,0.6),0 0 30px rgba(124,58,237,0.12);border-color:rgba(124,58,237,0.35)}
.proj-img{width:100%;aspect-ratio:16/10;overflow:hidden;position:relative;border-radius:12px 12px 0 0;transform:translateZ(0)}
.proj-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform 0.5s;filter:brightness(0.9);transform:scale(1.02);will-change:transform}
.proj-card:hover .proj-img img{transform:scale(1.08);filter:brightness(1)}
.proj-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(6,4,15,0.8) 0%,transparent 60%)}
.proj-body{padding:22px}
.proj-cat{font-family:'DM Mono',monospace;font-size:0.58rem;letter-spacing:1.5px;text-transform:uppercase;color:var(--purple3);margin-bottom:6px}
.proj-name{font-family:'Syne',sans-serif;font-size:1.25rem;color:var(--white);margin-bottom:6px}
.proj-desc{font-size:0.75rem;color:var(--muted);line-height:1.65}

/* ── TESTIMONIALS ── */
.testi-section{padding:100px 52px}
.testi-inner{max-width:1200px;margin:0 auto}
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:56px}
.testi-card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:32px;transition:border-color 0.3s,box-shadow 0.3s;position:relative;overflow:hidden}
.testi-card::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,var(--purple),var(--purple2));transform:scaleX(0);transform-origin:left;transition:transform 0.4s}
.testi-card:hover::before{transform:scaleX(1)}
.testi-card:hover{border-color:rgba(124,58,237,0.3);box-shadow:0 12px 40px rgba(0,0,0,0.4)}
.testi-stars{color:var(--purple2);font-size:0.75rem;letter-spacing:2px;margin-bottom:14px}
.testi-q{font-family:'Syne',sans-serif;font-size:1rem;font-style:italic;color:var(--text);line-height:1.75;margin-bottom:20px}
.testi-name{font-size:0.72rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--purple3)}
.testi-role{font-size:0.68rem;color:var(--muted);margin-top:2px}

/* ── CONTACT ── */
.contact{padding:100px 52px;background:var(--bg2);border-top:1px solid var(--border);position:relative;overflow:hidden}
.contact::before{content:'';position:absolute;top:0;right:0;width:600px;height:600px;border-radius:50%;background:radial-gradient(circle,rgba(124,58,237,0.06) 0%,transparent 70%);pointer-events:none}
.contact-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:center}
.contact-detail{margin-top:36px;display:flex;flex-direction:column;gap:0}
.cd{display:flex;gap:16px;padding:18px 0;border-bottom:1px solid var(--border)}
.cd:first-child{border-top:1px solid var(--border)}
.cd-icon{width:38px;height:38px;background:rgba(124,58,237,0.1);border:1px solid rgba(124,58,237,0.2);border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--purple3);flex-shrink:0;margin-top:2px}
.cd-label{font-size:0.62rem;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:3px;font-weight:600}
.cd-val{font-size:0.88rem;color:var(--text);font-weight:600}
.cd-note{font-size:0.7rem;color:var(--muted);margin-top:2px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.fg{margin-bottom:14px}
.fg label{display:block;font-size:0.62rem;font-weight:700;text-transform:uppercase;letter-spacing:1.2px;color:var(--muted);margin-bottom:7px}
.fg input,.fg select,.fg textarea{width:100%;background:var(--card);border:1px solid var(--border);border-radius:8px;padding:13px 16px;color:var(--text);font-family:'Plus Jakarta Sans',sans-serif;font-size:0.85rem;outline:none;transition:border-color 0.2s,box-shadow 0.2s;appearance:none}
.fg input:focus,.fg select:focus,.fg textarea:focus{border-color:var(--purple2);box-shadow:0 0 0 3px rgba(124,58,237,0.15)}
.fg textarea{height:110px;resize:vertical}
.fg select option{background:var(--bg)}
.form-btn{width:100%;background:linear-gradient(135deg,var(--purple),var(--purple2));color:var(--white);font-family:'Plus Jakarta Sans',sans-serif;font-size:0.78rem;font-weight:700;letter-spacing:1px;text-transform:uppercase;padding:16px 32px;border:none;border-radius:8px;cursor:pointer;margin-top:6px;box-shadow:0 0 30px rgba(124,58,237,0.3);transition:all 0.3s}
.form-btn:hover{transform:translateY(-2px);box-shadow:0 0 50px rgba(124,58,237,0.55)}

/* ── 15" MacBook / 1440px ── */
@media(max-width:1440px){
  .phone-halo:nth-child(3){display:none}
  .contact-inner{gap:70px}
}

/* ── 13" MacBook / 1280px ── */
@media(max-width:1280px){
  .hero{padding:100px 40px 70px}
  .phone-halo:nth-child(2),.phone-halo:nth-child(3){display:none}
  .contact-inner{gap:52px}
  .tech-grid{gap:44px}
  .proj-grid-4{grid-template-columns:repeat(3,1fr)}
}

/* ── Short-screen laptops (1366×768, 1280×800) ── */
@media(min-width:769px) and (max-height:820px){
  .hero{min-height:auto;padding:100px 52px 56px}
  .hero h1{font-size:clamp(2.6rem,4.8vw,3.75rem)}
  .services,.tech-section{padding:60px 52px}
  .projects,.testi-section,.contact{padding:80px 52px}
}

/* ── TABLET: 1024px ── */
@media(max-width:1024px){
  .hero{padding:80px 40px 60px;min-height:auto;align-items:flex-start}
  .hero-inner{grid-template-columns:1fr;justify-items:center;text-align:center}
  .hero-right{display:flex;order:-1;margin-bottom:20px;--ps:clamp(0.47,calc(0.302 + var(--vw,1024) * 0.000467),0.72)}
  .phone-halo,.phone-notif,.demo-dots{display:none}
  .phone-scene{perspective:none;margin-bottom:calc((var(--ps,0.72) - 1) * 494px)}
  .phone-wrap{transform-style:flat;transform:scale(var(--ps,0.72));transform-origin:top center;transition:none}

  .hero-sub{margin-left:auto;margin-right:auto}
  .hero-btns{justify-content:center}
  .hero-stats{justify-content:center}

  .services{padding:80px 40px}
  .services-grid{grid-template-columns:repeat(2,1fr)}

  .tech-section{padding:80px 40px}
  .tech-grid{grid-template-columns:1fr;gap:48px}
  .code-float{display:none}
  .tech-features{margin-top:0}

  .projects{padding:80px 40px}
  .proj-grid{grid-template-columns:repeat(2,1fr)}

  .testi-section{padding:80px 40px}
  .testi-grid{grid-template-columns:repeat(2,1fr)}

  .contact{padding:80px 40px}
  .contact-inner{grid-template-columns:1fr;gap:48px}
  .form-row{grid-template-columns:1fr}

  footer{padding:28px 40px}
}

/* ── MOBILE: 768px ── */
@media(max-width:768px){
  .hero{padding:80px 24px 56px;min-height:auto;align-items:flex-start}
  .hero-inner{grid-template-columns:1fr}
  .hero-left{display:flex;flex-direction:column;align-items:center;text-align:center}
  .hero-tag{align-self:center}
  .hero h1{font-size:clamp(2.8rem,10vw,4rem)}

  .hero-sub{max-width:100%;text-align:center;margin:16px 0 28px}
  .hero-btns{flex-direction:column;align-items:stretch;width:100%;gap:12px}
  .btn-purple,.btn-outline{justify-content:center;min-height:44px}
  .hero-right{display:flex;order:-1;margin-bottom:20px;--ps:clamp(0.42,calc(0.28 + var(--vw,768) * 0.000521),0.65)}

  .hero-stats{display:flex;width:100%;border:1px solid var(--border);border-radius:12px;overflow:hidden;margin-top:28px;gap:0}
  .hstat{flex:1;padding:16px 8px;text-align:center;border-left:none;border-right:1px solid var(--border)}
  .hstat:last-child{border-right:none}
  .hstat-num{font-size:1.4rem;color:var(--purple3)}
  .hstat-label{font-size:0.55rem}

  .services{padding:64px 20px}
  .services-top{flex-direction:column;align-items:flex-start;margin-bottom:32px}
  .services-note{max-width:100%}
  .services-grid{grid-template-columns:1fr}
  .svc{
    display:grid;
    grid-template-columns:48px 1fr 28px;
    grid-template-areas:"icon num arr" "icon head arr" "icon desc arr" "icon chip arr";
    column-gap:14px;row-gap:2px;padding:20px;min-height:44px;align-items:center;
  }
  .svc-num{grid-area:num;font-size:0.52rem}
  .svc-icon{grid-area:icon;margin-bottom:0;align-self:center}
  .svc h3{grid-area:head;font-size:1.1rem;margin-bottom:0}
  .svc p{grid-area:desc;font-size:0.75rem;margin-bottom:0;line-height:1.55}
  .svc-chips{grid-area:chip;margin-top:4px}
  .svc-arr{grid-area:arr;position:static;align-self:center;margin:0}

  .tech-section{padding:64px 20px}
  .tech-grid{grid-template-columns:1fr;gap:36px}
  .code-float{display:none}
  .tech-features{margin-top:0}

  .projects{padding:64px 20px}
  .proj-grid{grid-template-columns:1fr}
  .proj-header{flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:32px}

  .testi-section{padding:64px 20px}
  .testi-grid{
    display:flex;flex-direction:row;grid-template-columns:unset;
    gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;padding-bottom:12px;
    scrollbar-width:none;margin:32px -20px 0;padding-left:20px;padding-right:20px;
  }
  .testi-grid::-webkit-scrollbar{display:none}
  .testi-card{flex-shrink:0;width:80vw;scroll-snap-align:start}
  .scroll-dots{display:flex}

  .contact{padding:64px 20px}
  .contact-inner{grid-template-columns:1fr;gap:40px}
  .form-row{grid-template-columns:1fr}
  .fg input,.fg select,.fg textarea{font-size:16px}

  footer{flex-direction:column;text-align:center;padding:24px 20px;gap:10px}
  .sticky-cta{display:flex}
}

/* ── SMALL MOBILE: 480px ── */
@media(max-width:480px){
  .hero{padding:76px 16px 52px}
  .hero h1{font-size:clamp(2.6rem,12vw,3rem)}
  h2.big{font-size:clamp(1.4rem,7vw,1.8rem)}

  .services,.tech-section,.projects,.testi-section,.contact{padding:56px 16px}

  .testi-grid{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px}
  .testi-card{width:85vw}

  footer{padding:20px 16px}
}

/* ── Very small phones (360px) ── */
@media(max-width:360px){
  .hero{padding:76px 14px 52px}
  .hero h1{font-size:clamp(1.9rem,11vw,2.4rem)}
  h2.big{font-size:clamp(1.3rem,7vw,1.6rem)}
  .services,.tech-section,.projects,.testi-section,.contact{padding:48px 14px}
  .testi-grid{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}
  .testi-card{width:90vw}
  .svc{column-gap:10px;padding:16px 14px}
}

/* ── LANDSCAPE: phones & small tablets (portrait height ≤ 600px when rotated) ── */
@media (orientation:landscape) and (max-width:1024px) and (max-height:600px){
  .hero{padding:70px 28px 32px;min-height:auto}
  .hero-inner{grid-template-columns:1fr 1fr;text-align:left;justify-items:start;gap:20px}
  .hero-left{align-items:flex-start;text-align:left}
  .hero h1{font-size:clamp(1.6rem,4.5vw,2.8rem)}
  .hero-sub{text-align:left;margin-left:0;margin-right:0;max-width:100%;margin:14px 0 22px}
  .hero-btns{flex-direction:row;align-items:center;width:auto;gap:12px}
  .btn-purple,.btn-outline{min-height:40px}
  .hero-right{order:0;margin-bottom:0}
  .phone-scene{margin-bottom:-354px}
  .phone-wrap{transform:scale(0.42);transform-origin:top center}
}

/* ── LANDSCAPE: very small phones (iPhone SE etc, height ≤ 400px) ── */
@media (orientation:landscape) and (max-width:1024px) and (max-height:400px){
  .hero{padding:66px 20px 28px}
  .phone-scene{margin-bottom:-390px}
  .phone-wrap{transform:scale(0.36);transform-origin:top center}
}

/* ── Desktop: extra bottom room for cf2 code snippet ── */
@media(min-width:1025px){
  .tech-section{padding-bottom:160px}
}

/* ── Large monitors (1600px+) ── */
@media(min-width:1600px){
  .hero{padding:140px 80px 100px}
  .hero-inner{max-width:1400px}
  .services{padding:80px 80px}
  .services-inner{max-width:1400px}
  .tech-section{padding:80px 80px}
  .tech-inner{max-width:1400px}
  .projects{padding:120px 80px}
  .projects-inner{max-width:1400px}
  .testi-section{padding:120px 80px}
  .testi-inner{max-width:1400px}
  .contact{padding:120px 80px}
  .contact-inner{max-width:1400px}
}

/* ── iMac 24–27" (2200px+) ── */
@media(min-width:2200px){
  .hero{padding:180px 120px 140px}
  .hero-inner{max-width:1600px}
  .hero h1{font-size:clamp(5rem,4.5vw,9rem)}
  .services{padding:100px 120px}
  .services-inner{max-width:1600px}
  .tech-section{padding:100px 120px}
  .tech-inner{max-width:1600px}
  .projects{padding:140px 120px}
  .projects-inner{max-width:1600px}
  .testi-section{padding:140px 120px}
  .testi-inner{max-width:1600px}
  .contact{padding:140px 120px}
  .contact-inner{max-width:1600px}
  .phone-scene{width:360px;height:730px}
  .phone-halo:nth-child(1){width:460px;height:460px}
  .phone-halo:nth-child(2){width:630px;height:630px}
  .phone-halo:nth-child(3){display:block;width:800px;height:800px}
}

@media(prefers-reduced-motion:reduce){
  .hero h1,.hero-tag,.hero-sub,.hero-btns,.hero-stats,.hero-right{animation:none;opacity:1;transform:none}
}
