:root {
    --sans: 'Inter', system-ui, sans-serif;
    --display: 'Plus Jakarta Sans', sans-serif;
    --mac-blue: #007AFF;
    --mac-purple: #AF52DE;
    --mac-pink: #FF2D55;
    --mac-red: #FF3B30;
    --mac-orange: #FF9500;
    --mac-yellow: #FFCC00;
    --mac-green: #28CD41;
    --mac-graphite: #8E8E93;
    --r: 0.5rem;
    --r-lg: 1rem;
    --r-xl: 1.5rem;
  }

  .color-blue { --accent: var(--mac-blue); --accent-bg: rgba(0, 122, 255, 0.1); }
  .color-purple { --accent: var(--mac-purple); --accent-bg: rgba(175, 82, 222, 0.1); }
  .color-pink { --accent: var(--mac-pink); --accent-bg: rgba(255, 45, 85, 0.1); }
  .color-red { --accent: var(--mac-red); --accent-bg: rgba(255, 59, 48, 0.1); }
  .color-orange { --accent: var(--mac-orange); --accent-bg: rgba(255, 149, 0, 0.1); }
  .color-yellow { --accent: var(--mac-yellow); --accent-bg: rgba(255, 204, 0, 0.1); }
  .color-green { --accent: var(--mac-green); --accent-bg: rgba(40, 205, 65, 0.1); }
  .color-graphite { --accent: var(--mac-graphite); --accent-bg: rgba(142, 142, 147, 0.1); }

  .theme-dark {
    --bg-color: #000000;
    --text-main: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-color: rgba(255, 255, 255, 0.15);
    --card-bg: rgba(255, 255, 255, 0.04);
    --card-hover: rgba(255, 255, 255, 0.08);
    --glass-blur: none;
    --body-weight: 350;
  }

  .theme-glass {
    --bg-color: rgba(255, 255, 255, 0.85);
    --text-main: #000000;
    --text-muted: rgba(0, 0, 0, 0.65);
    --border-color: rgba(0, 0, 0, 0.15);
    --card-bg: rgba(255, 255, 255, 0.6);
    --card-hover: rgba(255, 255, 255, 0.9);
    --glass-blur: blur(40px) saturate(200%);
    --body-weight: 500;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: #000;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    opacity: 0.04;
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 256px 256px;
  }

  nav {
    position: fixed;
    top: 1.5rem; left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1rem 1.25rem 2rem;
    width: 90%;
    max-width: 1000px;
    border-radius: 4rem;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
  }

  .nav-logo img { height: 20px; display: block; }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
  }
  .nav-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: #FFF; }

  .nav-cta {
    background: var(--mac-blue) !important;
    color: #FFF !important;
    padding: 0.6rem 1.25rem !important;
    border-radius: 2rem !important;
    font-weight: 600 !important;
    transition: transform 0.2s !important;
  }
  .nav-cta:hover { transform: scale(1.05); }

  section {
    position: relative;
    z-index: 1;
    background: var(--bg-color);
    color: var(--text-main);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    transition: background 0.5s ease, color 0.5s ease;
  }

  h1, h2, h3, .use-case-headline, .app-listing-title {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.03em;
  }

  p, li, .feature-desc, .use-case-body {
    font-weight: var(--body-weight);
    transition: font-weight 0.5s ease;
  }

  em { font-style: italic; font-weight: 300; color: var(--accent); }
  .eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; }

  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12rem 2rem 7rem;
    text-align: center;
    overflow: hidden;
  }

  .hero-app-icon {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    margin: 0 auto 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.2);
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.1s;
  }

  .hero-headline {
    font-size: clamp(3.5rem, 9vw, 8.5rem);
    line-height: 0.95;
    color: var(--text-main);
    max-width: 14ch;
    margin: 0 auto 1.75rem;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
  }

  .hero-sub {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 52ch;
    margin: 0 auto 3rem;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
  }

  .hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.5s;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent);
    color: #FFF;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1rem 2.25rem;
    border-radius: 3rem;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: transform 0.2s;
  }
  .btn-primary:hover { transform: scale(1.03); }

  .hero-signal {
    margin-top: 4.5rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.7s;
  }

  .capture-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    overflow: hidden;
    max-width: 680px;
    margin: 4rem auto 0;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
  }

  .capture-mode {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-right: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
  }
  .capture-mode:last-child { border-right: none; }
  .capture-mode.active { color: var(--accent); }
  .capture-mode svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; }

  .intro { padding: 8rem 2rem; text-align: center; }
  .intro-headline { font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1.05; max-width: 22ch; margin: 0 auto 1.5rem; }
  .intro-body { font-size: 1.15rem; line-height: 1.7; color: var(--text-muted); max-width: 56ch; margin: 0 auto; }

  .features { padding: 4rem 2rem 8rem; }
  .features-label { text-align: center; }
  .features-headline { font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.1; text-align: center; margin: 0 auto 4rem; }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: var(--r-xl);
    overflow: hidden;
    max-width: 1100px;
    margin: 0 auto;
  }

  .feature-card {
    background: var(--card-bg);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: background 0.3s;
  }
  .feature-card:hover { background: var(--card-hover); }
  .feature-card.wide { grid-column: span 2; }

  .feature-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--accent-bg);
    display: flex; align-items: center; justify-content: center;
  }
  .feature-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 1.8; }

  .feature-name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
  .feature-desc { font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); }
  .feature-tag { margin-top: auto; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

  .sentence-section { padding: 10rem 2rem; text-align: center; }
  .big-sentence { font-family: var(--display); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; color: var(--text-muted); max-width: 22ch; margin: 0 auto; }
  .big-sentence .lit { color: var(--text-main); }

  .use-cases { padding: 5rem 2rem 8rem; }
  .use-cases-label { text-align: center; }
  .use-cases-headline { font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.1; text-align: center; margin-bottom: 4rem; }

  .use-case-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 900px; margin: 0 auto; }
  .use-case-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--r-xl); padding: 2.5rem; transition: background 0.3s; }
  .use-case-card:hover { background: var(--card-hover); }

  .use-case-persona { font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
  .use-case-headline { font-size: 1.4rem; line-height: 1.2; margin-bottom: 1rem; }
  .use-case-body { font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); }

  .use-case-flow { margin-top: 1.5rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
  .flow-step { font-size: 0.75rem; font-weight: 600; color: var(--text-main); border: 1px solid var(--border-color); padding: 0.3rem 0.8rem; border-radius: 2rem; }
  .flow-arrow { color: var(--accent); font-size: 0.8rem; }

  .pricing { padding: 10rem 2rem; }
  .pricing-label { text-align: center; }
  .pricing-headline { font-size: clamp(2rem, 3.5vw, 3.25rem); text-align: center; margin-bottom: 1rem; }
  .pricing-sub { font-size: 1.1rem; color: var(--text-muted); text-align: center; margin-bottom: 2.5rem; }

  .pricing-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
  }
  .pricing-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 3rem;
    padding: 0.35rem;
    position: relative;
  }
  .pricing-toggle input[type="radio"] { display: none; }
  .pricing-toggle label {
    position: relative;
    z-index: 2;
    padding: 0.65rem 1.5rem;
    width: 140px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s ease;
  }
  .pricing-toggle input[type="radio"]:checked + label { color: var(--text-main); }
  .toggle-pill {
    position: absolute;
    top: 0.35rem;
    bottom: 0.35rem;
    left: 0.35rem;
    width: 140px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 3rem;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
  #bill-annually:checked ~ .toggle-pill { transform: translateX(140px); }

  .pricing-grid.two-col {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; max-width: 840px; margin: 0 auto;
  }

  .pricing-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: var(--r-xl); padding: 3rem 2.5rem; display: flex; flex-direction: column; gap: 2rem; position: relative; }
  .pricing-card.featured { border-color: var(--accent); }

  .featured-badge {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--accent); color: var(--pure-black); font-size: 0.7rem;
    font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.4rem 1.2rem; border-radius: 2rem; white-space: nowrap;
    transition: opacity 0.3s ease;
  }

  .pricing-tier { font-weight: 700; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-main); margin-bottom: 0.5rem; }
  .pricing-tier.accent { color: var(--accent); }

  .price-amount { font-family: var(--display); font-weight: 700; font-size: 3.5rem; letter-spacing: -0.04em; color: var(--text-main); line-height: 1; transition: opacity 0.3s; }
  .price-period { font-size: 1rem; color: var(--text-muted); }
  .pricing-period-alt { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.25rem; font-weight: 500; transition: opacity 0.3s; }
  .pricing-hook { font-size: 0.95rem; line-height: 1.5; color: var(--text-muted); font-style: italic; }

  .pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; flex: 1; margin-top: 1rem; }
  .pricing-features li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.95rem; color: var(--text-muted); line-height: 1.4; }
  .pricing-features li::before { content: '—'; color: var(--accent); font-weight: 700; }

  .pricing-cta { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 1.5rem; border-radius: 3rem; font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: transform 0.2s; }
  .pricing-cta.primary { background: var(--accent); color: #FFF; }
  .pricing-cta.secondary { border: 1px solid var(--border-color); color: var(--text-main); }
  .pricing-cta:hover { transform: scale(1.03); }

  .appstore { padding: 10rem 2rem; text-align: center; }
  .appstore-headline { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; max-width: 16ch; margin: 0 auto 1.5rem; }
  .appstore-desc { font-size: 1.1rem; line-height: 1.7; color: var(--text-muted); max-width: 48ch; margin: 0 auto 3rem; }

  .store-badges { display: flex; justify-content: center; margin-bottom: 2.5rem; }
  .store-badge { display: inline-flex; align-items: center; gap: 1rem; background: var(--text-main); color: var(--bg-color); border-radius: 1rem; padding: 0.8rem 1.75rem; text-decoration: none; transition: transform 0.2s; }
  .store-badge:hover { transform: scale(1.03); }
  .store-badge-icon { font-size: 1.8rem; }
  .store-badge-sub { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; display: block; opacity: 0.7; }
  .store-badge-name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; display: block; line-height: 1; margin-top: 2px; }

  footer { padding: 3rem 2rem; border-top: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
  .footer-logo img { height: 72px; display: block; opacity: 0.6; }
  .footer-copy { font-size: 0.85rem; color: var(--text-muted); }
  .footer-links { display: flex; gap: 2rem; list-style: none; }
  .footer-links a { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: var(--text-main); }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
  .reveal.visible { opacity: 1; transform: none; }

  @media (max-width: 860px) {
    nav {
      width: 95%;
      padding: 1.25rem 1rem 1.25rem 2rem;
    }
    .nav-links li:not(:last-child) { display: none; }
    .nav-links { display: flex; gap: 0; }
    .nav-cta { padding: 0.6rem 1.25rem !important; font-size: 0.8rem !important; }
    .feature-grid { grid-template-columns: 1fr; }
    .feature-card.wide { grid-column: span 1; }
    .use-case-list { grid-template-columns: 1fr; }
    .pricing-grid.two-col { grid-template-columns: 1fr; max-width: 440px; }
    .capture-bar { flex-wrap: wrap; max-width: 340px; }
    .capture-mode { border-right: none; border-bottom: 1px solid var(--border-color); width: 50%; justify-content: center; }
  }

/* Multilingual SEO additions */
.nav-right { display: flex; align-items: center; gap: 0.75rem; }
.language-selector { 
  position: relative; 
  display: inline-flex; 
  align-items: center; 
  margin-left: 1.75rem;
  margin-right: 0.75rem;
}
.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 36px;
  padding: 0 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  font-family: var(--sans);
}
.language-button:hover { color: #fff; background: rgba(255,255,255,0.1); }
.language-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  width: min(78vw, 320px);
  max-height: 390px;
  overflow: auto;
  padding: 0.6rem;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(8,8,10,0.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.language-selector.open .language-menu { display: grid; }
.language-menu a {
  display: block;
  padding: 0.65rem 0.7rem;
  border-radius: 0.75rem;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.78rem;
  line-height: 1.25;
  font-weight: 600;
}
.language-menu a:hover,
.language-menu a.active { background: rgba(255,255,255,0.09); color: #fff; }
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .nav-links,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .capture-bar,
html[dir="rtl"] .use-case-flow,
html[dir="rtl"] footer { direction: rtl; }
html[dir="rtl"] .feature-desc,
html[dir="rtl"] .use-case-body,
html[dir="rtl"] .pricing-sub,
html[dir="rtl"] .intro-body,
html[dir="rtl"] .appstore-desc { text-align: right; }
html[dir="rtl"] .language-menu { left: 0; right: auto; }
@media (max-width: 860px) {
  nav { gap: 0.75rem; }
  .nav-links { display: none !important; }
  .nav-logo img { height: 18px; }
  .nav-links li:not(:last-child) { display: none; }
  .language-button { width: 42px; padding: 0; font-size: 0; }
  .language-button .lang-code { display: none; }
  .language-button .globe { font-size: 0.95rem; }
  .language-menu { right: -5rem; grid-template-columns: 1fr; max-height: 70vh; }
}


/* Multilingual mobile hero tuning added in v1.1 */
@media (max-width: 860px) {
  .hero { min-height: 100svh; padding: 10.5rem 1.35rem 5.5rem; }
  .hero-app-icon { width: 86px; height: 86px; border-radius: 22px; margin-bottom: 1.6rem; }
  .hero-headline { font-size: clamp(2.75rem, 11.5vw, 4.25rem); line-height: 1.02; max-width: min(92vw, 11ch); text-wrap: balance; margin-bottom: 1.35rem; }
  .hero-sub { font-size: clamp(1rem, 4vw, 1.15rem); line-height: 1.65; max-width: 34ch; margin-bottom: 2.25rem; }
  .btn-primary { padding: 0.9rem 1.8rem; font-size: 0.9rem; }
}
html:lang(ja) .hero-headline, html:lang(zh-Hans) .hero-headline, html:lang(zh-Hant) .hero-headline, html:lang(ko) .hero-headline { line-break: strict; word-break: keep-all; overflow-wrap: normal; letter-spacing: -0.045em; }
@media (max-width: 860px) {
  html:lang(ja) .hero-headline, html:lang(zh-Hans) .hero-headline, html:lang(zh-Hant) .hero-headline, html:lang(ko) .hero-headline { font-size: clamp(2.65rem, 10.5vw, 3.35rem); line-height: 1.08; max-width: min(92vw, 9.5em); }
  html:lang(ja) .hero-sub, html:lang(zh-Hans) .hero-sub, html:lang(zh-Hant) .hero-sub, html:lang(ko) .hero-sub { max-width: 30em; line-height: 1.75; }
}
html[dir="rtl"] .hero-headline { letter-spacing: -0.035em; text-wrap: balance; }
@media (max-width: 860px) {
  html[dir="rtl"] .hero-headline { font-size: clamp(2.55rem, 10.5vw, 3.35rem); line-height: 1.12; max-width: min(92vw, 10em); }
  html[dir="rtl"] .hero-sub { max-width: 31em; line-height: 1.8; }
}
.nav-cta, .nav-cta:link, .nav-cta:visited, .nav-cta:hover, .nav-cta:focus, .nav-cta:active { text-decoration: none !important; }
