/* ═══════════════════════════════════════════════════════════════
   Akulichev Calls — Landing Page (Dark Theme)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg-primary:     #0E1621;
  --bg-secondary:   #17212B;
  --bg-tertiary:    #1C2A3A;
  --bg-surface:     #182533;
  --bg-hover:       #1E3246;
  --accent:         #3390EC;
  --accent-hover:   #2B7ED8;
  --accent-light:   rgba(51, 144, 236, 0.15);
  --text-primary:   #F5F5F5;
  --text-secondary: #8B9BAA;
  --text-tertiary:  #6B7C8A;
  --text-accent:    #6AB2F2;
  --border-subtle:  rgba(255,255,255,0.06);
  --border-light:   rgba(255,255,255,0.1);
  --shadow-md:      0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.5);
  --font-family:    'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;
  --online-green:   #4DCD5E;
  --danger:         #E5533B;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }

/* ─── Container ──────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Header ─────────────────────────────────────────────── */
.lp-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(23,33,43,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 300ms;
}

.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.lp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-logo-icon {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.lp-logo-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.lp-nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}

.lp-nav-link {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 200ms;
}
.lp-nav-link:hover { color: var(--text-primary); }

.lp-nav-cta {
  padding: 8px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: background 200ms;
}
.lp-nav-cta:hover { background: var(--accent-hover); }

.lp-burger {
  display: flex;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
}

@media (min-width: 768px) {
  .lp-nav-links { display: flex; }
  .lp-burger { display: none; }
}

/* ─── Mobile Menu ─────────────────────────────────────────── */
.lp-mobile-menu {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.lp-mobile-menu.open { max-height: 400px; }

.lp-mobile-menu a {
  display: block;
  padding: 12px 20px;
  font-size: 15px;
  color: var(--text-secondary);
  transition: color 200ms, background 200ms;
}
.lp-mobile-menu a:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.lp-mobile-cta {
  display: block;
  margin: 8px 20px 16px;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}

/* ─── Section ─────────────────────────────────────────────── */
.lp-section {
  padding: 80px 20px;
}

.lp-section-alt { background: var(--bg-secondary); }

.lp-section-title {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.lp-section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

@media (min-width: 768px) {
  .lp-section-title { font-size: 34px; }
}

/* ─── Hero ────────────────────────────────────────────────── */
.lp-hero {
  padding-top: 120px;
  padding-bottom: 60px;
}

.lp-hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .lp-hero-grid { grid-template-columns: 1fr 1fr; }
}

.lp-hero h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .lp-hero h1 { font-size: 42px; }
}

.lp-hero p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.lp-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .lp-hero-actions { flex-direction: row; }
}

.lp-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  transition: background 200ms, box-shadow 200ms;
  text-align: center;
}
.lp-btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(51,144,236,0.3);
}

.lp-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  transition: background 200ms, color 200ms;
  text-align: center;
}
.lp-btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* ─── Chat Preview ────────────────────────────────────────── */
.lp-chat-preview {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 24px;
  max-width: 420px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.lp-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.lp-chat-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

.lp-chat-msgs { display: flex; flex-direction: column; gap: 12px; }

.lp-msg-other {
  background: var(--bg-surface);
  border-radius: 6px 16px 16px 16px;
  padding: 10px 14px;
  max-width: 85%;
  font-size: 14px;
}

.lp-msg-own {
  background: #2B5278;
  border-radius: 16px 6px 16px 16px;
  padding: 10px 14px;
  max-width: 85%;
  font-size: 14px;
  align-self: flex-end;
}

.lp-chat-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.lp-chat-input-field {
  flex: 1;
  background: var(--bg-tertiary);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-tertiary);
  border: none;
  cursor: default;
}

.lp-chat-input-btn {
  width: 40px; height: 40px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 200ms;
}
.lp-chat-input-btn:hover { background: var(--accent-hover); }

/* ─── Feature Cards Grid ──────────────────────────────────── */
.lp-grid-3 {
  display: grid;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) { .lp-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .lp-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.lp-grid-2 {
  display: grid;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 1024px) { .lp-grid-2 { grid-template-columns: repeat(2, 1fr); } }

/* ─── Feature Card ────────────────────────────────────────── */
.lp-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 300ms, box-shadow 300ms;
}
.lp-card:hover {
  border-color: rgba(51,144,236,0.3);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.lp-card-alt { background: var(--bg-tertiary); }

.lp-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.lp-card-icon.blue    { background: var(--accent-light); color: var(--accent); }
.lp-card-icon.green   { background: rgba(77,205,94,0.12); color: var(--online-green); }
.lp-card-icon.purple  { background: rgba(168,85,247,0.12); color: #A855F7; }
.lp-card-icon.pink    { background: rgba(236,72,153,0.12); color: #EC4899; }

.lp-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.lp-card p, .lp-card li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.lp-card-centered { text-align: center; }

.lp-card-centered .lp-card-icon {
  margin: 0 auto 16px;
  width: 56px; height: 56px;
  border-radius: 16px;
}

/* ─── Security List ───────────────────────────────────────── */
.lp-check-list {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.lp-check-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--online-green);
}

.lp-check-icon.blue { color: var(--accent); }

/* ─── CTA Banner ──────────────────────────────────────────── */
.lp-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin-top: 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .lp-banner { padding: 48px; }
}

.lp-banner h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}

.lp-banner p {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 20px;
}

.lp-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 14px;
}

/* ─── PWA Section ─────────────────────────────────────────── */
.lp-pwa-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 32px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media (min-width: 768px) {
  .lp-pwa-card { flex-direction: row; padding: 40px; }
}

.lp-pwa-icon {
  width: 80px; height: 80px;
  background: var(--accent);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.lp-pwa-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.lp-pwa-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-secondary);
}

.lp-pwa-badge svg { color: var(--accent); }

/* ─── FAQ ─────────────────────────────────────────────────── */
.lp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}

.lp-faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}

.lp-faq-btn {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  transition: background 200ms;
}
.lp-faq-btn:hover { background: var(--bg-hover); }

.lp-faq-chevron {
  color: var(--text-tertiary);
  flex-shrink: 0;
  transition: transform 300ms;
}

.lp-faq-chevron.rotate-180 { transform: rotate(180deg); }

.lp-faq-panel {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── Final CTA ───────────────────────────────────────────── */
.lp-cta {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.lp-cta h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}

.lp-cta p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.lp-btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  font-weight: 500;
  font-size: 16px;
  transition: background 200ms, box-shadow 200ms;
}
.lp-btn-lg:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(51,144,236,0.3);
}

/* ─── Footer ──────────────────────────────────────────────── */
.lp-footer {
  background: var(--bg-secondary);
  padding: 48px 20px 28px;
  border-top: 1px solid var(--border-subtle);
}

.lp-footer-grid {
  display: grid;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 32px;
}

@media (min-width: 768px) {
  .lp-footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.lp-footer h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.lp-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-footer a {
  font-size: 13px;
  color: var(--text-tertiary);
  transition: color 200ms;
}
.lp-footer a:hover { color: var(--text-primary); }

.lp-footer-desc {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.lp-footer-copy {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
  max-width: 1200px;
  margin: 0 auto;
}
