/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #060b1a;
  color: #e2e8f0;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== Typography ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p { color: #94a3b8; }

/* ===== Custom Font Import ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== Navigation ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(6, 11, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(59, 130, 246, 0.12);
  padding: 0.6rem 0;
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-size: 1.4rem; font-weight: 800; color: #f1f5f9; text-decoration: none;
  display: flex; align-items: center; gap: 0.35rem;
  letter-spacing: -0.02em;
  z-index: 1001;
}
.logo span { color: #3b82f6; }
.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a {
  text-decoration: none; color: #94a3b8; font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: #f1f5f9; }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: #3b82f6; transition: width 0.3s; border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* ===== Hamburger ===== */
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px; z-index: 1001;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: #f1f5f9;
  transition: all 0.3s; border-radius: 1px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; padding: 6rem 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse 60% 50% at 80% 70%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
}
.hero-grid-bg {
  position: absolute; inset: 0; opacity: 0.25;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 70%);
}
.hero-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  top: -200px; right: -100px; animation: float 8s ease-in-out infinite;
}
.hero-glow-2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  bottom: -100px; left: -50px; animation: float 10s ease-in-out infinite 1s;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
.hero-geo-circle {
  position: absolute; width: 300px; height: 300px; border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 50%; top: 15%; left: -100px; animation: rotate 30s linear infinite;
}
.hero-geo-diamond {
  position: absolute; width: 160px; height: 160px;
  border: 1px solid rgba(6, 182, 212, 0.12);
  transform: rotate(45deg); bottom: 20%; right: 8%;
  animation: rotate 25s linear infinite reverse;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-content {
  position: relative; z-index: 1;
}
.hero-tag {
  display: inline-block; padding: 0.4rem 1rem;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 100px; font-size: 0.8rem; font-weight: 600;
  color: #60a5fa; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-content h1 { margin-bottom: 1.2rem; color: #f1f5f9; }
.hero-content h1 span {
  background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: 1.1rem; color: #94a3b8; max-width: 560px; margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  text-decoration: none; color: #64748b; font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; z-index: 1;
}
.hero-scroll-line {
  width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(59, 130, 246, 0.5), transparent);
  animation: pulseLine 2s ease-in-out infinite;
}
@keyframes pulseLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); transform-origin: top; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.8rem; border-radius: 8px; font-size: 0.95rem;
  font-weight: 600; text-decoration: none; cursor: pointer; border: none;
  transition: all 0.3s; letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff; box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.45);
}
.btn-outline {
  background: transparent; color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.3);
}
.btn-outline:hover {
  border-color: #3b82f6; color: #fff;
  background: rgba(59, 130, 246, 0.08);
}
.btn-lg { padding: 0.9rem 2.2rem; font-size: 1rem; }

