@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --primary: #4CB7D6;
  --primary-dark: #3399B8;
  --accent: #00D4A9;
  --accent-dark: #00B89D;
  --bg: #F8FAFC;
  --bg-soft: #EEFBFF;
  --ink: #0F172A;
  --ink-soft: #64748B;
  --transparent: #00000000;
  --line: #E2E8F0;
  --paper: #FFFFFF;
  --panel: #FFFFFF;
  --panel-soft: #F1F5F9;
  --overlay: #00000000;
  
  /* Dark elements */
  --dark-bg: #0F172A;
  --dark-text: #FFFFFF;

  /* Heading scale: desktop defaults */
  --h-xl: 64px;
  --h-l: 52px;
  --h-m: 40px;
  --h-s: 28px;
  --h-xs: 22px;
  --h-xxs: 18px;

  /* Body scale: desktop defaults */
  --b-lg: 18px;
  --b-md: 16px;
  --b-sm: 14px;

  --radius: 20px;
  --radius-sm: 16px;
  --shadow: 0 10px 40px rgba(76, 183, 214, 0.08);
  --shadow-soft: 0 4px 16px rgba(76, 183, 214, 0.04);
  --shadow-hover: 0 20px 60px rgba(76, 183, 214, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: linear-gradient(135deg, #F8FAFC 0%, #EEFBFF 50%, #F8FAFC 100%);
  min-height: 100vh;
  line-height: 1.6;
  font-size: var(--b-md);
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
}

.orb-a {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -200px;
  background: linear-gradient(135deg, rgba(76, 183, 214, 0.4), rgba(0, 212, 169, 0.2));
  animation: float-orb-a 15s ease-in-out infinite alternate;
}

.orb-b {
  width: 500px;
  height: 500px;
  right: -150px;
  bottom: -100px;
  background: linear-gradient(135deg, rgba(0, 212, 169, 0.3), rgba(76, 183, 214, 0.2));
  animation: float-orb-b 18s ease-in-out infinite alternate;
}

.site-header,
main,
.site-footer {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 16px 20px;
  gap: 24px;
  border: 1px solid rgba(76, 183, 214, 0.12);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0;
  box-shadow: 0 2px 12px rgba(76, 183, 214, 0.04);
  margin-bottom: 0;
}

.logo {
  color: var(--primary);
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.75rem;
  display: inline-flex;
  align-items: center;
}

.logo-image {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--b-sm);
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: all 200ms ease;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  color: var(--primary);
  border-color: rgba(76, 183, 214, 0.3);
  background: rgba(76, 183, 214, 0.08);
}

.hero {
  margin-top: 32px;
  padding: 72px 48px;
  background: linear-gradient(135deg, #4CB7D6 0%, #3399B8 50%, #00D4A9 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 100px 100px, 150px 150px, 200px 200px;
  background-position: 0 0, 50px 50px, 100px 100px;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  right: -150px;
  top: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero h1,
.hero p,
.hero a {
  color: white;
}

.page {
  margin-top: 32px;
  padding: 48px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.98));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 12px;
  font-family: "Poppins", sans-serif;
}

.lead {
  color: var(--ink-soft);
  font-size: var(--b-lg);
  max-width: 68ch;
  line-height: 1.7;
}

h1 {
  font-family: "Poppins", sans-serif;
  font-size: var(--h-xl);
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.015em;
}

h2 {
  font-family: "Poppins", sans-serif;
  margin-top: 0;
  color: var(--ink);
  font-size: var(--h-l);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
}

