/* ============================================================================
   Main-page Variables
   ============================================================================ */
:root {
  interpolate-size: allow-keywords;

  --green-100: #dcfce7;
  --green-600: #16a34a;
  --green-700: #15803d;
  --yellow-100: #fef9c3;
  --yellow-600: #ca8a04;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --purple-100: #f3e8ff;
  --purple-500: #a855f7;
  --orange-100: #ffedd5;
  --orange-500: #f97316;
  --red-100: #fef2f2;
  --red-500: #ef4444;
  --red-500-bg: rgba(239, 68, 68, 0.04);
  --red-500-stripe: rgba(239, 68, 68, 0.08);
  --green-700-bg: rgba(21, 128, 61, 0.04);
  --green-700-stripe: rgba(21, 128, 61, 0.08);
  --blue-700: #1d4ed8;
  --teal-500: #14b8a6;
  --pink-500: #ec4899;
  --gray-cool-400: #9ca3af;
  --yellow-500: #eab308;

  --radius-md: 10px;
  --radius-xl: 16px;
  --radius-2xl: 20px;

  --connector-pad: 16px;
  --connector-gap: 4px;
  --flow-jog: 17px;
}

/* ============================================================================
   Main-page Dark Mode
   ============================================================================ */
html.dark {
  --green-100: #052e16;
  --green-600: #22c55e;
  --green-700: #4ade80;
  --yellow-100: #422006;
  --yellow-600: #eab308;
  --blue-50: #0c1a2e;
  --blue-100: #172554;
  --blue-500: #60a5fa;
  --blue-600: #93c5fd;
  --purple-100: #1e1033;
  --purple-500: #c084fc;
  --orange-100: #431407;
  --orange-500: #fb923c;
  --red-100: #1f0a0a;
  --red-500: #f87171;
  --red-500-bg: rgba(248, 113, 113, 0.06);
  --red-500-stripe: rgba(248, 113, 113, 0.1);
  --green-700-bg: rgba(74, 222, 128, 0.06);
  --green-700-stripe: rgba(74, 222, 128, 0.1);
  --blue-700: #93c5fd;
  --teal-500: #2dd4bf;
  --pink-500: #f472b6;
  --gray-cool-400: #6b7280;
  --yellow-500: #facc15;
}

html.dark .hero::before {
  opacity: 0.2;
}

/* ============================================================================
   Typography
   ============================================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 { font-size: 3.75rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }

/* ============================================================================
   Buttons
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.5;
}

.btn-apple-icon {
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

.btn-primary {
  background: var(--gray-900);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-900);
  border-color: var(--gray-200);
}

/* ============================================================================
   Announcement Banner
   ============================================================================ */
.announcement {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-size: 13px;
  color: var(--gray-600);
}

.announcement::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 100vh;
  background: inherit;
}

.announcement strong {
  color: var(--gray-900);
  font-weight: 600;
}

.announcement-link {
  color: var(--gray-900);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================================
   Hero
   ============================================================================ */
.hero {
  padding: 72px 24px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 4px,
    var(--gray-200) 4px,
    var(--gray-200) 5px
  );
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-features {
  padding: 0 24px;
  text-align: center;
  overflow: hidden;
}

@keyframes border-beam {
  from { offset-distance: 50%; }
  to { offset-distance: 150%; }
}

.hero-logo-wrap {
  position: relative;
  display: block;
  margin: 0 auto 24px;
  width: 100px;
  height: 100px;
}

.hero-logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 23px;
}

.hero-logo-border {
  position: absolute;
  inset: -0.5px;
  border-radius: 23.5px;
  border: 1px solid var(--gray-200);
  pointer-events: none;
}

html.dark .hero-logo-border {
  border-color: var(--gray-350);
}

.hero-logo-beam {
  position: absolute;
  inset: -0.5px;
  border-radius: 23.5px;
  border: 1px solid transparent;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-clip: padding-box, border-box;
  -webkit-mask-composite: xor;
  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  mask-clip: padding-box, border-box;
  mask-composite: exclude;
}

.hero-logo-beam-dot {
  position: absolute;
  aspect-ratio: 1;
  width: 60px;
  background: linear-gradient(to left, var(--gray-350), var(--gray-200), transparent);
  offset-path: rect(0 auto auto 0 round 23px);
  animation: border-beam 4s linear infinite;
}

