:root {
  --primary: #00509d;
  --primary-dark: #003a75;
  --accent: #ffd60a;
  --bg-body: #ffffff;
  --bg-gray: #f5f5f7;
  --text-main: #1d1d1f;
  --text-secondary: #86868b;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 12px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 24px;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.highlight-text {
  background: linear-gradient(120deg, var(--primary), #4287f5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  gap: 8px;
}

.btn:hover {
  transform: scale(1.02);
}

.btn:active {
  transform: scale(0.98);
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(0, 80, 157, 0.3);
}

.btn-secondary {
  color: var(--primary);
  background-color: rgba(0, 80, 157, 0.1);
}

.btn-secondary:hover {
  background-color: rgba(0, 80, 157, 0.15);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.25rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.store-badge-link {
  display: inline-flex;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.store-badge-link:hover {
  transform: translateY(-1px);
}

.store-badge-image {
  display: block;
  height: 62px;
  width: auto;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: padding 0.3s;
  /* Prevent containing block creation */
  transform: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.navbar-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: all 0.3s;
  opacity: 0;
  pointer-events: none;
}

.navbar.scrolled {
  padding: 12px 0;
}

.navbar.scrolled .navbar-bg {
  background-color: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 1;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 2.5rem; /* Increased size */
  font-weight: 700;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
}

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

.links-dropdown {
  position: relative;
}

.links-toggle {
  border: none;
  background: transparent;
  font: inherit;
  cursor: pointer;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 500;
}

.links-toggle i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.links-dropdown.active .links-toggle i {
  transform: rotate(180deg);
}

.links-menu {
  list-style: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1200;
}

.links-dropdown.active .links-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (min-width: 1025px) {
  .links-dropdown:hover .links-menu,
  .links-dropdown:focus-within .links-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .links-dropdown:hover .links-toggle i,
  .links-dropdown:focus-within .links-toggle i {
    transform: rotate(180deg);
  }
}

.links-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.links-menu a:hover {
  background: var(--bg-gray);
  color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 8px 16px;
  border-radius: 99px;
}

.nav-cta:hover {
  background: var(--primary-dark);
}

/* Custom Language Dropdown */
.custom-dropdown {
  position: relative;
  font-family: inherit;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all 0.3s ease;
  min-width: 120px;
  justify-content: space-between;
}

.dropdown-toggle:hover {
  background: white;
  box-shadow: var(--shadow-sm);
  border-color: var(--primary);
  color: var(--primary);
}

.dropdown-toggle .flag {
  font-size: 1.2rem;
  line-height: 1;
}

.dropdown-toggle .lang-code {
  font-weight: 600;
  text-transform: uppercase;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  margin-left: 4px;
  transition: transform 0.3s;
}

.custom-dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  width: 240px;
  max-height: 300px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
  list-style: none;
}

.custom-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 0.95rem;
  color: var(--text-main);
}

.dropdown-menu li:hover {
  background: var(--bg-gray);
  color: var(--primary);
}

.dropdown-menu li .flag {
  font-size: 1.4rem;
}

/* Scrollbar for dropdown */
.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}

/* Hero Section */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text {
  max-width: 540px;
}

.hero-text h1 {
  white-space: pre-line;
}

