/* ===== CSS Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-bg: #0a0e17;
  --color-bg-alt: #0f1623;
  --color-bg-card: #131a2a;
  --color-surface: #182032;
  --color-border: #1e2840;
  --color-accent: #3b82f6;
  --color-accent-glow: #60a5fa;
  --color-accent-deep: #1d4ed8;
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;
  --color-white: #ffffff;
  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger: #ef4444;
  --gradient-primary: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
  --gradient-dark: linear-gradient(180deg, #0a0e17 0%, #0f1623 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.5);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 30px rgba(59,130,246,0.25);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.25; color: var(--color-white); }
a { color: var(--color-accent-glow); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ===== Utility ===== */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-padding { padding: 5rem 0; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent-glow);
  margin-bottom: 0.75rem;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,14,23,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.navbar-logo { display: flex; align-items: center; gap: 0.5rem; }
.navbar-logo-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
}
.navbar-logo-icon svg { width: 22px; height: 22px; }
.navbar-logo-text { font-size: 1.3rem; font-weight: 800; color: var(--color-white); letter-spacing: -0.02em; }
.navbar-links { display: flex; align-items: center; gap: 2rem; }
.navbar-links a {
  color: var(--color-text-muted); font-size: 0.9rem; font-weight: 600;
  transition: color 0.2s; position: relative;
}
.navbar-links a:hover, .navbar-links a.active { color: var(--color-white); }
.navbar-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--color-accent);
  border-radius: 1px; transition: width 0.25s ease;
}
.navbar-links a:hover::after, .navbar-links a.active::after { width: 100%; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 1.5rem; font-size: 0.9rem; font-weight: 700;
  background: var(--gradient-primary); color: var(--color-white) !important;
  border: none; border-radius: 50px; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-primary::after { display: none !important; }

/* ===== Hero ===== */
.hero {
  position: relative; padding: 8rem 0 6rem;
  background: var(--gradient-dark); overflow: hidden;
  min-height: 90vh; display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; top: -300px; right: -300px;
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -200px; left: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.3);
  border-radius: 50px; padding: 0.4rem 1rem; font-size: 0.8rem;
  font-weight: 600; color: var(--color-accent-glow); margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-success); box-shadow: 0 0 8px var(--color-success);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title { font-size: 3.2rem; margin-bottom: 1.25rem; letter-spacing: -0.03em; }
.hero-desc { font-size: 1.15rem; color: var(--color-text-muted); margin-bottom: 2rem; max-width: 480px; }
.hero-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.65rem 1.5rem; font-size: 0.9rem; font-weight: 700;
  background: transparent; color: var(--color-white);
  border: 2px solid var(--color-border); border-radius: 50px; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--color-accent-glow); background: rgba(59,130,246,0.08); }
.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-geo {
  width: 100%; max-width: 420px; aspect-ratio: 1;
  background: rgba(19,26,42,0.8); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-geo::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 40% 40%, rgba(59,130,246,0.1) 0%, transparent 60%);
}
.hero-geo-icon { font-size: 10rem; opacity: 0.15; color: var(--color-accent-glow); user-select: none; }
.hero-geo-badge {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: 50px; padding: 0.5rem 1.25rem; font-size: 0.85rem;
  font-weight: 600; color: var(--color-white); white-space: nowrap;
  box-shadow: var(--shadow-md);
}

/* ===== Stats ===== */
.stats { padding: 0 0 5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-card {
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2rem 1.5rem;
  text-align: center; transition: transform 0.25s, box-shadow 0.25s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--color-white); margin-bottom: 0.3rem; }
.stat-label { font-size: 0.85rem; font-weight: 600; color: var(--color-text-dim); text-transform: uppercase; letter-spacing: 0.08em; }

/* ===== Services ===== */
.services { background: var(--color-bg-alt); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.section-header p { color: var(--color-text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 2rem 1.75rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-primary); opacity: 0; transition: opacity 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.4);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; font-size: 1.5rem;
  background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.2);
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.service-card p { color: var(--color-text-muted); font-size: 0.93rem; }

/* ===== About ===== */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.about-content h2 { font-size: 2.5rem; margin-bottom: 1.25rem; letter-spacing: -0.02em; }
.about-content p { color: var(--color-text-muted); margin-bottom: 1rem; font-size: 1.02rem; }
.about-features { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-feature {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem; background: var(--color-bg-card);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
}
.about-feature-check {
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: rgba(34,197,94,0.15); color: var(--color-success);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}
.about-feature h4 { font-size: 0.95rem; margin-bottom: 0.15rem; }
.about-feature p { font-size: 0.8rem; color: var(--color-text-dim); margin-bottom: 0; }
.about-visual {
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: 2rem;
  position: relative; overflow: hidden;
}
.about-visual::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 30%, rgba(59,130,246,0.08) 0%, transparent 60%);
}
.about-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; position: relative; }
.about-contact-item {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 1.25rem; text-align: center;
}
.about-contact-item .label { font-size: 0.75rem; color: var(--color-text-dim); text-transform: uppercase; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.about-contact-item .value { font-size: 0.95rem; color: var(--color-white); font-weight: 600; word-break: break-word; }

/* ===== Process ===== */
.process { background: var(--color-bg-alt); }
.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  counter-reset: process;
}
.process-step {
  position: relative; padding: 2rem 1.5rem;
  background: var(--color-bg-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); text-align: center;
  counter-increment: process;
}
.process-step-number {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.1rem; font-weight: 800; color: var(--color-white);
  background: var(--gradient-primary);
  box-shadow: 0 0 20px rgba(59,130,246,0.3);
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.process-step p { color: var(--color-text-muted); font-size: 0.88rem; }

/* ===== CTA ===== */
.cta {
  background: var(--color-bg-card); border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border); text-align: center;
}
.cta h2 { font-size: 2.2rem; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.cta p { color: var(--color-text-muted); font-size: 1.05rem; max-width: 550px; margin: 0 auto 1.75rem; }

/* ===== Footer ===== */
.footer {
  background: var(--color-bg); border-top: 1px solid var(--color-border);
  padding: 3.5rem 0 2rem; color: var(--color-text-muted); font-size: 0.9rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-brand p { margin-top: 0.75rem; color: var(--color-text-dim); font-size: 0.88rem; }
.footer-links h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; color: var(--color-text-dim); }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links ul li a { color: var(--color-text-muted); font-size: 0.9rem; transition: color 0.2s; }
.footer-links ul li a:hover { color: var(--color-white); }
.footer-bottom {
  padding-top: 1.5rem; border-top: 1px solid var(--color-border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; color: var(--color-text-dim); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.82rem; color: var(--color-text-dim); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--color-white); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-title { font-size: 2.5rem; }
  .hero-desc { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .navbar-links { display: none; }
  .hero-title { font-size: 2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section-header h2 { font-size: 1.8rem; }
  .about-content h2 { font-size: 1.8rem; }
}
