/* 
  hikorea.uz - VOA Uzbek Style Design System
  Authors: Antigravity Code Assistant & hikorea.uz
*/

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors - VOA Light Theme (Default) */
  --bg-primary: #f5f7fa; /* Clean Gazette Grey-White */
  --bg-secondary: #ffffff; /* Solid White */
  --bg-tertiary: #edf1f6;
  --text-primary: #111111; /* Dark text for newspaper feel */
  --text-secondary: #333333;
  --text-muted: #666666;
  
  --accent-primary: #003366; /* VOA Dark Blue */
  --accent-primary-hover: #002244;
  --accent-success: #10b981;
  --accent-warning: #f59e0b; /* Amber */
  --accent-danger: #D8232A; /* VOA Bright Red */
  --accent-moss: #003366;
  --bg-moss-light: #edf4fa;
  
  --border-color: #e0e0e0;
  --glass-bg: #ffffff;
  --glass-border: #e0e0e0;
  --glass-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --border-radius: 6px; /* Square-ish modern VOA look */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Colors - VOA Dark Theme */
[data-theme="dark"] {
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-tertiary: #1f2937;
  --text-primary: #f9fafb;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  --accent-primary: #38bdf8;
  --accent-primary-hover: #0ea5e9;
  --accent-success: #34d399;
  --accent-warning: #fbbf24;
  --accent-danger: #f87171;
  --accent-moss: #38bdf8;
  --bg-moss-light: #1e293b;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(17, 24, 39, 0.85);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.5);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: var(--transition-smooth);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.01em;
}

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

/* Glassmorphism Container (Now clean portal panel for VOA) */
.glass-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--accent-danger);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Grid & Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Styles (tryalma.com style: sand background, clean border) */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
  transition: var(--transition-smooth);
}

[data-theme="light"] header {
  background: #fdfbf7; /* Light Sand/Beige for TryAlma */
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary) !important;
}

[data-theme="light"] .logo {
  color: #1a2d27 !important; /* TryAlma Forest Green Logo in light mode */
}

.logo i {
  color: #2f5b50; /* TryAlma Green icon */
}

[data-theme="light"] .logo i {
  color: #2f5b50;
}

.logo span {
  font-weight: 300;
  color: var(--text-secondary) !important;
}

[data-theme="light"] .logo span {
  color: #738a81 !important;
}

.nav-menu {
  display: flex;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary) !important;
  position: relative;
  padding: 8px 0;
  display: inline-flex;
  align-items: center;
}

[data-theme="light"] .nav-link {
  color: #1a2d27 !important;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary) !important;
}

[data-theme="light"] .nav-link:hover, [data-theme="light"] .nav-link.active {
  color: #2f5b50 !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #2f5b50;
  transition: var(--transition-smooth);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu for Nav Links */
.nav-menu li {
  position: relative;
}

.nav-menu .dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  box-shadow: var(--glass-shadow);
  border-radius: var(--border-radius);
  list-style: none;
  min-width: 180px;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 1000;
}

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

.nav-menu .dropdown-content a {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  transition: var(--transition-smooth);
}

.nav-menu .dropdown-content a:hover {
  background: var(--bg-moss-light);
  color: var(--text-primary);
}

