/* ============================================================
   Arveks — Enterprise AI Automation & Analytics Platform
   Modern SaaS landing page styles
   ============================================================ */

/* --- RESET & BASE --- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

:root {
  /* Brand */
  --brand: #6366f1;       /* indigo-500 */
  --brand-light: #818cf8; /* indigo-400 */
  --brand-dark: #4f46e5;  /* indigo-600 */
  --accent: #06b6d4;      /* cyan-500 */
  --accent-light: #22d3ee;/* cyan-400 */

  /* Surfaces */
  --bg: #0b0d1a;
  --bg-alt: #11131f;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.05);

  /* Text */
  --text: #e2e4f0;
  --text-dim: #9498b0;
  --text-muted: #6b6f85;
  --heading: #ffffff;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #6366f1, #06b6d4);
  --grad-hero: linear-gradient(135deg, #6366f1 0%, #8b5cf6 40%, #06b6d4 100%);

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0,0,0,.4), 0 0 0 1px var(--border);
  --shadow-glow: 0 0 120px rgba(99, 102, 241, 0.15);

  /* Radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

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

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--heading); line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600;
  padding: 10px 22px; border-radius: 50px;
  transition: all .25s ease; cursor: pointer; border: none;
  font-size: .92rem; white-space: nowrap;
}
.btn-sm { padding: 7px 16px; font-size: .84rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-primary {
  background: var(--brand); color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(99,102,241,.4); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--brand-light); color: #fff; background: rgba(99,102,241,.08); }
.btn-ghost { background: transparent; color: var(--text-dim); }
.btn-ghost:hover { color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* --- NAVBAR --- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,13,26,.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.navbar.scrolled { background: rgba(11,13,26,.95); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-logo { color: var(--brand-light); display: flex; }
.brand-text { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }

.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--text-dim); transition: color .2s; }
.nav-links a:hover { color: #fff; }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* --- HERO --- */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: .4; pointer-events: none;
}
.hero-glow-1 { width: 600px; height: 600px; background: var(--brand); top: -200px; left: -100px; }
.hero-glow-2 { width: 400px; height: 400px; background: var(--accent); bottom: -100px; right: -50px; opacity: .25; }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,.12); color: var(--brand-light);
  padding: 6px 16px; border-radius: 50px; font-size: .84rem; font-weight: 500;
  margin-bottom: 24px; border: 1px solid rgba(99,102,241,.2);
}
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-light); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero-title { margin-bottom: 20px; }
.hero-desc { font-size: 1.08rem; color: var(--text-dim); margin-bottom: 32px; max-width: 520px; line-height: 1.8; }
.hero-desc strong { color: #fff; font-weight: 600; }

.hero-actions { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1; }
.stat-unit { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--brand-light); }
.stat-label { font-size: .82rem; color: var(--text-muted); margin-top: 4px; }

/* --- HERO VISUAL --- */
.hero-visual { position: relative; display: flex; justify-content: center; }