html.dark .hero-logo-beam-dot {
  background: linear-gradient(to left, var(--gray-500), var(--gray-400), transparent);
}

.hero h1 {
  margin-bottom: 20px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-500);
  margin-bottom: 32px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-note {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-divider {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--gray-200);
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* ============================================================================
   Product Tabs
   ============================================================================ */
.product-tabs {
  padding: 0 24px 24px;
  overflow: hidden;
}

.product-tabs-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.product-mockup {
  margin-top: 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 32px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

/* ============================================================================
   Mockup UI Components
   ============================================================================ */
.mock-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: left;
}

.mock-text-sm {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
}

.mock-text-xs {
  font-size: 11px;
  color: var(--gray-400);
}

.mock-text-bold {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-900);
}

.mock-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 500;
}

.mock-pill-green { background: var(--green-100); color: var(--green-700); }
.mock-pill-yellow { background: var(--yellow-100); color: var(--yellow-600); }
.mock-pill-purple { background: var(--purple-100); color: var(--purple-500); }
.mock-pill-blue { background: var(--blue-100); color: var(--blue-600); }
.mock-pill-gray { background: var(--gray-100); color: var(--gray-600); }
.mock-pill-orange { background: var(--orange-100); color: var(--orange-500); }

.mock-feature-pill {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
}

/* ============================================================================
   Feature Cards
   ============================================================================ */
.features-mockup {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  text-align: left;
}

.features-col-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.features-col-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-card-header {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-200);
}

.feature-card-subheader {
  padding: 4px 16px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-200);
  background-image: radial-gradient(var(--gray-200) 0.5px, transparent 0.5px);
  background-size: 6px 6px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.feature-card-subheader.wavy-border {
  border-bottom: none;
  overflow: visible;
  background-image: none;
  color: var(--gray-900);
}

.feature-card-subheader.wavy-border::after {
  display: none !important;
}

.feature-card-subheader.wavy-border::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 4px;
  background-color: var(--gray-200);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4'%3E%3Cpath d='M0 2 Q4 0 8 2 Q12 4 16 2' stroke='black' fill='none' stroke-width='1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='4'%3E%3Cpath d='M0 2 Q4 0 8 2 Q12 4 16 2' stroke='black' fill='none' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
}

.feature-card-subheader::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--gray-350) 0.5px, transparent 0.5px);
  background-size: 6px 6px;
  -webkit-mask-image: linear-gradient(
    -45deg,
    transparent 0%,
    transparent 40%,
    black 48%,
    black 52%,
    transparent 60%,
    transparent 100%
  );
  mask-image: linear-gradient(
    -45deg,
    transparent 0%,
    transparent 40%,
    black 48%,
    black 52%,
    transparent 60%,
    transparent 100%
  );
  -webkit-mask-size: 300% 300%;
  mask-size: 300% 300%;
  animation: dot-shimmer 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes dot-shimmer {
  0%, 100% {
    -webkit-mask-position: 100% 100%;
    mask-position: 100% 100%;
  }
  50% {
    -webkit-mask-position: 0% 0%;
    mask-position: 0% 0%;
  }
}

.feature-card-row + .feature-card-subheader {
  border-top: 1px solid var(--gray-200);
}

.feature-card-row:has(+ .feature-card-subheader) {
  border-bottom: none;
}

.feature-card-row {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-100);
  font-size: 13px;
}

.feature-card-row:last-child {
  border-bottom: none;
}

/* ============================================================================
   Voice Prompts Carousel
   ============================================================================ */
