:root {
  --bg: #07111f;
  --bg-soft: #0d1b2d;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.13);
  --text: #f5f8ff;
  --muted: #a8b3c7;
  --line: rgba(255, 255, 255, 0.14);
  --primary: #5eead4;
  --primary-dark: #14b8a6;
  --accent: #8b5cf6;
  --orange: #f59e0b;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.24), transparent 34rem),
    radial-gradient(circle at 85% 5%, rgba(139, 92, 246, 0.23), transparent 28rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .045;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  max-width: var(--max);
  margin: 18px auto 0;
  padding: 14px 18px;
  width: calc(100% - 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: rgba(7, 17, 31, 0.76);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
}

.brand { display: flex; gap: 12px; align-items: center; }
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #06111d;
  font-weight: 900;
  letter-spacing: -1px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #ffffff 48%, var(--accent));
  box-shadow: 0 12px 35px rgba(94, 234, 212, .25);
}
.brand-text { display: grid; line-height: 1.15; }
.brand-text small { color: var(--muted); font-size: 12px; }

.main-nav { display: flex; align-items: center; gap: 8px; }
.main-nav a {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 999px;
  transition: .25s ease;
}
.main-nav a:hover { color: var(--text); background: rgba(255,255,255,.08); }
.main-nav .nav-cta { color: #06111d; background: var(--primary); font-weight: 800; }
.main-nav .nav-cta:hover { background: #fff; color: #06111d; }
.nav-toggle { display: none; background: transparent; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--text); margin: 6px 0; border-radius: 99px; }

.section { max-width: var(--max); margin: 0 auto; padding: 96px 24px; position: relative; z-index: 1; }
.hero { min-height: calc(100vh - 90px); display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; padding-top: 70px; }
.eyebrow { color: var(--primary); font-weight: 850; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 7vw, 82px); line-height: .94; letter-spacing: -0.065em; margin-bottom: 24px; }
h2 { font-size: clamp(32px, 4.5vw, 56px); line-height: 1.02; letter-spacing: -0.045em; margin-bottom: 18px; }
h3 { font-size: 22px; line-height: 1.2; margin-bottom: 12px; }
p { color: var(--muted); font-size: 17px; }
.hero-content p { font-size: 19px; max-width: 650px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: .25s ease;
}
.btn.primary { color: #06111d; background: linear-gradient(135deg, var(--primary), #d7fff7); border: none; box-shadow: 0 18px 50px rgba(94,234,212,.22); }
.btn.primary:hover { transform: translateY(-3px); box-shadow: 0 24px 70px rgba(94,234,212,.28); }
.btn.secondary { color: var(--text); background: rgba(255,255,255,.07); }
.btn.secondary:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }

.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; max-width: 560px; }
.hero-stats div { border: 1px solid var(--line); background: var(--card); border-radius: 22px; padding: 16px; }
.hero-stats strong { font-size: 24px; display: block; }
.hero-stats span { color: var(--muted); font-size: 13px; }

.hero-visual { position: relative; min-height: 590px; }
.hero-visual img {
  width: 100%; height: 590px; object-fit: cover;
  border-radius: 42px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-visual::before {
  content: ""; position: absolute; inset: 40px -22px -22px 60px;
  border-radius: 48px; background: linear-gradient(135deg, rgba(94,234,212,.24), rgba(139,92,246,.2)); z-index: -1;
}
.glass-card {
  position: absolute; z-index: 2; width: min(280px, 78%); padding: 18px;
  border: 1px solid var(--line); border-radius: 24px;
  background: rgba(7, 17, 31, 0.72); backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0,0,0,.3);
}
.glass-card span { color: var(--primary); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.glass-card strong { display: block; font-size: 18px; margin-top: 3px; }
.top-card { top: 28px; left: -30px; animation: float 5s ease-in-out infinite; }
.bottom-card { right: -24px; bottom: 38px; animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-14px); } }

.logos { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; padding-top: 20px; padding-bottom: 20px; }
.logos span { border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--muted); padding: 12px 18px; border-radius: 999px; font-weight: 750; }

