/* ==========================================================================
   Sayin – Personal Finance & Expense Splitting App
   Design System: Private Banking Aesthetic (Emerald, Warm Ivory, Subtle Gold)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Myanmar:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Dark Theme (Default) */
  --bg-primary: #061D18;
  --bg-secondary: #0A2A24;
  --bg-card: #0E342D;
  --bg-card-hover: #123F36;
  --bg-elevated: #15453B;
  --bg-input: #08241E;

  --text-primary: #F2EBDD;
  --text-secondary: #B8CCC5;
  --text-muted: #7E968F;
  --text-inverse: #061D18;

  --accent-gold: #D4B26A;
  --accent-gold-hover: #E2C582;
  --accent-gold-subtle: rgba(212, 178, 106, 0.14);
  --hairline-gold: rgba(212, 178, 106, 0.22);
  --hairline-subtle: rgba(255, 255, 255, 0.08);

  --mint-primary: #10B981;
  --mint-light: #34D399;
  --mint-subtle: rgba(52, 211, 153, 0.12);

  --font-latin: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-burmese: 'Noto Sans Myanmar', 'Padauk', 'Myanmar Text', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.4);

  --transition-fast: 160ms ease;
  --transition-normal: 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: #FAF7F2;
  --bg-secondary: #F2EDE4;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8F5EE;
  --bg-elevated: #EDE6D8;
  --bg-input: #FFFFFF;

  --text-primary: #0A2A24;
  --text-secondary: #284A42;
  --text-muted: #5F7A73;
  --text-inverse: #FAF7F2;

  --accent-gold: #7A5C16;
  --accent-gold-hover: #634A10;
  --accent-gold-subtle: rgba(122, 92, 22, 0.1);
  --hairline-gold: rgba(122, 92, 22, 0.2);
  --hairline-subtle: rgba(10, 42, 36, 0.08);

  --mint-primary: #0D9488;
  --mint-light: #059669;
  --mint-subtle: rgba(5, 150, 105, 0.08);

  --shadow-sm: 0 2px 8px rgba(10, 42, 36, 0.05);
  --shadow-md: 0 8px 24px rgba(10, 42, 36, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 42, 36, 0.12);
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-latin);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Burmese Language Typography Overrides */
html[data-lang="my"] body,
html[data-lang="my"] input,
html[data-lang="my"] button,
html[data-lang="my"] select,
html[data-lang="my"] textarea,
.burmese-text {
  font-family: var(--font-burmese);
  line-height: 1.85 !important; /* Extra line-height so stacked marks/diacritics are never clipped */
  letter-spacing: 0.01em;
}

/* Language Switch Display Control */
html[data-lang="en"] .lang-my,
html[data-lang="en"] .img-lang-my {
  display: none !important;
}

html[data-lang="my"] .lang-en,
html[data-lang="my"] .img-lang-en {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Focus styles for keyboard accessibility */
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Layout Containers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 860px;
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(6, 29, 24, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hairline-subtle);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="light"] .site-header {
  background-color: rgba(250, 247, 242, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}

.brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
}

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

