/* ==========================================================================
   AVAIL APP — PREMIUM MARKETING & UI SHOWCASE STYLESHEET
   Inspirado directamente en el sistema visual de Avail para iOS
   ========================================================================== */

:root {
  /* Progressive enhancement for OKLab / OKLCH gradient interpolation */
  --in-oklab: ;
  --in-oklch: ;

  /* Default Theme: Emerald (Verde Alpino / Frame 1 & App Icon) */
  --bg-deep: #06100d;
  --bg-surface: #0b1c16;
  --bg-card: rgba(16, 36, 29, 0.72);
  --bg-card-strong: rgba(20, 45, 36, 0.88);
  --accent-primary: #3fc89a;
  --accent-secondary: #2575fc;
  --accent-tertiary: #a855f7;
  --accent-glow: rgba(63, 200, 154, 0.28);

  --text-primary: #f4f8f6;
  --text-secondary: #a3b8b0;
  --text-muted: #6c847b;

  --border-glass: rgba(255, 255, 255, 0.1);
  --border-highlight: rgba(63, 200, 154, 0.35);

  --emerald: #3fc89a;
  --coral: #fb7185;
  --sky: #62b6ff;
  --amber: #f7d046;
  --purple: #b05cff;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-elevated:
    0 2px 4px rgba(0, 0, 0, 0.2),
    0 12px 28px -4px rgba(0, 0, 0, 0.45),
    0 32px 64px -12px rgba(0, 0, 0, 0.6);
}

@supports (background: linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
    --in-oklch: in oklch;
  }
}

/* iPhone Finish Theme Variations */
html[data-theme="ultramarine"] {
  --bg-deep: #060b16;
  --bg-surface: #0c162c;
  --bg-card: rgba(17, 29, 56, 0.72);
  --accent-primary: #62b6ff;
  --accent-secondary: #3fc89a;
  --accent-glow: rgba(98, 182, 255, 0.28);
  --border-highlight: rgba(98, 182, 255, 0.38);
}

html[data-theme="amethyst"] {
  --bg-deep: #0b0714;
  --bg-surface: #170f29;
  --bg-card: rgba(31, 20, 56, 0.72);
  --accent-primary: #c084fc;
  --accent-secondary: #62b6ff;
  --accent-glow: rgba(192, 132, 252, 0.28);
  --border-highlight: rgba(192, 132, 252, 0.38);
}

html[data-theme="desert"] {
  --bg-deep: #110d08;
  --bg-surface: #1f170f;
  --bg-card: rgba(42, 31, 20, 0.72);
  --accent-primary: #f59e0b;
  --accent-secondary: #3fc89a;
  --accent-glow: rgba(245, 158, 11, 0.25);
  --border-highlight: rgba(245, 158, 11, 0.38);
}

html[data-theme="rose"] {
  --bg-deep: #13070b;
  --bg-surface: #240e16;
  --bg-card: rgba(48, 19, 30, 0.72);
  --accent-primary: #fb7185;
  --accent-secondary: #c084fc;
  --accent-glow: rgba(251, 113, 133, 0.26);
  --border-highlight: rgba(251, 113, 133, 0.38);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.45s ease;
}

/* Modern Web Guidance: Balanced headings & pretty paragraphs */
h1, h2, h3, h4 {
  text-wrap: balance;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p, li {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

/* ==========================================================================
   AMBIENT LIGHTING & TEXTURE CANVAS (Not flat, rich spatial depth)
   ========================================================================== */
.ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.45;
  transition: background 0.6s ease;
}

.orb-primary {
  width: 560px;
  height: 560px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle var(--in-oklab), var(--accent-primary), transparent 70%);
}

.orb-secondary {
  width: 620px;
  height: 620px;
  top: 18%;
  right: -200px;
  background: radial-gradient(circle var(--in-oklab), var(--accent-secondary), transparent 70%);
  opacity: 0.3;
}

.orb-accent {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: 25%;
  background: radial-gradient(circle var(--in-oklab), var(--accent-tertiary), transparent 70%);
  opacity: 0.22;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 30%, transparent 100%);
}

