﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

:root {
  --bg: #0d0f14;
  --panel: #141821;
  --panel-2: #10141c;
  --line: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --accent: #55c5ff;
  --accent-2: #8fe0ff;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: -20% auto auto -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(85, 197, 255, 0.18), transparent 62%);
  pointer-events: none;
  z-index: -1;
}

.site-header {
  width: 100%;
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 70px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background: rgba(13, 15, 20, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.logo {
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.18s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

.profile-area {
  position: relative;
}

.profile-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #262d38;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.profile-circle:hover {
  border-color: rgba(85, 197, 255, 0.55);
}

.profile-menu {
  display: none;
  position: absolute;
  top: 50px;
  right: 0;
  width: 168px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #11151d;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.profile-menu.show {
  display: block;
}

.profile-menu button {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: white;
  text-align: left;
  cursor: pointer;
}

.profile-menu button:hover {
  background: rgba(85, 197, 255, 0.12);
}

.hero {
  min-height: 100vh;
  padding: 132px 70px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.account-hero h1 {
  max-width: 780px;
  font-size: 52px;
  line-height: 1.15;
  color: var(--accent);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

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

.primary-btn,
.secondary-btn,
.inline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary-btn {
  border: 0;
  background: var(--accent);
  color: #071018;
}

.secondary-btn,
.inline-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: white;
}

.primary-btn:hover {
  background: #6ed0ff;
}

.secondary-btn:hover,
.inline-btn:hover {
  border-color: rgba(85, 197, 255, 0.45);
}

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.auth-box {
  width: min(380px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 24, 33, 0.9);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
}

.auth-box h2 {
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 28px;
}

.auth-box input {
  width: 100%;
  height: 46px;
  margin-bottom: 12px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.34);
  color: white;
  outline: none;
}

.auth-box input:focus {
  border-color: var(--accent);
}

.auth-box button {
  width: 100%;
  height: 46px;
  margin-top: 4px;
  border: 0;
  border-radius: 7px;
  background: var(--accent);
  color: #071018;
  font-weight: 800;
  cursor: pointer;
}

.auth-box p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
}

.auth-box a {
  color: var(--accent);
  text-decoration: none;
}

.dashboard-body {
  min-height: 100vh;
  padding-top: 86px;
}

.dashboard-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 28px 60px;
}

.dashboard-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 28px;
}

.dashboard-title h1 {
  font-size: 34px;
  color: var(--accent);
}

.dashboard-title p {
  margin-top: 10px;
  color: var(--muted);
}

.tabs {
  display: flex;
  gap: 8px;
  padding: 6px;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.tab-button {
  min-width: 98px;
  height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  cursor: pointer;
}

.tab-button.active {
  background: var(--accent);
  color: #071018;
}

.tab-panel {
  display: none;
  margin-top: 24px;
}

.tab-panel.active {
  display: block;
}

.service-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.plan-card,
.account-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 24, 33, 0.82);
  padding: 22px;
}

.service-card h2,
.plan-card h3,
.account-card h2 {
  color: white;
  font-size: 22px;
}

.service-card p,
.plan-card p,
.account-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.55;
}

.service-card footer,
.plan-card footer {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(85, 197, 255, 0.14);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
}

.plan-card.disabled {
  opacity: 0.55;
}

.plan-meta {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--muted);
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.back-row {
  margin-bottom: 18px;
}

.notice {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(85, 197, 255, 0.24);
  border-radius: 8px;
  background: rgba(85, 197, 255, 0.08);
  color: var(--muted);
}

@media (max-width: 760px) {
  .site-header {
    padding: 18px 20px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    display: none;
  }

  .hero {
    padding-inline: 22px;
  }

  .account-hero h1 {
    font-size: 36px;
  }

  .hero-actions,
  .dashboard-title {
    flex-direction: column;
    align-items: stretch;
  }

  .service-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }
}