.dashboard-card {
  background: rgba(17,19,31,.9); border: 1px solid var(--border);
  border-radius: var(--radius-lg); width: 100%; max-width: 440px;
  overflow: hidden; box-shadow: var(--shadow-glow);
}
.dash-header {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  background: rgba(255,255,255,.03); border-bottom: 1px solid var(--border-light);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 8px; height: 8px; border-radius: 50%; }
.dash-dots span:nth-child(1) { background: #ef4444; }
.dash-dots span:nth-child(2) { background: #f59e0b; }
.dash-dots span:nth-child(3) { background: #22c55e; }
.dash-title { font-size: .75rem; color: var(--text-muted); font-family: var(--font-body); }
.dash-body { padding: 14px 16px; }

.dash-metric-row { display: flex; gap: 12px; margin-bottom: 14px; }
.dash-metric {
  flex:1; background: rgba(255,255,255,.03); border-radius: var(--radius-sm);
  padding: 10px 12px; border: 1px solid var(--border-light);
}
.dm-label { font-size: .68rem; color: var(--text-muted); display: block; margin-bottom: 2px; }
.dm-value { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: #fff; }
.dm-value.up { color: #34d399; }

.dash-chart { margin-bottom: 12px; }
.chart-line { margin-bottom: 4px; }
.chart-line svg { width: 100%; height: 80px; }
.chart-labels { display: flex; justify-content: space-between; font-size: .65rem; color: var(--text-muted); }

.dash-alerts { display: flex; flex-direction: column; gap: 6px; }
.alert-row { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--text-dim); }
.alert-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.alert-dot.green { background: #34d399; }
.alert-dot.yellow { background: #f59e0b; }

/* Float cards */
.float-card {
  position: absolute; background: rgba(17,19,31,.95); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  backdrop-filter: blur(12px); box-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.fc-1 { top: 10%; right: -20px; }
.fc-2 { bottom: 18%; left: -30px; }
.fc-icon { font-size: 1.5rem; }
.float-card strong { display: block; font-family: var(--font-display); font-size: .95rem; color: #fff; }
.float-card small { display: block; font-size: .72rem; color: var(--text-muted); }

/* --- SECTIONS --- */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-contact { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--text-dim); font-size: 1.05rem; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--brand-light); margin-bottom: 12px;
}

/* --- CARDS GRID --- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: all .3s;
}
.card:hover {
  border-color: var(--brand-light); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,.1);
}
.card-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 1.5rem; }
.c1 { background: rgba(99,102,241,.15); color: #818cf8; }
.c2 { background: rgba(6,182,212,.15); color: #22d3ee; }
.c3 { background: rgba(139,92,246,.15); color: #a78bfa; }
.c4 { background: rgba(34,197,94,.15); color: #4ade80; }
.c5 { background: rgba(245,158,11,.15); color: #fbbf24; }
.c6 { background: rgba(236,72,153,.15); color: #f472b6; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: .92rem; }

/* --- STEPS --- */
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 20px; max-width: 860px; margin: 0 auto; flex-wrap: wrap; }
.step { flex: 1; min-width: 200px; text-align: center; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 20px; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-brand); color: #fff; font-family: var(--font-display);
  font-weight: 800; font-size: 1.2rem; display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: .9rem; }
.step-arrow { font-size: 1.5rem; color: var(--text-muted); padding-top: 48px; flex-shrink: 0; }

/* --- DEMO BANNER --- */
.demo-banner {
  margin-top: 60px;
  background: linear-gradient(135deg, rgba(99,102,241,.1), rgba(6,182,212,.08));
  border: 1px solid rgba(99,102,241,.2); border-radius: var(--radius-xl);
  padding: 48px 40px; text-align: center;
}
.demo-copy h3 { font-size: 1.6rem; margin-bottom: 8px; }
.demo-copy p { color: var(--text-dim); max-width: 560px; margin: 0 auto 28px; }
.demo-fields { display: flex; gap: 10px; max-width: 680px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.demo-fields input {
  flex: 1; min-width: 160px;
  padding: 12px 18px; border-radius: 50px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  color: #fff; font-family: var(--font-body); font-size: .9rem; outline: none;
  transition: border-color .2s;
}
.demo-fields input:focus { border-color: var(--brand); }
.demo-fields .btn { flex-shrink: 0; }

/* --- MARKET --- */
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.market-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 22px; text-align: center;
  transition: all .3s;
}
.market-card.highlight { border-color: rgba(99,102,241,.35); background: rgba(99,102,241,.06); }
.market-card:hover { border-color: var(--brand-light); transform: translateY(-2px); }
.market-icon { font-size: 2rem; margin-bottom: 12px; }
.market-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
.market-label { font-size: .88rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.market-note { font-size: .76rem; color: var(--text-muted); }

/* --- USE CASES --- */
.usecase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usecase-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: all .3s;
}
.usecase-card:hover { border-color: var(--brand-light); transform: translateY(-2px); }
.uc-icon { font-size: 2rem; margin-bottom: 14px; }
.usecase-card h4 { margin-bottom: 6px; }
.usecase-card p { color: var(--text-dim); font-size: .9rem; }

/* --- TEAM --- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 20px; text-align: center;
  transition: all .3s;
}
.team-card:hover { border-color: var(--brand-light); transform: translateY(-2px); }
.team-avatar {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #fff;
}
.a1 { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.a2 { background: linear-gradient(135deg, #06b6d4, #6366f1); }
.a3 { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.a4 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.team-card h4 { margin-bottom: 4px; }
.team-card p { font-size: .84rem; color: var(--brand-light); font-weight: 500; margin-bottom: 8px; }
.team-card small { font-size: .78rem; color: var(--text-muted); line-height: 1.5; }

/* --- CONTACT --- */
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 48px 40px;
}
.contact-copy h2 { margin-bottom: 14px; }
.contact-copy > p { color: var(--text-dim); margin-bottom: 24px; }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-list li { color: var(--text-dim); font-size: .95rem; }
.contact-list a { color: var(--brand-light); }
.contact-list a:hover { text-decoration: underline; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row input,
.form-row textarea {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  color: #fff; font-family: var(--font-body); font-size: .92rem; outline: none;
  transition: border-color .2s; resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus { border-color: var(--brand); }
.form-note { font-size: .82rem; color: #34d399; text-align: center; }

/* --- FOOTER --- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-dim); font-size: .88rem; margin-top: 12px; max-width: 280px; }
.footer-col h5 { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; color: var(--text); }
.footer-col a { display: block; color: var(--text-dim); font-size: .88rem; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border-light); }
.footer-bottom p { color: var(--text-muted); font-size: .82rem; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: var(--text-muted); transition: color .2s; }
.footer-social a:hover { color: var(--brand-light); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 30px; }
  .float-card { display: none; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .usecase-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding-top: 0; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 68px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--border); padding: 20px 24px; gap: 16px;
  }
  .hamburger { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .demo-fields { flex-direction: column; }
  .demo-fields input { min-width: auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-stats { gap: 20px; }
}

/* --- ANIMATIONS --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeUp .6s ease both; }
