﻿:root {
  --ink: #0b1220;
  --muted: #5b677a;
  --primary: #0c4a6e;
  --accent: #f59e0b;
  --accent-2: #14b8a6;
  --surface: #f8fafc;
  --card: #ffffff;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fdfdfd 0%, #f3f6fb 50%, #eef2f7 100%);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.4);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: #0f172a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  z-index: 20;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.section {
  padding: 96px 0;
}

.section.alt {
  background: #f1f5f9;
}

.section-head {
  margin-bottom: 40px;
}

.section-head p {
  color: var(--muted);
  max-width: 520px;
}

.bg-glow {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.15), transparent 45%),
              radial-gradient(circle at 85% 5%, rgba(245, 158, 11, 0.12), transparent 40%),
              radial-gradient(circle at 90% 90%, rgba(20, 184, 166, 0.16), transparent 45%);
  pointer-events: none;
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.15);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--ink);
}

.hero {
  padding-top: 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  margin: 16px 0 12px;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.05rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(15, 118, 110, 0.12);
  color: #0f766e;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin: 28px 0 24px;
  flex-wrap: wrap;
}

.hero-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.link-chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(15, 23, 42, 0.12);
}

.btn {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  border: none;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.2);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.2);
  color: var(--ink);
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  border: none;
  color: var(--ink);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.meta-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(15, 23, 42, 0.5);
}

.hero-showcase {
  position: relative;
}

.brand-banner {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.brand-banner img {
  width: 100%;
  display: block;
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.badge {
  background: rgba(15, 23, 42, 0.08);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status {
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 600;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.stack span {
  background: rgba(14, 116, 144, 0.1);
  color: #0f172a;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
}

.floating-card {
  position: absolute;
  right: -10px;
  bottom: -24px;
  background: #0f172a;
  color: #fff;
  padding: 18px 20px;
  border-radius: 16px;
  width: 210px;
  box-shadow: var(--shadow);
}

.app-icon-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.app-icon-pill img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}

.app-icon-pill span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  align-items: center;
}

.stats {
  display: grid;
  gap: 16px;
}

.stat-card {
  background: #fff;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.grid-3 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.screens-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.screen-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
}

.screen-card img {
  width: 100%;
  height: auto;
  display: block;
}

.screen-card figcaption {
  padding: 12px 16px 16px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
}

.screens-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-card, .work-card, .process-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease;
}

.service-card:hover, .work-card:hover, .process-card:hover {
  transform: translateY(-4px);
}

.work-card .tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  margin-bottom: 12px;
}

.work-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #0f172a;
  background: rgba(15, 23, 42, 0.06);
  padding: 8px 14px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.work-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.process-card span {
  font-size: 0.9rem;
  color: #0f766e;
  font-weight: 700;
}

.contact {
  display: flex;
  justify-content: center;
}

.contact-card {
  background: #0f172a;
  color: #fff;
  padding: 40px;
  border-radius: 28px;
  width: min(760px, 100%);
  box-shadow: var(--shadow);
}

.contact-card p {
  color: #cbd5f5;
  margin: 8px 0 24px;
}

.contact-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: span 2;
}

input, textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  outline: none;
  font-family: inherit;
}

.form-status {
  grid-column: span 2;
  font-size: 0.9rem;
  color: #cbd5f5;
}

.contact-footer {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  color: #94a3b8;
}

.contact-footer a {
  color: #e2e8f0;
}

.footer {
  padding: 40px 0 60px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #0b1220;
  color: #f8fafc;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: #cbd5f5;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn,
  .link-chip,
  .service-card,
  .work-card,
  .process-card {
    transition: none;
  }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 64px;
    right: 4vw;
    background: #fff;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .floating-card {
    position: static;
    margin-top: 20px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: span 1;
  }

  .form-status {
    grid-column: span 1;
  }
}