h3 {
  font-family: "Poppins", sans-serif;
  margin-top: 0;
  color: var(--ink);
  font-size: var(--h-s);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h4,
.heading-xs {
  font-family: "Poppins", sans-serif;
  font-size: var(--h-xs);
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}

h5,
h6,
.heading-xxs {
  font-family: "Poppins", sans-serif;
  font-size: var(--h-xxs);
  line-height: 1.4;
  font-weight: 700;
  color: var(--ink);
}

.lead {
  color: var(--ink-soft);
  font-size: var(--b-lg);
  max-width: 68ch;
}

p,
li,
label,
input,
textarea,
select,
button {
  font-size: var(--b-md);
}

small {
  font-size: var(--b-sm);
}

/* Utility classes for explicit design-system usage */
.heading-xl { font-size: var(--h-xl); }
.heading-l { font-size: var(--h-l); }
.heading-m { font-size: var(--h-m); }
.heading-s { font-size: var(--h-s); }
.body-large { font-size: var(--b-lg); }
.body-medium { font-size: var(--b-md); }
.body-small { font-size: var(--b-sm); }

.hero-grid,
.split-layout,
.faq-grid,
.timeline,
.form-grid,
.feature-band {
  display: grid;
  gap: 32px;
}

.hero-grid,
.split-layout,
.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.highlight-panel,
.info-card,
.faq-item,
.timeline-item,
.stat-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.highlight-panel {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  border: 2px solid var(--primary);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.highlight-panel h2,
.highlight-panel h3 {
  color: var(--primary);
}

.highlight-panel p,
.highlight-panel li {
  color: var(--ink-soft);
}

.feature-list,
.clean-list {
  margin: 0;
  padding-left: 24px;
  line-height: 1.8;
}

.feature-list li,
.clean-list li {
  margin-bottom: 12px;
}

.section {
  margin-top: 48px;
  padding: 48px;
  background: linear-gradient(180deg, var(--paper) 0%, var(--panel-soft) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section-heading {
  margin-bottom: 40px;
  text-align: center;
}

.section-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--ink) 0%, var(--primary-dark) 100%);
  color: white;
}

.section-cta h2,
.section-cta p {
  color: white;
}

.section-cta .eyebrow {
  color: var(--accent);
}

.center-row {
  justify-content: center;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 200ms ease, box-shadow 250ms ease, background-color 200ms ease, border-color 200ms ease;
  font-family: "Poppins", sans-serif;
  font-size: var(--b-md);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 8px 24px rgba(76, 183, 214, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(76, 183, 214, 0.4);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.btn-ghost:hover {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(76, 183, 214, 0.15);
}

.hero .btn-ghost {
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.98);
  border: 2px solid var(--primary);
  border-color: rgba(76, 183, 214, 0.5);
  font-weight: 700;
  font-size: var(--b-md);
}

.hero .btn-ghost:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(76, 183, 214, 0.25);
}

.cards {
  margin-top: 32px;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 250ms ease, box-shadow 300ms ease, border-color 250ms ease, background-color 250ms ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(76, 183, 214, 0.3);
}

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial-card {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(76, 183, 214, 0.2);
}

.testimonial-card::before {
  content: "";
  display: block;
  width: 48px;
  height: 5px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--primary-dark) 100%);
  padding: 40px;
  border-radius: var(--radius);
  margin-top: 32px;
}

.stat-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  padding: 32px;
}

.stat-card strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 2.8rem;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 700;
}

.stat-card span {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--b-md);
}

.page-hero {
  display: grid;
  gap: 20px;
  margin-bottom: 32px;
}

.page-hero p {
  margin: 0;
  font-size: var(--b-lg);
  color: var(--ink-soft);
}

.icon-grid,
.three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.faq-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.faq-item h3,
.timeline-item h3,
.info-card h3,
.highlight-panel h2 {
  margin-bottom: 16px;
}

.timeline {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.timeline-item {
  position: relative;
  padding: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.99));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: all 250ms ease;
}

.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.timeline-item h3 {
  color: var(--primary);
  margin-bottom: 16px;
  font-size: var(--h-s);
}

.timeline-item p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(76, 183, 214, 0.12);
  color: var(--primary);
  font-weight: 500;
  font-size: var(--b-sm);
}

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.form-section-title {
  margin: 8px 0 -4px;
  font-size: var(--b-lg);
  color: var(--primary);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 400;
}

input[type="file"] {
  padding: 10px 12px;
  cursor: pointer;
}

