/* =========================================
   AI-RA — Styles
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #050d18;
  --bg2: #09152a;
  --surface: #0d1f3c;
  --accent: #00e5ff;
  --accent2: #0099cc;
  --text: #e8f4ff;
  --muted: #7a9ab8;
  --border: rgba(0, 229, 255, 0.15);
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  background: transparent;
  transition: background 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(5,13,24,0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -1px;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.btn-nav {
  background: var(--accent) !important;
  color: var(--bg) !important;
  padding: 0.45rem 1.2rem !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}
.btn-nav:hover { opacity: 0.85 !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-menu.open { display: flex; max-height: 400px; }
.mobile-menu a {
  padding: 1rem 2rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: float 8s ease-in-out infinite;
}
.blob1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #00e5ff, #0055aa);
  top: -200px; right: -100px;
}
.blob2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #0044cc, #001133);
  bottom: -100px; left: -100px;
  animation-delay: -4s;
}
@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 8rem 2rem 4rem;
  max-width: 900px;
}
.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem 1rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}
#hero h1 {
  font-family: var(--font-head);
  font-size: clamp(4.5rem, 14vw, 10rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -4px;
  color: var(--text);
  animation: fadeUp 0.8s 0.1s ease both;
}
#hero h1 .accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--muted);
  margin: 1.5rem auto 0.75rem;
  line-height: 1.5;
  max-width: 600px;
  animation: fadeUp 0.8s 0.2s ease both;
}
.hero-tagline {
  font-style: italic;
  color: var(--accent);
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s 0.25s ease both;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  animation: fadeUp 0.8s 0.3s ease both;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
  padding: 0.8rem 2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-2px); }
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.8rem 2rem;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--accent); background: rgba(0,229,255,0.05); }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.4s ease both;
}
.stat { text-align: center; }
.stat .num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat .label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
}
.divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  z-index: 1;
}
.scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SECTIONS ===== */
.section { padding: 7rem 2rem; }
.dark-section { background: var(--bg2); }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-label.light { color: var(--accent); }

h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 2.5rem;
  color: var(--text);
}
.light-h { color: var(--text); }
.accent { color: var(--accent); }

.section-intro {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 620px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ===== PROBLEMA ===== */
.problema-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.problema-text p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
}
.issue-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.issue-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.issue-list .icon {
  color: #ff6b35;
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.problema-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.data-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.data-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.data-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.data-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ===== VALUE ===== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}
.value-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.value-card.featured {
  background: linear-gradient(135deg, rgba(0,229,255,0.1), rgba(0,100,200,0.1));
  border-color: rgba(0,229,255,0.4);
}
.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.value-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.value-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
.value-card p strong { color: var(--accent); }

/* ===== TECH ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.tech-item {
  border-top: 2px solid var(--border);
  padding-top: 2rem;
  transition: border-color 0.3s;
}
.tech-item:hover { border-color: var(--accent); }
.tech-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(0,229,255,0.12);
  line-height: 1;
  margin-bottom: 1rem;
}
.tech-item h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.tech-item p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== MARKET ===== */
.market-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.market-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
}
.market-header {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.market-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.market-list li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
}
.market-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

/* ===== COMPARE TABLE ===== */
.table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.compare-table thead tr {
  background: var(--surface);
}
.compare-table th {
  padding: 1.1rem 1.4rem;
  text-align: left;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.compare-table th.highlight-col {
  color: var(--accent);
  background: rgba(0,229,255,0.06);
}
.compare-table td {
  padding: 1rem 1.4rem;
  border-bottom: 1px solid rgba(0,229,255,0.05);
  color: var(--muted);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(0,229,255,0.02); }
.compare-table td.highlight-col {
  background: rgba(0,229,255,0.05);
  color: var(--text);
  font-weight: 500;
}
.compare-table td.yes { color: #4ade80; }
.compare-table td.no { color: #f87171; }

/* ===== TEAM ===== */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem 1.2rem;
  flex: 1;
  min-width: 160px;
  transition: border-color 0.2s, transform 0.2s;
}
.team-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #0055cc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--bg);
}
.team-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}
.team-role {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.advisors {
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.advisor-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.advisor-names {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.advisor-inst {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ===== CONTACT ===== */
.contact-container { text-align: center; }
.contact-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.email-link {
  display: inline-block;
  font-family: var(--font-head);
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid var(--border);
  padding-bottom: 4px;
  transition: border-color 0.2s;
  margin-bottom: 4rem;
}
.email-link:hover { border-color: var(--accent); }

.social-section { margin-top: 2rem; }
.social-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.6rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform 0.2s, opacity 0.2s;
  border: 1px solid transparent;
}
.social-btn:hover { transform: translateY(-3px); opacity: 0.9; }
.social-btn svg { width: 18px; height: 18px; }

.tiktok {
  background: #010101;
  color: #fff;
  border-color: #333;
}
.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
}
.facebook {
  background: #1877f2;
  color: #fff;
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-logo {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--accent); }
.footer-text {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(122,154,184,0.5);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .problema-grid,
  .value-grid,
  .tech-grid,
  .market-grid { grid-template-columns: 1fr; gap: 2rem; }
  .problema-cards { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 1.5rem; }
  .divider { display: none; }
  .team-grid { justify-content: center; }
  .compare-table th, .compare-table td { padding: 0.75rem 1rem; }
  .section { padding: 5rem 1.5rem; }
}
@media (max-width: 480px) {
  .problema-cards { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
}