/* =========================================================
   Optimised AI — styles.css  (v2 rework)
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #06060F;
  --bg-alt: #090911;
  --card: #0E0E1C;
  --card-hover: #15152A;
  --border: rgba(180, 200, 255, 0.10);
  --border-strong: rgba(140, 110, 245, 0.45);
  --accent: #A855F7;
  --accent-cyan: #1CD6EC;
  --accent-blue: #5A6CF5;
  --accent-2: #6366F1;
  --accent-3: #E23CD6;
  --accent-dark: #7C3AED;
  --text: #ECEBFF;
  --muted: #9A97C4;
  --muted-dim: #6C6795;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  --glow: 0 0 42px rgba(120, 90, 245, 0.35);
  --grad: linear-gradient(120deg, #1CD6EC 0%, #5A6CF5 42%, #A855F7 70%, #E23CD6 100%);
  --grad-soft: linear-gradient(120deg, rgba(28,214,236,0.14), rgba(168,85,247,0.12) 60%, rgba(226,60,214,0.12));
  --radius: 18px;
  --radius-sm: 11px;
  --max: 1180px;
  --nav-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.022) 0, rgba(255,255,255,0.022) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.016) 0, rgba(255,255,255,0.016) 1px, transparent 1px, transparent 4px),
    radial-gradient(circle at 50% 0%, rgba(120,90,245,0.06), transparent 60%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { line-height: 1.14; margin: 0; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: 0.97rem;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--grad); color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.42);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(124, 58, 237, 0.58); filter: brightness(1.07); }
.btn-ghost { background: rgba(255,255,255,0.02); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(168, 85, 247, 0.10); border-color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  display: flex; align-items: center; z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(8, 8, 26, 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand-img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(140,110,245,0.5), 0 0 18px rgba(28,214,236,0.35), 0 0 22px rgba(226,60,214,0.25);
}
.footer-brand .brand-img { width: 44px; height: 44px; }
.brand-accent { color: var(--accent-cyan); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--muted); font-weight: 500; font-size: 0.95rem; transition: color 0.18s ease; position: relative; }
.nav-link:hover { color: var(--text); }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad); transition: width 0.22s ease; }
.nav-link:hover::after { width: 100%; }
.nav-cta { padding: 10px 20px; }

.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 0; }
.hamburger span { display: block; width: 26px; height: 2.5px; background: var(--text); border-radius: 2px; transition: transform 0.28s ease, opacity 0.2s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero (reworked, two-column) ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 76px) 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; top: -220px; left: -120px; width: 760px; height: 760px;
  background: radial-gradient(circle at center, rgba(28, 214, 236, 0.24), transparent 60%); filter: blur(20px);
}
.hero-bg::after {
  content: ""; position: absolute; top: -120px; right: -160px; width: 680px; height: 680px;
  background: radial-gradient(circle at center, rgba(226, 60, 214, 0.22), transparent 62%); filter: blur(20px);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(168,85,247,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(168,85,247,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center; }
.hero-copy { max-width: 620px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--accent); background: rgba(168, 85, 247, 0.10); border: 1px solid var(--border-strong);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.7rem); font-weight: 900; margin-bottom: 20px;
  background: linear-gradient(180deg, #FFFFFF 0%, #CBB8F5 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-title .grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.24rem); color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.hero-badges li { color: var(--text); display: inline-flex; align-items: center; gap: 7px; }
.hero-badges .tick { color: var(--accent); font-weight: 800; }

/* Hero visual: product showcase (browser + phone) */
.hero-visual { position: relative; z-index: 1; display: grid; place-items: center; min-height: 400px; }
.showcase { position: relative; width: 100%; max-width: 460px; }

