:root {
  --primary-color: #d4af37;
  /* Gold */
  --bg-color: #0a0a12;
  /* Deep dark blue/black */
  --text-color: #e0e0e0;
  --secondary-bg: #151520;
  --font-main: 'Philosopher', sans-serif;
  --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@font-face {
  font-family: 'Philosopher';
  src: url('../fonts/Philosopher-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Philosopher';
  src: url('../fonts/Philosopher-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Version & Badge Styles */
.version-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-color);
  color: var(--primary-color) !important;
  background: transparent;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.35em;
  /* Scales with the H1 size */
  font-weight: 500;
  vertical-align: middle;
  margin-left: 0.8rem;
  text-transform: none;
  letter-spacing: 0.5px;
  line-height: 1;
}

.coming-soon {
  font-size: 0.3em;
  background: rgba(212, 175, 55, 0.2);
  color: var(--primary-color);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  text-transform: uppercase;
  font-weight: bold;
  vertical-align: middle;
  letter-spacing: 1px;
}

.new-version-banner {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 1rem 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  animation: fadeInDown 0.8s ease-out;
}

.new-version-banner p {
  margin: 0;
  font-weight: 500;
}

.new-version-banner .banner-cta {
  background: var(--primary-color);
  color: var(--bg-color);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9rem;
  white-space: nowrap;
}

.new-version-banner .banner-cta:hover {
  opacity: 0.9;
  text-decoration: none;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* New Post Indicators */
.dot-new {
  display: inline-block;
  width: 7.5px;
  height: 7.5px;
  background-color: #e25822;
  border-radius: 50%;
  margin-bottom: 2px;
  margin-left: 4px;
  box-shadow: 0 0 10px rgba(226, 88, 34, 0.8);
  animation: pulseNew 2s infinite;
}

@keyframes pulseNew {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.blog-teaser {
  display: block;
  margin-top: 1.5rem;
  font-size: 1.05rem;
  background: rgba(21, 21, 32, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 88, 34, 0.2);
  border-left: 4px solid #e25822;
  padding: 1.25rem;
  border-radius: 12px;
  color: var(--text-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: slideInLeft 0.8s ease-out;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blog-teaser:hover {
  transform: translateX(8px);
  background: rgba(21, 21, 32, 0.8);
  border-left-width: 6px;
  box-shadow: 0 15px 40px rgba(226, 88, 34, 0.15);
}

.blog-teaser a {
  text-decoration: none;
  font-weight: 500;
  color: #e25822;
  display: inline-block;
  margin-left: 0.5rem;
}

.new-badge-small {
  background: linear-gradient(135deg, #e25822 0%, #d4af37 100%);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: bold;
  vertical-align: middle;
  margin-right: 8px;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(226, 88, 34, 0.3);
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Header */
header {
  padding: 0;
  background-color: rgba(10, 10, 18, 0.85);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-item {
  position: relative;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-color);
  opacity: 0.85;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.nav-item:hover {
  opacity: 1;
  color: var(--primary-color);
}

/* Dropdown Menu */
.has-dropdown {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--secondary-bg);
  min-width: 200px;
  border-radius: 12px;
  padding: 0.75rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1001;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-color);
  font-size: 0.95rem;
  transition: all 0.2s;
  opacity: 0.8;
}

.dropdown-menu a:hover {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--primary-color);
  opacity: 1;
  text-decoration: none;
  padding-left: 1.75rem;
}

.highlight-btn {
  background-color: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--primary-color);
  padding: 0.5rem 1.25rem !important;
  border-radius: 50px;
  color: var(--primary-color) !important;
  opacity: 1 !important;
}

.highlight-btn:hover {
  background-color: var(--primary-color);
  color: var(--bg-color) !important;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-img {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.brand-name {
  font-family: var(--font-main);
  font-size: 1.6rem;
  color: var(--primary-color);
  font-weight: bold;
  letter-spacing: 0.5px;
}

.lang-switch {
  display: flex;
  gap: 0.4rem;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--text-color);
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: all 0.3s;
}

.lang-btn:hover,
.lang-btn.active {
  background-color: var(--primary-color);
  color: var(--bg-color);
  border-color: var(--primary-color);
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Main Content */
main {
  flex: 1;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Hero Section Layout */
.hero {
  padding: 4rem 1rem;
  background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 10% 70%, rgba(212, 175, 55, 0.03) 0%, transparent 40%);
}

.hero-content {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  max-width: 1300px;
  margin: 0 auto;
}

.hero-left {
  flex: 1;
  max-width: 500px;
  width: 100%;
  animation: fadeInRight 1s ease-out;
}

.hero-right {
  flex: 1.2;
  text-align: left;
  animation: fadeInLeft 1s ease-out;
}

.hero-right h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, #f9e29b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 5px 15px rgba(212, 175, 55, 0.2));
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 650px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(212, 175, 55, 0.2);
  background-color: rgba(21, 21, 32, 0.5);
  backdrop-filter: blur(10px);
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active {
  opacity: 1;
}

.subtitle {
  font-size: 1.4rem;
  color: var(--text-color);
  margin-bottom: 2.5rem;
  font-style: italic;
  opacity: 0.8;
  border-left: 3px solid var(--primary-color);
  padding-left: 1.5rem;
}

/* Store Section */
.store-section {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

.store-section a {
  display: inline-block;
  transition: transform 0.2s;
}

.store-section a:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.ios-coming-soon {
  color: #888;
  font-size: 0.95rem;
  font-style: italic;
}

/* Markdown Content adjustments for new layout */
.markdown-body {
  background: transparent;
  padding: 0;
  border: none;
  color: var(--text-color);
  font-size: 1.15rem;
  line-height: 1.8;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  padding-bottom: 0.5rem;
}

.markdown-body p {
  margin-bottom: 1rem;
}

.markdown-body ul,
.markdown-body ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.markdown-body li {
  margin-bottom: 0.5rem;
}

.markdown-body a {
  color: var(--primary-color);
  text-decoration: underline;
}

.markdown-body code {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: monospace;
}

.markdown-body pre {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.content-card {
  background-color: var(--secondary-bg);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4rem;
}

.hidden {
  display: none;
}

.loading-text {
  text-align: center;
  color: var(--text-color);
  font-style: italic;
  opacity: 0.7;
}

/* Footer */
footer {
  background-color: var(--secondary-bg);
  padding: 2rem;
  text-align: center;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Markdown Content Styling */
.markdown-content ul {
  margin-left: 0;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.markdown-content p {
  margin-bottom: 1rem;
}

.markdown-content strong {
  color: #fff;
}

/* Blog Layout */
.blog-container {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 4rem;
}

.blog-sidebar {
  flex: 0 0 250px;
  background-color: var(--secondary-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  position: sticky;
  top: 100px;
  /* Below header */
}

.blog-sidebar h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-sidebar ul {
  list-style: none;
}

.blog-sidebar li {
  margin-bottom: 0.75rem;
}

.blog-sidebar a {
  color: var(--text-color);
  opacity: 0.7;
  font-size: 0.95rem;
  display: block;
  text-decoration: none;
  transition: all 0.2s;
}

.blog-sidebar a:hover,
.blog-sidebar a.active {
  color: var(--primary-color);
  opacity: 1;
}

.blog-sidebar a.active {
  font-weight: bold;
  border-left: 2px solid var(--primary-color);
  padding-left: 0.5rem;
}

.blog-post.content-card {
  margin-top: 0;
  width: 100%;
}

.blog-content {
  flex: 1;
  background-color: transparent;
  /* Or secondary-bg */
  /* Reusing markdown-body styles for the content */
}

.blog-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 1rem;
}

.blog-date {
  display: block;
  color: #666;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Highlight Menu Item (if needed specific stress beyond standard gold) */
/* Currently links turn gold on hover or if active class. 
   We will ensure the Blog link stands out if requested. */
/* If user wants it 'stressed', maybe always gold even if not active? 
   Or bold. Let's make it gold text by default? */
/* The existing nav links are opacity 0.8 and white-ish until hover. */

.main-nav a.highlight-menu {
  color: var(--primary-color);
  /* Always Gold */
  opacity: 1;
  font-weight: bold;
}

@media (max-width: 950px) {
  .header-container {
    padding: 0.75rem 1rem;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(120%);
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--secondary-bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 5rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.77, 0.2, 0.05, 1);
    z-index: 1050;
    display: flex !important;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .nav-item {
    width: 100%;
    padding: 1.25rem 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .has-dropdown .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0.5rem 0 0.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .dropdown-menu a {
    padding: 0.5rem 0;
    font-size: 1rem;
  }

  .dropdown-menu a:hover {
    padding-left: 0.5rem;
  }

  .highlight-btn {
    margin-top: 2rem;
    text-align: center;
    border-radius: 8px;
  }

  .hamburger {
    display: flex !important;
  }

  .lang-switch {
    margin-right: 0.5rem;
  }

  .hero {
    padding: 1rem;
  }

  .hero-content {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .hero-left,
  .hero-right {
    max-width: 100%;
    text-align: center;
  }

  .hero-right {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .store-section {
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
  }

  .carousel-container {
    height: 500px;
  }

  .new-version-banner {
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 0.5rem;
  }

  .new-version-banner p {
    display: none;
  }

  .hero-right h1 {
    font-size: 2.5rem;
  }

  .version-badge {
    font-size: 0.4em;
    padding: 0.15rem 0.5rem;
    margin-left: 0.5rem;
  }
}

@media (max-width: 900px) {
  .blog-container {
    flex-direction: column;
  }

  .blog-sidebar {
    width: 100%;
    position: static;
    margin-bottom: 2rem;
  }
}

/* Privacy/Cookie Banner */
.privacy-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: 90%;
  max-width: 600px;
  background: rgba(21, 21, 32, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 1.25rem 2rem;
  border-radius: 16px;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.privacy-banner.show {
  transform: translateX(-50%) translateY(0);
}

.privacy-banner p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--text-color);
  opacity: 0.9;
  line-height: 1.4;
}

.privacy-banner a {
  text-decoration: underline;
}

.privacy-btn {
  background: var(--primary-color);
  color: var(--bg-color);
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.privacy-btn:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

@media (max-width: 600px) {
  .privacy-banner {
    flex-direction: column;
    text-align: center;
    bottom: 1rem;
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .lang-btn {
    padding: 0.2rem 0.4rem;
    font-size: 0.75rem;
  }

  .lang-switch {
    gap: 0.2rem;
    margin-right: 0.2rem;
  }

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

  .logo-link {
    gap: 0.5rem;
  }

  .header-container {
    padding: 0.5rem 0.75rem;
  }

  .header-right {
    gap: 0.75rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE — Global overrides & layout
═══════════════════════════════════════════════════════════════ */

main.landing-main {
  max-width: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Combined announcement strip — version + latest post in one row */
.announcement-strip {
  background: rgba(212, 175, 55, 0.08);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 0.6rem 2rem;
}

.ann-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.88rem;
}

.ann-version {
  flex-shrink: 0;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background 0.2s;
}

.ann-version:hover {
  background: rgba(212, 175, 55, 0.12);
  text-decoration: none;
}

.ann-sep {
  opacity: 0.25;
  flex-shrink: 0;
}

.ann-tag {
  flex-shrink: 0;
  background: linear-gradient(135deg, #e25822, #c72b20);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
}

.ann-text {
  flex: 1;
  margin: 0;
  color: var(--text-color);
  opacity: 0.82;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ann-link {
  flex-shrink: 0;
  color: var(--primary-color);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.25rem 0.85rem;
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}

.ann-link:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--primary-color);
  text-decoration: none;
}

@media (max-width: 950px) {
  .ann-text { display: none; }
}

@media (max-width: 600px) {
  .announcement-strip { padding: 0.5rem 1rem; }
  .ann-sep { display: none; }
}

/* Section base */
.landing-section {
  padding: 6rem 2rem;
  position: relative;
}

.landing-section.alt-bg {
  background: var(--secondary-bg);
}

/* Two-column section container */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: center;
}

.section-label {
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary-color);
  opacity: 0.65;
  margin-bottom: 0.75rem;
  display: block;
}

.section-heading {
  font-size: 3rem;
  font-family: var(--font-main);
  background: linear-gradient(135deg, var(--primary-color) 0%, #f9e29b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL ANIMATION SYSTEM  (SEO-safe: hidden only after JS loads)
═══════════════════════════════════════════════════════════════ */

.animate-on-scroll {
  transition: opacity 0.7s ease, transform 0.7s ease;
}

body.js-anim .animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
}

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

/* ═══════════════════════════════════════════════════════════════
   LEFT PANEL — section dots + announcement badges
═══════════════════════════════════════════════════════════════ */

html {
  scroll-behavior: smooth;
}

.left-panel {
  position: fixed;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.panel-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section-nav {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.section-nav-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  opacity: 0.38;
  transition: opacity 0.3s;
}

.section-nav-item:hover,
.section-nav-item.active {
  opacity: 1;
  text-decoration: none;
}

.section-nav-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-color);
  background: transparent;
  transition: background 0.3s, transform 0.3s;
}

.section-nav-item.active .section-nav-dot {
  background: var(--primary-color);
  transform: scale(1.3);
}

.section-nav-label {
  font-size: 0.75rem;
  color: var(--text-color);
  white-space: nowrap;
  letter-spacing: 0.4px;
}

@media (max-width: 1200px) {
  .left-panel { display: none; }
}

.animate-on-scroll.delay-1 { transition-delay: 0.12s; }
.animate-on-scroll.delay-2 { transition-delay: 0.24s; }
.animate-on-scroll.delay-3 { transition-delay: 0.36s; }
.animate-on-scroll.delay-4 { transition-delay: 0.48s; }
.animate-on-scroll.delay-5 { transition-delay: 0.60s; }

/* ═══════════════════════════════════════════════════════════════
   SECTION CAROUSEL (per-section, independent)
═══════════════════════════════════════════════════════════════ */

.carousel-wrapper {
  flex-shrink: 0;
  width: 520px;
  display: flex;
  flex-direction: column;
}

.section-carousel {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6),
              0 0 0 1px rgba(212, 175, 55, 0.2);
  background: rgba(21, 21, 32, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.section-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-slide.active {
  opacity: 1;
}

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.carousel-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* Download CTA bar — above the carousel card */
.carousel-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.75rem;
  background: rgba(10, 10, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212,175,55,0.15);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
}

.store-badge-sm {
  height: 50px;
  display: block;
}

.store-badge-sm.google {
  height: 66px;
}

/* Text column in built landing sections */
.section-text {
  flex: 1;
  min-width: 0;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 1 — Hero
═══════════════════════════════════════════════════════════════ */

.hero-section {
  background: radial-gradient(circle at 25% 35%, rgba(212, 175, 55, 0.06) 0%, transparent 55%),
              radial-gradient(circle at 90% 70%, rgba(212, 175, 55, 0.03) 0%, transparent 40%);
  align-items: center;
}

.hero-text {
  flex: 1;
}

.hero-section .section-heading {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.2rem;
  font-style: italic;
  opacity: 0.8;
  border-left: 3px solid var(--primary-color);
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hero-for {
  font-size: 1.08rem;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 2 — S·O·R
═══════════════════════════════════════════════════════════════ */

.sor-text {
  flex: 1;
}

.sor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.sor-card {
  background: rgba(10, 10, 18, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: border-color 0.3s, transform 0.3s;
}

.sor-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateX(4px);
}

.sor-card-letter {
  font-size: 2.4rem;
  font-family: var(--font-main);
  background: linear-gradient(135deg, var(--primary-color) 0%, #f9e29b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
  line-height: 1;
  width: 2.6rem;
  text-align: center;
}

.sor-card h3 {
  font-size: 1.12rem;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.sor-question {
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  color: var(--primary-color);
  opacity: 0.6;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.sor-card p:last-child {
  font-size: 1rem;
  opacity: 0.8;
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 3 — Practice / Steps
═══════════════════════════════════════════════════════════════ */

.practice-text {
  flex: 1;
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-weight: bold;
  color: var(--primary-color);
  font-size: 1.05rem;
  background: rgba(212, 175, 55, 0.05);
}

.step-content h4 {
  font-size: 1.05rem;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
  font-family: var(--font-main);
}

.step-content p {
  font-size: 1rem;
  opacity: 0.78;
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 4 — Anna
═══════════════════════════════════════════════════════════════ */

.anna-text {
  flex: 1;
}

.anna-quote {
  border-left: 3px solid var(--primary-color);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(212, 175, 55, 0.04);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.75;
  opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION 5 — Daily Card
═══════════════════════════════════════════════════════════════ */

.daily-text {
  flex: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.feature-item {
  background: rgba(21, 21, 32, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 12px;
  padding: 1.25rem;
  transition: border-color 0.3s;
}

.feature-item:hover {
  border-color: rgba(212, 175, 55, 0.35);
}

.feature-item h4 {
  font-family: var(--font-main);
  color: var(--primary-color);
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.feature-item p {
  font-size: 0.98rem;
  opacity: 0.78;
  line-height: 1.65;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE — Responsive
═══════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
  .carousel-wrapper  { width: 440px; }
  .section-carousel  { height: 520px; }
}

@media (max-width: 1100px) {
  .carousel-wrapper  { width: 380px; }
  .section-carousel  { height: 460px; }
  .hero-section .section-heading { font-size: 3.2rem; }
}

/* Stack sections vertically — viewport-relative carousel width */
@media (max-width: 950px) {
  .landing-section {
    padding: 3.5rem 1.25rem;
  }

  .section-container {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .hero-section { min-height: auto; }
  .hero-section .section-heading { font-size: 2.4rem; }
  .section-heading { font-size: 2rem; }

  /* Scale with viewport so carousel stays proportional to text */
  .carousel-wrapper {
    width: 85vw;
    max-width: 440px;
    align-self: center;
    flex-shrink: 0;
  }

  .section-carousel {
    height: 460px;
  }

  .carousel-dots { bottom: 12px; }

  .store-badge-sm        { height: 36px; }
  .store-badge-sm.google { height: 47px; }

  .section-text {
    width: 100%;
    text-align: left;
  }

  .features-grid { grid-template-columns: 1fr; }
  .sor-grid      { gap: 1rem; }
}

/* Small phones */
@media (max-width: 600px) {
  .landing-section { padding: 2.5rem 1rem; }

  .hero-section .section-heading { font-size: 2rem; }
  .section-heading               { font-size: 1.75rem; }

  .carousel-wrapper { width: 88vw; max-width: 380px; }
  .section-carousel { height: 420px; }

  /* Stack badges vertically on very small screens */
  .carousel-cta {
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.5rem;
  }

  .store-badge-sm        { height: 34px; }
  .store-badge-sm.google { height: 44px; }
}