:root {
  /* Red theme variables */
  --bg-900: #0a0a0c;
  --bg-800: #0f0b0b;
  --text-100: #fff8f8;
  --muted: rgba(255,255,255,0.75);
  --accent: #e23b3b; /* primary red */
  --accent-600: #c53030;
  --accent-400: #ff6161;
  font-family: 'Poppins', Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-100);
  background: var(--bg-900);
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.6;
  background: radial-gradient(circle at top, rgba(226,59,59,0.06), transparent 35%),
    radial-gradient(circle at bottom right, rgba(198,40,40,0.04), transparent 28%),
    var(--bg-900);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(3, 12, 31, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-100);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
}
.site-nav a:hover {
  color: var(--text-100);
  transform: translateY(-1px);
}
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-600));
  color: #fff;
  box-shadow: 0 10px 30px rgba(226,59,59,0.18);
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: var(--text-100);
  border: 1px solid rgba(255,255,255,0.04);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.7rem 1rem;
  border-radius: 0.85rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.mobile-menu a {
  color: #e6ebff;
  text-decoration: none;
}

.hero {
  padding: 4rem 0 2rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 1rem 0 1.5rem;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.02;
  max-width: 11ch;
}

.eyebrow {
  margin: 0;
  color: var(--accent-400);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy p {
  max-width: 70ch;
  color: rgba(255, 255, 255, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.hero-card {
  width: min(380px, 100%);
  padding: 2rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(18,10,10,0.6), rgba(12,8,8,0.8));
  border: 1px solid rgba(226,59,59,0.08);
  box-shadow: 0 30px 60px rgba(198,40,40,0.14);
}

.hero-card span {
  display: block;
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
}

.hero-card p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.signup-form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.signup-form label {
  display: grid;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.signup-form input {
  width: 100%;
  padding: 1rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #f5f7fb;
}

.signup-form input:focus {
  outline: none;
  border-color: var(--accent-400);
  box-shadow: 0 0 0 4px rgba(226,59,59,0.12);
}

.error-box,
.success-box {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  font-weight: 600;
}

.error-box {
  background: rgba(255, 66, 99, 0.12);
  color: #ffabb0;
  border: 1px solid rgba(255, 66, 99, 0.2);
}

.success-box {
  background: rgba(61, 184, 131, 0.15);
  color: #c7ffe0;
  border: 1px solid rgba(61, 184, 131, 0.28);
}

.error-box {
  background: rgba(226,59,59,0.08);
  color: #ffd6d6;
  border: 1px solid rgba(226,59,59,0.18);
}
.success-box {
  background: rgba(52,199,132,0.08);
  color: #eaffef;
  border: 1px solid rgba(52,199,132,0.16);
}
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0;
}

.section-text h2,
.section-header h2 {
  margin: 0.75rem 0 1.5rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.1;
}

.feature-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.feature-list div {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
}

.feature-list strong {
  color: #5bd79f;
}

.about-image .image-box {
  min-height: 300px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(226,59,59,0.06), rgba(198,40,40,0.04));
  display: grid;
  place-items: center;
  color: var(--text-100);
  font-size: 1.1rem;
  text-align: center;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.services {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: linear-gradient(180deg, rgba(14,8,8,0.6), rgba(12,8,8,0.8));
  border: 1px solid rgba(226,59,59,0.06);
  border-radius: 18px;
  padding: 1.5rem;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  font-size: 1.5rem;
}

.service-card h3 {
  margin: 0;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  flex: 1;
}

.read-more {
  color: var(--accent-400);
  text-decoration: none;
  font-weight: 700;
}

.dashboard-wrapper {
  padding: 3rem 0;
}

.dashboard-hero {
  padding-bottom: 2.5rem;
}

.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.dashboard-top h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(2.25rem, 3vw, 3.5rem);
  line-height: 1.05;
}

.balance-box {
  background: rgba(83, 135, 255, 0.14);
  border: 1px solid rgba(83, 135, 255, 0.28);
  padding: 1.5rem 2rem;
  border-radius: 28px;
  text-align: center;
}

.balance-box span {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.5rem;
}

.balance-box strong {
  font-size: 2rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
}

.account-menu {
  display: grid;
  gap: 0.75rem;
  background: rgba(7, 15, 36, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 1.5rem;
}

.account-menu a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 0.9rem 1rem;
  border-radius: 18px;
}

.account-menu a.active,
.account-menu a:hover {
  background: rgba(83, 135, 255, 0.16);
  color: #fff;
}

.dashboard-main {
  display: grid;
  gap: 1.5rem;
}

.summary-panel {
  background: rgba(7, 15, 36, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
}

.summary-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.summary-items div {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.2rem 1.4rem;
}

.summary-items p {
  margin: 0 0 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.summary-items strong {
  font-size: 1.25rem;
  display: block;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.dashboard-card {
  background: rgba(7, 15, 36, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 1.75rem;
}

.dashboard-card h3 {
  margin: 0 0 1.25rem;
}

.card-list {
  display: grid;
  gap: 1rem;
}

.card-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.card-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.profile-card,
.support-panel {
  background: rgba(7, 15, 36, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.profile-card h2 {
  margin: 0.4rem 0 0;
}

.support-panel h3 {
  margin: 0 0 0.75rem;
}

.support-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.73);
  max-width: 48rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 980px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .summary-items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .dashboard-top {
    text-align: center;
  }

  .balance-box {
    width: 100%;
  }
}

.cta {
  padding: 3rem 0;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem;
  border-radius: 28px;
  background: rgba(7, 15, 36, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-panel h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 2vw, 2.6rem);
}

.cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-inner p {
  margin: 0.4rem 0;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 980px) {
  .hero-content,
  .section-grid {
    grid-template-columns: 1fr;
  }

  .hero .container {
    padding-top: 1rem;
  }
}

@media (max-width: 780px) {
  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu.open {
    display: flex;
  }

  .section-header,
  .cta-panel {
    text-align: center;
    justify-content: center;
  }

  .cta-panel {
    flex-direction: column;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}
