/* AIВахта Landing — Modern Premium Design */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #818cf8;
  --accent: #8b5cf6;
  --bg: #fafbfe;
  --bg-dark: #0f0f23;
  --surface: #ffffff;
  --surface-secondary: #f4f5f9;
  --text: #1a1a2e;
  --text-secondary: #64748b;
  --text-tertiary: #94a3b8;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
  --shadow-lg: 0 4px 24px rgba(99,102,241,.12), 0 8px 48px rgba(0,0,0,.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.logo-text { font-weight: 700; font-size: 18px; color: var(--text); }
.logo-accent { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 4px; padding: 8px; }
.mobile-menu-btn span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 10px; font-weight: 600;
  font-size: 14px; text-decoration: none; border: none; cursor: pointer;
  transition: all .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; box-shadow: 0 2px 12px rgba(99,102,241,.3);
}
.btn-primary:hover { box-shadow: 0 4px 20px rgba(99,102,241,.45); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); background: rgba(99,102,241,.04); }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text); background: var(--surface-secondary); }
.btn-nav {
  background: var(--primary); color: white !important; padding: 8px 18px; border-radius: 8px;
}
.btn-nav:hover { background: var(--primary-dark); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }
.btn-block { width: 100%; justify-content: center; }

/* ===== HERO ===== */
.hero {
  position: relative; padding: 140px 0 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99,102,241,.08), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139,92,246,.06), transparent);
}
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  background: rgba(99,102,241,.08); color: var(--primary);
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: 48px; font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: -.02em; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-subtitle { font-size: 17px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 24px; align-items: center; }
.stat-value { display: block; font-size: 24px; font-weight: 800; color: var(--text); }
.stat-label { font-size: 12px; color: var(--text-tertiary); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

/* Dashboard preview */
.dashboard-preview {
  background: var(--surface); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  animation: floatUp 6s ease-in-out infinite;
}
@keyframes floatUp { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.preview-header {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px;
  background: var(--surface-secondary); border-bottom: 1px solid var(--border);
}
.preview-dots { display: flex; gap: 6px; }
.preview-dots span { width: 10px; height: 10px; border-radius: 50%; }
.preview-dots span:nth-child(1) { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #febc2e; }
.preview-dots span:nth-child(3) { background: #28c840; }
.preview-url { font-size: 11px; color: var(--text-tertiary); background: white; padding: 3px 12px; border-radius: 6px; flex: 1; text-align: center; border: 1px solid var(--border); }
.preview-body { display: flex; min-height: 260px; }
.preview-sidebar { width: 140px; padding: 12px 8px; border-right: 1px solid var(--border); background: #fafbfd; }
.preview-nav-item { padding: 6px 10px; font-size: 12px; border-radius: 6px; color: var(--text-secondary); margin-bottom: 2px; white-space: nowrap; }
.preview-nav-item.active { background: rgba(99,102,241,.08); color: var(--primary); font-weight: 600; }
.preview-content { flex: 1; padding: 12px; }
.preview-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; border-bottom: 1px solid #f1f3f7; font-size: 13px;
}
.preview-name { color: var(--text); font-weight: 500; }
.preview-badge { font-size: 11px; padding: 2px 8px; border-radius: 4px; font-weight: 600; }
.preview-badge.green { background: #ecfdf5; color: #059669; }
.preview-badge.blue { background: #eff6ff; color: #3b82f6; }
.preview-badge.orange { background: #fff7ed; color: #ea580c; }

/* ===== SECTIONS ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; padding: 4px 14px; border-radius: 100px;
  background: rgba(99,102,241,.08); color: var(--primary);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 16px;
}
.section-header h2 { font-size: 36px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.section-header p { font-size: 17px; color: var(--text-secondary); }

/* ===== FEATURES ===== */
.features { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: all .3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(99,102,241,.2); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 100px 0; background: var(--surface-secondary); }
.steps { max-width: 640px; margin: 0 auto; }
.step {
  display: flex; gap: 24px; padding: 28px 0;
  border-bottom: 1px solid var(--border); position: relative;
}
.step:last-child { border-bottom: none; }
.step-number {
  font-size: 40px; font-weight: 900; color: rgba(99,102,241,.12);
  line-height: 1; min-width: 60px;
}
.step-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.step-content p { font-size: 14px; color: var(--text-secondary); }

/* ===== PRICING ===== */
.pricing { padding: 100px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.pricing-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; text-align: center; position: relative; transition: all .3s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.popular {
  border-color: var(--primary); box-shadow: 0 4px 32px rgba(99,102,241,.15);
  transform: scale(1.04);
}
.pricing-card.popular:hover { transform: scale(1.04) translateY(-4px); }
.popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white; font-size: 11px; font-weight: 700; padding: 4px 16px;
  border-radius: 100px; text-transform: uppercase; letter-spacing: .04em;
}
.pricing-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.pricing-price { font-size: 36px; font-weight: 800; }
.pricing-period { font-size: 13px; color: var(--text-tertiary); margin-bottom: 24px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li { padding: 6px 0; font-size: 14px; color: var(--text-secondary); }
.pricing-features li.disabled { color: var(--text-tertiary); opacity: .5; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-dark); color: #cbd5e1; padding: 64px 0 32px; }
.footer-content { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 48px; }
.footer-brand { max-width: 320px; }
.footer-brand .logo-text { color: white; }
.footer-brand p { margin-top: 12px; font-size: 14px; line-height: 1.6; color: #64748b; }
.footer-links { display: flex; gap: 64px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; margin-bottom: 16px; }
.footer-col a { display: block; color: #94a3b8; text-decoration: none; font-size: 14px; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; }
.footer-bottom p { font-size: 13px; color: #475569; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 32px; }
  .hero-visual { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }
  .pricing-card.popular { transform: none; }
  .footer-content { flex-direction: column; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: white; padding: 20px; border-bottom: 1px solid var(--border); gap: 16px; }
  .nav-links.active { display: flex; }
  .mobile-menu-btn { display: flex; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
}