/* ===== Section Styles ===== */
section { padding: 7rem 0; position: relative; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-block; padding: 0.3rem 0.9rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px; font-size: 0.75rem; font-weight: 600;
  color: #60a5fa; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-header h2 { color: #f1f5f9; margin-bottom: 0.8rem; }
.section-header p { max-width: 600px; margin: 0 auto; }

/* ===== Services ===== */
.services { background: #080f28; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.service-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 16px; padding: 2rem; position: relative;
  overflow: hidden;
  transition: all 0.4s;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.service-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.1);
}
.service-card:hover::before { opacity: 1; }
.service-number {
  position: absolute; top: 1.2rem; right: 1.5rem;
  font-size: 3.5rem; font-weight: 900; color: #0f172a;
  line-height: 1;
}
.service-icon {
  width: 48px; height: 48px; margin-bottom: 1.2rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.service-icon svg { width: 24px; height: 24px; stroke: #3b82f6; fill: none; stroke-width: 1.5; }
.service-card h3 { color: #f1f5f9; margin-bottom: 0.6rem; }
.service-card p { font-size: 0.9rem; }

/* ===== About ===== */
.about { background: #0a1026; }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.about-highlight {
  color: #60a5fa; font-weight: 600;
  background: rgba(59, 130, 246, 0.08); padding: 0.1rem 0.4rem; border-radius: 4px;
}
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.about-stat {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 16px; padding: 2rem 1.5rem; text-align: center;
  transition: all 0.3s;
}
.about-stat:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.about-stat-number {
  font-size: 2.4rem; font-weight: 800;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 0.4rem;
}
.about-stat-label { font-size: 0.85rem; color: #94a3b8; font-weight: 500; }

/* ===== Industries ===== */
.industries { background: #080f28; }
.industries-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.industry-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(6, 182, 212, 0.08);
  border-radius: 16px; padding: 2rem 1.5rem; text-align: center;
  transition: all 0.4s;
}
.industry-card:hover {
  border-color: rgba(6, 182, 212, 0.3);
  background: rgba(15, 23, 42, 0.8);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}
.industry-icon {
  width: 56px; height: 56px; margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(6, 182, 212, 0.1));
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
}
.industry-icon svg { width: 28px; height: 28px; stroke: #06b6d4; fill: none; stroke-width: 1.5; }
.industry-card h3 { color: #f1f5f9; margin-bottom: 0.5rem; font-size: 1.05rem; }
.industry-card p { font-size: 0.85rem; line-height: 1.6; }

/* ===== CTA / Contact ===== */
.cta { background: #0a1026; }
.cta-inner {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(6, 182, 212, 0.04) 100%);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: 24px; padding: 4rem 3rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
}
.cta-inner h2 { color: #f1f5f9; margin-bottom: 1rem; }
.cta-inner h2 span {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-inner p { max-width: 550px; margin: 0 auto 2rem; }
.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { background: #040916; border-top: 1px solid rgba(59, 130, 246, 0.08); padding: 4rem 0 2rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-col h4 { color: #f1f5f9; margin-bottom: 1.2rem; font-size: 0.95rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  text-decoration: none; color: #64748b; font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #3b82f6; }
.footer-contact p { font-size: 0.88rem; margin-bottom: 0.5rem; }
.footer-contact p strong { color: #cbd5e1; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; border-top: 1px solid rgba(59, 130, 246, 0.06);
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a {
  text-decoration: none; color: #64748b; font-size: 0.82rem; transition: color 0.2s;
}
.footer-bottom-links a:hover { color: #3b82f6; }

/* ===== Content Page (Privacy & Terms) ===== */
.content-page { padding: 8rem 0 5rem; min-height: 100vh; }
.content-article { max-width: 820px; margin: 0 auto; }
.content-article h1 {
  color: #f1f5f9; margin-bottom: 1rem; font-size: 2.4rem;
}
.content-meta {
  margin-bottom: 2.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}
.content-meta p { font-size: 0.88rem; color: #64748b; margin-bottom: 0.3rem; }
.content-article h2 {
  color: #f1f5f9; margin-top: 2.5rem; margin-bottom: 1rem;
  font-size: 1.4rem; padding-top: 1rem;
}
.content-article h3 {
  color: #cbd5e1; margin-top: 1.5rem; margin-bottom: 0.6rem; font-size: 1.1rem;
}
.content-article p {
  color: #94a3b8; margin-bottom: 1rem; font-size: 0.95rem;
}
.content-article strong { color: #e2e8f0; }

/* ===== Reveal Animations ===== */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
}
.reveal { transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right { transform: translateX(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }
.reveal-delay-8 { transition-delay: 0.8s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: rgba(6, 11, 26, 0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 6rem 2rem 2rem; gap: 1.5rem;
    transition: right 0.4s ease; border-left: 1px solid rgba(59, 130, 246, 0.1);
  }
  .nav-links.active { right: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 0.95rem; }
  .section-header h2 { font-size: 1.5rem; }
  .cta-inner { padding: 2.5rem 1.5rem; }
  .content-article h1 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .btn-group { flex-direction: column; align-items: center; }
  .industries-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
