/* ============================================================
   Nagoh Creative Web Hosting — Main Stylesheet
   Colour palette: Dark navy + Neon green/teal
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-primary:    #050d1a;
  --bg-secondary:  #0a1929;
  --bg-card:       #0d2137;
  --bg-card-hover: #112847;
  --accent-green:  #00ff88;
  --accent-teal:   #00d4aa;
  --accent-blue:   #00b4f5;
  --accent-purple: #7c3aed;
  --text-primary:  #e8f0fe;
  --text-secondary:#8892b0;
  --text-muted:    #4a5568;
  --border:        rgba(0, 255, 136, 0.15);
  --border-hover:  rgba(0, 255, 136, 0.45);
  --shadow-card:   0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-glow:   0 0 40px rgba(0, 255, 136, 0.18);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent-green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-teal); }

img { max-width: 100%; display: block; }

ul { list-style: none; }

/* ---------- Utility Classes ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.text-center { text-align: center; }
.text-accent  { color: var(--accent-green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
  color: #050d1a;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.4);
  color: #050d1a;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-green);
  color: var(--accent-green);
}
.btn-outline:hover {
  background: rgba(0, 255, 136, 0.1);
  transform: translateY(-2px);
  color: var(--accent-green);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 13, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(5, 13, 26, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #050d1a;
  font-weight: 900;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent-green); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0, 255, 136, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0, 180, 245, 0.06) 0%, transparent 60%),
    var(--bg-primary);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-green);
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-teal) 50%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 32px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  animation: float 4s ease-in-out infinite;
}

.mockup-bar {
  background: rgba(0,0,0,0.3);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-url {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-left: 8px;
}

.mockup-body {
  padding: 24px;
}

.mockup-hero-block {
  background: linear-gradient(135deg, rgba(0,255,136,0.1), rgba(0,180,245,0.08));
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
  text-align: center;
}
.mockup-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.mockup-sub { font-size: 0.72rem; color: var(--text-secondary); margin-bottom: 14px; }
.mockup-btn {
  display: inline-block;
  background: var(--accent-green);
  color: #050d1a;
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.72rem;
  font-weight: 700;
}

.mockup-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mockup-card {
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
}
.mockup-card-icon { font-size: 1.2rem; margin-bottom: 4px; }
.mockup-card-label { font-size: 0.65rem; color: var(--text-secondary); }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.trust-item .ti-icon {
  font-size: 1.2rem;
  color: var(--accent-green);
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
  align-items: start;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  background: var(--bg-card-hover);
}

.plan-card.featured {
  border-color: var(--accent-green);
  background: linear-gradient(160deg, #0d2137 0%, #0a2240 100%);
  transform: scale(1.03);
  box-shadow: var(--shadow-card), 0 0 60px rgba(0, 255, 136, 0.2);
}

.plan-card.featured:hover { transform: scale(1.03) translateY(-6px); }

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-green), var(--accent-teal));
  color: #050d1a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 50px;
  white-space: nowrap;
}

.plan-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: rgba(0, 255, 136, 0.1);
}

.plan-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.plan-tagline {
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.plan-price {
  margin-bottom: 24px;
}
.plan-price .amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent-green);
  line-height: 1;
}
.plan-price .currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-green);
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
}
.plan-price .period {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-left: 4px;
}

.plan-features {
  flex: 1;
  margin-bottom: 28px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li .check {
  color: var(--accent-green);
  font-size: 0.95rem;
  margin-top: 1px;
  flex-shrink: 0;
}
.plan-features li .cross {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.plan-features li.disabled { opacity: 0.4; }

.plan-cta { width: 100%; text-align: center; }

/* ---------- Comparison Table ---------- */
.compare-wrap {
  margin-top: 72px;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.compare-table thead tr {
  background: var(--bg-secondary);
}

.compare-table th {
  padding: 18px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.compare-table th:first-child { color: var(--text-primary); }
.compare-table th.highlight {
  color: var(--accent-green);
  background: rgba(0, 255, 136, 0.05);
}

.compare-table td {
  padding: 15px 24px;
  font-size: 0.87rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.compare-table tbody tr:last-child td { border-bottom: none; }

.compare-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.compare-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
}

.compare-table td.highlight {
  background: rgba(0, 255, 136, 0.04);
  color: var(--accent-green);
  font-weight: 500;
}

.check-green { color: var(--accent-green); font-size: 1rem; }
.dash-muted  { color: var(--text-muted); }

/* ---------- How It Works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid var(--accent-green);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  box-shadow: 0 0 24px rgba(0,255,136,0.15);
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ---------- GitHub Powers Section ---------- */
.github-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(13,33,55,0.8) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.github-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.github-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.github-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.github-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.github-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  transition: all var(--transition);
}
.github-benefit:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}
.github-benefit-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.github-benefit-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.github-benefit-text span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* GitHub visual */
.github-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.github-visual-header {
  background: rgba(0,0,0,0.25);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.gh-icon-wrap {
  width: 32px; height: 32px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gh-icon-wrap svg { width: 20px; height: 20px; }

.github-visual-header-text strong { font-size: 0.9rem; color: var(--text-primary); display: block; }
.github-visual-header-text span  { font-size: 0.75rem; color: var(--text-secondary); }

.github-visual-body { padding: 20px; }

.gh-file-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.gh-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.2);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.gh-file-icon { font-size: 1rem; }
.gh-file-name { flex: 1; color: var(--accent-blue); }
.gh-file-date { font-size: 0.72rem; }

.gh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,255,136,0.1);
  border: 1px solid rgba(0,255,136,0.25);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-green);
}
.gh-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 2s infinite;
}

