:root {
  --bg: #070a0f;
  --bg-alt: #0d121b;
  --card: rgba(255, 255, 255, 0.04);
  --card-strong: rgba(255, 255, 255, 0.08);
  --accent: #38e0c4;
  --accent-2: #4da3ff;
  --text: #e8edf5;
  --muted: #a4b0c3;
  --stroke: rgba(255, 255, 255, 0.1);
  --shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  --blur: blur(24px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { min-height: 100%; }

body {
  margin: 0;
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 224, 196, 0.12), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(77, 163, 255, 0.12), transparent 26%),
    var(--bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', 'Work Sans', sans-serif;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  color: #f5f7fb;
}

p { margin: 0 0 12px; color: var(--muted); }
a { color: inherit; text-decoration: none; }
.page-shell {
  width: min(1200px, 95vw); margin: 0 auto; padding: 28px 0 0;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }

.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; margin-bottom: 32px;
  background: rgba(7, 10, 15, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0c0f16; font-weight: 700;
}
.brand-title { font-weight: 700; letter-spacing: -0.01em; }
.brand-subtitle { font-size: 13px; color: var(--muted); }
.nav-links { display: flex; gap: 14px; align-items: center; }
.nav-links a {
  padding: 10px 12px; border-radius: 10px; transition: all 0.2s ease;
  font-weight: 500; color: #dce3ef;
}
.nav-links a:hover {
  color: #0c111a;
  background: linear-gradient(135deg, rgba(56, 224, 196, 0.24), rgba(77, 163, 255, 0.2));
}
.nav-links .primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0c0f16; font-weight: 700; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 26px; height: 3px; background: #f5f7fb; border-radius: 10px; }

.hero {
  position: relative; padding: 40px 28px 60px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px;
  background: linear-gradient(135deg, rgba(56, 224, 196, 0.1), rgba(7, 10, 15, 0.1) 30%, rgba(77, 163, 255, 0.14));
  border: 1px solid var(--stroke); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; filter: blur(45px); opacity: 0.35; }
.orb-1 { width: 240px; height: 240px; background: var(--accent); top: 10%; left: -8%; }
.orb-2 { width: 260px; height: 260px; background: var(--accent-2); bottom: -12%; right: -6%; }
.hero-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 12px; height: 100%;
}
.hero h1 { font-size: 42px; line-height: 1.1; margin-top: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--stroke);
  color: #f5f7fb; font-weight: 600; letter-spacing: -0.01em;
}
.pill.small { padding: 8px 12px; font-size: 13px; }
.highlight { color: var(--accent); }
.lede { font-size: 18px; max-width: 640px; }
.cta-row { display: flex; gap: 12px; margin: 18px 0 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 12px; font-weight: 700;
  border: 1px solid var(--stroke);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #0b0e15; box-shadow: 0 15px 30px rgba(56, 224, 196, 0.35); }
.btn.ghost { background: rgba(255, 255, 255, 0.05); color: #f5f7fb; }
.btn.full { width: 100%; }
.btn:hover { transform: translateY(-1px); }
.hero-metrics {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px;
  margin-top: auto;
}
.metric { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.04); }
.metric-value { font-size: 17px; font-weight: 700; }
.metric-label { color: var(--muted); font-size: 14px; }
.hero-card {
  position: relative; z-index: 1; background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke); border-radius: 18px; padding: 18px;
  backdrop-filter: blur(6px); box-shadow: var(--shadow);
}
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.badge { padding: 8px 10px; border-radius: 10px; background: rgba(56, 224, 196, 0.15); color: var(--accent); font-weight: 700; font-size: 14px; }
.card-image {
  position: relative; background: linear-gradient(160deg, rgba(56, 224, 196, 0.2), rgba(77, 163, 255, 0.24));
  border-radius: 14px; height: 200px; overflow: hidden; margin-bottom: 12px; border: 1px solid var(--stroke);
}
.card-image iframe {
  width: 100%; height: 100%; border: 0;
}
.card-list { list-style: none; padding: 0; margin: 0; color: var(--text); }
.card-list li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--stroke); }
.card-list li:last-child { border-bottom: none; }
.customer-link { color: #f5f7fb; font-weight: 600; }
.customer-link:hover { color: #f5f7fb; }

.section { margin: 70px 0 0; padding: 0 4px; }
.section-header { max-width: 800px; margin-bottom: 28px; }
.section-lede { font-size: 17px; }
.grid { display: grid; gap: 16px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--stroke); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 6px; }
.card ul { padding-left: 16px; margin: 0; color: var(--muted); }
.portal-card { max-width: 560px; width: 100%; margin: 0 auto; padding: 28px; }
.notice {
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.06); color: #dce3ef; font-size: 14px;
}
.notice.error { background: rgba(255, 98, 98, 0.12); color: #f5d6d6; }
.doc-grid { display: grid; gap: 12px; }
.doc-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
}
.doc-title { font-weight: 600; color: #f5f7fb; }
.doc-meta { font-size: 13px; color: var(--muted); }
.admin-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.file-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.file-input { position: absolute; left: -9999px; }
.file-name { font-size: 13px; color: var(--muted); }
.icon-circle {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: rgba(56, 224, 196, 0.12); border-radius: 12px; font-size: 20px;
}
.slate {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.03));
  padding: 40px 28px; border: 1px solid var(--stroke); border-radius: 20px; box-shadow: var(--shadow);
}
.projects { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.project-card { position: relative; padding: 18px; border-radius: 16px; background: var(--card-strong); border: 1px solid var(--stroke); }
.project-card .tag {
  position: absolute; top: 14px; right: 14px; padding: 6px 10px; border-radius: 999px;
  background: rgba(56, 224, 196, 0.15); color: var(--accent); font-weight: 700; font-size: 12px;
}
.testimonials { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.testimonial { padding: 18px; border-radius: 16px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.03); }
.quote { font-size: 16px; color: #f1f4fa; }
.author { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.name { font-weight: 700; }
.role { color: var(--muted); font-size: 14px; }

.process .steps { display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 60px 1fr; gap: 16px;
  padding: 16px; border-radius: 14px; border: 1px solid var(--stroke); background: rgba(255, 255, 255, 0.03);
}
.step-number {
  width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(56, 224, 196, 0.14); color: #0c111a; font-weight: 800; font-size: 18px;
}

.contact { margin-top: 60px; }
.contact-card {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px; padding: 28px; border-radius: 18px; border: 1px solid var(--stroke);
  background: linear-gradient(135deg, rgba(56, 224, 196, 0.08), rgba(7, 10, 15, 0.65));
  box-shadow: var(--shadow);
}
.contact-form { display: grid; gap: 12px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; color: #f5f7fb; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px; border-radius: 12px; border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04); color: var(--text); font-size: 15px;
}
.combo { position: relative; }
.combo input[type="text"] { width: 100%; }
.combo-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  max-height: 220px; overflow: auto; z-index: 5;
  background: #0d121b; border: 1px solid var(--stroke); border-radius: 12px;
  box-shadow: var(--shadow); padding: 6px;
  display: none;
}
.combo-list.show { display: grid; gap: 4px; }
.combo-item {
  border: 0; background: transparent; color: var(--text); text-align: left;
  padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 14px;
}
.combo-item:hover, .combo-item:focus {
  outline: none;
  background: linear-gradient(135deg, rgba(56, 224, 196, 0.24), rgba(77, 163, 255, 0.2));
  color: #0c111a;
}
.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #e8edf5 50%), linear-gradient(135deg, #e8edf5 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 42px;
}
.contact-form select option {
  background-color: #0d121b;
  color: #e8edf5;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact-form input[type="file"] { padding: 10px; }
.note { font-size: 14px; color: var(--muted); }
.note a { color: var(--accent); font-weight: 700; }
.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.form-grid .full-width {
  grid-column: 1 / -1;
}

.footer {
  margin-top: 60px; padding: 14px 18px 16px; border-top: 1px solid var(--stroke);
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; color: var(--muted); flex-wrap: nowrap;
}
.footer-left { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }
.footer-brand { font-weight: 700; letter-spacing: 0.04em; white-space: nowrap; }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; margin-left: auto; align-items: center; }
.footer-separator { width: 1px; height: 18px; background: var(--stroke); display: inline-block; }
.footer-cta {
  padding: 8px 12px; border-radius: 10px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600; color: #f5f7fb;
}
.footer-cta:hover {
  color: #0c111a;
  background: linear-gradient(135deg, rgba(56, 224, 196, 0.24), rgba(77, 163, 255, 0.2));
}
.footer-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.footer-meta span { padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); color: #d8e0ee; }

@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .nav { position: fixed; left: 2.5%; right: 2.5%; top: 10px; }
  .page-shell { padding-top: 90px; }
  body { background-attachment: scroll; }
  .nav-links {
    position: absolute; top: 70px; right: 16px; background: rgba(7, 10, 15, 0.95);
    border: 1px solid var(--stroke); border-radius: 12px; padding: 12px;
    flex-direction: column; align-items: flex-start; min-width: 200px; display: none;
  }
  .nav-links.show { display: flex; }
  .nav-toggle { display: flex; }
  .cta-row { flex-direction: column; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .footer { flex-wrap: wrap; }
}