/* ==========================================================================
   TOP AVAILABILITY NOTICE BAR
   ========================================================================== */
.top-notice-bar {
  background: rgba(8, 20, 16, 0.85);
  border-bottom: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
  font-size: 0.82rem;
  padding: 0.55rem 0;
  position: relative;
  z-index: 60;
}

.top-notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.region-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(63, 200, 154, 0.2);
  animation: pulseGlow 2.2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.65; }
}

.divider-dot {
  color: var(--text-muted);
}

.region-soon {
  color: var(--text-secondary);
}

.top-ios-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-primary);
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.top-ios-link:hover {
  opacity: 0.85;
}

/* ==========================================================================
   SITE HEADER & 3-ASSET BRAND LOCKUP
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 16, 13, 0.72);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border-glass);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 1.25rem;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.app-identity {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: transform 0.2s ease;
}

.app-identity:hover {
  transform: translateY(-1px);
}

.header-app-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.header-app-logo {
  height: 30px;
  width: auto;
}

.brand-separator {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: lowercase;
  padding-inline: 0.15rem;
}

.maker-identity {
  display: inline-flex;
  align-items: center;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.maker-identity:hover {
  opacity: 1;
}

.header-brand-logo {
  height: 26px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 0.3rem;
  border-radius: 999px;
}

.nav-link {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.09);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Selector Dropdown */
.lang-dropdown {
  position: relative;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lang-trigger:hover {
  border-color: var(--border-highlight);
  background: rgba(255, 255, 255, 0.09);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 210px;
  background: rgba(12, 26, 21, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0.45rem;
  box-shadow: var(--shadow-elevated);
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 100;
}

.lang-menu.open {
  display: flex;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}

.lang-option:hover:not(.disabled) {
  background: rgba(255, 255, 255, 0.08);
}

.lang-check {
  margin-left: auto;
  color: var(--accent-primary);
  opacity: 0;
}

.lang-option.active .lang-check {
  opacity: 1;
}

.lang-option.disabled {
  opacity: 0.5;
  cursor: default;
}

.lang-soon-badge {
  margin-left: auto;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 99px;
  color: var(--text-secondary);
}

.lang-menu-divider {
  height: 1px;
  background: var(--border-glass);
  margin: 0.25rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: linear-gradient(135deg var(--in-oklab), var(--accent-primary), #1e966c);
  color: #04120c;
  box-shadow: 0 6px 20px -4px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px -4px var(--accent-glow);
}

.btn-glass {
  padding: 0.9rem 1.4rem;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION & INTERACTIVE iPHONE SHOWCASE
   ========================================================================== */
.hero-section {
  padding: 3.5rem 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
}

/* App Icon + Keycap Lockup Card */
.app-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1.1rem 0.65rem 0.65rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  margin-bottom: 1.75rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-icon-wrapper {
  position: relative;
  flex-shrink: 0;
}

.hero-app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.45));
}

.hero-app-title-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.2rem;
}

.hero-keycap-logo {
  height: 32px;
  width: auto;
}

.version-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  background: rgba(63, 200, 154, 0.16);
  color: var(--accent-primary);
  border: 1px solid var(--border-highlight);
}

.hero-tagline-mini {
  font-size: 0.83rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2.35rem, 4.4vw, 3.75rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg var(--in-oklab), #ffffff 25%, #b8cfc6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 58ch;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

/* Official-style Apple App Store Button */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  color: #06100d;
  padding: 0.7rem 1.45rem;
  border-radius: 16px;
  box-shadow:
    0 10px 30px -6px rgba(255, 255, 255, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-appstore:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 16px 36px -6px rgba(63, 200, 154, 0.4),
    0 6px 16px rgba(0, 0, 0, 0.35);
}

.appstore-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.appstore-Upper {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.75;
}

.appstore-Main {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Availability Regional Card */
.availability-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  max-width: 540px;
}

.avail-flags {
  display: flex;
  align-items: center;
}

.flag-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid var(--bg-deep);
  margin-left: -8px;
}

.flag-badge:first-child {
  margin-left: 0;
}

