/* ====== CORVUS HUB — Yazılım Çözümleri ====== */

/* ====== GILROY FONT FACES ======
   Drop your Gilroy font files into /assets/fonts/ with the names below.
   If files are missing, browser falls back to Geist / system sans gracefully.
*/
@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/Gilroy-Light.woff2") format("woff2"),
       url("../assets/fonts/Gilroy-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/Gilroy-Regular.woff2") format("woff2"),
       url("../assets/fonts/Gilroy-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/Gilroy-Medium.woff2") format("woff2"),
       url("../assets/fonts/Gilroy-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/Gilroy-Semibold.woff2") format("woff2"),
       url("../assets/fonts/Gilroy-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/Gilroy-Bold.woff2") format("woff2"),
       url("../assets/fonts/Gilroy-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../assets/fonts/Gilroy-Black.woff2") format("woff2"),
       url("../assets/fonts/Gilroy-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #000e66;
  --brand-2: #1a2bb8;
  --brand-soft: #eef0fb;
  --ink: #0a0e1f;
  --ink-2: #4a4f63;
  --ink-3: #8b90a4;
  --line: #e6e8f0;
  --bg: #ffffff;
  --bg-2: #f7f8fc;
  --bg-3: #f0f2f8;
  --accent: #ff5b2e;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 14, 31, 0.04), 0 2px 8px rgba(10, 14, 31, 0.04);
  --shadow-md: 0 8px 28px rgba(10, 14, 31, 0.08);
  --shadow-lg: 0 24px 60px rgba(10, 14, 31, 0.12);
  --font-sans: "Gilroy", "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Gilroy", "Geist", "Inter", -apple-system, system-ui, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============ BASE ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  font-weight: 300;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 900; letter-spacing: -0.02em; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 12px 0;
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 900; font-size: 18px; letter-spacing: -0.03em;
  color: var(--ink);
}
.logo-mark {
  width: 32px; height: 32px;
  background: var(--brand);
  border-radius: 8px;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 14px;
  position: relative;
  overflow: hidden;
}
.logo-mark::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}
.logo:hover .logo-mark::after { transform: translateX(100%); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--ink); background: var(--bg-3); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-toggle {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
  font-size: 13px; font-weight: 600;
}
.lang-toggle:hover { background: var(--bg-3); color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px; font-weight: 500;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand); color: #fff;
}
.btn-primary:hover { background: var(--brand-2); transform: translateY(-1px); box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 30%, transparent); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-3); }
.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.mobile-toggle { display: none; }
@media (max-width: 920px) {
  .nav { display: none; }
  .mobile-toggle { display: grid; }
}

/* ============ HERO SLIDER ============ */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -10%; left: -10%;
  width: 60%; height: 80%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--brand) 12%, transparent), transparent 60%);
  filter: blur(60px);
  z-index: -1;
  animation: float 20s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -10%; right: -10%;
  width: 50%; height: 70%;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%);
  filter: blur(60px);
  z-index: -1;
  animation: float 24s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
}

.slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  min-height: 540px;
}
.slide {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding: 64px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.slide-content { display: flex; flex-direction: column; justify-content: center; gap: 20px; max-width: 540px; }
.slide-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  font-weight: 500;
}
.slide-eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--brand);
}
.slide-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.slide-title em {
  font-style: normal;
  font-weight: 400;
  color: var(--brand);
}
.slide-desc { font-size: 17px; color: var(--ink-2); line-height: 1.6; font-weight: 300; }
.slide-cta { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }

.slide-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-soft), var(--bg-3));
  display: grid; place-items: center;
}
.slide-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.slide-visual-label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
  padding: 12px 20px;
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: 10px;
  max-width: 70%;
}

