html {
  scroll-behavior: smooth;
}

:root {
  --bg-primary: #050505;
  --bg-secondary: #121212;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.06);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --accent-glow: rgba(34, 197, 94, 0.26);
  --accent-primary: #22c55e;
  --accent-secondary: #38bdf8;
  --success: #10b981;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

/* Base Styles */
a {
  color: inherit;
  text-decoration: none;
}

/* Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  gap: clamp(0.75rem, 1.4vw, 2rem);
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  white-space: nowrap;
}

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

.nav-links a[aria-current="page"] {
  color: var(--text-primary);
}

.language-link {
  border-left: 1px solid var(--border-glass);
  padding-left: 1rem;
}

.language-menu {
  position: relative;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

.language-menu summary {
  list-style: none;
  cursor: pointer;
  border-left: 1px solid var(--border-glass);
  padding-left: 1rem;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.language-menu summary::marker {
  content: "";
  font-size: 0;
}

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

.language-menu-panel {
  position: absolute;
  top: calc(100% + 0.8rem);
  right: 0;
  width: 220px;
  max-height: min(70vh, 420px);
  overflow: auto;
  padding: 0.5rem;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.language-menu:not([open]) .language-menu-panel {
  display: none;
}

.language-menu-panel ul {
  list-style: none;
  display: grid;
  gap: 0.2rem;
}

.language-menu-panel li {
  display: block;
}

.language-menu-panel a {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  color: var(--text-secondary);
  line-height: 1.25;
}

.language-menu-panel a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.nav-mobile-cta,
.nav-toggle {
  display: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px var(--accent-glow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.42);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.play-store-badge-link {
  --badge-width: 170px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 8px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

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

.play-store-badge-link img {
  display: block;
  width: var(--badge-width);
  min-height: 28px;
  max-width: 100%;
  height: auto;
}

.play-store-badge-link--large {
  --badge-width: 220px;
}

.play-store-badge-link--header {
  --badge-width: 146px;
}

.play-store-badge-link--mobile,
.play-store-badge-link--compact {
  --badge-width: 180px;
}

.nav-mobile-cta.play-store-badge-link {
  display: none;
}

.btn-block {
  width: 100%;
  border-radius: 12px;
}

/* Hero Section */
.hero {
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 5% 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

.hero-badge {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-secondary);
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease forwards;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(to right, #fff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 1;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 2.5rem;
  opacity: 1;
}

.hero-cta {
  opacity: 1;
  display: flex;
  gap: clamp(1.5rem, 3vw, 2rem);
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  opacity: 1;
}

/* Features */
.features {
  padding: 6rem 5%;
  background: var(--bg-secondary);
  position: relative;
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-copy {
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.topic-grid a,
.proof-list div {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 1.4rem;
}

.topic-grid strong,
.proof-list strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.topic-grid span,
.proof-list span {
  display: block;
  color: var(--text-secondary);
}

.product-showcase {
  padding: 5rem 5% 6rem;
  background: linear-gradient(180deg, #101010 0%, #121212 100%);
}

.product-showcase-header {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.product-showcase-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.product-showcase-header p:last-child {
  color: var(--text-secondary);
}

.product-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  max-width: 1180px;
  margin: 0 auto;
}

.product-preview-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.product-preview-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  background: #06100d;
}

.product-preview-copy {
  min-width: 0;
}

.product-preview-copy h3 {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.2;
  margin-bottom: 0.45rem;
}

.product-preview-copy p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-icon-wrapper {
  width: 50px;
  height: 50px;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p,
.content-card p,
.content-card li {
  color: var(--text-secondary);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 3rem;
  align-items: start;
  padding: 6rem 5%;
  max-width: 1220px;
  margin: 0 auto;
}

.story-copy h2 {
  font-size: 2.4rem;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.story-copy p + p {
  margin-top: 1rem;
}

.proof-list {
  display: grid;
  gap: 1rem;
}

.page-hero {
  padding: 10rem 5% 4rem;
  text-align: center;
  background: radial-gradient(circle at 50% 20%, var(--accent-glow), transparent 42%);
}

.page-hero h1 {
  font-size: clamp(2.35rem, 6vw, 4.4rem);
  line-height: 1.05;
  max-width: 900px;
  margin: 0 auto 1rem;
}

.page-hero p {
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.12rem;
}

.breadcrumb {
  color: var(--accent-secondary) !important;
  font-size: 0.9rem !important;
  margin-bottom: 1.2rem !important;
}

.breadcrumb a {
  color: var(--accent-secondary);
}

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

.page-content {
  padding: 2rem 5% 6rem;
}

.content-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.content-card h2 {
  font-size: 1.45rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card a {
  color: var(--accent-secondary);
}

.seo-list,
.plan-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0;
}

.seo-list li,
.plan-list li {
  padding-left: 1.2rem;
  position: relative;
}

.seo-list li::before,
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent-primary);
}

.support-form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

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

.eyebrow {
  color: var(--accent-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.plan-list {
  margin-top: 1rem;
  color: var(--text-secondary);
  line-height: 2;
  padding-left: 0;
}

.plan-list li {
  list-style: none;
}

.pricing-note {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.launch-panel {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.launch-copy {
  color: var(--text-secondary);
  max-width: 32rem;
}

.launch-panel .btn-large,
.launch-panel .play-store-badge-link {
  justify-self: start;
  white-space: nowrap;
}

.launch-panel .form-note {
  grid-column: 1 / -1;
  margin-top: -1rem;
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-list details {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq-list p {
  color: var(--text-secondary);
  margin-top: 0.75rem;
}

/* Layout for internal pages (Privacy, Terms, Support) */
.page-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 5% 4rem 5%;
}

.page-header {
  margin-bottom: 3rem;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.content-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 3rem;
}

.content-card h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p, .content-card ul {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.content-card ul {
  padding-left: 1.5rem;
}

.content-card ul li {
  list-style: disc;
  margin-bottom: 0.75rem;
}

/* Contact Form */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: white;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.9rem;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #c4b5fd;
}

.form-status.is-error {
  color: #fca5a5;
}

/* SEO tools and growth pages */
.tool-section {
  padding: 3rem 5% 1rem;
}

.tool-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.tool-copy h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.tool-copy p {
  color: var(--text-secondary);
  max-width: 38rem;
}

.seo-visual {
  margin: 0;
}

.seo-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--border-glass);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.seo-visual figcaption {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.tool-panel {
  max-width: 1180px;
  margin: 2rem auto 5rem;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1.5rem;
}

.tool-form {
  display: grid;
  gap: 1rem;
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.input-grid label {
  display: grid;
  gap: 0.45rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-content: start;
}

.result-card {
  min-height: 108px;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  background: rgba(0, 0, 0, 0.22);
}

.result-card span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
}

.result-card strong {
  display: block;
  color: var(--text-primary);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.growth-content {
  margin-bottom: 5rem;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.25rem 0 1.5rem;
}

.schedule-cell {
  min-height: 92px;
  padding: 0.8rem;
  border-radius: 14px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  align-content: space-between;
}

.schedule-cell span,
.schedule-cell small {
  color: var(--text-secondary);
}

.schedule-cell strong {
  font-size: 1.25rem;
}

.schedule-d {
  border-color: rgba(34, 197, 94, 0.35);
}

.schedule-n {
  border-color: rgba(167, 139, 250, 0.38);
}

.schedule-o {
  opacity: 0.72;
}

.comparison-table {
  display: grid;
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 1rem;
}

.comparison-table [role="row"] {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) repeat(2, minmax(0, 1fr));
}

.comparison-table [role="row"] > * {
  padding: 1rem;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-secondary);
}

.comparison-table [role="row"]:last-child > * {
  border-bottom: 0;
}

.comparison-table strong {
  color: var(--text-primary);
}

.growth-cta {
  max-width: 1180px;
  margin: 0 auto 6rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--border-glass);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(56, 189, 248, 0.08));
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.growth-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.12;
  margin-bottom: 0.65rem;
}

.growth-cta p {
  color: var(--text-secondary);
  max-width: 48rem;
}

.related-resources {
  background: transparent;
  padding-top: 1rem;
}

.hub-section {
  background: transparent;
}

.contextual-internal-links,
.cluster-cross-links {
  margin-top: 1.5rem;
}

.internal-link-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.internal-link-list li {
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.internal-link-list li::before {
  display: none;
}

.internal-link-list a {
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(56, 189, 248, 0.45);
  text-underline-offset: 0.18em;
}

.internal-link-list span {
  color: var(--text-secondary);
}

.contextual-internal-links p a {
  color: var(--accent-secondary);
  font-weight: 700;
}

.download-panel {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.download-panel h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.download-panel p {
  margin-bottom: 0;
}

.download-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.download-list {
  display: grid;
  gap: 1rem;
}

.resource-index {
  background: transparent;
}

.resource-language-list {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}

.resource-language {
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  padding: clamp(1rem, 3vw, 1.5rem);
}

.resource-language h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.resource-language h3 span {
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
}

.resource-link-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.75rem;
}

.resource-link-list a {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 0.25rem;
  padding: 0.85rem;
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  background: rgba(5, 5, 5, 0.35);
}

.resource-link-list span {
  font-weight: 650;
  color: var(--text-primary);
}

.resource-link-list code {
  font-family: inherit;
  font-size: 0.78rem;
  color: var(--text-secondary);
  overflow-wrap: anywhere;
}

/* Footer */
footer {
  padding: 4rem 5% 2rem 5%;
  border-top: 1px solid var(--border-glass);
  background: var(--bg-primary);
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.footer-copy {
  max-width: 1200px;
  margin: 2rem auto 0;
  color: var(--text-secondary);
  text-align: center;
}

.footer-copy a {
  color: var(--text-primary);
}

.footer-bottom {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#features,
#premium,
#download,
#faq,
#product-preview {
  scroll-margin-top: 7rem;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    padding: 1rem 5%;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.45rem);
    line-height: 1.08;
    margin-bottom: 1rem;
  }

  .hero {
    min-height: auto;
    padding: 6.25rem 5% 2.25rem;
  }

  .hero p,
  .hero-meta {
    font-size: 1rem;
  }

  .hero p {
    margin-bottom: 1.5rem;
  }

  .hero-meta {
    margin-top: 0.75rem;
  }

  .btn-large {
    padding: 0.85rem 1.35rem;
    font-size: 1rem;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    padding: 0.35rem;
    cursor: pointer;
  }

  .nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 999px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  body.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 5%;
    right: 5%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid var(--border-glass);
    background: rgba(10, 10, 10, 0.96);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }

body.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
  }

  .language-menu {
    width: 100%;
  }

  .language-menu summary {
    padding: 0.85rem 1rem;
    border-left: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
  }

  .language-menu-panel {
    position: static;
    width: 100%;
    margin-top: 0.5rem;
    max-height: 45vh;
  }

  .language-menu-panel a {
    color: var(--text-primary);
  }

  .nav-mobile-cta.play-store-badge-link {
    display: inline-flex;
    align-self: flex-start;
    padding: 0;
    background: transparent;
  }

  .nav-mobile-cta.play-store-badge-link img {
    width: 172px;
  }

  .content-card {
    padding: 1.5rem;
  }

  .launch-panel,
  .launch-grid {
    grid-template-columns: 1fr;
  }

  .product-showcase {
    padding: 3.5rem 5% 4rem;
  }

  .product-showcase-header {
    margin-bottom: 2rem;
  }

  .product-preview-grid {
    grid-template-columns: 1fr;
  }

  .story-section {
    grid-template-columns: 1fr;
    padding: 4rem 5%;
  }

  .story-copy h2,
  .features-header h2 {
    font-size: 2rem;
  }

  .page-hero {
    padding-top: 8rem;
  }

  .tool-layout,
  .tool-panel {
    grid-template-columns: 1fr;
  }

  .tool-section {
    padding-top: 2rem;
  }

  .input-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .schedule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-table [role="row"] {
    min-width: 660px;
  }

  .growth-cta {
    margin-inline: 5%;
    flex-direction: column;
    align-items: stretch;
  }

  .download-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .download-actions {
    justify-content: stretch;
  }

  .download-actions .btn-primary,
  .download-actions .btn-secondary {
    text-align: center;
    flex: 1 1 180px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .nav-links,
html[dir="rtl"] .hero-cta,
html[dir="rtl"] .footer-content,
html[dir="rtl"] .logo-container {
  direction: rtl;
}

html[dir="rtl"] .language-menu summary {
  border-left: 0;
  border-right: 1px solid var(--border-glass);
  padding-left: 0;
  padding-right: 1rem;
}

html[dir="rtl"] .language-menu-panel {
  right: auto;
  left: 0;
}

html[dir="rtl"] .seo-list li,
html[dir="rtl"] .plan-list li {
  padding-left: 0;
  padding-right: 1.2rem;
}

html[dir="rtl"] .seo-list li::before,
html[dir="rtl"] .plan-list li::before {
  left: auto;
  right: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}
