*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --pink: #ff7ac4;
  --pink-soft: #ffc0e6;
  --blue: #5fc9ff;
  --blue-deep: #2a6cff;
  --purple-bg: #1a1028;
  --bg: #0e0717;
  --card-bg: #ffffff;
  --text-main: #1b102a;
  --text-muted: #5f5475;
  --border-subtle: rgba(255, 255, 255, 0.18);
  --radius-pill: 999px;
  --radius-card: 24px;
  --shadow-soft: 0 18px 40px rgba(13, 8, 35, 0.65);
  --shadow-chip: 0 6px 16px rgba(0, 0, 0, 0.22);
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.28s ease-out;
}

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

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 173, 219, 0.35), transparent 55%),
    radial-gradient(circle at top right, rgba(95, 201, 255, 0.3), transparent 60%),
    radial-gradient(circle at bottom, rgba(142, 95, 255, 0.45), #080313);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
      to bottom,
      rgba(7, 2, 20, 0.9),
      rgba(7, 2, 20, 0.7),
      transparent
    );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
}

.brand-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.nav-link-active {
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: #080313;
  font-weight: 600;
}

/* Hero */

.hero {
  padding: 3rem 0 2.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr);
  align-items: center;
  gap: 2.5rem;
}

.hero-copy h1 {
  margin-top: 0.6rem;
  font-size: 2.1rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-subtitle {
  margin-top: 0.9rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(244, 237, 255, 0.88);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.8rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.btn {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  padding: 0.7rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.primary-btn {
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: #080313;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65);
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  width: 100%;
}

.hero-card {
  position: relative;
  border-radius: 32px;
  padding: 1px;
  background: linear-gradient(145deg, rgba(255, 144, 214, 0.9), rgba(111, 209, 255, 0.9));
  box-shadow: var(--shadow-soft);
}

.hero-glow {
  position: absolute;
  inset: 30% -10% -10%;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.38), transparent 65%);
  opacity: 0.85;
  filter: blur(20px);
  pointer-events: none;
}

.hero-card-body {
  position: relative;
  border-radius: 30px;
  padding: 1.4rem 1.4rem 1.1rem;
  background: linear-gradient(145deg, #fff8ff, #f5fbff);
  overflow: hidden;
}

.hero-logo {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: 32px;
  margin-bottom: 0.9rem;
  box-shadow: 0 18px 35px rgba(67, 31, 103, 0.35);
}

.hero-card-text {
  margin-bottom: 1rem;
}

.hero-app-name {
  margin: 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: #28163f;
}

.hero-app-caption {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background: linear-gradient(145deg, var(--pink-soft), #e9f4ff);
  color: #3c2551;
  box-shadow: var(--shadow-chip);
}

/* Sections */

.section {
  padding: 2.5rem 0;
}

.section-header {
  text-align: left;
  max-width: 600px;
  color: #fff;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  font-size: 0.96rem;
  color: rgba(240, 233, 255, 0.86);
  line-height: 1.6;
}

.features {
  background: radial-gradient(circle at 0% 0%, rgba(255, 144, 214, 0.16), transparent 55%);
}

.feature-grid {
  margin-top: 1.7rem;
  display: grid;
  gap: 1rem;
}

.feature-card {
  padding: 1.4rem 1.3rem;
  border-radius: 20px;
  background: rgba(15, 5, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 40px rgba(7, 1, 20, 0.8);
  color: #f7f2ff;
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.93rem;
  color: rgba(241, 234, 255, 0.86);
}

.highlight {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.highlight-inner {
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(135deg, rgba(255, 122, 196, 0.15), rgba(95, 201, 255, 0.09));
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.4rem;
  display: grid;
  gap: 1.4rem;
}

.highlight-copy h2 {
  margin: 0 0 0.4rem;
  font-size: 1.3rem;
  color: #ffffff;
}

.highlight-copy p {
  margin: 0;
  font-size: 0.93rem;
  color: rgba(243, 237, 255, 0.9);
}

.highlight-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.93rem;
  color: rgba(243, 237, 255, 0.9);
  display: grid;
  gap: 0.4rem;
}

/* Support */

.support {
  padding-top: 2.2rem;
  padding-bottom: 3rem;
}

.support-inner {
  display: grid;
  gap: 1.6rem;
}

.support-copy h2 {
  margin: 0 0 0.6rem;
  font-size: 1.4rem;
  color: #ffffff;
}

.support-copy p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(240, 234, 255, 0.88);
}

.support-form-card {
  border-radius: 26px;
  background: #0b0616;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  padding: 1.4rem 1.3rem 1.6rem;
}

.support-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}

label {
  font-size: 0.8rem;
  color: rgba(241, 235, 255, 0.9);
}

input,
textarea {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.7rem 0.8rem;
  background: rgba(8, 3, 21, 0.92);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

input::placeholder,
textarea::placeholder {
  color: rgba(185, 171, 214, 0.9);
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px rgba(95, 201, 255, 0.6);
  background: rgba(10, 5, 27, 0.98);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.full-width {
  width: 100%;
}

/* Footer */

.site-footer {
  margin-top: auto;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(to top, rgba(5, 1, 14, 0.95), transparent);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(222, 211, 252, 0.92);
}

.site-footer a {
  color: rgba(222, 211, 252, 0.92);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-link {
  font-size: 0.8rem;
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translate(-50%, 120%);
  width: calc(100% - 2rem);
  max-width: 900px;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: radial-gradient(circle at left, rgba(255, 122, 196, 0.9), rgba(95, 201, 255, 0.9));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #16061d;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-med), opacity var(--transition-med);
}

.cookie-banner.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-text {
  font-size: 0.8rem;
}

.cookie-text a {
  color: #16061d;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-btn {
  background: #16061d;
  color: #ffffff;
  font-weight: 600;
  padding-inline: 1.4rem;
}

/* Toast (message sent) */

.message-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, 16px);
  z-index: 60;
  pointer-events: none;
  opacity: 0;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: #0b0616;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
}

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  color: #080313;
  font-size: 1rem;
}

.toast-text {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(240, 235, 255, 0.95);
}

.message-toast.show {
  pointer-events: auto;
  animation: toast-pop 0.5s ease-out forwards, toast-hide 0.35s ease-in forwards;
  animation-delay: 0s, 2.4s;
}

@keyframes toast-pop {
  from {
    opacity: 0;
    transform: translate(-50%, 22px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes toast-hide {
  from {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate(-50%, 6px) scale(0.97);
  }
}

/* Policy page */

.policy-main {
  padding-bottom: 3rem;
}

.policy-hero {
  padding: 3rem 0 1.5rem;
}

.policy-hero h1 {
  margin: 0 0 0.3rem;
  font-size: 2rem;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.policy-hero p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
  color: rgba(229, 220, 255, 0.9);
}

.policy-content {
  padding-bottom: 2.5rem;
}

.policy-text {
  max-width: 800px;
  color: rgba(242, 236, 255, 0.95);
  font-size: 0.94rem;
  line-height: 1.7;
}

.policy-text h2 {
  font-size: 1.1rem;
  margin-top: 1.6rem;
  margin-bottom: 0.45rem;
  color: #ffffff;
}

.policy-text p {
  margin: 0 0 0.6rem;
}

.policy-text ul {
  margin: 0 0 0.8rem 1.2rem;
  padding: 0;
}

.policy-text li {
  margin-bottom: 0.3rem;
}

.policy-text a {
  color: var(--pink-soft);
}

.policy-text a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (min-width: 720px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.9fr);
    align-items: center;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .highlight-inner {
    padding: 1.9rem 1.8rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }

  .support-inner {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: flex-start;
  }

  .field-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .nav-shell {
    padding-inline: 1rem;
  }

  .hero-card-body {
    padding: 1.2rem 1.1rem 1.1rem;
  }

  .cookie-banner {
    border-radius: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
