:root {
  --bg-primary: #070a12;
  --bg-surface: #0e1424;
  --bg-card: #141c33;
  --bg-card-hover: #1c2745;
  --border-color: rgba(6, 182, 212, 0.18);
  --border-hover: rgba(6, 182, 212, 0.5);
  --cyan: #06b6d4;
  --cyan-bright: #22d3ee;
  --cyan-glow: rgba(6, 182, 212, 0.35);
  --coral: #f43f5e;
  --coral-glow: rgba(244, 63, 94, 0.35);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(7, 10, 18, 0.82);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-badge {
  background: linear-gradient(135deg, var(--cyan), #0284c7);
  color: #070a12;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: 0 0 12px var(--cyan-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
  text-shadow: 0 0 8px var(--cyan-glow);
}

.nav-btn {
  background: linear-gradient(135deg, var(--cyan), #0284c7);
  color: #070a12 !important;
  font-weight: 700 !important;
  padding: 8px 18px;
  border-radius: 12px;
  box-shadow: 0 0 15px var(--cyan-glow);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px var(--cyan-glow);
}

/* Hero Section */
.hero {
  padding: 70px 0 60px;
  position: relative;
  text-align: center;
}

.hero-glow-bg {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, rgba(7, 10, 18, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--border-color);
  color: var(--cyan);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.1);
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--cyan-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-weight: 400;
}

/* Download Actions */
.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.25s ease;
  cursor: pointer;
}

.download-btn.primary {
  background: linear-gradient(135deg, var(--cyan), #0284c7);
  color: #070a12;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.download-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--cyan-glow);
}

.download-btn.secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.download-btn.secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
  color: var(--cyan-bright);
}

.detected-os-label {
  font-size: 0.9rem;
  color: var(--cyan);
  margin-bottom: 15px;
  font-weight: 600;
}

/* Checksum Box */
.checksum-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

.checksum-box code {
  color: var(--cyan-bright);
  font-family: monospace;
  word-break: break-all;
}

/* App Mockup Preview */
.mockup-container {
  margin: 50px auto 30px;
  max-width: 780px;
  position: relative;
}

.mockup-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(6, 182, 212, 0.15);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #eab308; }
.dot.green { background: #22c55e; }

.mockup-title {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--cyan);
  font-weight: 600;
}

.chat-bubble-demo {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.bubble {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.bubble.incoming {
  background: var(--bg-card);
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bubble.outgoing {
  background: linear-gradient(135deg, #0e7490, #0891b2);
  align-self: flex-end;
  color: white;
}

.bubble.buzz {
  align-self: center;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid var(--coral);
  color: #ffccd5;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 20px;
  padding: 8px 18px;
  box-shadow: 0 0 15px var(--coral-glow);
}

.bubble.call {
  align-self: center;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid var(--cyan);
  color: #cffafe;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 20px;
  padding: 8px 18px;
  box-shadow: 0 0 15px var(--cyan-glow);
}

/* Features Grid */
.features {
  padding: 80px 0;
  background: rgba(14, 20, 36, 0.5);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 28px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 20px var(--cyan-glow);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: inline-block;
  padding: 10px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Legal Content Page Container */
.legal-page {
  padding: 60px 0 100px;
  max-width: 860px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.legal-page h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 32px 0 14px;
  color: var(--cyan);
}

.legal-page h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 20px 0 10px;
}

.legal-page p, .legal-page li {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 1rem;
}

.legal-page ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.deletion-card {
  background: var(--bg-surface);
  border: 1px solid var(--coral);
  border-radius: 16px;
  padding: 28px;
  margin: 30px 0;
  box-shadow: 0 0 20px var(--coral-glow);
}

.deletion-card h3 {
  color: var(--coral);
  margin-top: 0;
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 10px var(--cyan-glow);
}

.btn-danger {
  background: var(--coral);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-danger:hover {
  background: #e11d48;
  box-shadow: 0 0 15px var(--coral-glow);
}

/* Footer */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface);
  padding: 40px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cyan);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.3rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .nav-links {
    display: none;
  }
  .download-actions {
    flex-direction: column;
    width: 100%;
  }
  .download-btn {
    width: 100%;
    justify-content: center;
  }
}


.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.4);
  border: 1.5px solid rgba(6, 182, 212, 0.5);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-img {
  transform: scale(1.08) rotate(-3deg);
}

/* Hero Mascot Badge */
.hero-mascot-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.mascot-hero-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(14, 20, 36, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.35);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.18);
  backdrop-filter: blur(12px);
  padding: 10px 22px 10px 12px;
  border-radius: 50px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mascot-hero-card:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
  box-shadow: 0 12px 36px rgba(6, 182, 212, 0.3);
}

.hero-mascot-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow);
  animation: mascot-float 3.5s ease-in-out infinite alternate;
}

@keyframes mascot-float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.mascot-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.mascot-name {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
  letter-spacing: -0.3px;
}

.mascot-desc {
  font-size: 0.8rem;
  color: var(--cyan-bright);
}
