/* ===== CSS Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0b1622;
  color: #f1f5f9;
  line-height: 1.72;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: #38bdf8; text-decoration: none; transition: color 0.25s; }
a:hover { color: #7dd3fc; }
ul { list-style: none; }

/* ===== Utility Classes ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 28px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.25s ease;
  cursor: pointer;
  text-align: center;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #eab308, #f59e0b);
  color: #0b1622;
  box-shadow: 0 4px 20px rgba(234, 179, 8, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #0b1622;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(234, 179, 8, 0.45);
}
.btn-outline {
  background: transparent;
  color: #f1f5f9;
  border: 2px solid #334155;
}
.btn-outline:hover {
  border-color: #eab308;
  color: #eab308;
  transform: translateY(-2px);
}
.btn-white {
  background: #ffffff;
  color: #0b1622;
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}
.btn-white:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

/* ===== Header & Navigation ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #0f1d2d;
  border-bottom: 1px solid #1e293b;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled {
  background: #0b1622;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.6);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}
.nav-logo {
  font-size: 1.55rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #eab308, #f59e0b);
  color: #0b1622;
  border-radius: 10px;
  font-weight: 900;
  font-size: 1.1rem;
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #eab308;
  transition: width 0.3s ease;
}
.nav-links a:hover { color: #f1f5f9; }
.nav-links a:hover::after { width: 100%; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #f1f5f9;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px;
  background: radial-gradient(ellipse at 20% 30%, rgba(234, 179, 8, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(56, 189, 248, 0.07) 0%, transparent 50%),
              #0b1622;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-content { max-width: 580px; }
.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.25);
  border-radius: 50px;
  color: #fbbf24;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -1px;
}
.hero h1 span {
  background: linear-gradient(135deg, #eab308, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 18px; flex-wrap: wrap; }

/* Hero Visual Card */
.hero-visual { display: flex; justify-content: center; }
.hero-card {
  background: #111d2e;
  border: 1px solid #1e293b;
  border-radius: 20px;
  padding: 36px 32px;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-card-dot {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.hero-card-label { font-weight: 700; color: #f1f5f9; font-size: 1.05rem; }
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.hero-stat {
  background: #162234;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #eab308;
}
.hero-stat-label {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-card-bar {
  height: 4px;
  background: #1e293b;
  border-radius: 2px;
  overflow: hidden;
}
.hero-card-bar-fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, #eab308, #f59e0b);
  border-radius: 2px;
}

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-alt { background: #0f1d2d; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 50px;
  color: #38bdf8;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}
.section-header p {
  font-size: 1.1rem;
  color: #94a3b8;
  line-height: 1.7;
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #111d2e;
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 36px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: #eab308;
  box-shadow: 0 12px 40px rgba(234, 179, 8, 0.15);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.si-gold { background: rgba(234, 179, 8, 0.15); color: #fbbf24; }
.si-blue { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.si-green { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.si-rose { background: rgba(244, 63, 94, 0.15); color: #fb7185; }
.si-purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.si-teal { background: rgba(20, 184, 166, 0.15); color: #14b8a6; }
.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 12px;
}
.service-card p { color: #94a3b8; font-size: 0.95rem; line-height: 1.65; }

/* ===== Features Section ===== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.features-header { margin-bottom: 32px; }
.features-header .section-tag { margin-bottom: 12px; }
.features-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}
.features-header p { color: #94a3b8; font-size: 1.05rem; }
.feature-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #1e293b;
}
.feature-item:last-child { border-bottom: none; }
.feature-check {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  font-weight: 700;
  font-size: 0.9rem;
}
.feature-text h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 6px;
}
.feature-text p { color: #94a3b8; font-size: 0.93rem; line-height: 1.6; }

/* Tech Tags Panel */
.tech-panel {
  background: #111d2e;
  border: 1px solid #1e293b;
  border-radius: 20px;
  padding: 32px;
}
.tech-panel h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 8px;
}
.tech-panel>p { color: #94a3b8; font-size: 0.93rem; margin-bottom: 24px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-tag {
  display: inline-block;
  padding: 8px 16px;
  background: #162234;
  border: 1px solid #1e293b;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s;
}
.tech-tag:hover {
  border-color: #eab308;
  color: #fbbf24;
  background: rgba(234, 179, 8, 0.1);
}

/* ===== Process Section ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-step {
  background: #111d2e;
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}
.process-step:hover { transform: translateY(-4px); }
.process-num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #eab308, #f59e0b);
  color: #0b1622;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 18px;
}
.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 10px;
}
.process-step p { color: #94a3b8; font-size: 0.9rem; line-height: 1.6; }

/* ===== CTA Banner ===== */
.cta-banner {
  padding: 90px 0;
  text-align: center;
  background: linear-gradient(135deg, #111d2e 0%, #0f1d2d 50%, #111d2e 100%);
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
}
.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 640px;
  margin: 0 auto 32px;
}
.cta-buttons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ===== Contact Section ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}
.contact-info>p {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  font-size: 1.2rem;
}
.contact-detail-text strong {
  display: block;
  color: #f1f5f9;
  font-size: 0.95rem;
  margin-bottom: 2px;
}
.contact-detail-text span {
  color: #94a3b8;
  font-size: 0.93rem;
}

/* Contact Form */
.contact-form-wrap {
  background: #111d2e;
  border: 1px solid #1e293b;
  border-radius: 20px;
  padding: 36px;
}
.contact-form-wrap h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  background: #0f1d2d;
  border: 1px solid #1e293b;
  border-radius: 10px;
  color: #f1f5f9;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.25s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #eab308;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  display: none;
}
.form-status.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
  display: block;
}
.form-status.error {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fb7185;
  display: block;
}

/* ===== Page Hero (Privacy/Terms) ===== */
.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  background: #0f1d2d;
  border-bottom: 1px solid #1e293b;
}
.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}
.page-hero p { color: #94a3b8; font-size: 1.1rem; }

/* ===== Legal Content ===== */
.legal-content {
  padding: 70px 0 90px;
}
.legal-content .last-updated {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid #1e293b;
}
.legal-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-top: 8px;
}
.legal-content h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-top: 28px;
  margin-bottom: 12px;
}
.legal-content p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.legal-content ul {
  margin-bottom: 20px;
  padding-left: 24px;
}
.legal-content ul li {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 8px;
  list-style-type: disc;
}
.legal-content strong { color: #f1f5f9; }
.legal-content a { color: #38bdf8; }

/* ===== Footer ===== */
.footer {
  background: #0a1220;
  border-top: 1px solid #1e293b;
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1e293b;
}
.footer-brand h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}
.footer-brand p { color: #64748b; font-size: 0.95rem; line-height: 1.65; }
.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #64748b; font-size: 0.93rem; transition: color 0.25s; }
.footer-links a:hover { color: #eab308; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span { color: #475569; font-size: 0.9rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #475569; font-size: 0.88rem; }
.footer-bottom-links a:hover { color: #eab308; }

/* ===== Scroll Animations ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 2.6rem; }
  .hero-visual { order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; gap: 40px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #0f1d2d;
    border-bottom: 1px solid #1e293b;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero h1 { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 2rem; }
  .cta-banner h2 { font-size: 1.8rem; }
  .page-hero h1 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-buttons { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
