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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a1628;
  color: #c0cfde;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: #1cd4a7; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Nav ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

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

.nav-brand img.nav-logo { height: 36px; }
.nav-brand img.nav-text { height: 18px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: #6a8aaa;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover { color: #c0cfde; text-decoration: none; }

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  border: none;
  text-align: center;
}

.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: #1cd4a7;
  color: #0a1628;
}

.btn-primary:hover { background: #17b892; }

.btn-ghost {
  background: rgba(28,212,167,0.1);
  color: #1cd4a7;
  border: 1px solid rgba(28,212,167,0.25);
}

.btn-ghost:hover { background: rgba(28,212,167,0.2); }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 80px 40px 60px;
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span { color: #1cd4a7; }

.hero p {
  font-size: 18px;
  color: #6a8aaa;
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

/* ── Features ── */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 40px 80px;
}

.feature-card {
  background: #0f1f38;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #c0cfde;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: #4a6a8a;
  line-height: 1.6;
}

/* ── Auth pages ── */
.auth-container {
  max-width: 400px;
  margin: 80px auto 0;
  padding: 0 20px;
}

.auth-card {
  background: #0f1f38;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.auth-card h2 {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 24px;
  text-align: center;
}

.auth-input {
  width: 100%;
  background: #081424;
  border: 1px solid #1a3050;
  border-radius: 8px;
  padding: 12px 14px;
  color: #c0cfde;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  margin-bottom: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input:focus {
  border-color: #1cd4a7;
  box-shadow: 0 0 0 2px rgba(28, 212, 167, 0.15);
}

.auth-input::placeholder { color: #263850; }

.auth-btn {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: #1cd4a7;
  color: #0a1628;
  transition: background 0.15s;
  margin-bottom: 12px;
}

.auth-btn:hover { background: #17b892; }

.auth-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-error {
  background: rgba(233,69,96,0.1);
  border: 1px solid rgba(233,69,96,0.2);
  color: #e94560;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
  display: none;
}

.auth-success {
  background: rgba(28,212,167,0.1);
  border: 1px solid rgba(28,212,167,0.2);
  color: #1cd4a7;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
  display: none;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #3a5a7a;
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #1a3050;
}

.auth-google-btn {
  width: 100%;
  padding: 11px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid #1a3050;
  background: #142840;
  color: #c0cfde;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.15s;
}

.auth-google-btn:hover { background: #1a3050; }

.auth-google-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.auth-footer {
  text-align: center;
  font-size: 13px;
  color: #4a6a8a;
  margin-top: 16px;
}

/* ── Account page ── */
.account-container {
  max-width: 500px;
  margin: 80px auto 0;
  padding: 0 20px;
}

.account-card {
  background: #0f1f38;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  text-align: center;
}

.account-card h2 {
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 24px;
}

.account-detail {
  margin-bottom: 8px;
}

.account-detail .label {
  font-size: 12px;
  color: #4a6a8a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.account-detail .value {
  font-size: 16px;
  color: #c0cfde;
  font-weight: 500;
}

.account-plan-badge {
  display: inline-block;
  background: rgba(28,212,167,0.12);
  color: #1cd4a7;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  margin: 12px 0 24px;
}

.btn-signout {
  background: #142840;
  border: 1px solid #1a3050;
  color: #6a8aaa;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-signout:hover {
  background: #1a3050;
  color: #c0cfde;
}

/* ── Footer ── */
.footer {
  text-align: center;
  padding: 40px;
  color: #2e4e6e;
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,0.04);
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .hero h1 { font-size: 32px; }
  .features { grid-template-columns: 1fr; }
  .nav { padding: 16px 20px; }
  .hero { padding: 60px 20px 40px; }
  .features { padding: 20px 20px 60px; }
}