/* Nav caret icon */
.nav-link i {
  font-size: 9px;
  margin-left: 4px;
  opacity: 0.8;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Nav Actions - Buttons (tryalma.com style) */
.btn-nav-login {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

[data-theme="light"] .btn-nav-login {
  border-color: #1a2d27;
  color: #1a2d27;
}

.btn-nav-login:hover {
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .btn-nav-login:hover {
  background: rgba(26, 45, 39, 0.05);
}

.btn-nav-getstarted {
  background: #2f5b50;
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.btn-nav-getstarted:hover {
  background: #23443c;
}

/* User Profile button override for VOA/TryAlma theme */
.user-profile-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: var(--transition-smooth);
}

[data-theme="light"] .user-profile-btn {
  background: #ffffff;
  border-color: #e0e0e0;
  color: #1a2d27;
}

.user-profile-btn:hover {
  border-color: var(--text-secondary);
}

.user-profile-btn img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  font-size: 16px;
}

[data-theme="light"] .theme-toggle {
  color: #1a2d27;
}

.theme-toggle:hover {
  color: var(--text-primary);
  background: var(--border-color);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 200px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  display: none;
  flex-direction: column;
  padding: 8px;
  z-index: 101;
}

.dropdown-menu.show {
  display: flex;
}

.dropdown-item {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-item:hover {
  background: var(--bg-moss-light);
  color: var(--text-primary);
}

/* Buttons (VOA Newspaper style) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
  gap: 8px;
}

.btn-primary {
  background: var(--accent-danger);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: #b51c22;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--accent-primary);
  color: white;
  border: none;
}

.btn-secondary:hover {
  background: var(--accent-primary-hover);
}

.theme-toggle {
  background: none;
  border: none;
  color: #e2e8f0;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  font-size: 18px;
}

.theme-toggle:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
}

/* ----------------------------------------------------
  TryAlma 1-to-1 Hero Layout Styles
---------------------------------------------------- */
.taml-hero {
  padding: 100px 0 60px 0;
  position: relative;
  overflow: hidden;
}

.taml-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.taml-hero-copy {
  max-width: 540px;
}

.taml-hero-copy .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(216, 35, 42, 0.08);
  color: var(--accent-danger);
  padding: 6px 18px;
  border-radius: var(--border-radius);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
  border: 1px solid rgba(216, 35, 42, 0.2);
}

.taml-hero-copy h1 {
  font-size: 54px;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 900;
}

.taml-hero-copy h1 span {
  color: var(--accent-danger);
}

.taml-hero-copy p {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
}

.taml-hero-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* TryAlma Interactive Hero Card */
.taml-hero-card-wrap {
  position: relative;
  width: 100%;
}

.taml-hero-card-bg {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 51, 102, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.taml-hero-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  padding: 24px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.taml-hero-card:hover {
  border-color: var(--accent-danger);
}

.taml-hc-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.taml-hc-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.taml-hc-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.taml-hc-tabs {
  display: flex;
  gap: 8px;
}

.taml-hc-tab {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.taml-hc-tab:hover, .taml-hc-tab.taml-active {
  background: var(--accent-primary);
  color: white;
  border-color: var(--accent-primary);
}

.taml-hc-rows {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  font-size: 13px;
  align-items: center;
}

.taml-hc-col-head {
  color: var(--text-muted);
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.taml-hc-cell {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.taml-who {
  font-weight: 700;
  color: var(--text-primary);
}

.taml-visa {
  font-size: 11px;
  color: var(--text-muted);
}

.taml-hc-status {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

.taml-in-progress {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-warning);
}

.taml-in-review {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-primary);
}

.taml-approved {
  background: rgba(52, 211, 153, 0.1);
  color: var(--accent-success);
}

.taml-hc-milestone {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ----------------------------------------------------
  TryAlma Social Proof / Logo Ticker
---------------------------------------------------- */
.taml-social-proof {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.taml-social-proof-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.taml-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.taml-logo-wrapper-block {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.logo-block {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.7;
  transition: var(--transition-smooth);
}

.logo-block:hover {
  opacity: 1;
  color: var(--text-primary);
}

/* ----------------------------------------------------
  TryAlma Segment Cards Section
---------------------------------------------------- */
.taml-segment {
  padding: 80px 0;
}

.taml-section-header {
  text-align: left;
  max-width: 100%;
  margin: 0 auto 36px auto;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 12px;
}

.taml-section-header .taml-eyebrow {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-danger);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.taml-section-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent-primary);
  position: relative;
  display: inline-block;
}

.taml-section-title::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--accent-danger);
}

.taml-section-sub {
  font-size: 16px;
  color: var(--text-secondary);
}

.taml-segment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.taml-segment-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: var(--transition-smooth);
}

.taml-segment-card:hover {
  border-color: var(--accent-danger);
  transform: translateY(-2px);
  box-shadow: var(--glass-shadow);
}

.taml-card-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  background: var(--bg-moss-light);
  border-radius: 100px;
  color: var(--accent-primary);
  margin-bottom: 24px;
}

.taml-segment-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.taml-segment-card p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 30px;
  flex: 1;
}

.taml-card-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.taml-arrow {
  transition: var(--transition-smooth);
}

.taml-segment-card:hover .taml-arrow {
  transform: translateX(4px);
}

/* ----------------------------------------------------
  TryAlma Why Section
---------------------------------------------------- */
.taml-why-alma {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.taml-why-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.taml-why-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.taml-why-alma h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
}

.taml-why-alma p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ----------------------------------------------------
  TryAlma Value Props (01 Strategy, 02 Execution)
---------------------------------------------------- */
.taml-value-props {
  padding: 80px 0;
}

.taml-value-prop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.taml-value-prop.taml-reverse {
  direction: rtl;
}

.taml-value-prop.taml-reverse .taml-vp-content {
  direction: ltr;
}

.taml-value-prop.taml-reverse .taml-vp-visual {
  direction: ltr;
}

.taml-vp-content {
  max-width: 500px;
}

.taml-vp-number {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.taml-n-pill {
  width: 28px;
  height: 28px;
  background: var(--bg-moss-light);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
}

.taml-vp-content h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.taml-vp-lead {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-weight: 500;
}

.taml-vp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.taml-vp-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
}

.taml-tick {
  width: 18px;
  height: 18px;
  background: var(--bg-moss-light);
  color: var(--accent-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.taml-tick svg {
  width: 10px;
  height: 10px;
}

/* Value Props Visuals */
.taml-vp-visual {
  background: #090e0c;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--glass-shadow);
}

/* Strategy Mock Visual */
.taml-mock-strategy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.taml-mock-head {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.taml-strat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-tertiary);
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.taml-strat-row .taml-left {
  display: flex;
  flex-direction: column;
}

.taml-visa-name {
  font-weight: 700;
  font-size: 14px;
}

.taml-visa-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.taml-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}

.taml-pill.taml-primary {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-primary);
}

.taml-pill.taml-strong {
  background: var(--bg-moss-light);
  color: white;
}

.taml-pill.taml-muted {
  background: var(--bg-primary);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.taml-pill.taml-off {
  background: rgba(239, 68, 68, 0.08);
  color: var(--accent-danger);
}

/* Workflow/Timeline Mock Visual */
.taml-mock-workflow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.taml-wf-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.taml-wf-step.taml-done {
  color: var(--text-muted);
}

.taml-wf-step.taml-done .taml-check {
  color: var(--accent-primary);
}

.taml-wf-step.taml-active {
  background: var(--bg-moss-light);
  font-weight: 700;
  color: var(--text-primary);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.taml-wf-step.taml-active .taml-check {
  color: var(--accent-primary);
}

.taml-wf-step .taml-check {
  font-weight: 700;
}

.taml-wf-step .taml-label {
  flex: 1;
}

.taml-wf-step .taml-meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* Dashboard Mock Visual */
.taml-mock-dashboard {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.taml-dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.taml-dash-title {
  font-size: 14px;
  font-weight: 700;
}

.taml-dash-live {
  font-size: 10px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-primary);
  padding: 2px 8px;
  border-radius: 4px;
}

.taml-dash-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.taml-dash-stat {
  background: var(--bg-tertiary);
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.taml-dash-stat .taml-num {
  font-size: 20px;
  font-weight: 800;
}

.taml-dash-stat .taml-lbl {
  font-size: 11px;
  color: var(--text-muted);
}

.taml-dash-cases {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.taml-dash-case {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 8px 12px;
  background: var(--bg-tertiary);
  border-radius: 6px;
}

.taml-p-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.taml-p-pill.taml-approved {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-primary);
}

.taml-p-pill.taml-review {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-warning);
}

.taml-p-pill.taml-filing {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
}

/* ----------------------------------------------------
  TryAlma Visas / Coverage Section
---------------------------------------------------- */
.taml-visas {
  padding: 80px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.taml-visa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.taml-visa-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
}

.taml-visa-card h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.taml-vsub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.taml-visa-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.taml-visa-tag {
  padding: 6px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.taml-visa-tag:hover {
  border-color: var(--accent-primary);
  color: var(--text-primary);
  background: var(--bg-moss-light);
}

.taml-visa-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 24px 40px;
  border-radius: var(--border-radius);
}

.taml-visa-cta .taml-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ----------------------------------------------------
  TryAlma Metrics Section
---------------------------------------------------- */
.taml-metrics {
  padding: 80px 0;
}

.taml-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.taml-metric {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
}

.taml-metric .taml-m-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.taml-metric .taml-num {
  font-size: 48px;
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: 12px;
  line-height: 1;
}

.taml-metric .taml-lbl {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Disclaimers & Fine Print */
.bottpm-disclaimer {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

/* Stats Row */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  padding: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 12px;
}

.stat-val {
  font-size: 28px;
  font-weight: 800;
  font-family: var(--font-heading);
}

/* Dashboard Table / Management */
.db-table-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
}

.db-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

th {
  color: var(--text-muted);
  font-weight: 600;
}

td {
  color: var(--text-secondary);
}

tr:last-child td {
  border-bottom: none;
}

.badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent-warning);
}

.badge-approved {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-success);
}

