/* ==========================================================================
   Currency - Landing Page Stylesheet
   Modern CSS: light-dark(), color-scheme, glassmorphism, responsive layout
   ========================================================================== */

/* Modern CSS Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Fallback definitions for gradient color spaces as per modern web guidance */
:root {
  --in-oklab: ;
  --in-oklch: ;
}
@supports (linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
    --in-oklch: in oklch;
  }
}

/* Color Tokens & Theme System */
:root {
  color-scheme: light dark;

  /* Theme tokens using light-dark() */
  --bg-primary: light-dark(#f8fafc, #070a13);
  --bg-secondary: light-dark(#ffffff, #0d121f);
  --bg-tertiary: light-dark(#f1f5f9, #151c2e);

  --surface-card: light-dark(rgba(255, 255, 255, 0.88), rgba(15, 22, 38, 0.78));
  --surface-card-hover: light-dark(#ffffff, rgba(22, 32, 54, 0.92));
  --surface-subtle: light-dark(#f1f5f9, rgba(255, 255, 255, 0.04));
  --surface-border: light-dark(rgba(15, 23, 42, 0.10), rgba(255, 255, 255, 0.10));
  --surface-border-subtle: light-dark(rgba(15, 23, 42, 0.06), rgba(255, 255, 255, 0.06));

  /* Opaque header color — also used for <meta name="theme-color"> so the
     iOS/Android status-bar (safe area) matches the navigation bar exactly. */
  --header-bg: light-dark(#ffffff, #0b1120);

  --text-primary: light-dark(#0f172a, #f8fafc);
  --text-secondary: light-dark(#475569, #a3b1c6);
  --text-tertiary: light-dark(#64748b, #7c8aa0);
  --text-inverse: light-dark(#ffffff, #0f172a);

  /* Accent used for text/borders (AA contrast on both themes) */
  --brand-emerald: light-dark(#047857, #34d399);
  --brand-emerald-dark: light-dark(#065f46, #10b981);
  /* Solid fill used behind white text (AA contrast on both themes) */
  --brand-solid: #047857;
  --brand-solid-hover: #065f46;
  --brand-glow: light-dark(rgba(16, 185, 129, 0.16), rgba(16, 185, 129, 0.28));
  --brand-emerald-subtle: light-dark(rgba(16, 185, 129, 0.10), rgba(52, 211, 153, 0.12));

  --accent-blue: light-dark(#2563eb, #3b82f6);
  --accent-gold: light-dark(#d97706, #fbbf24);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 18px -3px rgba(0, 0, 0, 0.08), 0 2px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 18px 40px -8px rgba(0, 0, 0, 0.15), 0 6px 16px -4px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 50px -10px var(--brand-glow);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", monospace;
  --max-width: 1200px;
}

/* Explicit User Theme Overrides */
[data-theme="light"] {
  color-scheme: light;
}
[data-theme="dark"] {
  color-scheme: dark;
}

/* Base HTML & Typography */
html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px));
  accent-color: var(--brand-emerald);
  scrollbar-color: var(--text-tertiary) transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* clip (not hidden) so the body never becomes a scroll container,
     which would break the sticky header on iOS Safari */
  overflow-x: clip;
  max-width: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: clip;
  max-width: 100%;
  background: var(--bg-primary);
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Keyboard focus ring (mouse/touch users don't see it) */
:focus-visible {
  outline: 2px solid var(--brand-emerald);
  outline-offset: 3px;
  border-radius: 6px;
}

img, svg {
  max-width: 100%;
}

/* Scroll decorative lighting with the document. A viewport-sized fixed layer
   can make mobile browsers extend a solid color behind their bottom toolbar. */
.ambient-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  animation: float 25s ease-in-out infinite alternate;
  will-change: transform;
}
.ambient-orb-1 {
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, light-dark(rgba(16, 185, 129, 0.20), rgba(16, 185, 129, 0.16)) 0%, transparent 70%);
}
.ambient-orb-2 {
  top: 45%;
  left: -240px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, light-dark(rgba(37, 99, 235, 0.13), rgba(59, 130, 246, 0.14)) 0%, transparent 70%);
  animation-duration: 32s;
  animation-delay: -5s;
}
.ambient-orb-3 {
  bottom: -200px;
  right: 15%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, light-dark(rgba(139, 92, 246, 0.10), rgba(139, 92, 246, 0.12)) 0%, transparent 70%);
  animation-duration: 28s;
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.08); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

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

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
/* Opaque background (same value as <meta name="theme-color">) so the
   status-bar / safe-area tint is identical to the navigation bar. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid var(--surface-border);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 20px -12px rgba(15, 23, 42, 0.25);
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: block;
}

.brand-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--brand-emerald);
  background: var(--brand-emerald-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--brand-emerald);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Control Buttons (Lang, Theme) */
.icon-btn {
  background: var(--surface-subtle);
  border: 1px solid var(--surface-border);
  color: var(--text-primary);
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  box-sizing: border-box;
  transition: all 0.2s ease;
  line-height: 1;
}

select.icon-btn {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.icon-btn:hover {
  background: var(--surface-card-hover);
  border-color: var(--text-secondary);
}

.btn-primary {
  background: var(--brand-solid);
  color: #ffffff;
  height: 38px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  box-sizing: border-box;
  box-shadow: 0 4px 14px var(--brand-glow);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--brand-solid-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--brand-glow);
}

.mobile-menu-toggle {
  display: none;
  background: var(--surface-subtle);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  font-size: 1.35rem;
  color: var(--text-primary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: var(--surface-card-hover);
}

.mobile-drawer-footer {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 70px 0 60px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  /* Opaque surface so the label never blends into the colored backdrop */
  background: light-dark(#ffffff, #0f1a2c);
  border: 1px solid light-dark(rgba(4, 120, 87, 0.28), rgba(52, 211, 153, 0.35));
  color: light-dark(#065f46, #6ee7b7);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin-bottom: 24px;
  box-shadow: 0 2px 10px -2px light-dark(rgba(15, 23, 42, 0.12), rgba(0, 0, 0, 0.5));
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  max-width: 900px;
  margin: 0 auto 20px;
  overflow-wrap: break-word;
  text-wrap: balance;
}

/* Break Japanese/Chinese headings at natural phrase boundaries */
:lang(ja) .hero-title,
:lang(ja) .section-title {
  word-break: auto-phrase;
}

.section-title,
.feature-title,
.faq-summary {
  text-wrap: balance;
}

.hero-subtitle,
.section-desc,
.feature-desc,
.faq-content {
  text-wrap: pretty;
}

.hero-title-highlight {
  background: linear-gradient(135deg var(--in-oklab), var(--brand-emerald) 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s ease;
  border-radius: 8px;
}

.store-badge-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
}

.store-badge-link:active {
  transform: translateY(0);
  filter: brightness(0.95);
}

.store-badge-img {
  height: 48px;
  width: auto;
  display: block;
}

.btn-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  height: 56px;
  min-height: 56px;
  padding: 0 20px;
  width: 215px;
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 13px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.btn-store-badge:hover {
  transform: translateY(-2px);
  background: #0e1322;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.btn-store-badge:active {
  transform: translateY(0);
}

.store-badge-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: block;
}

.store-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.store-badge-sub {
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.store-badge-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero-meta-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 52px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--surface-card);
  border: 1px solid var(--surface-border-subtle);
  font-weight: 500;
  white-space: nowrap;
}

.meta-stars {
  color: #f59e0b;
  letter-spacing: 1px;
}

/* ==========================================================================
   Hero Visual & Interactive Phone Mockup
   ========================================================================== */
.mockup-wrapper {
  position: relative;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  box-sizing: border-box;
}

/* Tabs to switch phone screen */
.screen-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 100%;
  box-sizing: border-box;
  margin-bottom: 28px;
  background: var(--surface-card);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-sm);
}

.screen-tab-btn {
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.screen-tab-btn:hover {
  color: var(--text-primary);
}

.screen-tab-btn.active {
  background: var(--brand-solid);
  color: #ffffff;
  box-shadow: 0 2px 10px var(--brand-glow);
}

/* iPhone Device Mockup Frame */
.phone-mockup-frame {
  position: relative;
  width: 320px;
  max-width: 90vw;
  aspect-ratio: 1206 / 2622;
  border-radius: 54px;
  padding: 12px;
  background: linear-gradient(145deg, #374151, #111827);
  box-shadow:
    0 0 0 4px #4b5563,
    0 25px 60px -15px rgba(0, 0, 0, 0.4),
    0 0 50px -10px var(--brand-glow);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.phone-screen-container {
  width: 100%;
  height: 100%;
  border-radius: 44px;
  overflow: hidden;
  position: relative;
  background: #000000;
}

/* Dynamic Island */
.phone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 28px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.2);
}

.mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.mockup-img.fading {
  opacity: 0;
}

/* Floating feature cards around phone on desktop */
.floating-badge {
  position: absolute;
  background: var(--surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 250px;
  text-align: left;
  z-index: 5;
  animation: badge-bob 4s ease-in-out infinite alternate;
}

.floating-badge-left {
  top: 25%;
  left: 30px;
}

.floating-badge-right {
  top: 55%;
  right: 30px;
  animation-delay: -2s;
}

@keyframes badge-bob {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.badge-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--brand-emerald-subtle);
  color: var(--brand-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.badge-text-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.badge-text-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Interactive Live Currency Converter Widget
   ========================================================================== */
.converter-section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-tag {
  color: var(--brand-emerald);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.converter-card {
  background: var(--surface-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  padding: 36px;
  max-width: 1040px;
  margin: 0 auto;
}

.converter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: start;
}

/* Left Column: Base input & Target rates */
.converter-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.base-input-box {
  background: var(--surface-subtle);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s ease;
}

.base-input-box:focus-within {
  border-color: var(--brand-emerald);
}

.base-input-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.base-input-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.base-input-hint {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.base-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.currency-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.flag-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.base-amount-input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  outline: none;
  text-align: right;
}

.base-amount-input::placeholder {
  color: var(--text-tertiary);
}

/* Quick Currency Chips */
.quick-currency-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--surface-border-subtle);
}

.chip-btn {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.chip-btn:hover, .chip-btn.active {
  background: var(--brand-emerald-subtle);
  border-color: var(--brand-emerald);
  color: var(--brand-emerald);
}

/* Converted Target Cards List */
.target-rates-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.target-rate-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: var(--surface-subtle);
  border: 1px solid var(--surface-border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
}

.target-rate-card:hover {
  background: var(--surface-card-hover);
  border-color: var(--brand-emerald);
  transform: translateX(3px);
}

.target-rate-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.target-code {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.target-name {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.target-rate-right {
  text-align: right;
}

.target-amount {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-emerald);
}

.target-rate-ratio {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

/* Right Column: Calculator Keypad */
.calculator-side {
  background: var(--surface-subtle);
  border: 1.5px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.calc-display {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: right;
  margin-bottom: 16px;
  box-sizing: border-box;
}

.calc-expression {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  min-height: 20px;
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calc-result {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.calc-keypad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(5, 52px);
  gap: 10px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.calc-key {
  height: 52px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s ease;
  user-select: none;
}

.calc-key-zero {
  grid-column: span 2;
}

.calc-key:hover {
  background: var(--surface-card-hover);
  border-color: var(--text-secondary);
}

.calc-key:active {
  transform: scale(0.95);
}

.calc-key-op {
  background: var(--brand-emerald-subtle);
  color: var(--brand-emerald);
  border-color: rgba(16, 185, 129, 0.25);
  font-size: 1.35rem;
}

.calc-key-action {
  color: #ef4444;
  font-weight: 700;
}

.calc-key-equals {
  background: var(--brand-solid);
  color: #ffffff;
  border-color: var(--brand-solid);
  box-shadow: 0 4px 14px var(--brand-glow);
  font-size: 1.4rem;
}

.calc-key-equals:hover {
  background: var(--brand-solid-hover);
}

.converter-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--surface-border-subtle);
  font-size: 0.85rem;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  gap: 10px;
}

.converter-footer-tip {
  color: var(--text-tertiary);
}

.live-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 8px #10b981;
}

/* ==========================================================================
   Core Features Showcase
   ========================================================================== */
.features-section {
  padding: 90px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-emerald);
  box-shadow: var(--shadow-lg), 0 0 30px -8px var(--brand-glow);
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--brand-emerald-subtle);
  color: var(--brand-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Pro vs Free Comparison Table
   ========================================================================== */
.comparison-section {
  padding: 80px 0;
}

.table-wrapper {
  background: var(--surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-md);
  max-width: 900px;
  margin: 0 auto;
}

.comp-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  text-align: left;
}

.comp-table th, .comp-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--surface-border-subtle);
}

.comp-table th {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  background: var(--surface-subtle);
}

.comp-table th.pro-col-header {
  background: var(--brand-emerald-subtle);
  color: var(--brand-emerald);
}

.comp-table tr:last-child td {
  border-bottom: none;
}

.check-icon {
  color: var(--brand-emerald);
  font-weight: 700;
  font-size: 1.15rem;
}

.cross-icon {
  color: var(--text-tertiary);
  font-weight: 700;
}

/* ==========================================================================
   Stats & Trust
   ========================================================================== */
.stats-section {
  padding: 60px 0;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  background: var(--surface-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--brand-emerald);
  font-family: var(--font-sans);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   Screenshots Gallery Carousel
   ========================================================================== */
.gallery-section {
  padding: 90px 0;
  overflow: hidden;
}

.gallery-scroll-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 20px 24px 40px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.gallery-item {
  flex: 0 0 280px;
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--surface-border);
  background: #000;
  transition: transform 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-caption {
  padding: 14px 16px;
  background: var(--surface-card);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  border-top: 1px solid var(--surface-border-subtle);
}

/* ==========================================================================
   FAQ Section (<details> & <summary>)
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  max-width: 820px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: var(--brand-emerald);
  box-shadow: var(--shadow-sm);
}

.faq-summary {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand-emerald);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-summary::after {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 24px 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Footer & Legal Dialog
   ========================================================================== */
.site-footer {
  background: var(--surface-subtle);
  border-top: 1px solid var(--surface-border);
  padding: 60px 0 36px;
  padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-col {
  max-width: 320px;
}

.footer-desc {
  color: var(--text-secondary);
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-links-group {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-links-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--brand-emerald);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--surface-border-subtle);
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

/* Native <dialog> Modal Styling */
.modal-dialog {
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 0;
  width: 90%;
  max-width: 760px;
  max-height: 85vh;
  margin: auto;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 0, 0, 0.4);
}

.modal-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--surface-border);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-close-btn {
  background: var(--surface-subtle);
  border: 1px solid var(--surface-border);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--surface-card-hover);
  transform: rotate(90deg);
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  max-height: calc(85vh - 80px);
  line-height: 1.7;
}

.modal-body h1, .modal-body h2, .modal-body h3 {
  margin: 1.5em 0 0.5em;
  color: var(--text-primary);
}

.modal-body p {
  margin-bottom: 1em;
  color: var(--text-secondary);
}

.modal-body ul, .modal-body ol {
  padding-left: 1.5em;
  margin-bottom: 1em;
  color: var(--text-secondary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1050px) {
  .floating-badge {
    display: none;
  }
}

@media (max-width: 960px) {
  .converter-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .header-inner {
    height: 64px;
  }
  .header-actions {
    gap: 0;
  }
  .brand-icon {
    width: 36px;
    height: 36px;
  }
  .brand-link {
    font-size: 1.15rem;
    gap: 10px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .site-header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - 64px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    background: var(--header-bg);
    padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    border-bottom: 1px solid var(--surface-border);
    box-shadow: 0 24px 40px -12px rgba(15, 23, 42, 0.3);
    gap: 2px;
    box-sizing: border-box;
    z-index: 99;
    animation: drawer-in 0.2s ease-out;
  }
  @keyframes drawer-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .site-header.menu-open .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
  }
  .site-header.menu-open .nav-link:active,
  .site-header.menu-open .nav-link:hover {
    background: var(--surface-subtle);
    color: var(--brand-emerald);
  }
  .mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--surface-border);
  }
  .mobile-drawer-controls {
    display: flex;
    gap: 10px;
    width: 100%;
  }
  .mobile-lang-select,
  .mobile-theme-btn {
    flex: 1;
    height: 44px;
    justify-content: center;
    font-size: 0.95rem;
  }
  .mobile-drawer-cta {
    width: 100%;
    height: 48px;
    justify-content: center;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }
  .hero-section {
    padding: 32px 0 48px;
  }
  .hero-pill {
    font-size: 0.78rem;
    padding: 6px 14px;
    gap: 6px;
    margin-bottom: 20px;
  }
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 28px;
  }
  .hero-meta-badges {
    gap: 8px;
    font-size: 0.8rem;
    margin-bottom: 40px;
  }
  .meta-item {
    padding: 5px 11px;
  }
  .phone-mockup-frame {
    width: 270px;
    border-radius: 46px;
  }
  .phone-screen-container {
    border-radius: 36px;
  }
  .screen-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 100%;
    padding: 6px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 6px;
    /* Fade at the right edge signals that more tabs can be swiped in */
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
  }
  .screen-tabs.at-end {
    -webkit-mask-image: none;
    mask-image: none;
  }
  .screen-tabs::-webkit-scrollbar {
    display: none;
  }
  .screen-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    scroll-snap-align: start;
    min-height: 40px;
  }
  .converter-section,
  .comparison-section,
  .faq-section {
    padding: 64px 0;
  }
  .features-section,
  .gallery-section {
    padding: 72px 0;
  }
  .section-header {
    margin-bottom: 36px;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .section-desc {
    font-size: 1rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .feature-card {
    padding: 24px 22px;
  }
  .converter-card {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
  }
  .comp-table {
    min-width: 0;
  }
  .comp-table th, .comp-table td {
    padding: 13px 12px;
    font-size: 0.88rem;
  }
  .comp-table th {
    font-size: 0.9rem;
  }
  .gallery-scroll-container {
    padding: 12px 20px 32px;
    scroll-padding-inline: 20px;
    gap: 16px;
  }
  .gallery-item {
    flex-basis: 240px;
  }
  .faq-summary {
    padding: 18px 18px;
    font-size: 1rem;
    gap: 12px;
  }
  .faq-content {
    padding: 0 18px 18px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .footer-top {
    gap: 32px;
  }
  .footer-links-group {
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

@media (max-width: 580px) {
  .brand-badge {
    display: none;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .base-amount-input {
    font-size: 1.8rem;
  }
  .calc-keypad {
    grid-template-rows: repeat(5, 48px);
    gap: 8px;
  }
  .calc-key {
    height: 48px;
    font-size: 1.15rem;
  }
  .calc-display {
    padding: 10px 14px;
  }
  .calc-result {
    font-size: 1.5rem;
  }
  .hero-cta-group {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 28px;
    gap: 12px;
  }
  .store-badge-img {
    height: 44px;
    width: auto;
  }
  .btn-store-badge {
    width: 100%;
    max-width: 260px;
    padding: 0 24px;
    justify-content: flex-start;
  }
}

@media (min-width:769px) and (max-width:1180px) {
  .desktop-only {
    display: none !important;
  }
  .header-inner {
    height: 64px;
  }
  .header-actions {
    gap: 0;
  }
  .brand-icon {
    width: 36px;
    height: 36px;
  }
  .brand-link {
    font-size: 1.15rem;
    gap: 10px;
  }
  .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .site-header.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100dvh - 64px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    background: var(--header-bg);
    padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    border-bottom: 1px solid var(--surface-border);
    box-shadow: 0 24px 40px -12px rgba(15, 23, 42, 0.3);
    gap: 2px;
    box-sizing: border-box;
    z-index: 99;
    animation: drawer-in 0.2s ease-out;
  }
  @keyframes drawer-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .site-header.menu-open .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
  }
  .site-header.menu-open .nav-link:active,
  .site-header.menu-open .nav-link:hover {
    background: var(--surface-subtle);
    color: var(--brand-emerald);
  }
  .mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--surface-border);
  }
  .mobile-drawer-controls {
    display: flex;
    gap: 10px;
    width: 100%;
  }
  .mobile-lang-select,
  .mobile-theme-btn {
    flex: 1;
    height: 44px;
    justify-content: center;
    font-size: 0.95rem;
  }
  .mobile-drawer-cta {
    width: 100%;
    height: 48px;
    justify-content: center;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }
}

/* Apple Watch: native screens, spacious editorial layout. */
.hero-watch-link{display:inline-flex;align-items:center;gap:10px;max-width:100%;margin:0 auto 30px;padding:9px 16px;border:1px solid var(--surface-border);border-radius:var(--radius-full);color:var(--text-primary);background:var(--surface-card);text-decoration:none;font-size:.9rem;font-weight:600;line-height:1.5;box-shadow:var(--shadow-sm)}
.hero-watch-link svg{flex-shrink:0;color:var(--accent-blue)}
.hero-watch-link:hover{border-color:var(--accent-blue)}
.hero-watch-link .watch-link-arrow{color:var(--accent-blue);margin-left:2px}
.watch-section{position:relative;padding:96px 0;scroll-margin-top:0;border-block:1px solid var(--surface-border-subtle);background:var(--bg-secondary)}
.watch-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:64px}
.watch-copy{min-width:0;max-width:530px}
.watch-eyebrow{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-bottom:22px}
.watch-eyebrow .section-tag{margin:0;color:var(--accent-blue)}
.watch-availability{font-size:.75rem;font-weight:600;color:var(--text-secondary);background:var(--surface-subtle);padding:4px 10px;border-radius:var(--radius-full);border:1px solid var(--surface-border-subtle)}
.watch-title{font-size:clamp(2.1rem,4.2vw,3.65rem);font-weight:800;line-height:1.13;letter-spacing:-.045em;white-space:pre-line;margin-bottom:24px;text-wrap:balance}
.watch-intro{color:var(--text-secondary);font-size:1.05rem;line-height:1.85;max-width:460px}
.watch-benefits{list-style:none;display:grid;gap:22px;margin:30px 0}
.watch-benefits li{display:flex;align-items:flex-start;gap:14px}
.watch-benefit-icon{display:grid;place-items:center;flex:0 0 38px;height:38px;color:var(--accent-blue);border:1px solid var(--surface-border-subtle);border-radius:12px;background:var(--surface-subtle)}
.watch-benefits h3{font-size:.98rem;line-height:1.55;margin-bottom:4px;letter-spacing:-.015em}
.watch-benefits p{font-size:.9rem;line-height:1.75;color:var(--text-secondary);max-width:430px}
.watch-download-group{display:grid;justify-items:start;gap:12px}
.watch-download-edition{font-size:.85rem;font-weight:600;line-height:1.5;color:var(--text-primary)}
.watch-download{display:inline-flex;align-items:center;line-height:0;text-decoration:none;border-radius:8px}
.watch-download img{display:block;width:auto;height:48px;max-width:100%}
.watch-download:focus-visible{outline:3px solid var(--accent-blue);outline-offset:4px}
.watch-download-notes{display:grid;gap:4px}
.watch-release-note{font-size:.85rem;line-height:1.6;color:var(--text-secondary)}
.watch-compatibility{font-size:.78rem;line-height:1.7;color:var(--text-secondary)}
.watch-showcase{min-width:0;position:relative;padding:18px 0}
.watch-showcase::before{content:"";position:absolute;inset:0;border-radius:50%;background:radial-gradient(ellipse,var(--brand-glow),transparent 68%);pointer-events:none}
.watch-gallery{display:flex;align-items:flex-start;justify-content:center;gap:22px;position:relative}
.watch-figure{margin:0;min-width:0;flex:0 1 236px;text-align:center}
.watch-figure-secondary{flex-basis:196px;margin-top:70px}
.watch-device{position:relative;padding:40px 0;margin-bottom:20px}
.watch-band{position:absolute;inset:0 25%;border-radius:30px;background:linear-gradient(90deg,#172333,#314054 48%,#1b293a);border:1px solid #425268;box-shadow:inset 3px 0 6px #ffffff10,inset -3px 0 6px #00000030}
.watch-figure-secondary .watch-band{background:linear-gradient(90deg,#2a3039,#535d69 48%,#303945);border-color:#636e7a}
.watch-case{position:relative;z-index:1;padding:10px;border:1px solid #737d8c;border-radius:50px;background:linear-gradient(145deg,#727d8c,#222b37 27%,#080d14 76%,#657182);box-shadow:0 22px 36px -20px #08132185,inset 1px 1px 1px #ffffff55}
.watch-case::after{content:"";position:absolute;right:-6px;top:27%;width:7px;height:28px;border:1px solid #777f8e;border-radius:3px;background:repeating-linear-gradient(0deg,#404b5c 0 2px,#78808b 2px 3px);z-index:-1}
.watch-case img{display:block;width:100%;height:auto;aspect-ratio:374/446;background:#000;border-radius:39px}
.watch-figure-secondary .watch-case{padding:8px;border-radius:43px}
.watch-figure-secondary .watch-case img{border-radius:34px}
.watch-figure figcaption{font-size:.86rem;font-weight:600;line-height:1.7;color:var(--text-primary)}
.watch-screens-caption{position:relative;font-size:.75rem;line-height:1.7;text-align:center;color:var(--text-tertiary);margin-top:22px}
@media(min-width:1181px){.nav-links{gap:16px}.nav-link{font-size:.9rem;white-space:nowrap}}
@media(max-width:960px){.watch-layout{grid-template-columns:1fr;gap:0}.watch-copy{display:contents}.watch-eyebrow{grid-row:1}.watch-title{grid-row:2;font-size:clamp(2.2rem,6vw,3.4rem)}.watch-intro{grid-row:3;max-width:none}.watch-showcase{grid-row:4;max-width:560px;width:100%;margin:24px auto 8px}.watch-benefits{grid-row:5}.watch-benefits p{max-width:none}.watch-download-group{grid-row:6;justify-self:start;min-width:0}}
@media(max-width:580px){.watch-section{padding:60px 0}.watch-eyebrow{margin-bottom:18px}.watch-title{font-size:2.5rem;margin-bottom:20px}.watch-intro{font-size:1rem}.watch-benefits{gap:20px;margin:26px 0}.watch-gallery{gap:14px;padding-right:5px}.watch-figure{flex-basis:56%}.watch-figure-secondary{flex-basis:44%;margin-top:48px}.watch-device{padding:28px 0;margin-bottom:16px}.watch-case{padding:7px;border-radius:36px}.watch-case img{border-radius:28px}.watch-figure-secondary .watch-case{padding:6px;border-radius:31px}.watch-figure-secondary .watch-case img{border-radius:25px}.watch-case::after{right:-5px;width:6px;height:22px}.watch-figure figcaption{font-size:.76rem}.watch-screens-caption{margin-top:20px}.watch-compatibility{font-size:.75rem}}
