/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #07121c;
  --bg-card: #1a252e;
  --text: #ffffff;
  --text-secondary: #a0aab4;
  --brand: #00b8b8;
  --brand-accent: #00f0c4;
  --divider: #384149;
  --radius: 12px;
  --container: 1080px;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--brand); text-decoration: none; }

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

/* ===== Nav ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 18, 28, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--bg-card);
  transition: background 0.2s;
}
.nav-link:hover { background: var(--divider); }

/* ===== Hero ===== */
.hero {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-top: 80px;
  padding-bottom: 80px;
  min-height: calc(100vh - 64px);
}

.hero-content {
  flex: 1;
  min-width: 0;
}

h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin-top: 20px;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--brand);
  color: #000;
  box-shadow: 0 4px 24px rgba(0, 184, 184, 0.25);
}
.btn-primary:hover {
  background: var(--brand-accent);
  box-shadow: 0 6px 32px rgba(0, 240, 196, 0.3);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--divider);
  position: relative;
}
.btn-secondary:hover { background: var(--divider); }

.badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 20px;
  background: var(--brand);
  color: #000;
}

/* ===== Phone frame ===== */
.hero-visual {
  flex-shrink: 0;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: var(--bg-card);
  border-radius: 36px;
  border: 3px solid var(--divider);
  padding: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(135deg, #0a1a2a, #142838);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone-icon {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  opacity: 0.9;
}

/* ===== Features ===== */
.features {
  padding: 80px 24px;
}

.features h2 {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== CTA ===== */
.cta {
  text-align: center;
  padding: 80px 24px;
  border-top: 1px solid var(--divider);
}

.cta h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ===== Footer ===== */
footer {
  margin-top: auto;
  border-top: 1px solid var(--divider);
  padding: 24px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 48px;
    padding-bottom: 48px;
    gap: 40px;
  }

  .hero-sub { margin-left: auto; margin-right: auto; }

  .hero-actions { justify-content: center; }

  .phone-frame {
    width: 220px;
    height: 440px;
  }

  .phone-icon {
    width: 72px;
    height: 72px;
  }

  .footer-content {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