.action-buttons {
  display: flex;
  gap: 8px;
}

.btn-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-icon:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

.btn-icon.delete:hover {
  background: rgba(239, 68, 68, 0.1);
  color: var(--accent-danger);
  border-color: var(--accent-danger);
}

/* Footer Section */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo-desc {
  max-width: 320px;
}

.footer-logo-desc p {
  color: var(--text-secondary);
  margin-top: 16px;
  font-size: 14px;
}

.footer-links-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

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

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

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--bg-secondary);
  border: 1px solid var(--accent-primary);
  box-shadow: var(--glass-shadow);
  padding: 16px 24px;
  border-radius: var(--border-radius);
  color: var(--text-primary);
  z-index: 2000;
  display: none;
  align-items: center;
  gap: 12px;
  animation: toastIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .taml-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .taml-hero-copy {
    max-width: 100%;
    text-align: center;
  }
  .taml-hero-cta-row {
    justify-content: center;
  }
  .taml-segment-grid, .taml-value-prop, .taml-visa-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .taml-value-prop.taml-reverse {
    direction: ltr;
  }
  .taml-metrics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .taml-hero-copy h1 {
    font-size: 38px;
  }
}

/* ----------------------------------------------------
  Featured Blog & Quill Editor Styles
---------------------------------------------------- */