/* ---------- Signup Form ---------- */
.form-section { background: var(--bg-secondary); }

.form-wrapper {
  max-width: 720px;
  margin: 56px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}
.form-label .optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-left: 4px;
}

.form-control {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  font-family: inherit;
}

.form-control::placeholder { color: var(--text-muted); }

.form-control:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(0,255,136,0.12);
  background: rgba(0,255,136,0.03);
}

.form-control.error {
  border-color: #ff4d6d;
  box-shadow: 0 0 0 3px rgba(255,77,109,0.12);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238892b0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

select.form-control option {
  background: #0d2137;
  color: var(--text-primary);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.field-error {
  font-size: 0.78rem;
  color: #ff4d6d;
  display: none;
}
.field-error.visible { display: block; }

.form-submit {
  margin-top: 12px;
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

.form-note {
  margin-top: 16px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Form spinner */
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(5,13,26,0.3);
  border-top-color: #050d1a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ---------- Alert / Toast ---------- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: none;
}
.alert.visible { display: block; }
.alert-success {
  background: rgba(0,255,136,0.1);
  border: 1px solid rgba(0,255,136,0.3);
  color: var(--accent-green);
}
.alert-error {
  background: rgba(255,77,109,0.1);
  border: 1px solid rgba(255,77,109,0.3);
  color: #ff4d6d;
}

/* ---------- Footer ---------- */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 14px;
  display: inline-flex;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 260px;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent-green); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Thank You Page ---------- */
.thankyou-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(0,255,136,0.07) 0%, transparent 70%),
    var(--bg-primary);
}

.thankyou-card {
  text-align: center;
  max-width: 560px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  animation: fadeInUp 0.6s ease both;
}

.thankyou-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: bounceIn 0.8s ease both 0.2s;
  display: block;
}

.thankyou-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.thankyou-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.65;
}

.thankyou-detail {
  background: rgba(0,255,136,0.07);
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-bottom: 32px;
  font-size: 0.88rem;
  color: var(--accent-teal);
  line-height: 1.65;
}

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

/* ---------- Dashboard Styles ---------- */
.db-wrapper {
  min-height: 100vh;
  display: flex;
  background: var(--bg-primary);
}

/* Sidebar */
.db-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  overflow-y: auto;
}

.db-sidebar-logo {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}

