/* ─────────────────────────────────────────────────
   Alef — Final Year Project Showcase
   Design: Matches Alef home page aesthetic
   Fonts: Instrument Serif + DM Sans
   ───────────────────────────────────────────────── */

:root {
  --text:          #0a0f1e;
  --muted:         #6b7280;
  --muted-2:       #9ca3af;
  --border:        rgba(10, 15, 30, 0.10);
  --border-strong: rgba(10, 15, 30, 0.16);
  --surface:       #ffffff;
  --surface-2:     #f8f9fb;
  --surface-3:     #f1f3f7;
  --bg:            #fafbfc;
  --bg-dark:       #0a0f1e;
  --bg-off:        #f4f5f8;
  --accent:        #1a56db;
  --accent-2:      #3b82f6;
  --accent-light:  #eff4ff;
  --accent-glow:   rgba(26, 86, 219, 0.12);
  --accent-soft:   rgba(26, 86, 219, 0.07);
  --green:         #059669;
  --green-soft:    rgba(5, 150, 105, 0.08);
  --gold:          #d97706;
  --gold-light:    #fffbeb;
  --r-sm:          8px;
  --r-md:          12px;
  --r-lg:          18px;
  --r-xl:          22px;
  --r-2xl:         28px;
  --shadow-xs:     0 1px 2px rgba(10, 15, 30, 0.06);
  --shadow-sm:     0 2px 8px rgba(10, 15, 30, 0.07), 0 1px 2px rgba(10, 15, 30, 0.04);
  --shadow-md:     0 8px 24px rgba(10, 15, 30, 0.10), 0 2px 4px rgba(10, 15, 30, 0.05);
  --shadow-lg:     0 20px 48px rgba(10, 15, 30, 0.12), 0 4px 8px rgba(10, 15, 30, 0.05);
  --shadow-xl:     0 32px 64px rgba(10, 15, 30, 0.15), 0 8px 16px rgba(10, 15, 30, 0.07);
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --max:           1180px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

/* ── NOISE ── */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── BACKGROUND ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 600px at 8% -5%, rgba(26, 86, 219, 0.07), transparent 65%),
    radial-gradient(ellipse 700px 500px at 95% 10%, rgba(217, 119, 6, 0.05), transparent 60%),
    var(--bg);
}

/* ── CONTAINER ── */
.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 252, 0.88);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--text), var(--accent));
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(10, 15, 30, 0.22), inset 0 1px 0 rgba(255,255,255,0.10);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.brand-mark::before {
  content: '';
  position: absolute;
  top: -6px; left: -6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.45), transparent 70%);
}

.brand-mark span {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: #fff;
  font-size: 15px;
  position: relative;
  z-index: 1;
}

.brand-mark-sm {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.brand-sub  { font-size: 11px; color: var(--muted); font-weight: 500; margin-top: 1px; }

.nav-links {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.nav-links a {
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface-3);
}

.nav-cta {
  padding: 9px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  background: var(--text);
  color: #fff;
  box-shadow: 0 2px 8px rgba(10,15,30,0.20);
  transition: all 0.16s;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #1a2035;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10,15,30,0.26);
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: 72px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.orb-1 {
  width: 600px; height: 600px;
  top: -200px; left: -100px;
  background: radial-gradient(circle, rgba(26,86,219,0.09), transparent 65%);
}

.orb-2 {
  width: 500px; height: 500px;
  top: -100px; right: -80px;
  background: radial-gradient(circle, rgba(217,119,6,0.06), transparent 65%);
}

.orb-3 {
  width: 400px; height: 400px;
  bottom: -150px; left: 30%;
  background: radial-gradient(circle, rgba(5,150,105,0.05), transparent 65%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10,15,30,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,15,30,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 20%, transparent 80%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-left  { animation: fadeUp 0.6s var(--ease) both; }
.hero-right { animation: fadeUp 0.7s 0.15s var(--ease) both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-light);
  border: 1px solid rgba(26, 86, 219, 0.15);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}

.eyebrow-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26, 86, 219, 0.35); }
  50%       { box-shadow: 0 0 0 5px rgba(26, 86, 219, 0); }
}

.hero-title { margin: 0 0 18px; letter-spacing: -0.02em; }