.featured-blog-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.featured-blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.featured-blog-img-wrapper {
  position: relative;
  height: 380px;
}

.featured-blog-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.featured-blog-card:hover .featured-blog-img-wrapper img {
  transform: scale(1.03);
}

.featured-blog-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-blog-tag {
  align-self: flex-start;
  background: var(--accent-primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-blog-title {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.featured-blog-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Quill Editor Styles Overrides for Dark Mode */
.ql-toolbar.ql-snow {
  background: var(--bg-secondary) !important;
  border-color: var(--border-color) !important;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.ql-container.ql-snow {
  background: var(--bg-tertiary) !important;
  border-color: var(--border-color) !important;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
}

.ql-editor {
  color: var(--text-primary) !important;
  min-height: 200px;
}

.ql-snow .ql-stroke {
  stroke: var(--text-secondary) !important;
}

.ql-snow .ql-fill {
  fill: var(--text-secondary) !important;
}

.ql-snow .ql-picker {
  color: var(--text-secondary) !important;
}

.ql-snow .ql-picker-options {
  background-color: var(--bg-secondary) !important;
  border-color: var(--border-color) !important;
}

/* Share Buttons */
.share-container {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-share-tg {
  background: #229ED9;
  color: #fff;
  border: none;
}

.btn-share-tg:hover {
  background: #1d8cc2;
}

.btn-share-copy {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-share-copy:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive fixes for Featured Post */
@media (max-width: 900px) {
  .featured-blog-card {
    grid-template-columns: 1fr;
  }
  .featured-blog-img-wrapper {
    height: 260px;
  }
  .featured-blog-content {
    padding: 30px;
  }
  .featured-blog-title {
    font-size: 24px;
  }
}

/* ----------------------------------------------------
  Announcement Bar & Visa Types Card Styles
---------------------------------------------------- */
.top-announcement-bar {
  background: #2f5b50; /* TryAlma green */
  color: #fdfbf7; /* TryAlma sand */
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.5;
}

[data-theme="dark"] .top-announcement-bar {
  background: #111827;
  color: #cbd5e1;
  border-bottom: 1px solid var(--border-color);
}

.visa-container-card {
  max-width: 650px;
  margin: 40px auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.visa-card-header {
  background: var(--bg-tertiary);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
}

.visa-card-header h2 {
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-heading);
  margin: 0;
  color: var(--text-primary);
}

.visa-card-header .visa-icon {
  font-size: 24px;
  color: #2f5b50; /* TryAlma green */
}

[data-theme="dark"] .visa-card-header .visa-icon {
  color: #38bdf8;
}

.visa-card-body {
  padding: 16px 24px;
}

.visa-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.visa-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 8px;
  background: var(--bg-primary);
  border: 1px solid transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.visa-item:hover {
  background: var(--bg-secondary);
  border-color: #2f5b50;
  transform: translateX(4px);
}

[data-theme="dark"] .visa-item:hover {
  border-color: #38bdf8;
}

.visa-code {
  background: #2f5b50;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  min-width: 75px;
  text-align: center;
}

[data-theme="dark"] .visa-code {
  background: #38bdf8;
  color: #0b0f19;
}

.visa-desc {
  flex: 1;
  margin-left: 16px;
  color: var(--text-secondary);
  text-align: left;
}

.visa-item:hover .visa-desc {
  color: var(--text-primary);
}

.arrow-icon {
  font-size: 12px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.visa-item:hover .arrow-icon {
  color: #2f5b50;
  transform: translateX(2px);
}

[data-theme="dark"] .visa-item:hover .arrow-icon {
  color: #38bdf8;
}
