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

:root {
  --brand-navy: #1E2A38;
  --brand-navy-deep: #1B2438;
  --brand-blue: #0078D4;
  --brand-blue-hover: #0063b1;
  --brand-sky: #e8f4fd;
  --brand-light: #F9F9F9;
  --brand-muted: #7A7985;
  --brand-success: #107c41;
  --brand-warning: #d97706;
  --text-main: #1E2A38;
  --text-muted: #5a6577;
  --bg-page: #F9F9F9;
  --bg-card: #ffffff;
  --border-color: #e2e6ea;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-sm: 0 2px 10px rgba(27, 36, 56, 0.06);
  --shadow-md: 0 12px 32px rgba(27, 36, 56, 0.1);
  --shadow-lg: 0 20px 48px rgba(0, 120, 212, 0.18);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
}

body {
  line-height: 1.65;
  overflow-x: hidden;
  background: var(--bg-page);
}

h1, h2, h3, h4, h5, h6, .amount-badge, .cta-btn {
  font-family: 'Montserrat', sans-serif;
}

/* Top Bar */
.top-bar {
  background: var(--brand-navy-deep);
  color: #d8dee9;
  font-size: 0.81rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.reg-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.reg-pill {
  background: rgba(0, 120, 212, 0.32);
  border: 1px solid rgba(0, 120, 212, 0.55);
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.74rem;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-btn {
  background: var(--brand-blue);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.2s;
}

.lang-btn:hover {
  background: var(--brand-blue-hover);
}

/* Header & Prominent Single-Piece Registered Logo */
.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 4px 0;
}

.brand-logo img {
  height: 78px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  text-decoration: none;
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 0.93rem;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--brand-blue);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-blue);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.94rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 120, 212, 0.28);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
}

.cta-btn:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 120, 212, 0.38);
}

.cta-btn-lg {
  padding: 16px 32px;
  font-size: 1.04rem;
  border-radius: 12px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--brand-navy-deep) 0%, var(--brand-navy) 65%, #163a5f 100%);
  color: #fff;
  padding: 60px 0 68px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 120, 212, 0.25);
  border: 1px solid rgba(0, 120, 212, 0.55);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 18px;
  color: #fff;
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero h1 span {
  color: #38a8ff;
}

.hero p {
  font-size: 1.08rem;
  color: #e2e8f0;
  margin-bottom: 24px;
  max-width: 610px;
}

.hero-QuickCheck {
  background: #ffffff;
  color: var(--text-main);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.disruption-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.disruption-pill {
  padding: 10px 12px;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  background: var(--brand-light);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--brand-navy);
  cursor: pointer;
  text-align: center;
  transition: all 0.18s;
}

.disruption-pill.active {
  border-color: var(--brand-blue);
  background: var(--brand-sky);
  color: var(--brand-blue);
}

.quick-check-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  color: var(--brand-navy);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.94rem;
  font-family: 'Open Sans', sans-serif;
  color: var(--text-main);
  background: var(--brand-light);
  transition: border-color 0.2s, background 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 16px;
  border-radius: 12px;
}

.stat-box strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  color: #38a8ff;
}

.stat-box span {
  font-size: 0.81rem;
  color: #d8dee9;
}

/* Tazminat Hesaplayıcı Card */
.calc-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(0, 120, 212, 0.3);
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.calc-header h3 {
  font-size: 1.22rem;
  color: var(--brand-navy);
  letter-spacing: 0.01em;
}

.amount-badge {
  background: var(--brand-blue);
  color: #fff;
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 1.65rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 120, 212, 0.3);
}

.slider-wrap {
  margin: 20px 0;
}

.distance-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7cc4fa 0%, #0078D4 60%, #1E2A38 100%);
  outline: none;
  cursor: pointer;
}

.distance-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--brand-blue);
  box-shadow: 0 4px 12px rgba(30, 42, 56, 0.28);
  cursor: grab;
  transition: transform 0.15s ease;
}

.distance-slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

.tier-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.tier-pill {
  padding: 10px 8px;
  border-radius: 10px;
  border: 1.5px solid var(--border-color);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--brand-light);
}

.tier-pill.active {
  border-color: var(--brand-blue);
  background: var(--brand-sky);
  transform: translateY(-2px);
}

