:root {
  --bg-primary: #0b1120;
  --bg-secondary: #111827;
  --bg-card: #1a2540;
  --bg-card-hover: #1f2d4a;
  --bg-input: #0f1a2e;
  --border-color: #253355;
  --border-accent: #334155;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-deep: #0284c7;
  --accent-glow: #7dd3fc;
  --accent-teal: #2dd4bf;
  --accent-teal-deep: #0d9488;
  --danger: #f87171;
  --success: #4ade80;
  --warning: #fbbf24;
  --gradient-hero: linear-gradient(135deg, #0b1120 0%, #0f1b30 40%, #0a1628 100%);
  --gradient-accent: linear-gradient(135deg, #38bdf8, #818cf8);
  --gradient-card: linear-gradient(180deg, #1a2540 0%, #152038 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 20px rgba(56,189,248,0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff;
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2.25rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent-glow);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 860px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #0b1120;
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: #0a0f1c;
  box-shadow: var(--shadow-md);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.nav-logo:hover { color: #ffffff; }
.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #0b1120;
  font-weight: 900;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.925rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: rgba(56,189,248,0.1);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 1px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56,189,248,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(129,140,248,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.hero-content h1 .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content .subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-graphic {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: var(--gradient-accent);
  opacity: 0.08;
  filter: blur(60px);
  position: absolute;
}
.hero-visual-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-stat {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin: 0.5rem;
  text-align: center;
  min-width: 140px;
}
.hero-stat .stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
}
.hero-stat .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: #0b1120;
}
.btn-primary:hover {
  background: var(--accent-glow);
  color: #0b1120;
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-accent);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--accent);
  padding: 0.5rem 1rem;
}
.btn-ghost:hover {
  background: rgba(56,189,248,0.1);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 5rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.8rem;
  background: rgba(56,189,248,0.1);
  border-radius: 50px;
}
.section-header h2 {
  margin-bottom: 0.75rem;
}
.section-header .section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}
.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* ============================================
   CARDS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(56,189,248,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  color: var(--accent);
}
.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ============================================
   STATS
   ============================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}
.stat-card .stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.stat-card .stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ============================================
   PROCESS / STEPS
   ============================================ */
.steps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.step-item {
  position: relative;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  counter-increment: step;
}
.step-item::before {
  content: '0' counter(step);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  margin-bottom: 1rem;
}
.step-item h4 {
  margin-bottom: 0.5rem;
}
.step-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ============================================
   FEATURE LIST
   ============================================ */
.feature-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.feature-list li {
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.testimonial-author {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  font-style: normal;
}
.testimonial-role {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: normal;
}

/* ============================================
   TWO COLUMN
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.two-col-image {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 350px;
  position: relative;
  overflow: hidden;
}
.two-col-image .img-placeholder {
  font-size: 5rem;
  color: var(--border-accent);
  position: relative;
  z-index: 1;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-list {
  list-style: none;
}
.contact-info-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-icon {
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}
.contact-info-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.contact-info-value {
  color: var(--text-primary);
  font-weight: 500;
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.1);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* ============================================
   POLICY / LEGAL PAGES
   ============================================ */
.policy-page {
  padding: 8rem 0 5rem;
}
.policy-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}
.policy-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.policy-header .policy-date {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.policy-body {
  max-width: 800px;
  margin: 0 auto;
}
.policy-body h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}
.policy-body h3 {
  font-size: 1.15rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}
.policy-body p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.policy-body ul,
.policy-body ol {
  margin: 0.75rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
}
.policy-body ul li,
.policy-body ol li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}
.policy-body strong {
  color: #ffffff;
  font-weight: 600;
}
.policy-body a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
}
.policy-body a:hover {
  border-bottom-color: var(--accent);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: 8rem 0 4rem;
  text-align: center;
  background: var(--gradient-hero);
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}
.page-hero h1 {
  font-size: 2.75rem;
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.footer-brand .footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  display: block;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.6rem;
}
.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover {
  color: var(--accent);
}
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   SERVICE DETAIL CARDS (large)
   ============================================ */
.service-detail-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition);
}
.service-detail-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}
.service-detail-icon {
  width: 64px;
  height: 64px;
  background: rgba(56,189,248,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  flex-shrink: 0;
}
.service-detail-card h3 {
  margin-bottom: 0.5rem;
}
.service-detail-card p {
  color: var(--text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ============================================
   ALERT / NOTICE
   ============================================ */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}
.alert-info {
  background: rgba(56,189,248,0.1);
  border-left: 3px solid var(--accent);
  color: var(--text-secondary);
}
.alert-warning {
  background: rgba(251,191,36,0.1);
  border-left: 3px solid var(--warning);
  color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 2rem; }
  .hero-content { text-align: center; }
  .hero-content .subtitle { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  .hero { padding: 7rem 0 4rem; }
  .hero-content h1 { font-size: 2.25rem; }
  .page-hero { padding: 7rem 0 3rem; }
  .page-hero h1 { font-size: 2rem; }
  .policy-page { padding: 6rem 0 3rem; }
  .policy-header h1 { font-size: 1.75rem; }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0b1120;
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 1rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 0.75rem 1rem; }
  .nav-toggle { display: block; }

  .cards-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-list { grid-template-columns: 1fr; }
  .service-detail-card { grid-template-columns: 1fr; gap: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-row { grid-template-columns: repeat(1, 1fr); }
  .section { padding: 3rem 0; }
}
