/* ===== ARKHOLD TECHNOLOGIES — STYLESHEET ===== */

:root {
  /* Brand colors — derived from logo blue */
  --blue-50: #f0f6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #4a8ed4;
  --blue-600: #3b7cc4;
  --blue-700: #2d6ab4;
  --blue-800: #1e4d7b;
  --blue-900: #1a3a5c;

  /* Neutrals */
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic */
  --bg-primary: #f0f4f8;
  --bg-alt: #e6ecf2;
  --text-primary: var(--gray-800);
  --text-secondary: var(--gray-500);
  --text-heading: var(--gray-900);
  --accent: var(--blue-500);
  --accent-hover: var(--blue-600);
  --accent-light: var(--blue-50);

  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;
  --section-py: 120px;
  --radius: 12px;
  --radius-sm: 8px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ===== UTILITIES ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(74, 142, 212, 0.3);
}
.btn-outline {
  border: 1.5px solid var(--gray-300);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(240, 244, 248, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-heading);
}
.nav-logo-img { width: 36px; height: 36px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.2s;
  font-weight: 450;
}
.nav-links a:hover { color: var(--text-heading); }
.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
}
.nav-cta:hover {
  background: var(--accent-hover) !important;
}
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-heading);
  transition: all 0.3s;
  border-radius: 1px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 142, 212, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 142, 212, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(74, 142, 212, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 32px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-heading);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--blue-400), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-py) 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== STATS / ABOUT ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.stat { text-align: center; }
.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: var(--radius);
  color: var(--accent);
}
.stat-icon svg { width: 26px; height: 26px; }
.stat h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.stat p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== DOMAINS GRID ===== */
.domains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.domain-card {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.domain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-400), var(--blue-300));
  opacity: 0;
  transition: opacity 0.3s;
}
.domain-card:hover {
  border-color: var(--blue-200);
  box-shadow: 0 12px 40px rgba(74, 142, 212, 0.08);
  transform: translateY(-2px);
}
.domain-card:hover::before { opacity: 1; }
.domain-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-300);
  margin-bottom: 16px;
  font-family: 'Inter', monospace;
}
.domain-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 12px;
}
.domain-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}
.domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.domain-tags span {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--accent-light);
  color: var(--blue-700);
}

/* ===== VISION ===== */
.vision-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.vision-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.vision-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.vision-content em { color: var(--accent); font-style: normal; font-weight: 500; }
.vision-content strong { color: var(--text-heading); }

/* Animated orb */
.vision-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.vision-orb {
  position: relative;
  width: 320px;
  height: 320px;
}
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.orb-ring-1 {
  width: 100%;
  height: 100%;
  border-color: var(--blue-100);
  animation: orbSpin 20s linear infinite;
}
.orb-ring-2 {
  width: 70%;
  height: 70%;
  border-color: var(--blue-200);
  animation: orbSpin 15s linear infinite reverse;
}
.orb-ring-3 {
  width: 45%;
  height: 45%;
  border-color: var(--blue-300);
  animation: orbSpin 10s linear infinite;
}
.orb-core {
  position: absolute;
  width: 20%;
  height: 20%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--blue-400), var(--blue-600));
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(74, 142, 212, 0.3);
}
@keyframes orbSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
/* Add slight tilt to make rotation visible */
.orb-ring-1 { border-style: dashed; border-width: 1px; }
.orb-ring-2 { border-style: dotted; border-width: 1.5px; }

/* ===== CONTACT ===== */
.contact-block {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.contact-block h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 16px;
}
.contact-block .section-desc {
  margin-bottom: 36px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--gray-200);
}
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
}
.footer-logo { width: 28px; height: 28px; }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .domains-grid { grid-template-columns: repeat(2, 1fr); }
  .vision-block { gap: 48px; }
}

@media (max-width: 768px) {
  :root {
    --section-py: 80px;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--gray-200);
  }
  .nav-links.open {
    display: flex;
    background: rgba(240, 244, 248, 0.98);
  }
  .nav-mobile-toggle { display: flex; }
  .nav-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-mobile-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .stats-row { grid-template-columns: 1fr; gap: 32px; }
  .domains-grid { grid-template-columns: 1fr; }
  .vision-block {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .vision-orb { width: 240px; height: 240px; }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero { padding-top: 100px; }
  .hero-logo { width: 60px; height: 60px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