.nav-link.active {
  color: var(--accent-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Mobile Nav Drawer: Strictly hidden by default on desktop/tablet */
.mobile-nav-drawer {
  display: none !important;
}

.mobile-menu-btn {
  display: none;
}

/* Control Buttons (Theme & Language) */
.segmented-control {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  background-color: var(--bg-card);
  border: 1px solid var(--hairline-gold);
  border-radius: var(--radius-full);
}

.segmented-btn {
  padding: 0.3rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.segmented-btn.active {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .segmented-btn.active {
  color: #FFFFFF;
}

.icon-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-card);
  border: 1px solid var(--hairline-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-gold);
  background-color: var(--bg-card-hover);
}

.mobile-menu-btn {
  display: none;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.hero-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-gold);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-title .gold-accent {
  color: var(--accent-gold);
}

.hero-tagline {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.4;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* App Store & Google Play Badges */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #000000;
  color: #FFFFFF;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.btn-appstore:hover {
  transform: translateY(-2px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-lg);
}

.btn-appstore svg {
  width: 1.85rem;
  height: 1.85rem;
  fill: currentColor;
}

.btn-googleplay svg {
  fill: none;
}

.appstore-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.appstore-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.85;
  line-height: 1;
}

.appstore-main {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
}

/* Secondary / Pill Action Button */
.btn-pill-action {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--hairline-gold);
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.btn-pill-action:hover {
  background-color: var(--bg-elevated);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Micro Trust Line */
.hero-trust-line {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--mint-light);
}

/* --------------------------------------------------------------------------
   Phone Mockup Display
   -------------------------------------------------------------------------- */
.phone-mockup-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.mockup-backdrop-glow {
  position: absolute;
  width: 320px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(212, 178, 106, 0.08) 50%, transparent 70%);
  filter: blur(40px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.phone-frame {
  width: 100%;
  max-width: 330px;
  aspect-ratio: 390 / 800;
  background: #0A0F0D;
  border-radius: 46px;
  padding: 10px;
  box-shadow: 
    0 0 0 2px #263832,
    0 0 0 6px #0d1a16,
    0 24px 60px rgba(0, 0, 0, 0.65),
    0 6px 16px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
  transition: transform var(--transition-normal);
}

[data-theme="light"] .phone-frame {
  box-shadow: 
    0 0 0 2px #C5BEAF,
    0 0 0 6px #E3DDD0,
    0 24px 60px rgba(10, 42, 36, 0.2),
    0 6px 16px rgba(10, 42, 36, 0.12);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background-color: #071E19;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Interactive Screen Switcher Tabs for Hero */
.mockup-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.mockup-pill-btn {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--hairline-subtle);
  transition: all var(--transition-fast);
}

.mockup-pill-btn:hover {
  color: var(--text-primary);
  border-color: var(--hairline-gold);
}

.mockup-pill-btn.active {
  background-color: var(--accent-gold-subtle);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   Privacy Highlight Banner (Anti-AI-Slop & Strict user rules)
   -------------------------------------------------------------------------- */
.privacy-banner-section {
  padding: 3.5rem 0;
  position: relative;
}

.privacy-banner-card {
  background: linear-gradient(135deg, rgba(14, 52, 45, 0.9) 0%, rgba(10, 42, 36, 0.95) 100%);
  border: 1px solid var(--hairline-gold);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .privacy-banner-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5EFE4 100%);
  border-color: var(--hairline-gold);
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.privacy-banner-title {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  max-width: 760px;
  margin: 0 auto;
}

.privacy-hairline-accent {
  width: 60px;
  height: 2px;
  background-color: var(--accent-gold);
  margin: 1.5rem auto 0;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Features Grid Section
   -------------------------------------------------------------------------- */
.features-section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-kicker {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.25;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--hairline-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--hairline-gold);
  box-shadow: var(--shadow-md);
}

.feature-icon-wrap {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  border: 1px solid var(--hairline-gold);
  flex-shrink: 0;
}

.feature-icon-wrap svg {
  width: 1.6rem;
  height: 1.6rem;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Screenshots Carousel Section
   -------------------------------------------------------------------------- */
.carousel-section {
  padding: 5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--hairline-subtle);
  border-bottom: 1px solid var(--hairline-subtle);
  overflow: hidden;
}

.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-xl);
}

.carousel-track {
  display: flex;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 320px 1fr;
  align-items: center;
  gap: 3.5rem;
  padding: 2rem 1.5rem;
}

.slide-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.slide-number {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.slide-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.slide-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.carousel-nav-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.carousel-arrow {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  background-color: var(--bg-card);
  border: 1px solid var(--hairline-gold);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.carousel-arrow:hover {
  background-color: var(--accent-gold);
  color: var(--bg-primary);
}

[data-theme="light"] .carousel-arrow:hover {
  color: #FFFFFF;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: var(--hairline-gold);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.carousel-dot.active {
  width: 28px;
  background-color: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   FAQ Section
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 5rem 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--hairline-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--hairline-gold);
}

.faq-item[open] {
  border-color: var(--accent-gold);
}

.faq-question {
  padding: 1.5rem 2rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

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

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--accent-gold);
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem 1.75rem;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--hairline-subtle);
  padding: 4rem 0 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 380px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-column-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* --------------------------------------------------------------------------
   Subpages: Privacy Policy & Support Layouts
   -------------------------------------------------------------------------- */
.page-header {
  padding: 4rem 0 2.5rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.06) 0%, transparent 60%);
}

.page-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.page-meta {
  font-size: 0.92rem;
  color: var(--accent-gold);
  font-weight: 500;
}

.policy-content-wrap {
  padding: 2rem 0 5rem;
}

.policy-card {
  background-color: var(--bg-card);
  border: 1px solid var(--hairline-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.policy-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--hairline-gold);
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}

.policy-section-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-primary);
}

.policy-body {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.policy-body h3 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin: 1.75rem 0 0.65rem;
}

.policy-body a {
  color: var(--accent-gold);
  text-decoration: underline;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.support-card {
  background-color: var(--bg-card);
  border: 1px solid var(--hairline-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.support-card:hover {
  border-color: var(--hairline-gold);
}

.support-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  border: 1px solid var(--hairline-gold);
}

.support-email-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--accent-gold);
  color: var(--bg-primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  margin-top: 0.5rem;
  transition: all var(--transition-fast);
}

.support-email-btn:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
}

[data-theme="light"] .support-email-btn {
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Responsive Design
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    align-items: center;
  }

  .hero-desc {
    margin: 0 auto;
  }

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

  .hero-trust-line {
    justify-content: center;
  }

  .carousel-slide {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 2rem;
  }

  .slide-info {
    align-items: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 880px) {
  .nav-links {
    display: none !important;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
  }

  .mobile-nav-drawer.open {
    display: block !important;
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    background-color: rgba(6, 29, 24, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--hairline-gold);
    padding: 1.75rem 2rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    z-index: 99;
  }

  [data-theme="light"] .mobile-nav-drawer.open {
    background-color: rgba(250, 247, 242, 0.98);
    box-shadow: 0 16px 40px rgba(10, 42, 36, 0.15);
  }

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

  .mobile-nav-list a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--hairline-subtle);
    transition: color var(--transition-fast);
  }

  .mobile-nav-list a:hover {
    color: var(--accent-gold);
  }

  .policy-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-appstore, .btn-pill-action {
    width: 100%;
    justify-content: center;
  }

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

  .phone-frame {
    max-width: 290px;
  }
}