.tier-pill strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  color: var(--brand-blue);
}

.tier-pill small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Section Layout */
.section {
  padding: 68px 0;
}

.section-alt {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}

.section-tag {
  display: inline-block;
  background: var(--brand-sky);
  color: var(--brand-blue);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-header h2 {
  font-size: 2.05rem;
  color: var(--brand-navy);
  margin-bottom: 12px;
  font-weight: 800;
}

/* 4-Step Process Cards */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.12rem;
  color: var(--brand-navy);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.91rem;
  color: var(--text-muted);
}

/* Integrated Feature Banner Cards */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 40px;
}

.feature-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.feature-visual img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* Claim Form & Boarding Pass Layout */
.claim-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
}

.card-panel {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.boarding-scanner {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  align-items: center;
  background: var(--brand-sky);
  border: 2px dashed var(--brand-blue);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 26px;
}

.boarding-scanner-thumb {
  width: 130px;
  height: 115px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.scanner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.btn-outline {
  background: #fff;
  color: var(--brand-blue);
  border: 1.5px solid var(--brand-blue);
  padding: 9px 16px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  background: var(--brand-blue);
  color: #fff;
}

.alert-box {
  padding: 14px 18px;
  border-radius: 10px;
  margin-top: 14px;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}

.alert-success {
  background: #e6f4ea;
  color: #137333;
  border: 1px solid #a8dab5;
  display: block;
}

.alert-warning {
  background: #fef7e0;
  color: #b06000;
  border: 1px solid #fde293;
  display: block;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.sig-pad-wrap {
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  background: var(--brand-light);
  padding: 12px;
  margin-top: 8px;
}

#sigCanvas {
  width: 100%;
  height: 120px;
  background: #fff;
  border: 1px dashed var(--brand-muted);
  border-radius: 8px;
  cursor: crosshair;
}

/* Live Disrupted Flights Table */
.live-feed-box {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(0, 120, 212, 0.2);
  margin-right: 6px;
}

.flight-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
  gap: 10px;
}

.flight-item:last-child {
  border-bottom: none;
}

.flight-tag {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--brand-sky);
  color: var(--brand-blue);
}

/* Success Stories & SEO Articles Grid */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.articles-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.story-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.story-amount {
  background: var(--brand-sky);
  color: var(--brand-blue);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* 50+ Airlines & Airports SEO Directory */
.seo-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.seo-link-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.18s;
  cursor: pointer;
}

.seo-link-card:hover {
  border-color: var(--brand-blue);
  background: var(--brand-sky);
  color: var(--brand-blue);
  transform: translateY(-2px);
}

.iata-badge {
  background: var(--brand-navy);
  color: #fff;
  font-size: 0.74rem;
  padding: 2px 7px;
  border-radius: 5px;
  font-family: monospace;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27, 36, 56, 0.75);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: #fff;
  max-width: 540px;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--brand-light);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: var(--brand-navy-deep);
  color: #cbd5e1;
  padding: 56px 0 32px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 1180px;
  margin: 0 auto;
  background: var(--brand-navy-deep);
  color: #fff;
  border: 1.5px solid rgba(0, 120, 212, 0.55);
  border-radius: 16px;
  padding: 20px 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  z-index: 950;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-prefs-panel {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.cookie-prefs-panel.open {
  display: grid;
}

/* Compact Floating Help & Support WhatsApp Button (@aeromediator) */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--brand-navy);
  border: 1.5px solid rgba(37, 211, 102, 0.75);
  color: #fff !important;
  text-decoration: none;
  padding: 9px 15px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(27, 36, 56, 0.25);
  z-index: 900;
  transition: transform 0.2s ease, background 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-2px);
  background: #128C7E;
}

.wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  display: inline-block;
}

/* FAQ Accordion */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 18px 22px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--brand-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question:hover {
  color: var(--brand-blue);
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
  display: none;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Rights Subpages Hub & Tabs */
.rights-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.rights-tab-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border-color);
  background: #fff;
  color: var(--brand-navy);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.rights-tab-btn.active,
.rights-tab-btn:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}

@media (max-width: 960px) {
  .hero-grid,
  .claim-layout,
  .steps-grid,
  .feature-split,
  .stories-grid,
  .articles-grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .quick-check-row,
  .boarding-scanner {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
  }
}