.vp-slide-wrap {
  overflow: hidden;
  padding: 1px 1px;
  margin: 16px;
  transition: height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.vp-track {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: transform 3s cubic-bezier(0.22, 1, 0.36, 1);
}

.vp-slide {
  flex: 0 0 100%;
  min-width: 0;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ============================================================================
   Style Flow Connector
   ============================================================================ */
.style-flow-connector {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--connector-gap);
  padding: var(--connector-pad) 0;
}

.style-flow-connector > * {
  position: relative;
  z-index: 1;
}

.style-flow-pill-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.style-flow-pill-wrap > .mock-feature-pill {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.roll-text {
  display: block;
}

@keyframes roll-out-down {
  0%   { transform: translateY(0);   filter: blur(0);   opacity: 1; }
  100% { transform: translateY(35%); filter: blur(3px); opacity: 0; }
}

@keyframes roll-in-down {
  0%   { transform: translateY(-35%); filter: blur(3px); opacity: 0; }
  100% { transform: translateY(0);    filter: blur(0);   opacity: 1; }
}

.roll-text.rolling-out {
  animation: roll-out-down 0.25s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.roll-text.rolling-in {
  animation: roll-in-down 0.25s cubic-bezier(0, 0, 0.2, 1) forwards;
}

.style-flow-cursor {
  position: absolute;
  width: 15px;
  height: 19px;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.08s ease;
}

.style-flow-cursor.clicking {
  transform: scale(0.82);
}

.style-flow-connector > .mock-text-xs {
  width: 100%;
  text-align: center;
}

.style-flow-before {
  position: relative;
  height: auto;
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.style-flow-after {
  position: relative;
  height: auto;
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.style-flow-dot-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

/* ============================================================================
   Language Bar
   ============================================================================ */
.lang-bar-header {
  text-align: center;
  padding: 24px 24px 0;
}

.lang-bar-header h2 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin: 0 auto;
  max-width: 680px;
}

.lang-bar-header p {
  color: var(--gray-500);
  font-size: 18px;
  line-height: 1.7;
  max-width: 560px;
  margin: 16px auto 0;
}

.lang-bar {
  padding: 40px 0;
  overflow: hidden;
  transform: rotate(-2deg);
}

.lang-row {
  --gap: 10px;
  --duration: 30s;
  display: flex;
  overflow: hidden;
  gap: var(--gap);
  padding: 6px 0;
  user-select: none;
}

.lang-row__content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: var(--gap);
  animation: langScroll var(--duration) linear infinite;
}

.lang-row--reverse .lang-row__content {
  animation-direction: reverse;
}

@keyframes langScroll {
  to { transform: translateX(calc(-100% - var(--gap))); }
}

.lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-chip-active {
  border-color: transparent;
  background: var(--blue-50);
  color: var(--blue-700);
}

@media (prefers-reduced-motion: reduce) {
  .lang-row__content {
    animation-duration: 120s;
  }
}

/* ============================================================================
   FAQ
   ============================================================================ */
.faq {
  padding: 24px 24px 54px;
  text-align: center;
}

.faq-inner {
  max-width: 680px;
  margin: 0 auto;
}

.faq h2 {
  font-size: 2.75rem;
  margin-bottom: 32px;
  line-height: 1.2;
}

.faq-accordion {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-accordion-item + .faq-accordion-item {
  border-top: 1px solid var(--gray-200);
}

.faq-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  user-select: none;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

.faq-accordion-btn span {
  font-size: 17px;
}

.faq-accordion-btn:hover span {
  text-decoration: underline;
}

.faq-accordion-btn:hover .faq-accordion-icon {
  color: var(--gray-900);
}

.faq-accordion-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform 200ms ease-out, color 200ms ease-out;
}

.faq-accordion-item.active .faq-accordion-icon {
  transform: rotate(180deg);
}

.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease-out;
}

.faq-accordion-body {
  padding: 0 16px 16px;
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.6;
  text-align: left;
}

/* ============================================================================
   Style Examples
   ============================================================================ */
.t-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-500);
  flex-shrink: 0;
}

.t-avatar-blue { background: color-mix(in srgb, var(--blue-500) 10%, transparent); color: var(--blue-500); }
.t-avatar-teal { background: color-mix(in srgb, var(--teal-500) 10%, transparent); color: var(--teal-500); }
.t-avatar-pink { background: color-mix(in srgb, var(--pink-500) 10%, transparent); color: var(--pink-500); }

.style-example-box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  background: transparent;
}
.style-example-box--blue  { --fill-color: color-mix(in srgb, var(--blue-500) 10%, transparent); }
.style-example-box--pink  { --fill-color: color-mix(in srgb, var(--pink-500) 10%, transparent); }
.style-example-box--teal  { --fill-color: color-mix(in srgb, var(--teal-500) 10%, transparent); }