/* ── Verification status card (profile pending view) ── */
.verification-status-card {
  max-width: 600px;
  margin: 0 auto 60px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.vs-icon {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 1rem;
}
.verification-status-card h2 {
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
}
.vs-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 2rem auto;
  max-width: 340px;
  text-align: left;
}
.vs-step {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: var(--b-sm);
}
.vs-step.done  { color: #1a7e34; }
.vs-step.active { color: var(--primary); font-weight: 600; }
.vs-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.vs-step.done  .vs-dot { background: #28a745; color: #fff; }
.vs-step.active .vs-dot { background: var(--primary); color: #fff; }
.vs-note {
  font-size: var(--b-sm);
  color: var(--muted);
  margin-top: 0.5rem;
}

.reg-success {  max-width: 560px;
  background: linear-gradient(135deg, rgba(76,183,214,0.12) 0%, rgba(76,183,214,0.04) 100%);
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.reg-success .success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-banner {
  max-width: 560px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: var(--b-md);
  margin-bottom: 4px;
}

.form-banner.error {
  background: rgba(220, 53, 69, 0.08);
  border: 1px solid #dc3545;
  color: #dc3545;
}

.hidden {
  display: none;
}

input,
textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: 14px 16px;
  font: inherit;
  background: var(--paper);
  transition: border-color 200ms ease, box-shadow 250ms ease;
  font-size: var(--b-md);
}

select {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  padding: 14px 16px;
  font: inherit;
  background: var(--paper);
  transition: border-color 200ms ease, box-shadow 250ms ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(76, 183, 214, 0.12);
  outline: none;
}

/* Visible keyboard focus for all interactive elements (mouse clicks unaffected) */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Visually hidden but available to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip-to-content link: hidden until focused via keyboard */
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-footer {
  margin: 48px auto 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--primary-dark) 100%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  padding: 32px 40px;
  border-top: none;
  border-radius: var(--radius);
}

.site-footer p {
  margin: 0;
  color: white;
  font-weight: 500;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 200ms ease;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-links a:hover {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: rise-in 700ms ease forwards;
}

.reveal-delay-1 {
  animation-delay: 150ms;
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-orb-a {
  from { transform: translateY(0) translateX(0); }
  to { transform: translateY(30px) translateX(15px); }
}

@keyframes float-orb-b {
  from { transform: translateY(0) translateX(0); }
  to { transform: translateY(-25px) translateX(-12px); }
}

@media (max-width: 760px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 0;
    padding: 14px 16px;
  }

  .site-nav {
    width: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    overflow-x: auto;
    padding-bottom: 0;
  }

  .hero,
  .page,
  .section {
    padding: 32px;
    margin-top: 24px;
  }

  .hero {
    margin-top: 24px;
    padding: 40px 24px;
  }

  .hero-grid,
  .split-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 20px;
  }
}

@media (max-width: 1024px) {
  :root {
    /* Heading scale: tablet */
    --h-xl: 48px;
    --h-l: 40px;
    --h-m: 32px;
    --h-s: 22px;
    --h-xs: 18px;
    --h-xxs: 18px;

    /* Body scale: tablet */
    --b-lg: 16px;
    --b-md: 16px;
    --b-sm: 14px;
  }
}

@media (max-width: 768px) {
  :root {
    /* Heading scale: mobile */
    --h-xl: 40px;
    --h-l: 32px;
    --h-m: 32px;
    --h-s: 18px;
    --h-xs: 16px;
    --h-xxs: 16px;

    /* Body scale: mobile */
    --b-lg: 16px;
    --b-md: 14px;
    --b-sm: 12px;
  }
}

/* Form styling */
.form-container {
  max-width: 560px;
  margin: 32px 0;
}

.form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 600;
  color: var(--ink);
  font-size: var(--b-md);
  font-family: "Poppins", sans-serif;
}

.form-group small {
  color: var(--ink-soft);
  font-size: var(--b-sm);
}

.form-message {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-weight: 500;
}

.form-message.success {
  background: rgba(0, 212, 169, 0.1);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid #ef4444;
}

.hidden {
  display: none;
}

.required-mark {
  color: var(--primary);
}

.notice-box {
  background: linear-gradient(135deg, rgba(76, 183, 214, 0.08), rgba(0, 212, 169, 0.04));
  color: var(--ink);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 20px 0;
  border-left: 4px solid var(--primary);
  border: 1px solid rgba(76, 183, 214, 0.2);
}

.auth-helper {
  text-align: center;
  margin-top: 20px;
}

.text-link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
  transition: color 200ms ease;
}

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

.nav-user-greeting {
  color: var(--ink-soft);
  font-weight: 500;
  padding: 8px 14px;
  font-size: var(--b-sm);
}

.nav-logout {
  color: var(--primary);
  font-weight: 600;
  transition: color 200ms ease;
}

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

.pending-main {
  text-align: center;
  padding: 48px 24px;
}

.pending-card {
  max-width: 560px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(76, 183, 214, 0.08), rgba(0, 212, 169, 0.04));
  padding: 32px;
  border-radius: var(--radius);
  border-left: 5px solid var(--accent);
  border: 1px solid rgba(76, 183, 214, 0.2);
}

.pending-main h1 {
  margin: 24px 0 28px;
  color: var(--ink);
}

.pending-card p {
  font-size: var(--b-md);
  color: var(--ink-soft);
  margin: 16px 0;
}

.btn-top-space {
  margin-top: 24px;
}

/* Profile container */
.profile-container {
  display: grid;
  gap: 28px;
  margin-top: 32px;
}

.profile-section {
  display: grid;
  gap: 16px;
}

.profile-section h2 {
  margin-bottom: 12px;
  font-size: var(--h-m);
}

.profile-section .info-card {
  padding: 24px;
}

.profile-section .info-card p {
  margin: 12px 0;
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .orb-a,
  .orb-b,
  .card,
  .btn {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* User menu dropdown */
.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-menu-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--primary);
  font-weight: 600;
  font-size: var(--b-md);
  transition: background 200ms ease;
}

.user-menu-button:hover {
  background: rgba(76, 183, 214, 0.08);
}

.user-menu-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  margin-top: 12px;
  z-index: 100;
  overflow: hidden;
}

.user-menu-dropdown.active {
  display: block;
}

.user-menu-dropdown a,
.user-menu-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: none;
  background: none;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  font-size: var(--b-md);
  transition: background 200ms ease;
}

.user-menu-dropdown a:first-child,
.user-menu-dropdown button:first-child {
  border-bottom: 1px solid var(--line);
}

.user-menu-dropdown a:hover,
.user-menu-dropdown button:hover {
  background: rgba(76, 183, 214, 0.06);
}

.user-menu-dropdown button {
  color: var(--primary);
  font-weight: 600;
}

.auth-links {
  display: flex;
  gap: 12px;
  margin-left: auto;
}

.auth-links a {
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--b-sm);
  transition: all 200ms ease;
}

.auth-links a.login-link {
  color: var(--primary);
  border: 1px solid var(--line);
}

.auth-links a.login-link:hover {
  background: rgba(76, 183, 214, 0.06);
  border-color: var(--primary);
}

.auth-links a.register-link {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

.auth-links a.register-link:hover {
  box-shadow: 0 8px 20px rgba(76, 183, 214, 0.3);
}