.flag-badge.active-country {
  background: rgba(63, 200, 154, 0.25);
  border-color: var(--emerald);
  z-index: 2;
}

.flag-badge.soon-country {
  opacity: 0.65;
  filter: saturate(0.7);
}

.avail-text {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.avail-text strong {
  color: var(--text-primary);
  font-weight: 700;
}

.avail-text span {
  color: var(--text-secondary);
}

/* ==========================================================================
   INTERACTIVE iPHONE MOCKUP & LIVE APP SCREENS
   ========================================================================== */
.hero-Phone-Stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.screen-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 0.35rem;
  border-radius: 999px;
}

.screen-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.screen-tab.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.tab-dot.emerald { background: #3fc89a; }
.tab-dot.blue { background: #62b6ff; }
.tab-dot.purple { background: #b05cff; }
.tab-dot.rose { background: #fb7185; }
.tab-dot.amber { background: #f7d046; }

/* Hardware iPhone 16 Pro Frame */
.iphone-mockup {
  position: relative;
  width: 348px;
  height: 690px;
  border-radius: 54px;
  padding: 11px;
  background: linear-gradient(145deg, #3a4642 0%, #18201d 45%, #2c3733 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    0 30px 70px -15px rgba(0, 0, 0, 0.75),
    0 0 90px -20px var(--accent-glow);
}

.iphone-bezel {
  position: relative;
  width: 100%;
  height: 100%;
  background: #07120e;
  border-radius: 44px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 102px;
  height: 27px;
  background: #000000;
  border-radius: 99px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.island-camera {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle, #1e3a8a 30%, #090d16 70%);
}

.ios-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  z-index: 5;
}

.ios-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ios-battery {
  width: 20px;
  height: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 3px;
  padding: 1px;
}

.ios-battery-level {
  width: 80%;
  height: 100%;
  background: #3fc89a;
  border-radius: 1px;
}

/* App Screens Inside iPhone */
.app-screen {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.65rem 1rem 1.5rem;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  animation: fadeScreen 0.3s ease;
}

.app-screen::-webkit-scrollbar {
  display: none;
}

.app-screen.active {
  display: flex;
}

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

.app-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-top-actions {
  display: flex;
  gap: 0.4rem;
}

.app-circle-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

.app-circle-btn.accent {
  background: var(--emerald);
  color: #04120c;
  font-weight: 800;
}

.app-pill-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
}

.pill-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.32rem 0.7rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.pill-chip.active {
  background: rgba(63, 200, 154, 0.18);
  color: #fff;
  border: 1px solid rgba(63, 200, 154, 0.35);
}

.ui-card {
  background: linear-gradient(160deg, rgba(24, 56, 44, 0.85), rgba(11, 27, 21, 0.92));
  border: 1px solid rgba(63, 200, 154, 0.25);
  border-radius: 22px;
  padding: 1rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.ui-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.ui-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.ui-badge-emerald {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 99px;
  background: rgba(63, 200, 154, 0.2);
  color: var(--emerald);
}

.ui-big-amount {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.55rem;
}

.ui-big-amount small {
  font-size: 1.05rem;
  opacity: 0.7;
}

.ui-mini-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  background: rgba(0, 0, 0, 0.26);
  border-radius: 14px;
  margin-bottom: 0.65rem;
}

.metric-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
}

.metric-lbl {
  font-size: 0.66rem;
  color: var(--text-secondary);
}

.text-emerald { color: var(--emerald); }
.text-coral { color: var(--coral); }
.text-sky { color: var(--sky); }

.ui-sub-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.72rem;
  margin-bottom: 0.75rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.breakdown-row strong {
  font-family: var(--font-mono);
  color: #fff;
}

.dot-emerald, .dot-coral {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 4px;
}
.dot-emerald { background: var(--emerald); }
.dot-coral { background: var(--coral); }

.ui-bars-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.bar-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.multi-progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  display: flex;
  overflow: hidden;
  gap: 2px;
}

.multi-progress span {
  height: 100%;
  border-radius: 99px;
}

.ui-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.ui-upcoming-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.ui-mini-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mini-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-secondary);
}

.mini-title {
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.2rem;
}

.mini-amount {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.mini-btn {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 99px;
  background: var(--emerald);
  color: #051811;
}

/* Screen 2: Credit Card UI */
.ui-credit-card {
  background: linear-gradient(135deg, #243048 0%, #121826 100%);
  border: 1px solid rgba(98, 182, 255, 0.3);
  border-radius: 22px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.cc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cc-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}

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

.cc-chip {
  width: 26px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, #f7d046, #b48608);
}

.cc-balance-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.cc-lbl {
  font-size: 0.64rem;
  color: var(--text-secondary);
}

.cc-amount {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
}

.cc-limits {
  display: flex;
  flex-direction: column;
  font-size: 0.62rem;
  color: var(--text-secondary);
  text-align: right;
}

.ui-status-dots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.6rem;
  border-radius: 14px;
  text-align: center;
}

.s-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.64rem;
  gap: 2px;
}

.dot-c {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-c.green { background: #3fc89a; }
.dot-c.orange { background: #f59e0b; }
.dot-c.blue { background: #62b6ff; }

.ui-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
}

.li-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.li-avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.li-title {
  font-size: 0.74rem;
  font-weight: 700;
}

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

.li-price {
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

/* Screen 3: Recurring Purple Card */
.ui-purple-card {
  background: linear-gradient(160deg, rgba(76, 29, 149, 0.65), rgba(24, 13, 46, 0.9));
  border-color: rgba(192, 132, 252, 0.35);
  text-align: center;
}

.screen-title-sm {
  font-size: 0.78rem;
  font-weight: 700;
}

.ui-dual-pills {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.64rem;
  font-weight: 700;
}

.pill-in {
  color: #3fc89a;
  background: rgba(63, 200, 154, 0.14);
  padding: 0.2rem 0.5rem;
  border-radius: 99px;
}

.pill-out {
  color: #fb7185;
  background: rgba(251, 113, 133, 0.14);
  padding: 0.2rem 0.5rem;
  border-radius: 99px;
}

/* Screen 4: AI Financial Bodyguard */
.ai-chat-bubble-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  font-size: 0.72rem;
  padding: 0.65rem 0.85rem;
  border-radius: 16px 16px 4px 16px;
  max-width: 90%;
}

.ai-chat-response {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(251, 113, 133, 0.3);
  border-radius: 18px;
  padding: 0.85rem;
  font-size: 0.71rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ai-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-sparkle {
  font-weight: 800;
  color: #fb7185;
}

.ai-safe-tag {
  font-size: 0.62rem;
  padding: 0.15rem 0.45rem;
  border-radius: 99px;
  background: rgba(63, 200, 154, 0.2);
  color: var(--emerald);
  font-weight: 700;
}

.ai-action-box {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ai-action-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
}

.ai-confirm-btn {
  width: 100%;
  border: none;
  background: var(--emerald);
  color: #04150e;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0.45rem;
  border-radius: 8px;
  cursor: pointer;
}

/* Screen 5: iOS Widgets */
.ios-lockscreen-header {
  text-align: center;
  padding: 0.5rem 0;
}

.lock-date {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.lock-clock {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.widget-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.ios-widget-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.w-lbl {
  font-size: 0.64rem;
  color: var(--text-secondary);
}

.w-val {
  font-family: var(--font-mono);
  font-size: 1.05rem;
}

.w-mini-rows {
  display: flex;
  flex-direction: column;
  font-size: 0.62rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.ios-widget-wide {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.w-wide-top, .w-wide-foot {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
}

.w-progress-bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.w-progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--emerald), var(--sky));
  border-radius: 99px;
}

.ios-home-indicator {
  width: 115px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 99px;
  margin: auto auto 8px;
}

/* ==========================================================================
   BENTO GRID FEATURES SECTION
   ========================================================================== */
.features-section {
  padding: 5.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

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

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-elevated);
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
}

.bento-large {
  grid-column: span 2;
}

.bento-tag {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-primary);
  margin-bottom: 0.75rem;
}

.bento-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.55rem;
}

.bento-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Bento Visual Micro-Illustrations */
.mini-ui-preview {
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(63, 200, 154, 0.25);
  border-radius: 18px;
  padding: 1.1rem;
}

.preview-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.badge-up {
  color: var(--emerald);
  font-weight: 700;
}

.preview-number {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0.3rem 0 0.65rem;
}

.preview-bars {
  display: flex;
  gap: 6px;
  height: 8px;
}

.preview-bars span {
  border-radius: 99px;
  background: var(--emerald);
}
.preview-bars span:nth-child(2) { background: var(--sky); }
.preview-bars span:nth-child(3) { background: var(--amber); }

.stacked-cards-graphic {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.s-card {
  display: flex;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}
.s-blue { background: linear-gradient(90deg, #2575fc, #62b6ff); }
.s-purple { background: linear-gradient(90deg, #7928ca, #b05cff); }
.s-gold { background: linear-gradient(90deg, #d97706, #f59e0b); }

.commitment-pills {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.c-pill {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  font-size: 0.82rem;
}

.goals-preview {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.goal-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.goal-bar {
  height: 7px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.goal-bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
}

.ai-preview-card {
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.14), rgba(192, 132, 252, 0.12));
  border: 1px solid rgba(251, 113, 133, 0.3);
  border-radius: 18px;
  padding: 1.1rem;
}

.ai-p-header {
  font-weight: 800;
  font-size: 0.85rem;
  color: #fb7185;
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   iPHONE THEME CUSTOMIZER SECTION
   ========================================================================== */
.themes-section {
  padding: 4.5rem 0;
}

.themes-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.finish-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.finish-swatch {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.finish-swatch.active,
.finish-swatch:hover {
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.swatch-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.live-theme-card {
  background: linear-gradient(155deg var(--in-oklab), var(--bg-surface), rgba(0, 0, 0, 0.65));
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 20px 50px -12px var(--accent-glow);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lt-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lt-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
}

.lt-balance span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.lt-balance strong {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  color: var(--accent-primary);
}

.lt-widgets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lt-mini-pill {
  font-size: 0.76rem;
  padding: 0.4rem 0.75rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

/* ==========================================================================
   FINAL CTA BANNER
   ========================================================================== */
.cta-banner-section {
  padding: 4rem 0 6rem;
}

.cta-banner-card {
  text-align: center;
  background:
    radial-gradient(circle at 50% 0% var(--in-oklab), var(--accent-glow), transparent 70%),
    var(--bg-card-strong);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-elevated);
}

.cta-floating-icon {
  border-radius: 20px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}

.cta-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  max-width: 22ch;
}

.cta-sub {
  color: var(--text-secondary);
  max-width: 56ch;
}

.cta-footnote {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ==========================================================================
   PRIVACY PAGE STYLES
   ========================================================================== */
.legal-main {
  padding: 3.5rem 0 5rem;
}

.legal-container {
  max-width: 840px;
}

.legal-header-card {
  margin-bottom: 2rem;
}

.legal-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.4rem;
}

.legal-updated {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.legal-body-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.legal-block h2 {
  font-size: 1.22rem;
  margin-bottom: 0.65rem;
  color: var(--accent-primary);
}

.legal-block p {
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-inline-link {
  color: var(--accent-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.legal-inline-link:hover {
  opacity: 0.85;
}

.legal-contact-mail a {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--accent-primary);
  font-weight: 700;
  border-bottom: 1px dashed var(--accent-primary);
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-glass);
  background: rgba(4, 10, 8, 0.85);
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.75fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-logos-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 42ch;
  margin-bottom: 1.5rem;
}

.footer-maker-box {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.maker-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-links-col h4 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-links-col a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-glass);
  font-size: 0.84rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid,
  .themes-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-large {
    grid-column: span 1;
  }

  .main-nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .top-notice-inner {
    justify-content: center;
    text-align: center;
  }

  .brand-separator,
  .maker-identity {
    display: none;
  }

  .themes-box {
    padding: 1.75rem;
  }

  .iphone-mockup {
    width: 318px;
    height: 650px;
  }
}
