:root {
  --bg: #050b13;
  --panel: rgba(12, 20, 34, 0.9);
  --panel-soft: rgba(15, 24, 38, 0.8);
  --border: rgba(120, 150, 188, 0.3);
  --text: #ecf3ff;
  --text-soft: #9fb8d6;
  --accent: #c5ff00;
  --accent-soft: rgba(197, 255, 0, 0.16);
  --danger: #ff6b6b;
  --font: "Inter", "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body.landing-page {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(circle at 15% 20%, rgba(102, 245, 161, 0.18), transparent 55%),
    linear-gradient(135deg, #081426 0%, #050f1d 48%, #071c32 100%);
  color: var(--text);
  min-height: 100vh;
  position: relative;
}

body.landing-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('assets/background.jpg') center/cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

body.landing-page .landing-app,
body.landing-page .section,
body.landing-page .topbar,
body.landing-page .login-hero,
body.landing-page .landing-card,
body.landing-page .pricing-card {
  position: relative;
  z-index: 1;
}

.sub {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.5;
}

.betman-green {
  color: var(--accent);
  font-weight: 700;
}

.landing-app {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 18px 80px;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(9, 16, 26, 0.85);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}

.brand-logo {
  width: clamp(110px, 14vw, 190px);
  height: clamp(110px, 14vw, 190px);
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,0.45));
}

.topbar-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.topbar-link {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar-link:hover {
  color: var(--accent);
}

.login-hero {
  margin: 30px 0;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(6, 18, 36, 0.35), rgba(3, 6, 13, 0.55)),
    url('assets/background.jpg') center/cover;
  min-height: 260px;
  padding: 32px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.login-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% -20%, rgba(197, 255, 0, 0.18), transparent 40%);
  pointer-events: none;
}

.login-hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 520px;
}

.hero-tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(197, 255, 0, 0.4);
  background: var(--accent-soft);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.login-hero h2 {
  margin: 0 0 10px;
  font-size: 32px;
  letter-spacing: -0.01em;
}

.login-hero p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.5;
}

.section {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 22px;
  margin-top: 24px;
}

.section h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.section .sub {
  margin: 0 0 14px;
  color: var(--text-soft);
  line-height: 1.5;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.pricing-card {
  display: block;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
  min-height: 150px;
}

.pricing-card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 120px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.pricing-card-day {
  border-color: var(--accent);
  box-shadow: 0 14px 28px rgba(197,255,0,.12);
}

.pricing-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
  transition: opacity 0.6s ease;
  opacity: 1;
}

.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.plan-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 700;
}

.plan-price {
  font-size: 32px;
  margin: 6px 0;
  font-weight: 800;
}

.plan-cycle {
  font-size: 14px;
  font-weight: 600;
}

.plan-note {
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 12px;
}

.pricing-card-single {
  border-color: rgba(43, 140, 255, 0.55);
}

.pricing-card-commercial {
  border-color: rgba(245, 192, 102, 0.6);
}

.pricing-card-tester {
  border-color: rgba(197, 255, 0, 0.6);
}

.landing-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(9, 16, 26, 0.8);
  padding: 18px;
}

.landing-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.input-row {
  display: flex;
  gap: 8px;
}

.input-row input {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(140, 165, 200, 0.4);
  background: rgba(8, 14, 24, 0.9);
  color: var(--text);
  font-size: 15px;
}

.input-row + .input-row {
  margin-top: 8px;
}

.login-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.login-actions .btn,
.login-actions .btn-ghost {
  margin-top: 0;
}

.btn,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
}

.btn {
  background: linear-gradient(90deg, #e7ff6f, var(--accent));
  color: #052033;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text);
}

#loginMsg {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-soft);
}

#loginMsg a {
  color: var(--accent);
}

body.safari-browser .topbar,
body.safari-browser .landing-card,
body.safari-browser .section {
  background: rgba(9, 16, 26, 0.95);
  backdrop-filter: none;
}

body.safari-browser .pricing-card {
  background: rgba(9, 16, 26, 0.9);
}

body.safari-browser .login-hero {
  background: #071020;
  background-image: none;
}

@media (max-width: 720px) {
  .login-hero {
    padding: 22px;
  }

  .landing-card,
  .section,
  .pricing-card,
  .topbar {
    padding: 16px;
  }

  .btn,
  .btn-ghost {
    width: 100%;
  }

  .input-row {
    flex-direction: column;
  }
}
