/* ============================================
   ORATECK SOLUTIONS — One Page Website
   Color scheme drawn from logo:
   - Deep Black:    #05070d
   - Panel Black:   #0b1020
   - Electric Blue: #1e9cff (primary)
   - Deep Blue:     #0a84ff
   - Silver/White:  #e9eef7
   - Muted:         #8892a6
   ============================================ */

:root {
  --bg:            #05070d;
  --bg-soft:       #0b1020;
  --bg-card:       #0f1628;
  --border:        rgba(30, 156, 255, 0.18);
  --primary:       #1e9cff;
  --primary-deep:  #0a84ff;
  --primary-glow:  rgba(30, 156, 255, 0.35);
  --text:          #e9eef7;
  --text-dim:      #8892a6;
  --white:         #ffffff;
  --radius:        14px;
  --radius-sm:     8px;
  --maxw:          1180px;
  --shadow:        0 12px 40px rgba(0, 0, 0, 0.45);
  --shadow-blue:   0 10px 30px rgba(30, 156, 255, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  padding-top: 88px;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.5px;
  color: var(--white);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.accent {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(30, 156, 255, 0.05);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(30,156,255,0.45); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--primary);
  padding: 10px 20px;
}
.btn-outline:hover { background: var(--primary); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 68px; width: auto; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color .2s;
}
.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width .25s ease;
}
.nav-links a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; }
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-burger span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: .3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(30,156,255,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(10,132,255,0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  z-index: -1;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,156,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,156,255,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text .lead {
  color: var(--text-dim);
  font-size: 1.1rem;
  margin: 22px 0 32px;
  max-width: 560px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.trust-row {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.trust-row strong {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  color: var(--primary);
}
.trust-row span { font-size: 0.85rem; color: var(--text-dim); }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 24px;
}
.hero-logo {
  position: relative;
  z-index: 2;
  max-width: 90%;
  border-radius: 24px;
  filter: drop-shadow(0 0 40px var(--primary-glow));
  animation: float 6s ease-in-out infinite;
}
.glow-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid var(--border);
  box-shadow:
    inset 0 0 80px rgba(30,156,255,0.15),
    0 0 80px rgba(30,156,255,0.1);
  animation: spin 30s linear infinite;
}
.glow-ring::before,
.glow-ring::after {
  content: '';
  position: absolute;
  inset: -20px;
  border: 1px dashed rgba(30,156,255,0.2);
  border-radius: 50%;
}
.glow-ring::after { inset: -50px; border-style: solid; opacity: .5; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-soft); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head p {
  color: var(--text-dim);
  margin-top: 14px;
  font-size: 1.05rem;
}

/* ---------- Services Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-blue);
}
.card:hover::before { opacity: 1; }

.card-icon {
  font-size: 2rem;
  width: 60px; height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30,156,255,0.1);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p  { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  color: var(--text-dim);
  margin: 22px 0;
  font-size: 1.05rem;
}
.check-list { list-style: none; }
.check-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--text);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 10px;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform .25s, border-color .25s;
}
.stat-card:hover { transform: translateY(-4px); border-color: var(--primary); }
.stat-card strong {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 6px;
}
.stat-card span { font-size: 0.85rem; color: var(--text-dim); }

/* ---------- Process / Steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.steps li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  position: relative;
  transition: transform .25s, border-color .25s;
}
.steps li:hover { transform: translateY(-4px); border-color: var(--primary); }
.step-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--text-dim); font-size: 0.95rem; }

/* ---------- CTA / Contact ---------- */
.section-cta {
  background:
    radial-gradient(ellipse at top, rgba(30,156,255,0.15), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.cta-text p {
  color: var(--text-dim);
  margin-top: 18px;
  font-size: 1.05rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
  letter-spacing: 0.3px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,156,255,0.15);
}

.form-status {
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--text-dim);
  min-height: 1.2em;
}
.form-status.is-info { color: var(--primary); }
.form-status a { color: var(--primary); text-decoration: underline; }

/* ---------- Success Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .25s ease;
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 13, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 40px 32px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(30, 156, 255, 0.25);
  transform: translateY(20px) scale(0.96);
  transition: transform .3s cubic-bezier(.2,.9,.3,1.2);
}
.modal.is-open .modal-card { transform: translateY(0) scale(1); }

.modal-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: var(--white);
  box-shadow: 0 10px 30px rgba(30, 156, 255, 0.45);
  animation: pop .45s cubic-bezier(.2,.9,.3,1.4);
}
@keyframes pop {
  0%   { transform: scale(0);   opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

.modal-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.modal-card p {
  color: var(--text-dim);
  margin-bottom: 24px;
  font-size: 0.98rem;
}
.modal-card .btn { min-width: 180px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg);
  padding-top: 70px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
}
.footer-brand img { height: 48px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-dim); max-width: 280px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer-cols h4 {
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.footer-cols a {
  display: block;
  color: var(--text-dim);
  padding: 6px 0;
  font-size: 0.92rem;
  transition: color .2s;
}
.footer-cols a:hover { color: var(--primary); }

.footer-bottom {
  padding: 22px 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  body { padding-top: 80px; }

  .hero,
  .section,
  .section-cta,
  .footer { overflow-x: hidden; }

  .hero-inner,
  .about-grid,
  .cta-inner,
  .footer-inner { grid-template-columns: 1fr; }

  .hero { padding: 50px 0 70px; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .section { padding: 70px 0; }
  .trust-row { gap: 24px; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .nav { height: 80px; padding: 6px 0; position: relative; }
  .nav-logo { padding-left: 8px; }
  .nav-logo img { height: 64px; }
  .nav-burger { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 18px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav-toggle:checked ~ .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 540px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2rem; }
  .contact-form { padding: 24px; }
}
