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

:root {
  --violet: #8b5cf6;
  --violet-d: #7c3aed;
  --violet-dd: #6d28d9;
  --fuchsia: #d946ef;
  --cyan: #06b6d4;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: rgba(167, 139, 250, 0.3);
  --border-h: rgba(167, 139, 250, 0.5);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-bg-h: rgba(255, 255, 255, 0.85);
  --max-width: 1140px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: transparent;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ─── Aurora Background ─── */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #f8f7ff;
  overflow: hidden;
  pointer-events: none;
}

@keyframes aurora1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}
@keyframes aurora2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-40px, 30px) scale(1.1);
  }
  66% {
    transform: translate(30px, -40px) scale(0.9);
  }
}
@keyframes aurora3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(20px, 40px) scale(0.95);
  }
  66% {
    transform: translate(-30px, -20px) scale(1.05);
  }
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
}

.aurora-orb-1 {
  top: -160px;
  left: -160px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #ddd6fe, transparent 70%);
  opacity: 0.8;
  filter: blur(60px);
  animation: aurora1 12s ease-in-out infinite;
}
.aurora-orb-2 {
  top: 33%;
  right: -160px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #f5d0fe, transparent 70%);
  opacity: 0.7;
  filter: blur(60px);
  animation: aurora2 14s ease-in-out infinite;
}
.aurora-orb-3 {
  bottom: -160px;
  left: 33%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, #cffafe, transparent 70%);
  opacity: 0.6;
  filter: blur(60px);
  animation: aurora3 16s ease-in-out infinite;
}
.aurora-orb-4 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #ede9fe, transparent 70%);
  opacity: 0.5;
  filter: blur(80px);
}

/* ─── Utilities ─── */
.gradient-text {
  background: linear-gradient(to right, var(--violet-d), var(--fuchsia), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 28px;
  transition:
    border-color 0.3s,
    background 0.3s,
    box-shadow 0.3s;
}
.glass-card:hover {
  border-color: var(--border-h);
  background: var(--glass-bg-h);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.1);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--violet) 0%, var(--fuchsia) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
  transition:
    opacity 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  text-decoration: none;
}
.btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.45);
}
.btn-primary--sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--violet-d);
  font-weight: 700;
  font-size: 15px;
  border-radius: 999px;
  border: 2px solid var(--border-h);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    background 0.2s,
    border-color 0.2s;
  text-decoration: none;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--violet);
}

/* relative wrapper so all sections sit above aurora */
.page-content {
  position: relative;
  z-index: 1;
}

/* ─── Header ─── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--violet), var(--fuchsia));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.35);
}

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s;
}
.nav-link:hover {
  color: var(--violet-d);
}

/* ─── Hero ─── */
.hero {
  padding: 80px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  grid-template-rows: auto auto;
  gap: 40px 56px;
}

.hero-text {
  max-width: 520px;
  grid-column: 1;
  grid-row: 1;
}

.hero-mockup {
  grid-column: 2;
  grid-row: 1 / 3;
}

.hero-btn {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  justify-self: start;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--text);
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 440px;
}

/* ─── Extension Mockup ─── */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-wrap {
  position: relative;
  width: 100%;
}

.mockup-glow {
  position: absolute;
  inset: -20px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(217, 70, 239, 0.2));
  filter: blur(24px);
  z-index: 0;
}

.mockup-frame {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--violet) 0%, var(--fuchsia) 100%);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 24px 64px rgba(124, 58, 237, 0.35);
}

/* ─── Features ─── */
.features {
  padding: 80px 0;
}

.section-heading {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.3px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(217, 70, 239, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--violet-d);
  stroke-width: 1.8;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--violet-d);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.feature-card p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
}

.features-cta {
  text-align: center;
}