.slide-controls {
  position: absolute;
  bottom: 28px; left: 64px;
  display: flex; align-items: center; gap: 16px;
  z-index: 5;
}
.slide-dots { display: flex; gap: 8px; }
.slide-dot {
  width: 28px; height: 4px;
  border-radius: 2px;
  background: var(--line);
  transition: background 0.3s, width 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.slide-dot.active { width: 56px; background: var(--ink-3); }
.slide-dot.active::after {
  content: "";
  position: absolute; left: 0; top: 0;
  height: 100%; width: 0%;
  background: var(--brand);
  animation: dot-progress 5s linear forwards;
}
.slider.paused .slide-dot.active::after { animation-play-state: paused; }
@keyframes dot-progress { to { width: 100%; } }

.slide-arrows { display: flex; gap: 8px; margin-left: auto; }
.slide-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: transform 0.2s, background 0.2s;
  color: var(--ink);
}
.slide-arrow:hover { background: var(--brand); color: #fff; transform: scale(1.05); }

.slide-counter {
  position: absolute;
  top: 28px; right: 32px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
  z-index: 5;
}

@media (max-width: 880px) {
  .slider { min-height: auto; }
  .slide { position: relative; grid-template-columns: 1fr; padding: 32px; gap: 24px; }
  .slide-visual { min-height: 240px; }
  .slide-controls { position: static; margin-top: 24px; padding: 0 32px 32px; }
  .slide:not(.active) { display: none; }
}

/* ============ MARQUEE ============ */
.marquee {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
  margin-top: 80px;
}
.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 35s linear infinite;
  width: max-content;
  white-space: nowrap;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.marquee-item::before {
  content: "✦";
  color: var(--brand);
  font-size: 16px;
}
@keyframes marquee {
  to { transform: translateX(calc(-50% - 28px)); }
}

/* ============ SECTIONS ============ */
.section { padding: 120px 0; position: relative; }
.section-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px 64px;
  align-items: end;
  margin-bottom: 64px;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--brand);
  display: inline-flex; align-items: center; gap: 8px;
}
.section-tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 60px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-top: 12px;
  max-width: 680px;
}
.section-title em {
  font-style: normal;
  font-weight: 400;
  color: var(--brand);
}
.section-lead {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 460px;
  align-self: end;
  text-align: right;
  font-weight: 300;
}
@media (max-width: 800px) {
  .section { padding: 80px 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .section-lead { text-align: left; }
}

/* ============ SOLUTIONS ============ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.solution-card {
  grid-column: span 4;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 360px;
}
.solution-card.wide { grid-column: span 8; flex-direction: row; }
.solution-card.wide .solution-visual { flex: 1; min-height: 280px; }
.solution-card.wide .solution-body { flex: 1; }

.solution-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--brand) 8%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.solution-card:hover::before { opacity: 1; }

.solution-visual {
  position: relative;
  border-radius: 10px;
  background: var(--bg-3);
  min-height: 160px;
  display: grid; place-items: center;
  overflow: hidden;
}
.solution-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}
.solution-visual-label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  padding: 8px 14px;
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: 8px;
}
.solution-icon {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brand);
  font-weight: 600;
}

.solution-body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.solution-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.solution-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.solution-desc {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
  font-weight: 300;
  flex: 1;
}
.solution-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand);
  margin-top: 8px;
  align-self: flex-start;
}
.solution-link svg { transition: transform 0.3s var(--ease); }
.solution-card:hover .solution-link svg { transform: translateX(4px); }

@media (max-width: 1000px) {
  .solution-card, .solution-card.wide { grid-column: span 6; flex-direction: column; }
}
@media (max-width: 600px) {
  .solution-card, .solution-card.wide { grid-column: span 12; }
}

/* ============ BRANDS ============ */
.brands {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.brand-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.4s var(--ease), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 320px;
}
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.brand-logo {
  height: 80px;
  border-radius: 8px;
  background: var(--bg-3);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.brand-logo::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 8px, color-mix(in srgb, var(--brand) 5%, transparent) 8px, color-mix(in srgb, var(--brand) 5%, transparent) 16px);
}
.brand-logo-text {
  position: relative;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.brand-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.brand-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.brand-desc { font-size: 14px; color: var(--ink-2); line-height: 1.55; font-weight: 300; flex: 1; }
.brand-arrow {
  align-self: flex-start;
  margin-top: 4px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background 0.2s, color 0.2s, transform 0.3s var(--ease);
  color: var(--ink-2);
}
.brand-card:hover .brand-arrow { background: var(--brand); color: #fff; border-color: var(--brand); transform: rotate(-45deg); }

@media (max-width: 920px) { .brands-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .brands-grid { grid-template-columns: 1fr; } }

/* ============ TIMELINE / SÜREÇ ============ */
.process { background: var(--bg); }
.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 28px; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.timeline-step {
  position: relative;
  display: flex; flex-direction: column;
  gap: 18px;
}
.timeline-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  z-index: 2;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.timeline-step:hover .timeline-num {
  background: var(--brand); color: #fff; border-color: var(--brand);
  transform: scale(1.05);
}
.timeline-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.timeline-desc { font-size: 14px; color: var(--ink-2); line-height: 1.55; font-weight: 300; }

@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 24px; }
  .timeline::before { top: 28px; bottom: 28px; left: 28px; right: auto; width: 1px; height: auto; }
  .timeline-step { flex-direction: row; gap: 20px; }
  .timeline-step > div:last-child { flex: 1; padding-top: 12px; }
}

/* ============ PROJECTS / GALLERY ============ */
.projects { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  position: relative;
  cursor: pointer;
  transition: transform 0.4s var(--ease);
}
.project-card:hover { transform: translateY(-4px); }
.project-card:nth-child(1) { grid-column: span 4; }
.project-card:nth-child(2) { grid-column: span 2; }
.project-card:nth-child(3) { grid-column: span 2; }
.project-card:nth-child(4) { grid-column: span 4; }
.project-card:nth-child(5) { grid-column: span 3; }
.project-card:nth-child(6) { grid-column: span 3; }

