/* ═══════════════════════════════════════════════════════════
   Bajarangi Infratech World — Main Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500;700&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --bg:          #070d12;
  --bg-card:     #0b1319;
  --fg:          #d3dce8;
  --border:      #162029;
  --primary:     #00e5ff;   /* electric cyan */
  --primary-fg:  #070d12;
  --accent:      #ffaa00;   /* amber */
  --muted:       #8a9db5;
  --font-display: 'Chakra Petch', sans-serif;
  --font-sans:    'Rajdhani', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

/* ── Noise overlay ─────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ── Grid / Dot patterns ───────────────────────────────────── */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 50px 50px;
}
.bg-dot {
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* ── Clip paths ────────────────────────────────────────────── */
.clip-slant { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%); }
.clip-btn   { clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }

/* ── Glows ─────────────────────────────────────────────────── */
.glow-cyan  { box-shadow: 0 0 20px -5px var(--primary); }
.glow-amber { box-shadow: 0 0 20px -5px var(--accent); }

/* ── Layout helpers ────────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section { padding: 128px 0; position: relative; }

/* ── Typography helpers ────────────────────────────────────── */
.font-display { font-family: var(--font-display); }
.font-mono    { font-family: var(--font-mono); }
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--muted); }
.text-white   { color: #ffffff; }

/* ════════════════════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════════════════════ */
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

.animate-ping   { animation: ping 1.5s cubic-bezier(0,0,.2,1) infinite; }
.animate-pulse  { animation: pulse 2s ease-in-out infinite; }
.animate-ticker { animation: tickerScroll 22s linear infinite; }

/* Scroll-reveal: hidden by default, JS adds .revealed */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* Hero entrance — plays immediately on load */
.hero-entry        { animation: fadeUp   .8s ease forwards; }
.hero-entry-left   { animation: fadeLeft .8s ease forwards; }
.hero-entry-scale  { animation: scaleIn  1s  ease both; opacity: 0; }

/* ════════════════════════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 40;
  border-bottom: 1px solid rgba(22,32,41,.6);
  background: rgba(7,13,18,.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-box {
  width: 40px; height: 40px;
  border: 1px solid rgba(0,229,255,.5);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.logo-box::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 8px; height: 8px;
  border-top: 1px solid var(--primary);
  border-left: 1px solid var(--primary);
}
.logo-box::after {
  content: '';
  position: absolute; bottom: 0; right: 0;
  width: 8px; height: 8px;
  border-bottom: 1px solid var(--primary);
  border-right: 1px solid var(--primary);
}
.nav-title {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.5rem;
  letter-spacing: .12em; text-transform: uppercase; line-height: 1;
}
.nav-sub {
  font-family: var(--font-mono);
  font-size: .8rem; color: var(--primary);
  letter-spacing: .2em; text-transform: uppercase; margin-top: 4px;
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
  font-family: var(--font-mono); font-size: 1rem;
  text-transform: uppercase; letter-spacing: .15em;
  color: var(--muted); list-style: none;
}
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-links a span { color: rgba(0,229,255,.4); margin-right: 6px; transition: color .2s; }
.nav-links a:hover span { color: var(--primary); }

.nav-cta {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 24px;
  border: 1px solid rgba(0,229,255,.3);
  color: var(--primary);
  font-family: var(--font-mono); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background .2s, color .2s;
}
.nav-cta:hover { background: var(--primary); color: var(--primary-fg); }

.menu-toggle {
  display: none; background: none; border: none;
  color: var(--fg); cursor: pointer; padding: 4px;
}
.mobile-menu {
  display: none; flex-direction: column; gap: 24px; padding: 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono); font-size: .85rem;
  text-transform: uppercase; letter-spacing: .1em;
}
.mobile-menu a { color: var(--muted); display: flex; align-items: center; gap: 10px; }
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .m-cta {
  padding: 12px 24px;
  border: 1px solid var(--primary); color: var(--primary); text-align: center;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: block; }
}

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
#hero {
  position: relative; min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 80px; overflow: hidden;
}
.hero-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: rgba(0,229,255,.04);
  border-radius: 50%; filter: blur(120px); pointer-events: none;
}
.hero-grid { position: absolute; inset: 0; pointer-events: none; opacity: .18; }
.hero-content {
  position: relative; z-index: 10;
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
@media (min-width: 1024px) { .hero-content { grid-template-columns: 8fr 4fr; } }

.hero-left { display: flex; flex-direction: column; gap: 24px; }
.hero-status {
  display: flex; align-items: center; gap: 16px;
  color: var(--accent);
  font-family: var(--font-mono); font-size: 1rem;
  animation: fadeLeft .8s ease forwards;
}
.hero-status .line { width: 48px; height: 1px; background: var(--accent); }

.hero-h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: .9; letter-spacing: -.02em; text-transform: uppercase;
  animation: fadeUp .8s .1s ease both;
}
.hero-h1 .gradient {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.1rem; color: var(--muted); max-width: 600px; line-height: 1.6;
  animation: fadeUp .8s .3s ease both;
}
.hero-btns {
  display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px;
  animation: fadeUp .8s .5s ease both;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; background: var(--primary); color: var(--primary-fg);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .1em;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: opacity .2s;
}
.btn-primary:hover { opacity: .88; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px;
  border: 1px solid var(--border); background: rgba(7,13,18,.5); color: var(--fg);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .1em;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: border-color .2s, color .2s; backdrop-filter: blur(4px);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* Terminal card */
.terminal-card {
  border: 1px solid rgba(22,32,41,.6);
  background: rgba(11,19,25,.5); backdrop-filter: blur(12px);
  padding: 24px; position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
  animation: scaleIn 1s .4s ease both;
}
.terminal-card::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), transparent);
}
.terminal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(22,32,41,.6);
}
.terminal-title {
  font-family: var(--font-mono); font-size: 1rem;
  color: var(--muted); text-transform: uppercase; letter-spacing: .2em;
}
.status-dot { position: relative; display: inline-flex; }
.status-dot .ping {
  position: absolute; width: 8px; height: 8px;
  background: var(--primary); border-radius: 50%;
  animation: ping 1.5s cubic-bezier(0,0,.2,1) infinite; opacity: .75;
}
.status-dot .core { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }

.terminal-lines {
  font-family: var(--font-mono); font-size: 1rem;
  color: var(--muted); display: flex; flex-direction: column; gap: 10px;
}
.terminal-lines .ok { color: #fff; }
.terminal-lines .cursor { color: var(--primary); animation: pulse 2s ease-in-out infinite; margin-top: 16px; }

/* Ticker */
.ticker-wrap {
  position: absolute; bottom: 0; width: 100%; overflow: hidden;
  border-top: 1px solid rgba(22,32,41,.6);
  border-bottom: 1px solid rgba(22,32,41,.6);
  background: var(--bg-card); padding: 10px 0;
}
.ticker-inner {
  display: flex; white-space: nowrap;
  font-family: var(--font-mono); font-size: .7rem;
  color: rgba(0,229,255,.6); letter-spacing: .15em;
  animation: tickerScroll 22s linear infinite;
}
.ticker-inner span { margin-right: 64px; }

/* ════════════════════════════════════════════════════════════
   STATS
   ════════════════════════════════════════════════════════════ */
#stats {
  padding: 80px 0; background: var(--bg);
  border-bottom: 1px solid rgba(22,32,41,.4);
}
.stats-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4,1fr); }
  .stat-item:not(:last-child) { border-right: 1px solid rgba(22,32,41,.6); }
}
.stat-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px; }
.stat-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 8px;
}
.stat-label {
  font-family: var(--font-mono); font-size: .65rem;
  text-transform: uppercase; letter-spacing: .2em; color: var(--muted);
}

/* ════════════════════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════════════════════ */
#services { background: var(--bg-card); }
.section-eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 1rem;
  color: var(--primary); text-transform: uppercase; letter-spacing: .3em; margin-bottom: 16px;
}
.section-heading {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4rem); text-transform: uppercase;
  line-height: .95; margin-bottom: 24px;
}
.section-heading .dim { color: var(--muted); }

.section-intro {
  display: flex; flex-direction: column; gap: 24px;
  margin-bottom: 64px; padding-bottom: 32px;
  border-bottom: 1px solid rgba(22,32,41,.6);
}
@media (min-width: 768px) {
  .section-intro { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.section-side-desc {
  color: var(--muted); max-width: 400px; font-size: 1rem; line-height: 1.6;
  border-left: 2px solid rgba(0,229,255,.5); padding-left: 16px;
}

.services-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3,1fr); } }

