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

:root {
  --bg: #0a0a0a;
  --bg-alt: #111;
  --text: #e8e8e8;
  --text-muted: #888;
  --accent: #fff;
  --card-bg: #161616;
  --border: #222;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* Button */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s;
}

.btn:hover {
  background: #1a1a1a;
  border-color: #444;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  text-align: center;
}

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* AI section */
.ai-lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  color: #555;
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
}

.pillar h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.pillar p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Geometric animation */
.geo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.geo {
  position: relative;
  width: 240px;
  height: 240px;
}

.geo-ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.geo-ring-1 {
  width: 240px;
  height: 240px;
  animation: spin 20s linear infinite;
  border-color: #1a1a1a;
}

.geo-ring-2 {
  width: 160px;
  height: 160px;
  animation: spin 14s linear infinite reverse;
  border-color: #222;
}

.geo-ring-3 {
  width: 80px;
  height: 80px;
  animation: spin 8s linear infinite;
  border-color: #2a2a2a;
}

.geo-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #444;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.geo-ring::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: #333;
  border-radius: 50%;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left .logo {
  font-size: 1rem;
}

.footer-center {
  text-align: center;
}

.footer-center p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.btn-sm {
  padding: 10px 28px;
  font-size: 0.85rem;
}

.footer-right {
  text-align: right;
}

.footer-address {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.footer-right p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 600px) {
  .nav-links {
    gap: 20px;
  }

  .nav-links a {
    font-size: 0.82rem;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .pillars {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-right {
    text-align: center;
  }

  .geo {
    width: 180px;
    height: 180px;
  }

  .geo-ring-1 { width: 180px; height: 180px; }
  .geo-ring-2 { width: 120px; height: 120px; }
  .geo-ring-3 { width: 60px; height: 60px; }
}