.db-nav {
  flex: 1;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.db-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.db-nav-item:hover {
  background: rgba(0,255,136,0.06);
  color: var(--accent-green);
}
.db-nav-item.active {
  background: rgba(0,255,136,0.1);
  color: var(--accent-green);
  font-weight: 600;
}
.db-nav-item .nav-icon { font-size: 1.05rem; }

.db-sidebar-footer {
  padding: 16px 12px;
  border-top: 1px solid var(--border);
}

/* Main content */
.db-main {
  flex: 1;
  margin-left: 260px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.db-topbar {
  height: 64px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.db-topbar h1 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.db-content { padding: 32px 28px; flex: 1; }

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat-card-label { font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.06em; }
.stat-card-value { font-size: 2rem; font-weight: 800; color: var(--text-primary); line-height: 1; }
.stat-card-sub   { font-size: 0.78rem; color: var(--text-muted); }
.stat-card-icon  { font-size: 1.4rem; align-self: flex-end; margin-top: -32px; }

/* Table */
.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table-toolbar {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.table-toolbar h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.toolbar-right { display: flex; align-items: center; gap: 10px; }

.search-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--text-primary);
  outline: none;
  width: 220px;
  font-family: inherit;
  transition: border-color var(--transition);
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus { border-color: var(--accent-green); }

.filter-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--text-primary);
  outline: none;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition);
}
.filter-select:focus { border-color: var(--accent-green); }
.filter-select option { background: #0d2137; }

.submissions-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.submissions-table thead tr { background: rgba(0,0,0,0.2); }
.submissions-table th {
  padding: 12px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: left;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.submissions-table td {
  padding: 14px 16px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  vertical-align: middle;
}
.submissions-table tbody tr:last-child td { border-bottom: none; }
.submissions-table tbody tr:hover { background: rgba(255,255,255,0.02); cursor: pointer; }

.td-name  { font-weight: 600; color: var(--text-primary); }
.td-email { color: var(--accent-blue); font-size: 0.83rem; }
.td-date  { font-size: 0.78rem; color: var(--text-muted); white-space: nowrap; }

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: capitalize;
}
.status-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
}
.status-new       { background: rgba(0,180,245,0.15); color: #00b4f5; }
.status-new::before { background: #00b4f5; }
.status-contacted { background: rgba(250,204,21,0.15); color: #fbbf24; }
.status-contacted::before { background: #fbbf24; }
.status-active    { background: rgba(0,255,136,0.12); color: var(--accent-green); }
.status-active::before { background: var(--accent-green); }
.status-closed    { background: rgba(255,255,255,0.07); color: var(--text-muted); }
.status-closed::before { background: var(--text-muted); }

/* Package badge */
.pkg-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.73rem;
  font-weight: 700;
}
.pkg-basic    { background: rgba(0,180,245,0.12); color: #00b4f5; }
.pkg-pro      { background: rgba(124,58,237,0.2); color: #a78bfa; }
.pkg-business { background: rgba(0,255,136,0.12); color: var(--accent-green); }

/* Action buttons in table */
.td-actions { display: flex; gap: 6px; }
.btn-icon {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all var(--transition);
  line-height: 1;
}
.btn-icon:hover { background: rgba(0,255,136,0.1); color: var(--accent-green); border-color: rgba(0,255,136,0.3); }
.btn-icon.danger:hover { background: rgba(255,77,109,0.1); color: #ff4d6d; border-color: rgba(255,77,109,0.3); }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.visible { opacity: 1; pointer-events: all; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform var(--transition);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.modal-overlay.visible .modal { transform: scale(1); }

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.modal-title { font-size: 1.15rem; font-weight: 700; color: var(--text-primary); }

.modal-close {
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 6px;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--transition);
}
.modal-close:hover { background: rgba(255,77,109,0.1); color: #ff4d6d; }

.detail-row {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.87rem;
}
.detail-row:last-child { border-bottom: none; }
.detail-label { color: var(--text-secondary); min-width: 110px; font-weight: 500; }
.detail-value { color: var(--text-primary); flex: 1; word-break: break-word; }

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

/* Setup modal */
.setup-form { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }

/* Login overlay */
.login-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  animation: fadeInUp 0.5s ease both;
}
.login-icon { font-size: 2.8rem; margin-bottom: 16px; }
.login-title { font-size: 1.4rem; font-weight: 800; color: var(--text-primary); margin-bottom: 6px; }
.login-sub   { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 28px; }

.empty-state {
  padding: 60px 24px;
  text-align: center;
  color: var(--text-muted);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 14px; }
.empty-state p { font-size: 0.9rem; }

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Animations ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,255,136,0.4); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 6px rgba(0,255,136,0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
  0%   { transform: scale(0.3); opacity: 0; }
  50%  { transform: scale(1.08); }
  70%  { transform: scale(0.95); }
  100% { transform: scale(1); opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner        { grid-template-columns: 1fr; text-align: center; }
  .hero-actions      { justify-content: center; }
  .hero-stats        { justify-content: center; }
  .hero-visual       { display: none; }
  .pricing-grid      { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .plan-card.featured { transform: scale(1); }
  .steps-grid        { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .github-inner      { grid-template-columns: 1fr; }
  .form-grid         { grid-template-columns: 1fr; }
  .form-group.full   { grid-column: 1; }
  .form-wrapper      { padding: 32px 24px; }
  .db-sidebar        { transform: translateX(-100%); }
  .db-sidebar.open   { transform: none; }
  .db-main           { margin-left: 0; }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .footer-grid       { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .section           { padding: 64px 0; }
  .nav-links         { display: none; }
  .nav-toggle        { display: flex; }
  .nav-cta           { display: none; }
  .hero-stats        { flex-direction: column; gap: 16px; align-items: center; }
  .trust-items       { gap: 20px; }
  .steps-grid        { grid-template-columns: 1fr; }
  .stats-grid        { grid-template-columns: 1fr; }
  .table-toolbar     { flex-direction: column; align-items: flex-start; }
  .toolbar-right     { flex-wrap: wrap; width: 100%; }
  .search-input      { width: 100%; }
}