/* Browser window */
.browser { width: 100%; background: #14122E; border: 1px solid var(--border-strong); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: #1A1836; border-bottom: 1px solid var(--border); }
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: #4B4470; }
.browser-bar .dots span:nth-child(1) { background: #FF5F57; }
.browser-bar .dots span:nth-child(2) { background: #FEBC2E; }
.browser-bar .dots span:nth-child(3) { background: #28C840; }
.browser-bar .url { flex: 1; height: 20px; border-radius: 6px; background: #0E0D24; border: 1px solid var(--border); font-size: 0.62rem; color: var(--muted); display: flex; align-items: center; padding: 0 10px; }
.browser-body { padding: 20px; }
.bb-hero { height: 12px; width: 62%; border-radius: 6px; background: var(--grad); margin-bottom: 10px; }
.bb-line { height: 8px; border-radius: 5px; background: #2A2750; margin-bottom: 8px; }
.bb-line.s { width: 84%; } .bb-line.m { width: 70%; }
.bb-btn { height: 22px; width: 96px; border-radius: 999px; background: var(--grad); margin: 14px 0 18px; }
.bb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bb-card { height: 60px; border-radius: 10px; background: #1B1940; border: 1px solid var(--border); position: relative; }
.bb-card::before { content: ""; position: absolute; top: 10px; left: 10px; width: 20px; height: 20px; border-radius: 6px; background: var(--grad-soft); border: 1px solid var(--border-strong); }

/* Phone overlapping */
.phone { position: absolute; bottom: -34px; right: -22px; width: 138px; height: 280px; background: #14122E; border: 2px solid var(--border-strong); border-radius: 26px; box-shadow: var(--shadow); padding: 12px 10px; }
.phone .notch { width: 44px; height: 5px; border-radius: 999px; background: #4B4470; margin: 2px auto 12px; }
.phone .p-avatar { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); margin-bottom: 10px; box-shadow: var(--glow); }
.phone .p-line { height: 7px; border-radius: 4px; background: #2A2750; margin-bottom: 7px; }
.phone .p-line.s { width: 70%; }
.phone .p-bub { margin-top: 10px; padding: 8px 9px; border-radius: 10px; font-size: 0.6rem; line-height: 1.4; background: #1B1940; border: 1px solid var(--border); color: var(--muted); }
.phone .p-bub.me { background: var(--grad); color: #fff; border: none; margin-left: 18px; }

/* Floating chips */
.float-chip {
  position: absolute; background: #14122E; border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 9px 13px; font-size: 0.8rem; font-weight: 700; box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px; z-index: 3;
}
.float-chip .ic { font-size: 1rem; }
.float-chip.one { top: -16px; left: -14px; }
.float-chip.two { top: 40%; right: -30px; }
.float-chip .em { color: var(--accent); }

/* ---------- Tech strip ---------- */
.techstrip { padding: 34px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.techstrip .lead { text-align: center; color: var(--muted-dim); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.tech-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; }
.tech-item { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-weight: 700; font-size: 1.02rem; opacity: 0.9; transition: opacity 0.2s ease, transform 0.2s ease; }
.tech-item:hover { opacity: 1; transform: translateY(-2px); }
.tech-item .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-eyebrow { color: var(--accent); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section-lead { color: var(--muted); font-size: 1.08rem; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Services: flex so an odd count stays centered */
.services-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.services-grid .service-card { flex: 1 1 320px; max-width: 350px; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad);
  opacity: 0; transition: opacity 0.22s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-strong); background: var(--card-hover); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card-icon {
  position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px;
  background: linear-gradient(150deg, rgba(28,214,236,0.16), rgba(168,85,247,0.14) 55%, rgba(226,60,214,0.16));
  border: 1px solid var(--border-strong); margin-bottom: 18px;
  box-shadow: inset 0 0 18px rgba(120,90,245,0.18), 0 8px 20px rgba(0,0,0,0.4);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card-icon::after {
  content: ""; position: absolute; inset: 0; border-radius: 16px; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.55; pointer-events: none;
}
.card-icon .ico {
  width: 30px; height: 30px; fill: none; stroke: url(#iconGrad); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(120,90,245,0.55));
}
.card:hover .card-icon { transform: translateY(-3px) scale(1.04); box-shadow: inset 0 0 22px rgba(120,90,245,0.28), var(--glow); }
.card::after {
  content: ""; position: absolute; width: 170px; height: 170px; right: -50px; top: -50px; border-radius: 50%;
  background: radial-gradient(circle, rgba(120,90,245,0.16), transparent 70%);
  opacity: 0; transition: opacity 0.25s ease; pointer-events: none;
}
.card:hover::after { opacity: 1; }
.card h3 { position: relative; z-index: 1; }
.card p { position: relative; z-index: 1; }

/* ---------- Steps (timeline) ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.steps::before {
  content: ""; position: absolute; top: 54px; left: 8%; right: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent); opacity: 0.5; z-index: 0;
}
.step { position: relative; z-index: 1; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: transform 0.22s ease, border-color 0.22s ease; }
.step:hover { transform: translateY(-6px); border-color: var(--border-strong); }
.step-num {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
  font-size: 1.4rem; font-weight: 900; color: #fff; background: var(--grad); box-shadow: var(--glow);
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Portfolio ---------- */
.portfolio-card { position: relative; }
.portfolio-card h3 { display: inline-flex; align-items: center; gap: 8px; }
.portfolio-card .arrow { color: var(--accent); transition: transform 0.2s ease; }
.portfolio-card:hover .arrow { transform: translate(3px, -3px); }
.tag { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: rgba(230, 237, 245, 0.06); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.tag-flagship { color: #fff; background: var(--grad); border-color: transparent; }

/* ---------- Stats ---------- */
.stats-grid { text-align: center; }
.stat { padding: 26px 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); }
.stat-num { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }

/* ---------- CTA Banner ---------- */
.cta-banner { position: relative; padding: 84px 0; background: var(--grad-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 700px; height: 400px; background: radial-gradient(circle, rgba(168,85,247,0.18), transparent 65%); filter: blur(20px); }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.cta-inner h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); max-width: 780px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info .section-eyebrow, .contact-info .section-title { text-align: left; }
.contact-info .section-title { margin-bottom: 14px; }
.contact-info .section-lead { margin-bottom: 30px; }
.contact-list { display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1.02rem; }
.contact-list a:hover { color: var(--accent); }
.contact-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--grad-soft); border: 1px solid var(--border-strong); font-size: 1.1rem; flex-shrink: 0; }

.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-size: 0.88rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.field input, .field select, .field textarea { font-family: inherit; font-size: 0.97rem; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color 0.18s ease, box-shadow 0.18s ease; width: 100%; }
.field input::placeholder, .field textarea::placeholder { color: #6E819A; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.22); }
.field select { appearance: none; cursor: pointer; }
.field textarea { resize: vertical; min-height: 110px; }
.form-success { margin-top: 16px; text-align: center; font-weight: 600; color: var(--accent); background: rgba(168, 85, 247, 0.10); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 12px; }
.form-success.form-error { color: #FCA5A5; background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.4); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding-top: 56px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-tag { color: var(--muted); max-width: 360px; margin-top: 14px; font-size: 0.96rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: var(--muted); font-weight: 500; transition: color 0.18s ease; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; }
.footer-bottom p { color: var(--muted); font-size: 0.88rem; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 640px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  .hamburger { display: flex; }
  .nav-links { position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: rgba(8, 8, 26, 0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); padding: 18px 24px 26px; transform: translateY(-130%); opacity: 0; pointer-events: none; transition: transform 0.32s ease, opacity 0.28s ease; box-shadow: var(--shadow); }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { padding: 12px 4px; font-size: 1.05rem; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 8px; text-align: center; }
}
@media (max-width: 560px) {
  .section { padding: 70px 0; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .services-grid .service-card { max-width: 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .hero { padding: calc(var(--nav-h) + 48px) 0 72px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .contact-form { padding: 24px 20px; }
  .float-chip { display: none; }
  .phone { position: relative; bottom: 0; right: 0; margin: 18px auto 0; }
  .showcase { max-width: 340px; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Builds / Work page ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 24px; overflow: hidden; }
.page-hero .section-eyebrow, .page-hero .section-title, .page-hero .section-lead { text-align: center; }
.page-hero .section-title { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 12px; }

.feature { display: grid; grid-template-columns: 1fr 1.12fr; gap: 46px; align-items: center; margin: 20px 0 12px; }
.feature-copy .build-eyebrow { color: var(--accent-cyan); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px; }
.feature-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 8px; }
.logo-chip { display: inline-flex; align-items: center; background: #F3F0E9; border: 1px solid rgba(0,0,0,0.08); border-radius: 11px; padding: 9px 15px; margin-bottom: 16px; box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.logo-chip img { height: 26px; width: auto; display: block; }
.about-label { font-weight: 800; color: var(--text); }
.feature-copy p { color: var(--muted); font-size: 1.02rem; margin-bottom: 8px; }
.build-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0 20px; }
.feature-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.frame { border: 1px solid var(--border-strong); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: #14122E; }
.frame:hover { box-shadow: 0 30px 70px rgba(0,0,0,0.6), var(--glow); }
.frame-bar { display: flex; align-items: center; gap: 8px; padding: 10px 13px; background: #1A1836; border-bottom: 1px solid var(--border); }
.frame-bar .dots { display: flex; gap: 6px; }
.frame-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: #4B4470; }
.frame-bar .dots span:nth-child(1){ background:#FF5F57; } .frame-bar .dots span:nth-child(2){ background:#FEBC2E; } .frame-bar .dots span:nth-child(3){ background:#28C840; }
.frame-bar .url { flex: 1; height: 22px; border-radius: 6px; background: #0E0D24; border: 1px solid var(--border); font-size: 0.72rem; color: var(--muted); display: flex; align-items: center; padding: 0 12px; }
.frame img { display: block; width: 100%; height: auto; }

.builds-more { margin-top: 26px; }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; gap: 30px; }
  .feature-media { order: -1; }
}

/* ---------- Clickable cards + small logo chips ---------- */
a.card { display: block; color: inherit; text-decoration: none; }
a.card .arrow { display: inline-block; }
.logo-chip.small { display: flex; width: max-content; padding: 6px 12px; margin: 4px 0 12px; }
.logo-chip.small img { height: 22px; }
.portfolio-card .tag { display: inline-block; }