.service-card {
  background: var(--bg); border: 1px solid var(--border);
  padding: 32px; position: relative;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
  transition: border-color .3s; overflow: hidden;
}
.service-card:hover { border-color: rgba(0,229,255,.5); }
.service-number {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-mono); font-size: 2.5rem; font-weight: 700;
  color: rgba(22,32,41,.6); transition: color .3s;
  user-select: none; pointer-events: none;
}
.service-card:hover .service-number { color: rgba(0,229,255,.1); }
.service-icon { width: 48px; height: 48px; margin-bottom: 32px; }
.service-icon img { width: 100%; height: 100%; }
.service-title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  text-transform: uppercase; color: #fff; margin-bottom: 16px; transition: color .3s;
}
.service-card:hover .service-title { color: var(--primary); }
.service-desc { color: var(--muted); font-size: .9rem; line-height: 1.65; }
.service-access {
  margin-top: 32px; display: flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: .7rem;
  color: transparent; text-transform: uppercase; letter-spacing: .1em;
  transition: color .3s, transform .3s; transform: translateX(-10px);
}
.service-card:hover .service-access { color: var(--primary); transform: translateX(0); }

.service-filler {
  display: none; background: rgba(0,229,255,.04);
  border: 1px solid rgba(0,229,255,.18); padding: 32px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
  align-items: center; justify-content: center; overflow: hidden; position: relative;
}
@media (min-width: 1024px) { .service-filler { display: flex; } }
.filler-icon { text-align: center; position: relative; z-index: 1; }
.filler-icon img { width: 64px; height: 64px; opacity: .3; }
.filler-label {
  font-family: var(--font-mono); font-size: .65rem;
  color: rgba(0,229,255,.45); text-transform: uppercase; letter-spacing: .2em; margin-top: 16px;
}

/* ════════════════════════════════════════════════════════════
   INDUSTRIES
   ════════════════════════════════════════════════════════════ */
#industries { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-center { text-align: center; max-width: 720px; margin: 0 auto 80px; }
.eyebrow-accent { color: var(--accent); justify-content: center; }

.industries-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .industries-grid { grid-template-columns: repeat(3,1fr); } }

.industry-card {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 32px; position: relative; overflow: hidden; transition: border-color .3s;
}
.industry-card::before {
  content: ''; position: absolute; top: -32px; right: -32px;
  width: 128px; height: 128px; background: rgba(255,170,0,.05);
  border-radius: 50%; filter: blur(24px); transition: background .3s;
}
.industry-card:hover { border-color: rgba(255,170,0,.45); }
.industry-card:hover::before { background: rgba(255,170,0,.1); }
.industry-icon { width: 40px; height: 40px; margin-bottom: 24px; }
.industry-icon img { width: 100%; height: 100%; }
.industry-title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
  text-transform: uppercase; color: #fff; margin-bottom: 12px;
}
.industry-desc { color: var(--muted); font-size: .9rem; line-height: 1.6; }

/* ════════════════════════════════════════════════════════════
   WHY US
   ════════════════════════════════════════════════════════════ */
#why-us { background: var(--bg-card); overflow: hidden; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center; }
@media (min-width: 1024px) { .why-grid { grid-template-columns: 1fr 1fr; } }