.title-serif {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3.8rem, 6vw, 6rem);
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.title-sub {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.hero-lead {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.78;
  max-width: 56ch;
  margin: 0 0 24px;
}

.hero-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.chip {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  box-shadow: var(--shadow-xs);
}

.chip-accent {
  background: var(--text);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(10,15,30,0.20);
}

.chip-ai {
  background: var(--accent-light);
  color: var(--accent);
  border-color: rgba(26,86,219,0.18);
}

.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.16s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--text);
  color: #fff;
  box-shadow: 0 2px 8px rgba(10,15,30,0.20), inset 0 1px 0 rgba(255,255,255,0.08);
}
.btn-primary:hover {
  background: #1a2035;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10,15,30,0.26);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: rgba(10,15,30,0.22);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* ── HERO CARD ── */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.card-dots { display: flex; gap: 5px; }
.card-dots span { width: 10px; height: 10px; border-radius: 50%; }
.card-dots span:nth-child(1) { background: #ff5f57; }
.card-dots span:nth-child(2) { background: #febc2e; }
.card-dots span:nth-child(3) { background: #28c840; }

.card-label {
  font-size: 12px;
  color: var(--muted-2);
  font-family: 'DM Mono', monospace, 'Courier New';
  margin: 0 auto;
}

.hero-screenshot { background: var(--surface-2); border-bottom: 1px solid var(--border); }
.hero-screenshot img { width: 100%; display: block; }

.hero-card-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  padding: 16px 20px;
}

.card-stat { text-align: center; padding: 4px; }
.card-stat-div { width: 1px; background: var(--border); margin: 0 4px; }

.cs-val {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--accent);
}

.cs-label { font-size: 11.5px; color: var(--muted); font-weight: 500; }

/* ── MARQUEE ── */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
  padding: 13px 0;
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  width: max-content;
}

.marquee-track span { font-size: 13px; font-weight: 600; color: var(--muted); padding: 0 14px; }
.marquee-dot { color: var(--accent) !important; padding: 0 2px !important; font-size: 18px !important; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTIONS ── */
.section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.section-dark { background: var(--bg-dark); color: #fff; }
.section-off  { background: var(--bg-off); }

.section-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.section-label-light { color: rgba(255,255,255,0.30); }

.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 12px;
  color: var(--text);
}
.section-title.light { color: #fff; }
.section-title em { font-style: italic; color: var(--accent); }
.section-dark .section-title.light em { color: #6e95f7; }

.section-sub { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.65; }
.section-sub.light { color: rgba(255,255,255,0.40); }

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.about-left .section-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  position: sticky;
  top: 90px;
}

.about-body { font-size: 15.5px; color: var(--muted); margin: 0 0 28px; line-height: 1.76; }
.about-cards { display: grid; gap: 14px; }

.about-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.about-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.about-card-green {
  border-color: rgba(5,150,105,0.15);
  background: linear-gradient(145deg, rgba(240,253,244,0.8), var(--surface));
}

.about-card-icon {
  font-size: 18px;
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}

.about-card-title { font-size: 14px; font-weight: 700; margin-bottom: 5px; letter-spacing: -0.01em; }
.about-card-body  { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── FEATURES ── */
.features-head {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.features-head .section-title { margin-bottom: 0; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}

.feature-card {
  padding: 32px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s;
}
.feature-card:hover { background: rgba(255,255,255,0.07); }

.fc-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  background: rgba(26,86,219,0.12);
  border-color: rgba(26,86,219,0.22);
}
.fc-large:hover { background: rgba(26,86,219,0.17); }

.fc-accent {
  background: rgba(110,149,247,0.10);
  border-color: rgba(110,149,247,0.18);
}

.fc-number {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 13px;
  color: rgba(255,255,255,0.22);
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.feature-card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: rgba(255,255,255,0.92);
}
.fc-large h3 { font-size: 1.35rem; margin-bottom: 14px; }

.feature-card p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.46);
  line-height: 1.68;
  margin: 0 0 18px;
}

.fc-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.fc-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.40);
  border: 1px solid rgba(255,255,255,0.06);
}

/* ── TECH ── */
.tech-head { margin-bottom: 36px; }

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 16px;
}

.tech-panel,
.tech-integrations {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.tech-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.tech-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.tech-icon-blue   { background: var(--accent-light); color: var(--accent); border: 1px solid rgba(26,86,219,0.15); }
.tech-icon-purple { background: rgba(109,40,217,0.08); color: #6d28d9; border: 1px solid rgba(109,40,217,0.15); }
.tech-icon-green  { background: var(--green-soft); color: var(--green); border: 1px solid rgba(5,150,105,0.15); }

.tech-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}
.tech-list li:last-child { border-bottom: none; }
.tech-bullet { color: var(--accent); font-weight: 700; flex-shrink: 0; font-size: 13px; }

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.integration-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.15s;
}
.integration-chip:hover {
  background: var(--surface);
  border-color: rgba(26,86,219,0.20);
  color: var(--text);
  box-shadow: var(--shadow-xs);
}

