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

/* ========================================
   CSS Custom Properties
   ======================================== */
:root {
  --color-primary: #096ce8;
  --color-primary-dark: #075bc4;
  --color-primary-light: #3a8aed;
  --color-bg: #ffffff;
  --color-bg-light: #f5f5f7;
  --color-text: #1d1d1f;
  --color-text-muted: #58585e;
  --color-border: rgba(0, 0, 0, 0.08);
  --glass: rgba(0, 0, 0, 0.03);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-hover: rgba(0, 0, 0, 0.05);
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition: 250ms ease;
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}


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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

hr {
  border: none;
  border-bottom: 1px solid var(--color-border);
  margin: 0;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.h1-light {
  font-weight: 600;
}

.hero-description {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 0;
  max-width: 360px;
}


h2 {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  letter-spacing: 0;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

ul, ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

ul li, ol li {
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

small {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ========================================
   Layout
   ======================================== */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (max-width: 767px) {
  .row {
    flex-direction: column;
  }
}

.row [class*="col"] {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .col-1  { flex: 0 0 8.333%; max-width: 8.333%; }
  .col-2  { flex: 0 0 16.667%; max-width: 16.667%; }
  .col-3  { flex: 0 0 25%; max-width: 25%; }
  .col-4  { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-5  { flex: 0 0 40%; max-width: 40%; }
  .col-6  { flex: 0 0 50%; max-width: 50%; }
  .col-7  { flex: 0 0 55%; max-width: 55%; }
  .col-8  { flex: 0 0 66.667%; max-width: 66.667%; }
  .col-9  { flex: 0 0 75%; max-width: 75%; }
  .col-10 { flex: 0 0 83.333%; max-width: 83.333%; }
  .col-11 { flex: 0 0 91.667%; max-width: 91.667%; }
  .col-12 { flex: 0 0 100%; max-width: 100%; }

  .offset-1  { margin-left: 8.333%; }
  .offset-2  { margin-left: 16.667%; }
  .offset-3  { margin-left: 25%; }
}

/* ========================================
   Skip Navigation
   ======================================== */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
}

.skip-nav:focus {
  top: 1rem;
  color: #fff;
}

/* ========================================
   Navigation — Frosted glass bar
   ======================================== */
.nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--glass-border);
}

nav.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem !important;
  padding-bottom: 0.875rem !important;
}

nav .logo img {
  max-width: 36px;
  border-radius: 8px;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.4375rem 0.875rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  display: block;
}

nav ul li a:hover {
  color: var(--color-text);
}

nav ul li a.cta {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #fff;
  font-weight: 600;
  margin-left: 0.625rem;
}

nav ul li a.cta:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-wrapper {
  background: linear-gradient(180deg, rgba(9, 108, 232, 0.04) 0%, transparent 50%);
  overflow: hidden;
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  gap: 3rem;
}

.hero-text {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: fadeUp 0.8s ease-out both;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  white-space: nowrap;
}

.hero-device {
  flex: 0 0 380px;
  position: relative;
  animation: fadeUp 0.8s ease-out 0.15s both;
}

.hero-device img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: -55%;
}

@media (max-width: 767px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1.5rem 0;
    gap: 2rem;
  }

  .hero-text {
    align-items: center;
  }

  .hero-device {
    flex: none;
    max-width: 300px;
  }
}

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

/* ========================================
   Social Proof
   ======================================== */
.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  margin-bottom: 0;
  letter-spacing: 0;
}

.social-proof .stars {
  color: #ff9500;
  letter-spacing: 1px;
}

.social-proof .star-partial {
  display: inline-block;
  overflow: hidden;
  width: 0.6em;
  vertical-align: top;
}

/* ========================================
   App Store Button
   ======================================== */
.app-store--button {
  display: block;
  margin-top: 1.25rem;
  transition: opacity var(--transition);
}

.app-store--button img {
  height: 44px;
  width: auto;
  display: block;
}

.app-store--button:hover {
  opacity: 0.8;
}

/* ========================================
   Features Section — Glass cards
   ======================================== */
.features-section {
  padding: 3rem 0 5rem;
  position: relative;
  z-index: 1;
}

.features-section .row {
  gap: 1rem;
}

.features-section .feature {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all var(--transition);
}

.features-section .feature:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.12);
}

.features-section .feature h3 {
  margin-top: 0;
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}

.features-section .feature p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .features-section .col-4 {
    flex: 1;
    max-width: none;
  }
}

/* ========================================
   Content Pages (.para) — Glass container
   ======================================== */
main.para {
  padding: 3rem 1.5rem 4rem;
  min-height: 60vh;
}

main.para article {
  margin-bottom: 2rem;
}

main.para h1 {
  margin-bottom: 0.5rem;
}

