@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-primary: #060A1A;
  --bg-secondary: #0D1229;
  --bg-card: #111738;
  --bg-card-hover: #161D45;
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --accent-cyan: #00D4FF;
  --accent-green: #00E676;
  --accent-orange: #FF9100;
  --border: rgba(100, 116, 139, 0.2);
  --border-accent: rgba(0, 212, 255, 0.3);
  --gradient-hero: linear-gradient(135deg, #060A1A 0%, #0D1229 40%, #0F1A3A 100%);
  --gradient-accent: linear-gradient(135deg, #00D4FF, #00E676);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ── Brand Header (full-width AiDA banner) ─────────────────── */
.brand-header {
  background: #050816;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.brand-header a {
  display: block;
  line-height: 0;
}
.brand-header img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ── Navigation (sticky below banner) ──────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.site-nav .container {
  display: flex; align-items: center; justify-content: center;
  height: 56px; gap: 2rem;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent-cyan); border-radius: 1px;
}
.nav-cta {
  padding: 0.5rem 1.25rem; border-radius: 8px; font-weight: 600; font-size: 0.85rem;
  background: var(--accent-cyan); color: var(--bg-primary);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3); }
.nav-mobile { display: none; background: none; border: none; color: var(--text-primary); cursor: pointer; font-size: 1.5rem; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  min-height: auto; padding: 4rem 0; display: flex; align-items: center;
  background: var(--gradient-hero);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.04) 0%, transparent 70%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 700px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1rem; border-radius: 100px;
  background: rgba(0, 212, 255, 0.08); border: 1px solid var(--border-accent);
  color: var(--accent-cyan); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.5rem;
}
.hero-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-green); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.hero h1 .gradient {
  background: var(--gradient-accent); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero p { font-size: 1.15rem; color: var(--text-secondary); max-width: 540px; margin-bottom: 2.5rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  padding: 0.85rem 2rem; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  background: var(--accent-cyan); color: var(--bg-primary);
  transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 212, 255, 0.25); }
.btn-secondary {
  padding: 0.85rem 2rem; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border); cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--accent-cyan); background: rgba(0, 212, 255, 0.05); }

/* ── Sections ───────────────────────────────────────────────── */
section { padding: 2rem 0; }
.section-header { text-align: center; margin-bottom: 1.5rem; }
.section-tag {
  display: inline-block; padding: 0.3rem 0.8rem; border-radius: 100px;
  background: rgba(0, 212, 255, 0.08); border: 1px solid var(--border-accent);
  color: var(--accent-cyan); font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700;
  letter-spacing: -0.02em; margin-bottom: 1rem;
}
.section-header p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

/* ── Feature Cards ──────────────────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px); border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
}
.feature-icon.cyan { background: rgba(0, 212, 255, 0.1); color: var(--accent-cyan); }
.feature-icon.green { background: rgba(0, 230, 118, 0.1); color: var(--accent-green); }
.feature-icon.orange { background: rgba(255, 145, 0, 0.1); color: var(--accent-orange); }
.feature-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.75rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }

/* ── Pricing ────────────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2.5rem 2rem;
  transition: transform 0.3s, border-color 0.3s;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--border-accent); }
.price-card.featured {
  border-color: var(--accent-cyan); position: relative;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.1);
}
.price-card.featured::before {
  content: 'Most Popular'; position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%); padding: 0.25rem 1rem; border-radius: 100px;
  background: var(--accent-cyan); color: var(--bg-primary);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.price-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.25rem; }
.price-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem; }
.price-amount { font-size: 2.5rem; font-weight: 800; margin-bottom: 0.25rem; }
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.price-features { list-style: none; margin: 1.5rem 0; }
.price-features li {
  padding: 0.5rem 0; color: var(--text-secondary); font-size: 0.9rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.price-features li::before { content: '✓'; color: var(--accent-green); font-weight: 700; }
.price-btn {
  display: block; width: 100%; padding: 0.8rem; border-radius: 10px;
  text-align: center; font-weight: 600; font-size: 0.9rem;
  background: rgba(0, 212, 255, 0.1); color: var(--accent-cyan);
  border: 1px solid var(--border-accent); cursor: pointer;
  transition: background 0.2s;
}
.price-btn:hover { background: rgba(0, 212, 255, 0.2); }
.price-card.featured .price-btn {
  background: var(--accent-cyan); color: var(--bg-primary); border-color: var(--accent-cyan);
}

/* ── CTA Section ────────────────────────────────────────────── */
.cta-section {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 4rem 3rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; left: -20%;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
}
.cta-section h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; position: relative; }
.cta-section p { color: var(--text-secondary); margin-bottom: 2rem; position: relative; }
.cta-section .btn-primary { position: relative; }

