/* Roke-Tech — Aviator AV dark theme */
:root {
  --bg: #16191d;          /* main near-black */
  --bg-soft: #1b1f25;     /* alternating section */
  --panel: #21252b;       /* cards / buttons */
  --panel-2: #272c33;     /* raised / hover */
  --panel-hi: #2d333b;    /* bevel highlight */
  --line: #313842;        /* borders */
  --ink: #e9eef4;         /* primary text (light) */
  --head: #ffffff;        /* headings */
  --muted: #9aa7b6;       /* secondary text */
  --cyan: #17ace6;        /* primary accent */
  --cyan-bright: #00bbfd; /* bright accent */
  --cyan-dark: #0d8ec5;   /* pressed */
  --glow: rgba(0, 187, 253, 0.45);
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --max: 1160px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cyan); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

h1, h2, h3 { line-height: 1.2; color: var(--head); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.3px; }
h3 { font-size: 1.2rem; }
p { color: var(--muted); }
.lead { font-size: 1.15rem; color: #c3d2e2; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cyan-bright);
  margin-bottom: 14px;
}
.section-head { max-width: 640px; margin: 0 auto 54px; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn-primary {
  background: linear-gradient(180deg, var(--cyan) 0%, var(--cyan-dark) 100%);
  color: #04222f; font-weight: 700;
  box-shadow: 0 8px 22px var(--glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px var(--glow), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost { background: transparent; color: var(--cyan-bright); border-color: rgba(0,187,253,.5); }
.btn-ghost:hover { background: rgba(0,187,253,.1); box-shadow: 0 0 0 3px rgba(0,187,253,.12); }
.btn-outline {
  background: linear-gradient(180deg, var(--panel-hi), var(--panel));
  color: var(--ink); border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan-bright); box-shadow: 0 0 0 3px rgba(0,187,253,.1); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 21, 25, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--head); letter-spacing: -0.5px; }
.brand .logo {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--cyan-bright), var(--cyan-dark));
  display: grid; place-items: center;
  color: #ffffff; font-weight: 800; font-size: 0.9rem; letter-spacing: 0.5px;
  /* 3D extruded white lettering */
  text-shadow: 0 1px 0 #0a6b91, 0 2px 0 #085572, 0 3px 4px rgba(0,0,0,.55);
  /* raised, extruded body */
  box-shadow:
    0 4px 10px rgba(0,0,0,.5),
    0 0 16px var(--glow),
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -3px 6px rgba(0,0,0,.35);
  transform: translateZ(0);
}
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 500; padding: 8px 14px; border-radius: 6px; font-size: 0.97rem; }
.nav-links a:hover { background: var(--panel); color: var(--cyan-bright); }
.nav-links a.active { color: var(--cyan-bright); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* Hero */
.hero {
  background:
    radial-gradient(1100px 560px at 82% -10%, rgba(0,150,220,.22) 0%, transparent 60%),
    linear-gradient(160deg, #1a1f26 0%, #0f1319 100%);
  color: #fff;
  padding: 96px 0 104px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero h1 { color: #fff; }
.hero .lead { margin: 20px 0 32px; max-width: 560px; color: #b9c8d8; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-card {
  background: linear-gradient(180deg, rgba(45,51,59,.6), rgba(27,31,37,.6));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.04);
}
.hero-card h3 { color: #fff; margin-bottom: 6px; }
.hero-card p { color: #9fb0c2; font-size: .92rem; }
.hero-card ul { list-style: none; display: grid; gap: 14px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.hero-card .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan-bright); margin-top: 7px; flex: none; box-shadow: 0 0 8px var(--glow); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: 2.3rem; font-weight: 800; color: var(--cyan-bright); text-shadow: 0 0 18px rgba(0,187,253,.3); }
.stat .label { color: var(--muted); font-size: .95rem; }

/* Cards grid */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), 0 0 0 1px var(--cyan); border-color: var(--cyan); }
.card .ic {
  width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,187,253,.18), rgba(13,142,197,.1));
  border: 1px solid rgba(0,187,253,.25);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; }
.card .tag { display: inline-block; margin-top: 14px; font-size: .8rem; font-weight: 600; color: var(--cyan-bright); }

/* Feature / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split ul { list-style: none; margin-top: 22px; display: grid; gap: 16px; }
.split li { display: flex; gap: 14px; align-items: flex-start; }
.split .check {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  background: rgba(0,187,253,.15); color: var(--cyan-bright); border: 1px solid rgba(0,187,253,.35);
  display: grid; place-items: center; font-weight: 700; font-size: .85rem;
}
.split li strong { color: var(--ink); display: block; }
.split li span { color: var(--muted); font-size: .95rem; }
.media-box {
  border-radius: var(--radius); min-height: 340px;
  background: linear-gradient(160deg, #1b2129, #0e1218);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(0,187,253,.06);
  position: relative; overflow: hidden;
  display: grid; place-items: center; color: #fff;
}
.media-box .glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(0,187,253,.4), transparent 70%); top: -60px; right: -60px; }
.media-box .code { font-family: "Consolas", monospace; font-size: .85rem; color: #7fd3ff; padding: 30px; line-height: 1.9; position: relative; }
.media-box .code .k { color: var(--cyan-bright); }
.media-box .code .s { color: #ffd479; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #14384a, #0e2735);
  border: 1px solid rgba(0,187,253,.3);
  color: #fff; text-align: center; border-radius: 18px; padding: 56px 28px;
  box-shadow: 0 0 40px rgba(0,187,253,.12), inset 0 1px 0 rgba(255,255,255,.05);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #b7cad8; margin: 12px auto 26px; max-width: 520px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-info .item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.contact-info h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-info p, .contact-info a { color: var(--muted); font-size: .96rem; }
.form { background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: .97rem; color: var(--ink); background: #14181d; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #6b7787; }
.field select { appearance: none; }
.field select option { background: #14181d; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,187,253,.15); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { margin-top: 4px; font-size: .85rem; }
.form-success { display: none; background: rgba(0,187,253,.12); color: #7fd3ff; border: 1px solid rgba(0,187,253,.3); padding: 14px 16px; border-radius: 8px; font-weight: 600; margin-bottom: 18px; }
.form-error { display: none; background: rgba(255,90,90,.1); color: #ff9d9d; border: 1px solid rgba(255,90,90,.35); padding: 14px 16px; border-radius: 8px; font-weight: 600; margin-bottom: 18px; }

/* Page header (inner pages) */
.page-hero {
  background:
    radial-gradient(900px 400px at 80% -20%, rgba(0,150,220,.2) 0%, transparent 60%),
    linear-gradient(160deg, #1a1f26, #0f1319);
  color: #fff; padding: 70px 0; text-align: center; border-bottom: 1px solid var(--line);
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #b7c6d6; max-width: 620px; margin: 16px auto 0; font-size: 1.08rem; }
.crumbs { color: #7c8ba0; font-size: .85rem; margin-bottom: 14px; }
.crumbs a { color: var(--cyan-bright); }

/* Values */
.value { text-align: center; }
.value .ic { margin: 0 auto 18px; }

/* Footer */
.site-footer { background: #101317; color: #a9b6c6; padding: 60px 0 26px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .5px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer p { color: #8b98a9; font-size: .93rem; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: #a9b6c6; font-size: .93rem; }
.footer-links a:hover { color: var(--cyan-bright); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .86rem; color: #74839a; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    background: #16191d; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px;
    display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-cta { margin: 8px 0 4px; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .grid-3, .grid-2, .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
