/* ===== CSS Variables (Light Theme) ===== */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f7;
  --bg-tertiary: #fafafa;
  --bg-nav: rgba(255, 255, 255, 0.72);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-subtle: rgba(0, 0, 0, 0.04);
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #86868b;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-light: rgba(0, 113, 227, 0.08);
  --accent-soft: rgba(0, 113, 227, 0.12);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  margin: 0;
  padding: 0;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Skip Link (Accessibility) ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 24px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 500;
  transition: top var(--transition);
}

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

/* ===== Sticky Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.nav-logo {
  font-weight: 600;
  font-size: 17px;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.3px;
}

/* ===== Brand Wordmark ===== */
.brand {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  gap: 8px;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.brand-main {
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-sub {
  color: #6e6e73;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Subtle divider dot */
.brand-wordmark .brand-main::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  margin-left: 8px;
  vertical-align: middle;
}

.brand:hover .brand-main {
  color: #1d1d1f;
}

.brand:hover .brand-sub {
  color: #5d5d62;
}

.brand:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.22);
  outline-offset: 4px;
  border-radius: 8px;
}

/* Brand responsive */
@media (max-width: 480px) {
  .brand-main {
    font-size: 13px;
    letter-spacing: 0.05em;
  }

  .brand-sub {
    font-size: 13px;
    letter-spacing: 0.12em;
  }

  .brand-wordmark {
    gap: 4px;
  }

  .brand-wordmark .brand-main::after {
    width: 2px;
    height: 2px;
    margin-left: 5px;
  }
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  transition: background 0.15s ease;
  position: relative;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nav-toggle:active {
  background: rgba(0, 0, 0, 0.08);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.nav-toggle .icon-menu {
  opacity: 1;
}

.nav-toggle .icon-close {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.nav-toggle.active .icon-menu {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.nav-toggle.active .icon-close {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

/* Mobile Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-overlay.active {
  opacity: 1;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    right: 16px;
    left: auto;
    bottom: auto;
    width: 220px;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 8px;
    gap: 0;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    border-bottom: none;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: 10px;
    transition: background 0.12s ease;
  }

  .nav-links a:hover {
    background: rgba(0, 0, 0, 0.04);
  }

  .nav-links a:active {
    background: rgba(0, 0, 0, 0.08);
  }

  .nav-overlay {
    display: block;
    pointer-events: none;
  }

  .nav-overlay.active {
    pointer-events: auto;
  }
}

/* Scroll lock when menu open */
body.menu-open {
  overflow: hidden;
}

/* ===== Main Content ===== */
main {
  padding-top: 52px;
}

/* ===== Sections ===== */
section {
  padding: 80px 24px;
}

@media (max-width: 768px) {
  section {
    padding: 60px 20px;
  }
}

.container {
  max-width: 1024px;
  margin: 0 auto;
}

.container-narrow {
  max-width: 680px;
  margin: 0 auto;
}

/* ===== Hero Section ===== */
.hero {
  padding: 120px 24px 100px;
  text-align: center;
  background: var(--bg-secondary);
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 20px 60px;
  }
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 64px);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
}

.hero-tagline {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero-supporting {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0 0 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  min-width: 140px;
  min-height: 48px;
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}

.btn-primary,
a.btn-primary {
  background: var(--accent);
  color: #fff !important;
}

.btn-primary:visited,
a.btn-primary:visited {
  color: #fff !important;
}

.btn-primary *,
a.btn-primary * {
  color: #fff !important;
}

.btn-primary:hover {
  filter: brightness(0.96);
}

.btn-primary:focus-visible {
  outline: 3px solid rgba(0, 113, 227, 0.35);
  outline-offset: 3px;
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: var(--accent-light);
}

/* ===== Section Headers ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

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

/* ===== Services Grid ===== */
.services {
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: all var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-icon,
.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.icon-badge svg,
.service-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.service-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 12px;
}

/* ===== Solutions Section ===== */
.solutions {
  background: var(--bg-secondary);
}

.solutions-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 800px) {
  .solutions-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.solutions-text h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.solutions-text > p {
  color: var(--text-secondary);
  margin: 0 0 28px;
  font-size: 17px;
}

.solutions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.solutions-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  color: var(--text-secondary);
  font-size: 15px;
}

.solutions-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.solutions-visual {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.solutions-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.visual-item {
  text-align: center;
}

.visual-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.visual-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== Products Section ===== */
.products {
  background: var(--bg-primary);
}

.products-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.products-content > p {
  color: var(--text-secondary);
  margin: 0 0 32px;
  font-size: 17px;
}

.products-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
}

.products-card h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 12px;
}

.products-card p {
  color: var(--text-secondary);
  margin: 0 0 20px;
  font-size: 15px;
}

.coming-soon-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 980px;
  margin-bottom: 20px;
}

/* ===== About Section ===== */
.about {
  background: var(--bg-secondary);
}

.about-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.about-content > p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.company-details {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
}

.company-details h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 20px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  text-align: left;
}

@media (max-width: 500px) {
  .details-grid {
    grid-template-columns: 1fr;
  }
}

.detail-item {
  padding: 12px 0;
}

.detail-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ===== Contact Section ===== */
.contact {
  background: var(--bg-primary);
}

.contact-content {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.contact-content > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 17px;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all var(--transition);
}

.contact-card:hover {
  background: var(--bg-tertiary);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info {
  text-align: left;
}

.contact-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.contact-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 24px;
  background: var(--bg-secondary);
}

.footer-inner {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

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

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--transition);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--text-primary);
}

@media (max-width: 480px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    gap: 16px;
  }
}

/* ===== Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Focus States (Accessibility) ===== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Page Styles (Privacy/Terms/Support) ===== */
.page {
  padding-top: 52px;
  min-height: 100vh;
  background: var(--bg-primary);
}

.page-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.page-header {
  margin-bottom: 40px;
}

.page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.page-nav a {
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}

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

.page-meta {
  color: var(--text-muted);
  font-size: 13px;
}

.page-title {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.page-subtitle {
  color: var(--text-secondary);
  margin: 0;
  font-size: 17px;
}

.page-body {
  color: var(--text-secondary);
}

.page-body h2 {
  color: var(--text-primary);
  font-size: 19px;
  font-weight: 600;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}

.page-body p {
  margin: 0 0 16px;
  line-height: 1.6;
}

.page-body ul {
  margin: 0 0 16px;
  padding-left: 24px;
}

.page-body li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page-body a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

.page-body a:hover {
  color: var(--accent-hover);
}

.page-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 13px;
}

/* ===== Support Page Specific ===== */
.support-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 32px;
  margin-bottom: 32px;
}

.support-card h2 {
  margin-top: 0;
}

.faq-list {
  margin: 24px 0 0;
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-question {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.faq-answer {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.quick-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.quick-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

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