/* ── Contact Form ───────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group label {
  display: block; color: var(--text-secondary); font-size: 0.85rem;
  font-weight: 500; margin-bottom: 0.4rem;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.8rem 1rem; border-radius: 10px;
  background: var(--bg-primary); border: 1px solid var(--border);
  color: var(--text-primary); font-family: 'Outfit', sans-serif; font-size: 0.9rem;
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--accent-cyan);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem;
}
.contact-info-item { display: flex; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0, 212, 255, 0.1); color: var(--accent-cyan);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem;
}
.contact-info-item h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; }
.contact-info-item p { color: var(--text-secondary); font-size: 0.85rem; }

/* ── Blog ───────────────────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.5rem; }
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--border-accent); }
.blog-card-img {
  height: 200px; background: var(--bg-secondary);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--text-muted);
}
.blog-card-body { padding: 1.5rem; }
.blog-card-meta { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 0.75rem; }
.blog-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.blog-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }
.blog-card .read-more {
  display: inline-block; margin-top: 1rem; color: var(--accent-cyan);
  font-size: 0.85rem; font-weight: 600;
}

/* ── Blog Article ──────────────────────────────────────────── */
.article-content {
  max-width: 760px; margin: 0 auto;
}
.article-content h2 {
  font-size: 1.5rem; font-weight: 700; margin: 2.5rem 0 1rem;
}
.article-content h3 {
  font-size: 1.2rem; font-weight: 600; margin: 2rem 0 0.75rem;
}
.article-content p {
  color: var(--text-secondary); font-size: 1.05rem; line-height: 1.8;
  margin-bottom: 1.25rem;
}
.article-content strong { color: var(--text-primary); }
.article-meta {
  color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2.5rem;
  padding-bottom: 2rem; border-bottom: 1px solid var(--border);
}
.article-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--accent-cyan); font-size: 0.9rem; font-weight: 500;
  margin-bottom: 2rem;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand-logo {
  max-width: 260px; height: auto; max-height: 180px; width: 100%; max-width: 1200px; object-fit: contain; margin-bottom: 0.75rem;
}
.footer-brand p { color: var(--text-muted); font-size: 0.85rem; max-width: 300px; line-height: 1.5; }
.footer-address {
  color: var(--text-muted); font-size: 0.8rem; margin-top: 0.75rem; line-height: 1.6;
}
.footer-col h4 {
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 1rem;
}
.footer-col a {
  display: block; color: var(--text-secondary); font-size: 0.9rem;
  padding: 0.3rem 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent-cyan); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.8rem; }
.footer-bottom a { color: var(--text-muted); font-size: 0.8rem; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--accent-cyan); }
.footer-legal { display: flex; gap: 1.5rem; }

/* ── Legal Pages ───────────────────────────────────────────── */
.legal-content {
  max-width: 800px; margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.4rem; font-weight: 700; margin: 2.5rem 0 1rem;
  color: var(--text-primary);
}
.legal-content p, .legal-content li {
  color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8;
  margin-bottom: 1rem;
}
.legal-content ul {
  padding-left: 1.5rem; margin-bottom: 1.5rem;
}
.legal-content li { margin-bottom: 0.5rem; }

/* ── Page Header (inner pages) ──────────────────────────────── */
.page-header {
  padding: 6rem 0 4rem; text-align: center;
  background: var(--gradient-hero); position: relative;
}
.page-header h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 1rem; }
.page-header p { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ── About ──────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; }
.about-text p { color: var(--text-secondary); margin-bottom: 1.5rem; }
.about-visual {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem; text-align: center;
}
.about-visual img { max-width: 100%; height: auto; max-height: 180px; width: 100%; max-width: 1200px; object-fit: contain; border-radius: 8px; }
.value-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 4rem; }
.value-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.5rem;
}
.value-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.value-card p { color: var(--text-secondary); font-size: 0.85rem; }

/* ── Product ────────────────────────────────────────────────── */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 4rem 0; }
.product-visual {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 2rem; position: relative; text-align: center;
}
.product-visual img { max-width: 100%; height: auto; max-height: 180px; width: 100%; max-width: 1200px; object-fit: contain; border-radius: 8px; }
.workflow-steps { counter-reset: step; }
.workflow-step {
  display: flex; gap: 1.5rem; padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.workflow-step:last-child { border-bottom: none; }
.step-number {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(0, 212, 255, 0.1); color: var(--accent-cyan);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; flex-shrink: 0;
}
.workflow-step h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.workflow-step p { color: var(--text-secondary); font-size: 0.85rem; }

/* ── Mobile Nav Menu ───────────────────────────────────────── */
.nav-links.show {
  display: flex; flex-direction: column;
  position: absolute; top: 56px; left: 0; right: 0;
  background: rgba(6, 10, 26, 0.98); padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  gap: 0.5rem;
}
.nav-links.show a { padding: 0.5rem 0; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .site-nav .container { justify-content: center; position: relative; }
  .nav-links { display: none; }
  .nav-mobile { display: block; position: absolute; right: 2rem; }
  .nav-cta { position: absolute; right: 4rem; font-size: 0.75rem; padding: 0.4rem 0.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; }
  .value-cards { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-legal { justify-content: center; }
}

/* ── Promo Banner ───────────────────────────────────────────── */
.promo-banner {
  background: linear-gradient(90deg, #00D4FF, #00E676);
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bg-primary);
}
.promo-banner a {
  color: var(--bg-primary);
}
.promo-banner strong {
  font-weight: 700;
}
.promo-banner .promo-cta {
  font-weight: 700;
  text-decoration: underline;
  margin-left: 0.5rem;
}

/* ── Hero Background Image ──────────────────────────────────── */
.hero-bg {
  background: linear-gradient(90deg, rgba(6,10,26,0.92) 0%, rgba(6,10,26,0.75) 40%, rgba(6,10,26,0.2) 70%, transparent 100%),
              url('/hero-bg.png') center right / cover no-repeat;
  min-height: 520px;
  padding: 5rem 0;
}
.hero-bg::before,
.hero-bg::after {
  display: none;
}
.hero-micro {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .hero-bg {
    background: linear-gradient(180deg, rgba(6,10,26,0.9) 0%, rgba(6,10,26,0.85) 100%),
                url('/hero-bg.png') center center / cover no-repeat;
    min-height: auto;
    padding: 3rem 0;
  }
  .promo-banner {
    font-size: 0.78rem;
    padding: 0.5rem 0.75rem;
  }
}

/* ── Demo / Trial Page ──────────────────────────────────────── */
.demo-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.demo-pitch {
  padding-top: 1rem;
}
.demo-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.demo-benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.demo-check {
  color: var(--accent-green);
  font-weight: 700;
  font-size: 1rem;
}
.demo-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

@media (max-width: 768px) {
  .demo-page-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