.why-body { color: var(--muted); line-height: 1.7; font-size: 1rem; margin-bottom: 20px; }
.checkmarks { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.check-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .8rem; color: #fff; }
.check-item img { width: 16px; height: 16px; flex-shrink: 0; }

.syslog-card {
  position: relative; border: 1px solid rgba(0,229,255,.2);
  background: rgba(7,13,18,.5); padding: 24px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}
.syslog-card::before {
  content: ''; position: absolute; top: -32px; right: -32px;
  width: 128px; height: 128px; background: rgba(0,229,255,.1); filter: blur(50px);
}
.syslog-body {
  border: 1px solid rgba(22,32,41,.6); padding: 16px;
  font-family: var(--font-mono); font-size: .98rem; color: rgba(0,229,255,.65);
  min-height: 260px; position: relative; overflow: hidden;
}
.syslog-bg {
  position: absolute; inset: 0; opacity: .08;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 50px 50px;
}
.syslog-lines { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.syslog-accent { color: var(--accent); }
.syslog-live {
  padding: 16px 0; margin: 16px 0;
  border-top: 1px solid rgba(0,229,255,.2); border-bottom: 1px solid rgba(0,229,255,.2);
  display: flex; flex-direction: column; gap: 8px;
  animation: pulse 2s ease-in-out infinite;
}
.syslog-row { display: flex; justify-content: space-between; }
.syslog-row span { color: #fff; }
.syslog-footer {
  margin-top: 24px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: .65rem;
  color: var(--muted); text-transform: uppercase; letter-spacing: .1em;
}
.live-badge { display: flex; align-items: center; gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-in-out infinite; }

/* ════════════════════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════════════════════ */
#contact { background: var(--bg); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 64px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.contact-intro { color: var(--muted); font-size: 1rem; line-height: 1.65; margin-bottom: 48px; }
.contact-items { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon-wrap {
  width: 48px; height: 48px; border: 1px solid;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon-wrap img { width: 20px; height: 20px; }
.ci-primary { border-color: rgba(0,229,255,.3); }
.ci-amber   { border-color: rgba(255,170,0,.3); }
.ci-muted   { border-color: var(--border); }
.contact-label {
  font-family: var(--font-mono); font-size: .6rem;
  text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin-bottom: 4px;
}
.contact-value { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: #fff; word-break: break-all; }

.contact-form-card {
  background: var(--bg-card); border: 1px solid var(--border); padding: 40px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
  position: relative;
}
.contact-form-card::before {
  content: ''; position: absolute; top: -32px; right: -32px;
  width: 128px; height: 128px; background: rgba(0,229,255,.04);
  filter: blur(40px); pointer-events: none;
}
.form-group { margin-bottom: 24px; }
.form-label {
  display: block; font-family: var(--font-mono); font-size: .6rem;
  text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin-bottom: 8px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  padding: 16px; color: #fff; font-family: var(--font-sans); font-size: 1rem;
  outline: none; transition: border-color .2s;
}
input:focus, textarea:focus { border-color: var(--primary); }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
textarea { resize: none; }

.btn-submit {
  width: 100%; background: var(--primary); color: var(--primary-fg);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: .1em;
  padding: 16px; border: none; cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 8px; transition: opacity .2s;
}
.btn-submit:hover { opacity: .88; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
footer {
  background: var(--bg-card); border-top: 1px solid var(--border);
  padding: 48px 0; position: relative; overflow: hidden;
}
footer::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,229,255,.5), transparent);
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
@media (min-width: 768px) { .footer-inner { flex-direction: row; justify-content: space-between; } }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: .12em; line-height: 1;
}
.footer-sub {
  font-family: var(--font-mono); font-size: .55rem;
  color: var(--muted); letter-spacing: .2em; text-transform: uppercase; margin-top: 4px;
}
.footer-copy {
  font-family: var(--font-mono); font-size: .65rem;
  color: var(--muted); text-transform: uppercase; letter-spacing: .1em; text-align: right;
}
.footer-copy p + p { margin-top: 4px; }



/*project section*/

.projects-section{
padding:96px 5vw;
background:var(--bg);
color:var(--white);
}

.projects-eyebrow{
display:flex;
align-items:center;
gap:14px;
font-family:'JetBrains Mono', monospace;
font-size:13px;
letter-spacing:0.3em;
color:var(--orange);
font-weight:600;
margin-bottom:24px;
}

.projects-eyebrow::before{
content:"";
width:32px;
height:1px;
background:var(--orange);
}

.projects-heading{
font-size:clamp(32px, 5vw, 56px);
font-weight:700;
line-height:1.12;
margin:0 0 56px 0;
max-width:900px;
letter-spacing:-0.01em;
}

.projects-grid{
display:grid;
grid-template-columns:repeat(3, 1fr);
gap:24px;
}

.project-card{
background:var(--bg-card);
border:1px solid var(--border);
border-radius:14px;
overflow:hidden;
text-decoration:none;
color:inherit;
display:flex;
flex-direction:column;
transition:transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
cursor:pointer;
}

.project-card:hover{
transform:translateY(-6px);
border-color:var(--border-hover);
box-shadow:0 20px 40px -20px rgba(244,130,47,0.25);
}

.project-media{
position:relative;
width:100%;
aspect-ratio:4/3;
overflow:hidden;
background:#050810;
}

.project-media img{
width:100%;
height:100%;
object-fit:cover;
display:block;
filter:saturate(1.05) contrast(1.03);
transition:transform 0.6s cubic-bezier(.2,.7,.3,1);
}

.project-card:hover .project-media img{
transform:scale(1.06);
}

.project-media::after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(180deg, rgba(10,14,26,0) 55%, rgba(10,14,26,0.55) 100%);
pointer-events:none;
}

.project-body{
padding:22px 24px 26px;
border-top:1px solid var(--border);
display:flex;
flex-direction:column;
gap:10px;
}

.project-tag-row{
display:flex;
align-items:center;
justify-content:space-between;
}

.project-tag{
font-family:'JetBrains Mono', monospace;
font-size:12px;
letter-spacing:0.15em;
color:var(--orange-dim);
font-weight:600;
text-transform:uppercase;
}

.project-arrow{
width:32px;
height:32px;
border-radius:50%;
border:1px solid var(--border);
display:flex;
align-items:center;
justify-content:center;
flex-shrink:0;
transition:background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.project-arrow svg{
width:14px;
height:14px;
stroke:var(--muted);
transition:stroke 0.3s ease;
}

.project-card:hover .project-arrow{
background:var(--orange);
border-color:var(--orange);
transform:rotate(45deg);
}

.project-card:hover .project-arrow svg{
stroke:#0a0e1a;
}

.project-title{
font-size:20px;
font-weight:600;
color:var(--white);
margin:0;
letter-spacing:-0.01em;
}

.project-desc{
font-size:14px;
line-height:1.6;
color:var(--muted);
margin:0;
font-family:'JetBrains Mono', monospace;
}

@media (max-width:900px){
.projects-grid{
grid-template-columns:1fr;
}
.projects-section{
padding:64px 6vw;
}
}

@media (prefers-reduced-motion: reduce){
.project-card, .project-media img, .project-arrow, .project-arrow svg{
transition:none;
}
}



.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 5vw;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 18px;
  letter-spacing: 0.28em;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.25s ease, transform 0.25s ease;
}
.back-link svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.back-link:hover { color: var(--white); }
.back-link:hover svg { transform: translateX(-3px); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primarys {
  background: var(--orange);
  color: #0a0e1a;
}
.btn-primarys:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -12px rgba(244, 130, 47, 0.55);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.btn svg { width: 15px; height: 15px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 20% 0%, #0f1730 0%, var(--bg) 55%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
background-image: url("../images/s-1.png");
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-eyebrow { margin-bottom: 22px; }
.hero-title {
  font-size: clamp(34px, 5.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  max-width: 720px;
  margin-bottom: 22px;
}
.hero-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ==========================================================================
   Stats bar
   ========================================================================== */



   /* ==========================================================================
   Hero1
   ========================================================================== */
.hero1 {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 20% 0%, #0f1730 0%, var(--bg) 55%);
}
.hero1::before {
  content: "";
  position: absolute;
  inset: 0;
background-image: url("../images/s-2.png");
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  pointer-events: none;
}
.hero1 .container { position: relative; z-index: 1; }
.hero1-eyebrow { margin-bottom: 22px; }
.hero1-title {
  font-size: clamp(34px, 5.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  max-width: 720px;
  margin-bottom: 22px;
}
.hero1-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}




   /* ==========================================================================
   Hero1
   ========================================================================== */
.hero2 {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 20% 0%, #0f1730 0%, var(--bg) 55%);
}
.hero2::before {
  content: "";
  position: absolute;
  inset: 0;
background-image: url("../images/s-3.png");
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  pointer-events: none;
}
.hero2 .container { position: relative; z-index: 1; }
.hero2-eyebrow { margin-bottom: 22px; }
.hero2-title {
  font-size: clamp(34px, 5.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  max-width: 720px;
  margin-bottom: 22px;
}
.hero2-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}




   /* ==========================================================================
   Hero1
   ========================================================================== */
.hero3 {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 20% 0%, #0f1730 0%, var(--bg) 55%);
}
.hero3::before {
  content: "";
  position: absolute;
  inset: 0;
background-image: url("../images/s-4.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  pointer-events: none;
}
.hero3 .container { position: relative; z-index: 1; }
.hero3-eyebrow { margin-bottom: 22px; }
.hero3-title {
  font-size: clamp(34px, 5.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  max-width: 720px;
  margin-bottom: 22px;
}
.hero3-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}





   /* ==========================================================================
   Hero1
   ========================================================================== */
.hero4 {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 20% 0%, #0f1730 0%, var(--bg) 55%);
}
.hero4::before {
  content: "";
  position: absolute;
  inset: 0;
background-image: url("../images/s-5.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  pointer-events: none;
}
.hero4 .container { position: relative; z-index: 1; }
.hero4-eyebrow { margin-bottom: 22px; }
.hero4-title {
  font-size: clamp(34px, 5.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  max-width: 720px;
  margin-bottom: 22px;
}
.hero4-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
} 





   /* ==========================================================================
   Hero5
   ========================================================================== */
.hero5 {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 20% 0%, #0f1730 0%, var(--bg) 55%);
}
.hero5::before {
  content: "";
  position: absolute;
  inset: 0;
background-image: url("../images/s-6.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  pointer-events: none;
}
.hero5 .container { position: relative; z-index: 1; }
.hero5-eyebrow { margin-bottom: 22px; }
.hero5-title {
  font-size: clamp(34px, 5.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  max-width: 720px;
  margin-bottom: 22px;
}
.hero5-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}




   /* ==========================================================================
   Hero6
   ========================================================================== */
.hero6 {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 20% 0%, #0f1730 0%, var(--bg) 55%);
}
.hero6::before {
  content: "";
  position: absolute;
  inset: 0;
background-image: url("../images/s-7.png");
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  pointer-events: none;
}
.hero6 .container { position: relative; z-index: 1; }
.hero6-eyebrow { margin-bottom: 22px; }
.hero6-title {
  font-size: clamp(34px, 5.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  max-width: 720px;
  margin-bottom: 22px;
}
.hero6-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}




   /* ==========================================================================
   Hero7
   ========================================================================== */
.hero7 {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 20% 0%, #0f1730 0%, var(--bg) 55%);
}
.hero7::before {
  content: "";
  position: absolute;
  inset: 0;
background-image: url("../images/s-8.png");
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  pointer-events: none;
}
.hero7 .container { position: relative; z-index: 1; }
.hero7-eyebrow { margin-bottom: 22px; }
.hero7-title {
  font-size: clamp(34px, 5.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  max-width: 720px;
  margin-bottom: 22px;
}
.hero7-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}




   /* ==========================================================================
   Hero8
   ========================================================================== */
.hero8 {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
  background: radial-gradient(120% 100% at 20% 0%, #0f1730 0%, var(--bg) 55%);
}
.hero8::before {
  content: "";
  position: absolute;
  inset: 0;
background-image: url("../images/s-2.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
  pointer-events: none;
}
.hero8 .container { position: relative; z-index: 1; }
.hero8-eyebrow { margin-bottom: 22px; }
.hero8-title {
  font-size: clamp(34px, 5.2vw, 52px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.12;
  max-width: 720px;
  margin-bottom: 22px;
}
.hero8-desc {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}





/* ==========================================================================
   Stats bar
   ========================================================================== */

.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 0;
}
.stat {
  padding: 0 28px;
  border-left: 1px solid var(--border);
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat-value {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ==========================================================================
   Problem / Solution
   ========================================================================== */
.problem-solution {
  padding: 96px 0;
}
.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.ps-col .eyebrow { margin-bottom: 20px; }
.ps-heading {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.ps-text {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.solution-list { display: flex; flex-direction: column; gap: 18px; }
.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.solution-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.solution-icon svg { width: 11px; height: 11px; }
.solution-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ==========================================================================
   Tech stack
   ========================================================================== */
.tech-stack {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.tech-stack .eyebrow { margin-bottom: 20px; }
.section-heading {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.pill {
  border: 1px solid var(--border);
  background: var(--bg-raised);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  font-size: 13px;
  color: var(--white);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.pill:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.gallery .eyebrow { margin-bottom: 20px; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
.gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3.4;
}
.gallery-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
}
.gallery-main img, .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.gallery-main:hover img, .gallery-item:hover img { transform: scale(1.05); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  padding: 96px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  background: radial-gradient(80% 120% at 50% 0%, #0f1730 0%, var(--bg) 60%);
}
.cta .eyebrow {
  justify-content: center;
  margin: 0 auto 22px;
}
.cta .eyebrow::before, .cta .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--orange);
}
.cta-title {
  font-size: clamp(30px, 4.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.cta-title .accent { color: var(--orange); }
.cta-desc {
  color: var(--muted);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 34px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   More case studies
   ========================================================================== */
.more-projects {
  padding: 88px 0 110px;
  border-top: 1px solid var(--border);
}
.more-projects .eyebrow { margin-bottom: 20px; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px -20px rgba(244, 130, 47, 0.25);
}
.project-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #050810;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.project-card:hover .project-media img { transform: scale(1.06); }
.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,14,26,0) 55%, rgba(10,14,26,0.55) 100%);
}
.project-body {
  padding: 20px 22px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--orange-dim);
  font-weight: 600;
  text-transform: uppercase;
}
.project-title { font-size: 18px; font-weight: 600; }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .ps-grid { grid-template-columns: 1fr; gap: 48px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-main { aspect-ratio: 16/10; }
  .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: none !important; padding-left: 0 !important; }
  .hero { padding: 48px 0 64px; }
  .problem-solution, .tech-stack, .gallery, .cta, .more-projects { padding-top: 64px; padding-bottom: 64px; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}



