/* Kompan AI — Stylesheet */
:root {
  --bg-dark: #0a1114;
  --bg-card: #121c21;
  --bg-card-hover: #17242a;
  --bg-input: #1a272e;
  --primary: #10b981;
  --primary-light: #34d399;
  --primary-glow: rgba(16, 185, 129, 0.25);
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-active: rgba(16, 185, 129, 0.35);
  --danger: #ef4444;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-w: 1200px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #a7f3d0;
  text-decoration: underline;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* Header & Nav */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(10, 17, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-group img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--primary);
  font-weight: 800;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

nav a:hover {
  color: #ffffff;
  text-decoration: none;
}

.btn-header-cta {
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: #051a14 !important;
  font-weight: 700 !important;
  padding: 9px 18px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
  text-decoration: none !important;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero h1 span {
  background: linear-gradient(135deg, #a7f3d0 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #059669 100%);
  color: #031c15;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
  text-decoration: none;
  color: #031c15;
}

.btn-secondary {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 14px 26px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-stats span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* UI Preview Grid */
.ui-showcase {
  padding: 50px 0 80px;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mockup-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.mockup-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-active);
}

.mockup-frame {
  background-color: #000;
  border-radius: 24px;
  padding: 10px;
  border: 4px solid #203138;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.mockup-frame img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.mockup-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.mockup-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Features Grid */
.features-section {
  padding: 70px 0;
  background-color: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-tile {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.2s ease;
  position: relative;
}

.feature-tile:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--border-active);
  transform: translateY(-3px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.feature-tile h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.feature-tile p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Privacy & Matrix Table */
.comparison-section {
  padding: 70px 0;
}

.table-wrapper {
  overflow-x: auto;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-top: 30px;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

th {
  background-color: #16242b;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
}

td {
  color: var(--text-muted);
  font-size: 0.95rem;
}

tr:last-child td {
  border-bottom: none;
}

.check {
  color: var(--primary);
  font-weight: 700;
}

.cross {
  color: var(--danger);
  font-weight: 700;
}

/* Tech Specs */
.specs-section {
  padding: 70px 0;
  background-color: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border-light);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.spec-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px;
}

.spec-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.spec-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.spec-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* FAQ */
.faq-section {
  padding: 70px 0;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 26px;
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.faq-answer {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* CTA Download Block */
.cta-download {
  padding: 70px 0;
  text-align: center;
}

.download-box {
  background: linear-gradient(135deg, #122228 0%, #163038 100%);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.download-box h2 {
  font-size: 2.3rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.download-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}

.apk-details {
  display: inline-flex;
  gap: 20px;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 10px 20px;
  margin-top: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Footer */
footer {
  background-color: #070d10;
  border-top: 1px solid var(--border-light);
  padding: 50px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-col ul a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-company-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 10px;
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Legal Documents Article Pages */
.legal-page {
  padding: 60px 0 80px;
}

.legal-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.legal-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.legal-header h1 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--primary-light);
  font-size: 0.9rem;
  font-weight: 500;
}

.legal-content h2 {
  font-size: 1.45rem;
  color: #ffffff;
  margin: 32px 0 12px;
}

.legal-content h3 {
  font-size: 1.15rem;
  color: #e5e7eb;
  margin: 20px 0 8px;
}

.legal-content p, .legal-content li {
  color: #d1d5db;
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content ul, .legal-content ol {
  margin: 12px 0 18px 24px;
}

.legal-notice {
  background-color: rgba(16, 185, 129, 0.08);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.legal-notice p {
  color: #e5e7eb;
  margin: 0;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 960px) {
  .mockup-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 640px) {
  nav ul {
    display: none;
  }
  .hero {
    padding: 50px 0 40px;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
  .hero-stats {
    flex-direction: column;
    gap: 8px;
  }
  .legal-card {
    padding: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