main.para h3 {
  color: var(--color-text);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

main.para p {
  font-size: 0.9375rem;
}

main.para p b,
main.para p strong {
  color: var(--color-text);
  font-weight: 600;
}

main.para a {
  color: var(--color-primary);
  font-weight: 500;
  transition: all var(--transition);
}

main.para a:hover {
  color: var(--color-primary-dark);
}

/* Table */
.table-wrap {
  margin: 1.5rem 0;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.table-wrap th,
.table-wrap td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.table-wrap th {
  font-weight: 600;
  color: var(--color-text);
  background: var(--glass);
}

/* Callout — Glass card */
.callout {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.callout p {
  margin: 0;
}

.callout.warning {
  border-left-color: #d97706;
}

.callout.warning p {
  color: #92400e;
}

/* ========================================
   Footer
   ======================================== */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
  position: relative;
  z-index: 1;
}

footer small {
  text-transform: none;
  letter-spacing: 0;
}

footer nav {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 !important;
}

footer nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

footer nav ul li {
  border: none;
}

footer nav ul li a {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  display: block;
  transition: color var(--transition);
  border-radius: 0;
}

footer nav ul li a:hover {
  color: var(--color-primary);
  background: none;
}

footer p {
  color: var(--color-text-muted);
  margin: 0;
}

/* ========================================
   Buttons
   ======================================== */
.ui--button, button {
  border: none;
  color: #fff;
  font-family: var(--font-family);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  display: inline-block;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.ui--button:hover, button:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

/* ========================================
   Forms
   ======================================== */
form {
  padding: 2rem 0;
}

form input[type="text"],
form input[type="email"] {
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-family: var(--font-family);
  display: block;
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  transition: border-color var(--transition);
}

form input:focus {
  outline: none;
  border-color: rgba(67, 128, 248, 0.4);
  box-shadow: 0 0 0 3px rgba(67, 128, 248, 0.1);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 767px) {
  main.para .col-8 {
    max-width: 100%;
  }

  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table-wrap table {
    min-width: 600px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  .hero img {
    max-width: 220px;
  }

  .hero-section {
    padding-top: 2.5rem;
    padding-bottom: 2rem;
  }

  .features-section .row {
    gap: 0.75rem;
  }

  footer nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ========================================
   Cookie Banner
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-top: 1px solid var(--glass-border);
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  animation: fadeUp 0.4s ease-out both;
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.cookie-banner p a {
  font-weight: 600;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner-actions button {
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
}

.cookie-banner-actions .cookie-accept {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #fff;
}

.cookie-banner-actions .cookie-accept:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.cookie-banner-actions .cookie-decline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.cookie-banner-actions .cookie-decline:hover {
  background: var(--glass-hover);
  color: var(--color-text);
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

/* ========================================
   Private Lock Reveal Animation
   ======================================== */
.private-reveal {
  display: inline-block;
  position: relative;
}

.lock-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.85em;
  line-height: 1;
  pointer-events: none;
  animation: lockReveal 1.4s ease-out 1s forwards;
}

.private-text {
  opacity: 0;
  display: inline-block;
  animation: privateAppear 0.5s ease-out 1.9s forwards;
}

@keyframes lockReveal {
  0%   { opacity: 1; transform: translate(-50%, -50%); }
  40%  { opacity: 1; transform: translate(-50%, -50%); }
  100% { opacity: 0; transform: translate(-50%, -120%); }
}

@keyframes privateAppear {
  from {
    opacity: 0;
    transform: translateY(0.15em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Animations
   ======================================== */
/* ========================================
   FAQ — Zendesk-style Help Center
   ======================================== */
.faq-hero {
  text-align: center;
  padding: 3.5rem 1.5rem 2.5rem;
  background: linear-gradient(180deg, rgba(9, 108, 232, 0.04) 0%, transparent 100%);
}

.faq-hero h1 {
  margin-bottom: 0.5rem;
}

.faq-hero p {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* Category cards grid */
.faq-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}

.faq-category-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: block;
}

.faq-category-card:hover {
  background: var(--glass-hover);
  border-color: rgba(9, 108, 232, 0.15);
}

.faq-category-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.faq-category-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.25rem;
  border: none;
  padding: 0;
}

.faq-category-card p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* FAQ sections */
.faq-sections {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.faq-section {
  scroll-margin-top: 5rem;
  margin-bottom: 2.5rem;
}

.faq-section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

/* Accordion items */
.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: rgba(9, 108, 232, 0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  border-radius: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  line-height: 1.4;
}

.faq-question:hover {
  background: var(--glass);
}

.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: var(--color-text-muted);
  transition: transform var(--transition);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
}

.faq-answer-inner p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

.faq-answer-inner p + p {
  margin-top: 0.75rem;
}

.faq-answer-inner a {
  color: var(--color-primary);
  font-weight: 500;
}

/* Contact CTA at bottom */
.faq-contact {
  text-align: center;
  padding: 2rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  margin-top: 1rem;
}

.faq-contact h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.5rem;
  border: none;
  padding: 0;
}

.faq-contact p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0 0 1rem;
}

.faq-contact .ui--button {
  font-size: 0.8125rem;
  padding: 0.625rem 1.25rem;
  text-decoration: none;
  color: #fff;
}

@media (max-width: 767px) {
  .faq-categories {
    grid-template-columns: 1fr;
  }

  .faq-hero {
    padding: 2.5rem 1.5rem 2rem;
  }
}

@media (max-width: 600px) {
  .faq-question {
    font-size: 0.875rem;
    padding: 0.875rem 1rem;
  }

  .faq-answer-inner {
    padding: 0 1rem 1rem;
  }
}

/* ========================================
   Animations
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