.project-visual {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--bg-3), var(--brand-soft));
  position: relative;
  display: grid; place-items: center;
  overflow: hidden;
}
.project-visual::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  transition: transform 0.6s var(--ease);
}
.project-card:hover .project-visual::before { transform: scale(1.05); }
.project-visual-label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  padding: 8px 14px;
  background: var(--bg);
  border: 1px dashed var(--line);
  border-radius: 8px;
}
.project-meta {
  padding: 18px 22px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
}
.project-name { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.project-tag { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }

@media (max-width: 900px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card, .project-card:nth-child(n) { grid-column: span 1; }
}

/* ============ TESTIMONIALS ============ */
.testimonials { overflow: hidden; }
.testimonials-track-wrap {
  margin: 0 -32px;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.testimonials-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marquee 60s linear infinite;
  padding: 8px 0;
}
.testimonials-track:hover { animation-play-state: paused; }
.testimonial {
  width: 380px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 14px;
}
.testimonial-name { font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.testimonial-role { font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); }

/* ============ CTA ============ */
.cta {
  padding: 120px 0;
}
.cta-inner {
  background: var(--brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta-inner::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.15), transparent 60%);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  position: relative;
}
.cta-title em { font-style: normal; font-weight: 400; opacity: 0.85; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; position: relative; }
.cta .btn-primary { background: #fff; color: var(--brand); }
.cta .btn-primary:hover { background: var(--bg-2); }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.cta .btn-ghost:hover { background: rgba(255,255,255,0.1); }

@media (max-width: 800px) {
  .cta-inner { grid-template-columns: 1fr; padding: 48px 32px; }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand-col { max-width: 320px; }
.footer-tag { font-size: 14px; color: var(--ink-2); margin-top: 16px; line-height: 1.6; }
.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  font-family: var(--font-mono);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-3);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-socials { display: flex; gap: 8px; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: background 0.2s, color 0.2s, transform 0.3s var(--ease);
}
.social-btn:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.3s; }

/* When animations turned off */
[data-anim="off"] .reveal,
[data-anim="off"] .reveal-stagger > * { opacity: 1; transform: none; }
[data-anim="off"] .marquee-track,
[data-anim="off"] .testimonials-track { animation: none; }
[data-anim="off"] .hero::before, [data-anim="off"] .hero::after { animation: none; }

/* ============ CONTACT ============ */
.contact { padding: 120px 0; background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.contact-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 12px 40px rgba(0, 14, 102, 0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0, 14, 102, 0.12); }
.contact-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-card-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-3);
}
.contact-card-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.3;
}
.contact-card-value a { transition: color 0.2s; }
.contact-card-value a:hover { color: var(--brand); }
.contact-card-sub {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 300;
  line-height: 1.55;
}
.contact-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.contact-social {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: background 0.25s, color 0.25s, transform 0.3s var(--ease), border-color 0.25s;
}
.contact-social:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-3px) rotate(-4deg);
}
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form .full { grid-column: span 2; }
.contact-input, .contact-textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 300;
  transition: border-color 0.2s, background 0.2s;
}
.contact-input:focus, .contact-textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--bg-2);
}
.contact-textarea { resize: vertical; min-height: 110px; font-family: var(--font-sans); }
.contact-form-card { gap: 12px; }
.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.contact-form-card p { font-size: 14px; color: var(--ink-2); font-weight: 300; margin-bottom: 10px; }
.contact-info-stack { display: flex; flex-direction: column; gap: 28px; }
.contact-info-row { display: flex; gap: 16px; align-items: flex-start; }
    .contact-info-row .contact-card-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        justify-content: center;
    }
.contact-info-row > div { display: flex; flex-direction: column; gap: 2px; }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 28px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: span 1; }
}

/* ===== VARIANT: Glass / Tech (light glassmorphism) ===== */
[data-variant="glass"] {
  --bg: #f4f6fc;
  --bg-2: #ffffff;
  --bg-3: #ffffff;
  --line: #e0e3ee;
}
[data-variant="glass"] .site-header.scrolled {
  background: color-mix(in srgb, var(--bg) 60%, transparent);
}
[data-variant="glass"] .slider {
  background: linear-gradient(135deg, #ffffff, #e8ecf8);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 30px 80px rgba(0, 14, 102, 0.08);
  backdrop-filter: blur(40px);
}
[data-variant="glass"] .solution-card,
[data-variant="glass"] .brand-card,
[data-variant="glass"] .testimonial,
[data-variant="glass"] .timeline-num,
[data-variant="glass"] .project-card {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 8px 32px rgba(0, 14, 102, 0.05);
}