.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 46px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.check-list li { color: var(--text); background: rgba(255,255,255,.06); border: 1px solid var(--line); padding: 15px 18px; border-radius: 18px; }
.check-list li::before { content: "✓"; color: var(--primary); margin-right: 10px; font-weight: 900; }
.about-card { overflow: hidden; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.about-card img { height: 370px; width: 100%; object-fit: cover; }
.about-info { display: grid; gap: 6px; padding: 22px; }
.about-info span { color: var(--muted); }

.section-heading { max-width: 760px; margin-bottom: 36px; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card, .step, .testimonial-card, .contact-form {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.045));
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 70px rgba(0,0,0,.16);
}
.service-card { transition: .25s ease; min-height: 260px; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(94,234,212,.45); }
.icon { width: 54px; height: 54px; display: grid; place-items: center; color: #06111d; background: var(--primary); border-radius: 18px; font-weight: 900; margin-bottom: 28px; }

.feature-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: center; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(94,234,212,.12), rgba(139,92,246,.14)); border-radius: 36px; padding: 46px; }
.feature-band p { margin: 0; }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { overflow: hidden; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); transition: .25s ease; }
.project-card:hover { transform: translateY(-8px); }
.project-card img { height: 250px; width: 100%; object-fit: cover; }
.project-card div { padding: 22px; }
.project-card span { color: var(--primary); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step span { width: 46px; height: 46px; display: grid; place-items: center; background: rgba(94,234,212,.12); color: var(--primary); border: 1px solid rgba(94,234,212,.28); border-radius: 16px; font-weight: 900; margin-bottom: 24px; }

.testimonial-card { max-width: 920px; }
.testimonial-card p { font-size: clamp(24px, 3vw, 36px); color: var(--text); line-height: 1.18; letter-spacing: -0.03em; }
.testimonial-card strong { color: var(--primary); }

.faq-list { display: grid; gap: 14px; max-width: 900px; }
details { border: 1px solid var(--line); background: var(--card); border-radius: 22px; padding: 18px 22px; }
summary { cursor: pointer; font-weight: 850; font-size: 18px; }
details p { margin: 12px 0 0; }

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: start; }
.contact-info { display: grid; gap: 12px; margin-top: 28px; }
.contact-info span { display: inline-flex; border: 1px solid var(--line); background: var(--card); padding: 13px 16px; border-radius: 18px; color: var(--text); }
.contact-form { display: grid; gap: 16px; }
label { display: grid; gap: 8px; color: var(--text); font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: rgba(0,0,0,.2); color: var(--text); border-radius: 16px; padding: 15px 16px; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(94,234,212,.12); }
select option { color: #07111f; }
textarea { resize: vertical; }

.site-footer { max-width: var(--max); margin: 0 auto; padding: 34px 24px 48px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); position: relative; z-index: 2; }
.site-footer div { display: grid; }
.site-footer strong { color: var(--text); }
.site-footer a { color: var(--primary); font-weight: 850; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }
.delay-3 { transition-delay: .32s; }

@media (max-width: 980px) {
  .main-nav {
    position: fixed; left: 16px; right: 16px; top: 86px; display: none; flex-direction: column;
    align-items: stretch; padding: 16px; border-radius: 26px; border: 1px solid var(--line);
    background: rgba(7,17,31,.96); backdrop-filter: blur(18px);
  }
  .main-nav.active { display: flex; }
  .nav-toggle { display: block; }
  .hero, .split, .feature-band, .contact { grid-template-columns: 1fr; }
  .hero { padding-top: 46px; }
  .hero-visual { min-height: auto; }
  .hero-visual img { height: 470px; }
  .cards-grid, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-header { border-radius: 24px; }
  .brand-text small { display: none; }
  .section { padding: 72px 18px; }
  .hero-stats, .cards-grid, .portfolio-grid, .timeline { grid-template-columns: 1fr; }
  .hero-visual img { height: 360px; border-radius: 28px; }
  .top-card { left: 12px; }
  .bottom-card { right: 12px; bottom: 18px; }
  .feature-band { padding: 28px; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}