.cta-group {
  margin-top: 32px;
  display: flex;
  gap: 16px;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.parrot-float {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.mascot-hero {
  width: 350px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.floating-badge {
  position: absolute;
  background: white;
  padding: 12px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-main);
}

.badge-1 {
  top: 20%;
  left: -40px;
  transform: rotate(-5deg);
  border-left: 4px solid var(--accent);
}

.badge-2 {
  bottom: 20%;
  right: -20px;
  transform: rotate(5deg);
  border-right: 4px solid var(--primary);
}

/* Features - Bento Grid */
.section-padding {
  padding: 100px 0;
}

.bg-gray {
  background-color: var(--bg-gray);
}

.text-center {
  text-align: center;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 60px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, minmax(300px, auto));
  gap: 24px;
}

.bento-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-content {
  z-index: 2;
}

.card-content h3 {
  margin-bottom: 12px;
}

.card-content p {
  font-size: 1rem;
}

/* Grid Spans */
.card-large {
  grid-column: span 2;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.card-tall {
  grid-row: span 2;
  justify-content: space-between;
  background: linear-gradient(to bottom, #f0f9ff, #ffffff);
}

.card-wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  background: linear-gradient(to right, #fff9c4, #ffffff);
}

/* Image Positioning within cards */
.card-img-right {
  width: 250px;
  margin-left: auto;
}

.card-img-bottom {
  width: 100%;
  margin-top: auto;
  transform: translateY(20px);
}

.card-img-center {
  width: 180px;
  margin: 20px auto 0;
}

.card-img-right-small {
  width: 150px;
  margin-left: auto;
}

/* Detailed Benefits */
.benefit-row {
  display: flex;
  align-items: center;
  gap: 60px;
}

.benefit-text {
  flex: 1;
}

.benefit-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.benefit-img img {
  max-width: 80%;
  filter: drop-shadow(var(--shadow-lg));
}

.check-list {
  list-style: none;
  margin-top: 24px;
}

.check-list li {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  color: var(--text-main);
}

.check-list i {
  color: var(--primary);
  font-size: 1.2rem;
}

/* Video Section */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 900px;
  margin: 40px auto 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* CTA Section */
.cta-section {
  padding: 120px 0;
  position: relative;
}

.cta-section h2 {
  margin-top: 8px;
  margin-bottom: 18px;
}

.cta-section p {
  margin-bottom: 30px;
}

.cta-mascot {
  width: 120px;
  margin: 0 auto 24px;
}

/* Footer */
footer {
  background: #f5f5f7;
  padding: 60px 0 30px;
  border-top: 1px solid #e5e5e5;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
}

.footer-social a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.copyright {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding-top: 20px;
  border-top: 1px solid #e5e5e5;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}
.delay-200 {
  transition-delay: 0.2s;
}
.delay-300 {
  transition-delay: 0.3s;
}
.delay-400 {
  transition-delay: 0.4s;
}

/* Random Mascot Animations */
.word-rain {
  position: fixed;
  z-index: 9998;
  pointer-events: none;
  color: var(--text-secondary);
  font-family: "Courier New", Courier, monospace;
  white-space: nowrap;
  user-select: none;
  font-weight: bold;
}

.random-mascot {
  position: fixed;
  z-index: 9999;
  pointer-events: none; /* Let clicks pass through */
  width: 150px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

@keyframes peekBottom {
  0% {
    bottom: -150px;
    transform: rotate(-10deg);
  }
  20% {
    bottom: -20px;
    transform: rotate(0deg);
  }
  80% {
    bottom: -20px;
    transform: rotate(0deg);
  }
  100% {
    bottom: -150px;
    transform: rotate(10deg);
  }
}

.anim-peek-bottom {
  left: 20%;
  bottom: -150px;
  animation: peekBottom 4s ease-in-out forwards;
}

@keyframes peekSide {
  0% {
    right: -150px;
    transform: rotate(90deg);
  }
  20% {
    right: -20px;
    transform: rotate(45deg);
  }
  80% {
    right: -20px;
    transform: rotate(45deg);
  }
  100% {
    right: -150px;
    transform: rotate(90deg);
  }
}

.anim-peek-side {
  top: 30%;
  right: -150px;
  animation: peekSide 4s ease-in-out forwards;
}

@keyframes flyAcross {
  0% {
    left: -200px;
    top: 20%;
    transform: rotate(15deg);
  }
  100% {
    left: 100vw;
    top: 10%;
    transform: rotate(15deg);
  }
}

.anim-fly-across {
  left: -200px;
  animation: flyAcross 5s linear forwards;
}

@keyframes fallDown {
  0% {
    top: -200px;
    transform: rotate(180deg);
  }
  100% {
    top: 100vh;
    transform: rotate(180deg);
  }
}

.anim-fall-down {
  right: 15%;
  top: -200px;
  animation: fallDown 4s ease-in forwards;
}

@keyframes jumpAround {
  0% {
    bottom: -200px;
    left: 10%;
  }
  20% {
    bottom: 100px;
    left: 15%;
    transform: rotate(-20deg);
  }
  40% {
    bottom: 0;
    left: 20%;
    transform: rotate(0deg);
  }
  60% {
    bottom: 80px;
    left: 25%;
    transform: rotate(20deg);
  }
  80% {
    bottom: 0;
    left: 30%;
    transform: rotate(0deg);
  }
  100% {
    bottom: -200px;
    left: 35%;
  }
}

.anim-jump-around {
  bottom: -200px;
  animation: jumpAround 5s ease-in-out forwards;
}

/* Rain Drop Animation */
@keyframes rainDrop {
  0% {
    top: -150px;
    opacity: 1;
    transform: rotate(0deg);
  }
  40% {
    top: calc(100vh - 100px);
    transform: rotate(10deg);
    animation-timing-function: ease-in;
  }
  55% {
    top: calc(100vh - 250px);
    transform: rotate(-10deg);
    animation-timing-function: ease-out;
  }
  100% {
    top: 120vh;
    transform: rotate(20deg);
    animation-timing-function: ease-in;
  }
}

.anim-rain-drop {
  width: 100px; /* Slightly smaller for rain */
  top: -150px;
  animation-name: rainDrop;
  animation-fill-mode: forwards;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 1001;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-large,
  .card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }

  .hero-text {
    margin: 0 auto;
  }

  .cta-group {
    justify-content: center;
  }

  .badge-1 {
    left: 0;
  }
  .badge-2 {
    right: 0;
  }

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

  .card-large,
  .card-tall,
  .card-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .card-large,
  .card-wide {
    flex-direction: column;
    text-align: center;
  }

  .card-img-right,
  .card-img-right-small {
    margin: 20px auto 0;
  }

  .benefit-row {
    flex-direction: column-reverse;
  }

  /* Mobile Navigation */
  .mobile-menu-btn {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    backdrop-filter: blur(2px);
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 85vh;
    overflow-y: auto;
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px 24px 50px;
    z-index: 1000;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
  }

  .nav-links.active {
    transform: translateY(0);
  }

  /* Remove old pseudo-element backdrop */
  .nav-links::before {
    display: none;
  }

  .nav-links a {
    font-size: 1.2rem;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
  }

  .nav-links a:active {
    background-color: var(--bg-gray);
  }

  .links-dropdown {
    width: 100%;
  }

  .links-toggle {
    width: 100%;
    justify-content: center;
    font-size: 1.2rem;
    padding: 12px;
    border-radius: 12px;
  }

  .links-toggle:active {
    background-color: var(--bg-gray);
  }

  .links-menu {
    position: static;
    width: 100%;
    min-width: 0;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    margin-top: 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .links-dropdown.active .links-menu {
    max-height: 500px;
  }

  .links-menu a {
    text-align: center;
    background: rgba(0, 80, 157, 0.06);
    margin-top: 8px;
    font-size: 1rem;
  }

  /* Adjust dropdown for mobile */
  .custom-dropdown {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .dropdown-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 320px;
    max-height: 60vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  }

  .custom-dropdown.active .dropdown-menu {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .links-dropdown:hover .links-menu,
  .links-dropdown:focus-within .links-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
  }

  .links-dropdown.active .links-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }

  .hero {
    padding-top: 120px;
  }

  .mascot-hero {
    width: 280px;
  }

  .floating-badge {
    font-size: 0.8rem;
    padding: 8px 16px;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .store-badge-link {
    width: 100%;
    justify-content: center;
  }

  .store-badge-image {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

  .btn {
    width: 100%;
  }

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

  .footer-links {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* Content Pages (About / Privacy / Terms / Feedback) */
.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1;
  padding-top: 120px;
  padding-bottom: 64px;
}

.page-title {
  margin-bottom: 12px;
}

.page-subtitle {
  max-width: 760px;
  margin-bottom: 32px;
}

.content-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  margin-bottom: 20px;
}

.content-card h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.content-card p,
.content-card li {
  font-size: 1rem;
}

.content-card ul {
  padding-left: 18px;
}

.inline-meta {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--text-secondary);
  background: var(--bg-gray);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.back-home {
  margin-top: 8px;
  display: inline-flex;
  font-weight: 600;
  color: var(--primary);
}

.text-flow {
  margin-bottom: 20px;
}

.text-flow h2 {
  font-size: 1.4rem;
  margin-top: 24px;
  margin-bottom: 10px;
}

.text-flow p {
  margin-bottom: 12px;
}

.text-flow ul {
  margin: 8px 0 14px 20px;
}

.text-flow li {
  margin-bottom: 8px;
  color: var(--text-main);
}

.text-flow-meta {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.feedback-form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-weight: 600;
  font-size: 0.95rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  border: 1px solid #d9d9de;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
}

.form-row textarea {
  resize: vertical;
  min-height: 140px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.consent-row input {
  margin-top: 5px;
}

.form-status {
  min-height: 24px;
  font-size: 0.95rem;
}

.form-status.success {
  color: #0a7a34;
}

.form-status.error {
  color: #b42318;
}

.page-nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.page-nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
}

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

.page-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (max-width: 768px) {
  .page-shell .navbar {
    padding: 12px 0;
  }

  .page-shell .nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .page-shell .logo {
    font-size: 2rem;
  }

  .page-nav-links {
    width: 100%;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .page-nav-links a {
    font-size: 0.9rem;
    padding: 6px 10px;
    background: rgba(0, 80, 157, 0.08);
    border-radius: 999px;
  }

  .page-nav-links .nav-cta {
    padding: 6px 12px;
  }

  .page-header-right {
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
  }

  .page-main {
    padding-top: 140px;
    padding-bottom: 40px;
  }

  .page-subtitle {
    margin-bottom: 20px;
  }

  .content-card {
    padding: 20px;
    border-radius: var(--radius-sm);
  }

  .content-card h2 {
    font-size: 1.35rem;
  }

  .inline-meta {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .consent-row {
    gap: 8px;
  }

  .form-row textarea {
    min-height: 120px;
  }
}

@media (max-width: 480px) {
  .page-shell .logo {
    font-size: 1.8rem;
  }

  .page-main {
    padding-top: 132px;
    padding-bottom: 30px;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .content-card {
    padding: 16px;
  }

  .content-card h2 {
    font-size: 1.2rem;
  }

  .form-row input,
  .form-row select,
  .form-row textarea {
    padding: 11px 12px;
  }
}
