:root {
  color-scheme: dark;
  --bg: #0f1115;
  --panel: #171a21;
  --panel-hover: #1f232c;
  --text: #f5f7fb;
  --muted: #b6becc;
  --line: #2a2f3a;
  --primary: #00d4ff;
  --primary-glow: rgba(0, 212, 255, 0.15);
  --gradient-bg: radial-gradient(circle at 15% 50%, rgba(0, 212, 255, 0.08), transparent 25%),
                 radial-gradient(circle at 85% 30%, rgba(0, 80, 255, 0.05), transparent 25%);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  background-image: var(--gradient-bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: var(--primary); text-decoration: none; transition: 0.2s ease; }
a:hover { text-decoration: none; opacity: 0.8; }

.container { width: min(1200px, 92vw); margin: 0 auto; }

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(15, 17, 21, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, #b6becc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav nav { display: flex; gap: 24px; font-size: 0.95rem; font-weight: 500; }
.nav nav a { color: var(--muted); }
.nav nav a:hover { color: var(--text); }

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 0 60px;
  min-height: 80vh;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(to bottom right, #ffffff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; margin-top: 32px; }

.btn {
  border-radius: 12px;
  padding: 14px 28px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: #0b1114;
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--muted);
}

/* Mockup Images */
.hero-phone {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  max-height: 700px;
  width: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Features Section */
.section { padding: 100px 0; }

.section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
}

.section-copy {
  text-align: center;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s ease;
}

.card:hover {
  background: var(--panel-hover);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  color: var(--primary);
}

.card p { margin: 0; color: var(--muted); line-height: 1.6; }

/* Preview Section */
.preview-panel {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.ui-preview {
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line);
  max-width: 800px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 80px;
  background: rgba(15, 17, 21, 0.4);
}

.footer-inner {
  padding: 60px 0;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }

.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}
.legal h1 { font-size: 2.5rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.5rem; margin-top: 2rem; color: var(--text); }
.legal p, .legal li { color: var(--muted); margin-bottom: 1rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-top: 40px;
  }
  .hero h1 { font-size: 3rem; }
  .hero p { margin: 0 auto 30px; }
  .hero-actions { justify-content: center; }
  .phone-mockup { max-height: 500px; }
  
  .footer-inner { flex-direction: column; gap: 20px; align-items: center; }
}