.style-example-box .t-avatar {
  overflow: visible;
  position: relative;
  z-index: 2;
}

.style-example-box .t-avatar::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: inherit;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  z-index: -1;
}

.style-example-box:hover .t-avatar::after {
  transform: translate(-50%, -50%) scale(20);
}

.style-example-box .style-example {
  position: relative;
  z-index: 1;
  font-size: 12px;
  color: var(--gray-500);
  font-family: var(--font-mono);
  line-height: 1.6;
}

.punct-keep,
.punct-drop {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.punct-keep { text-decoration-color: var(--gray-cool-400); }

.punct-drop {
  text-decoration-color: var(--red-500);
  color: var(--red-500);
}

.punct-drop-char {
  animation: punct-char-fade 5s ease infinite;
}

@keyframes punct-char-fade {
  0%, 40% { color: var(--red-500); text-decoration-color: var(--red-500); }
  50%, 90% { color: transparent; text-decoration-color: transparent; }
  100% { color: var(--red-500); text-decoration-color: var(--red-500); }
}

.punct-drop-cap {
  color: var(--yellow-500);
  text-decoration-color: var(--yellow-500);
  animation: cap-underline-fade 5s ease infinite;
}

@keyframes cap-underline-fade {
  0%, 40% { text-decoration-color: var(--yellow-500); color: var(--yellow-500); }
  50%, 90% { text-decoration-color: transparent; color: var(--gray-500); }
  100% { text-decoration-color: var(--yellow-500); color: var(--yellow-500); }
}

/* ============================================================================
   Encrypted Preview
   ============================================================================ */
.encrypted-preview {
  cursor: pointer;
  position: relative;
}

.encrypted-preview blockquote {
  filter: blur(4px);
  transition: filter 0.4s ease;
}

.encrypted-row:hover .encrypted-preview blockquote,
.encrypted-row:focus-within .encrypted-preview blockquote {
  filter: blur(0);
}

.encrypted-row {
  position: relative;
  display: flex;
  gap: 10px;
  margin: 0 -40%;
  cursor: pointer;
}

.encrypted-lock-circle {
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.encrypted-lock-icon {
  width: 16px;
  height: 16px;
  background-color: var(--gray-400);
  -webkit-mask-image: url(/images/icon-lock.svg);
  mask-image: url(/images/icon-lock.svg);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  opacity: 1;
  transition: opacity 0.4s ease;
}

.encrypted-row:hover .encrypted-lock-circle,
.encrypted-row:focus-within .encrypted-lock-circle {
  opacity: 0;
}

.punct-mark {
  color: var(--green-700);
  background: var(--green-100);
  border: 1px solid var(--green-600);
  border-radius: 4px;
  padding: 1px 2px;
  font-weight: 600;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.punct-mark:hover {
  color: var(--gray-500);
  background: transparent;
  border-color: transparent;
}

/* ============================================================================
   Key Features
   ============================================================================ */
.key-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto 16px;
  padding-top: 40px;
}

.key-feature {
  text-align: center;
  padding: 8px;
}

.key-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent);
}

.icon-mask {
  display: block;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.icon-history  { -webkit-mask-image: url(/images/icon-history.svg);    mask-image: url(/images/icon-history.svg); }
.icon-ios      { -webkit-mask-image: url(/images/icon-ios.svg);        mask-image: url(/images/icon-ios.svg); }
.icon-no-servers { -webkit-mask-image: url(/images/icon-no-servers.svg); mask-image: url(/images/icon-no-servers.svg); }
.icon-offline  { -webkit-mask-image: url(/images/icon-offline.svg);    mask-image: url(/images/icon-offline.svg); }
.icon-no-sub   { -webkit-mask-image: url(/images/icon-no-sub.svg);     mask-image: url(/images/icon-no-sub.svg); }
.icon-lifetime { -webkit-mask-image: url(/images/icon-lifetime.svg);   mask-image: url(/images/icon-lifetime.svg); }

.key-feature h3 { margin-bottom: 8px; }

.key-feature p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 10px;
}