/* ─── About ─── */
.about {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.about-img-1 {
  grid-column: 1;
  grid-row: 1;
}
.about-vision {
  grid-column: 2;
  grid-row: 1;
}
.about-mission {
  grid-column: 3;
  grid-row: 1;
}
.about-story {
  grid-column: 1 / span 2;
  grid-row: 2;
}
.about-img-2 {
  grid-column: 3;
  grid-row: 2;
}

.about-person {
  border-radius: 24px;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #ede9fe 0%, #f5d0fe 100%);
  border: 1px solid var(--border);
}

.about-person svg {
  width: 75%;
  height: 75%;
  opacity: 0.55;
}

.about-story.glass-card {
  min-height: 180px;
}

.about-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--violet-d);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-card-text {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── Support ─── */
.support {
  padding: 80px 0;
  text-align: center;
}

.support h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.support-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.support-email-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.support-email {
  font-size: 20px;
  font-weight: 700;
  color: var(--violet-d);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s;
}
.support-email:hover {
  color: var(--violet);
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 56px 0 32px;
  position: relative;
  z-index: 1;
}

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

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 10px;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.15s;
}
.footer-col a:hover {
  color: var(--violet);
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: underline;
  font-size: 13px;
}
.footer-bottom a:hover {
  color: var(--violet);
}

/* ─── Policy Pages ─── */
.policy-page {
  padding: 80px 0 96px;
}

.policy-page-inner {
  max-width: 780px;
  margin: 0 auto;
}

/* Badge pill ("Legal") */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #ede9fe;
  border: 1px solid #ddd6fe;
  color: var(--violet-d);
  font-size: 14px;
  font-weight: 600;
}

.badge svg {
  width: 15px;
  height: 15px;
  stroke: var(--violet-d);
  flex-shrink: 0;
}

/* Legal title area */
.policy-title-area {
  text-align: center;
  margin-bottom: 48px;
}

.policy-title-area h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-top: 16px;
}

.policy-updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Legal wrapper (glass card) */
.legal-wrapper {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  border: 1px solid var(--border);
  padding: 48px;
}

/* Sections inside legal-wrapper */
.legal-section {
  margin-bottom: 40px;
}
.legal-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.legal-wrapper p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 10px;
}
.legal-wrapper p:last-child {
  margin-bottom: 0;
}

.legal-wrapper ul,
.legal-wrapper ol {
  padding-left: 22px;
  margin-bottom: 10px;
}

.legal-wrapper li {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 5px;
}

.legal-wrapper strong {
  color: var(--text);
}

.legal-wrapper a {
  color: var(--violet);
  text-decoration: underline;
}
.legal-wrapper a:hover {
  color: var(--violet-d);
}

/* Alert box */
.alert-violet {
  margin-top: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #ede9fe;
  border: 1px solid #ddd6fe;
}

.alert-violet p {
  font-size: 14px;
  font-weight: 500;
  color: var(--violet-dd);
  margin: 0 !important;
}

@media (max-width: 640px) {
  .legal-wrapper {
    padding: 28px 20px;
  }
  .policy-page {
    padding: 56px 0 72px;
  }
}

/* ─── Responsive ─── */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 32px;
  }
  .hero-text {
    grid-column: 1;
    grid-row: 1;
    max-width: 100%;
  }
  .hero-mockup {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
  }
  .hero-btn {
    grid-column: 1;
    grid-row: 3;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
  }
  .about-img-1 {
    grid-column: 1;
    grid-row: 1;
  }
  .about-vision {
    grid-column: 2;
    grid-row: 1;
  }
  .about-mission {
    grid-column: 1;
    grid-row: 2;
  }
  .about-story {
    grid-column: 2;
    grid-row: 2;
  }
  .about-img-2 {
    grid-column: 1 / span 2;
    grid-row: 3;
    min-height: 180px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero,
  .features,
  .about,
  .support {
    padding: 56px 0;
  }
  .nav {
    gap: 16px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-img-1,
  .about-vision,
  .about-mission,
  .about-story,
  .about-img-2 {
    grid-column: 1;
    grid-row: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