.ic-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ic-stripe  { background: #6772e5; }
.ic-ai      { background: #10a37f; }
.ic-pdf     { background: #e53935; }
.ic-mail    { background: #f59e0b; }
.ic-twilio  { background: #f22f46; }
.ic-swagger { background: #85ea2d; }

/* ── SCREENSHOT GRID ── */
.screens-head { margin-bottom: 40px; }

.sc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* First screenshot spans full width as hero */
.sc-card:first-child { grid-column: 1 / -1; }

/* 5th & 6th span full width too for variety */
.sc-card:nth-child(5) { grid-column: 1 / -1; }

.sc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s;
}

.sc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(26,86,219,0.15);
}

.sc-frame { background: var(--surface-2); border-bottom: 1px solid var(--border); }

.sc-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: var(--surface-3);
  border-bottom: 1px solid var(--border);
}

.sc-dots { display: flex; gap: 5px; flex-shrink: 0; }
.sc-dots span { width: 9px; height: 9px; border-radius: 50%; }
.sc-dots span:nth-child(1) { background: #ff5f57; }
.sc-dots span:nth-child(2) { background: #febc2e; }
.sc-dots span:nth-child(3) { background: #28c840; }

.sc-url {
  font-size: 11.5px;
  color: var(--muted-2);
  font-family: 'DM Mono', monospace, 'Courier New';
  margin: 0 auto;
}

.sc-img-wrap { overflow: hidden; }
.sc-img-wrap img {
  width: 100%;
  display: block;
  transition: transform 0.5s var(--ease);
}
.sc-card:hover .sc-img-wrap img { transform: scale(1.015); }

.sc-cap {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
}

.sc-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--muted-2);
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
}

.sc-title { font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 3px; color: var(--text); }
.sc-desc  { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ── REFLECTIONS ── */
.reflect-head { margin-bottom: 48px; }

.reflect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.reflect-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.reflect-col-right {
  border-color: rgba(5,150,105,0.15);
  background: linear-gradient(180deg, rgba(240,253,244,0.5), var(--surface));
}

.reflect-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.reflect-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.ri-red   { background: #fef2f2; color: #dc2626; border: 1px solid rgba(220,38,38,0.14); }
.ri-green { background: var(--green-soft); color: var(--green); border: 1px solid rgba(5,150,105,0.15); }

.reflect-items { display: grid; gap: 0; }

.reflect-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.reflect-item:last-child { border-bottom: none; padding-bottom: 0; }

.ri-num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted-2);
  flex-shrink: 0;
  width: 26px;
  padding-top: 1px;
}

.ri-text { font-size: 13.5px; color: var(--muted); line-height: 1.64; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 48px;
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-name { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.footer-sub  { font-size: 12px; color: var(--muted); margin-top: 1px; }

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; color: var(--muted); font-weight: 500; transition: color 0.14s; }
.footer-links a:hover { color: var(--text); }

/* ── RESPONSIVE ── */
@media (max-width: 1020px) {
  .hero-inner     { grid-template-columns: 1fr; }
  .hero-right     { order: -1; }
  .about-grid     { grid-template-columns: 1fr; }
  .about-left .section-title { position: static; }
  .tech-grid      { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid  { grid-template-columns: 1fr 1fr; }
  .fc-large       { grid-column: 1 / -1; grid-row: auto; }
  .reflect-grid   { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container   { width: calc(100% - 32px); }
  .nav-inner   { width: calc(100% - 32px); }
  .nav-links   { display: none; }
  .hero        { padding: 48px 0 36px; }
  .section     { padding: 56px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-grid     { grid-template-columns: 1fr; }
  .sc-card:first-child,
  .sc-card:nth-child(5) { grid-column: 1; }
  .reflect-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .title-serif  { font-size: clamp(3rem, 14vw, 5rem); }
}

/* ── CONTACT ── */
.section-contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}

.contact-left .section-title { font-size: clamp(2rem, 3.2vw, 3rem); }
.contact-desc { font-size: 15px; color: var(--muted); line-height: 1.7; margin: 0; }

.contact-right { display: grid; gap: 14px; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 86, 219, 0.20);
}

.contact-card:hover .contact-card-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent-light);
  border: 1px solid rgba(26, 86, 219, 0.15);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-card-body { flex: 1; min-width: 0; }

.contact-card-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}

.contact-card-value {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.contact-card-arrow {
  font-size: 18px;
  color: var(--muted-2);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), color 0.2s;
}

/* Footer contact strip */
.footer-contact-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

.footer-contact-strip a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.14s;
}

.footer-contact-strip a:hover { color: var(--accent); }
.footer-contact-dot { color: var(--muted-2); }

/* Responsive contact */
@media (max-width: 1020px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}