/* ============================================================================
   CTA
   ============================================================================ */
.cta {
  padding: 72px 24px;
  text-align: center;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.cta h2 { margin-bottom: 14px; }

.cta p {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 480px;
  margin: 0 auto 32px;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* ============================================================================
   Encrypted Boxes & Misc
   ============================================================================ */
.encrypted-box {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 10px 14px;
  background: transparent;
}
.encrypted-box--end { justify-content: flex-end; }
.encrypted-box--start { justify-content: flex-start; }

.scramble-quote {
  margin-bottom: 0;
  font-size: 12px;
  color: var(--gray-500);
  white-space: nowrap;
  font-family: var(--font-mono);
}

.encrypted-dots {
  margin-bottom: 0;
  font-size: 18px;
  line-height: 1;
  color: var(--gray-700);
  white-space: nowrap;
  letter-spacing: 3px;
}

.encrypted-spread {
  display: flex;
  gap: 10px;
  margin: 0 -40%;
}

.feature-card-header--col {
  flex-direction: column;
  align-items: flex-start;
}

.step-number { color: var(--accent); }

.vp-content {
  font-size: 12px;
  color: var(--gray-500);
  font-family: var(--font-mono);
}

.model-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.style-option-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.no-mb { margin-bottom: 0; }

/* ============================================================================
   Product Tabs Header
   ============================================================================ */
.product-tabs-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px 32px;
}

.product-tabs-header h2 {
  margin-bottom: 14px;
}

.product-tabs-header p {
  color: var(--gray-500);
  font-size: 17px;
  line-height: 1.7;
}

/* ============================================================================
   Encrypted Card Variant
   ============================================================================ */
.mock-card--encrypted {
  padding: 14px 14px 20px;
  overflow: hidden;
}

.encrypted-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

/* ============================================================================
   Feature Card Variants
   ============================================================================ */
.feature-card-body {
  padding: 12px 16px;
  flex: 1;
}

.punctuation-demo {
  margin-bottom: 0;
  font-size: 12px;
  color: var(--gray-500);
  font-family: var(--font-mono);
  line-height: 1.8;
}

.feature-card-header--borderless {
  border-bottom: none;
}

.feature-card-row--col {
  flex-direction: column;
  align-items: stretch;
}

/* ============================================================================
   Style Flow Boxes
   ============================================================================ */
.style-flow-box {
  display: flex;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: transparent;
}

.style-flow-box--before {
  margin-left: var(--flow-jog);
}

.style-flow-box--after {
  margin-right: var(--flow-jog);
}

.style-flow-label {
  padding: 10px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}

.style-flow-label--before {
  color: var(--red-500);
  border-right: 1px solid var(--gray-200);
  background: var(--red-500-bg) repeating-linear-gradient(-45deg, transparent, transparent 4px, var(--red-500-stripe) 4px, var(--red-500-stripe) 5px);
}

.style-flow-label--after {
  color: var(--green-700);
  border-left: 1px solid var(--gray-200);
  background: var(--green-700-bg) repeating-linear-gradient(45deg, transparent, transparent 4px, var(--green-700-stripe) 4px, var(--green-700-stripe) 5px);
}

.style-flow-text {
  flex: 1;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-500);
  overflow: hidden;
}

/* ============================================================================
   Responsive
   ============================================================================ */
@media (max-width: 900px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .faq h2 { font-size: 2rem; }
  .lang-bar-header h2 { font-size: 2rem; }

  .features-mockup {
    grid-template-columns: 1fr;
  }

  .key-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .announcement { padding: 10px 6px; }

  .hero { padding: 48px 16px 32px; }
  h1 { font-size: 2rem; }

  .hero-btns,
  .cta-btns {
    flex-direction: column;
    width: 100%;
  }

  .hero-btns .btn,
  .cta-btns .btn {
    width: 100%;
  }

  .lang-row {
    --gap: 6px;
  }

  .lang-chip {
    padding: 6px 12px;
    font-size: 11px;
    gap: 4px;
  }

  .product-tabs {
    padding: 0 0 24px;
  }

  .product-mockup {
    border-radius: 0;
    padding: 32px 16px;
  }

  .faq {
    padding: 24px 16px 32px;
  }

}
