@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-dark: #263238;
  --primary: #455a64;
  --primary-light: #546e7a;
  --primary-hover: #37474f;
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-gold-light: #ffd782;
  --accent-gold-subtle: #fffbeb;
  --accent-teal: #00776b;
  --accent-teal-light: #0d9488;
  --accent-teal-subtle: #f0fdfa;
  
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-dark: #1b2428;
  --bg-dark-card: #263238;
  --bg-slate-soft: #f1f5f9;
  
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  --border-color: #e2e8f0;
  --border-focus: #f59e0b;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 14px 35px rgba(38, 50, 56, 0.12);
  --shadow-xl: 0 24px 50px rgba(38, 50, 56, 0.18);
  --shadow-gold: 0 8px 25px rgba(245, 158, 11, 0.35);

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  direction: rtl;
}

body {
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Helpers */
.highlight-gold {
  color: var(--accent-gold);
  position: relative;
  display: inline-block;
}

.highlight-gold::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(245, 158, 11, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 40px;
  line-height: 1.7;
}

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

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.45);
}

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

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(69, 90, 100, 0.3);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-light);
  color: var(--primary-dark);
}

.btn-outline:hover {
  background-color: rgba(69, 90, 100, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.15rem;
}

.btn-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, #1b2428 0%, #263238 50%, #1b2428 100%);
  color: #ffffff;
  padding: 10px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(245, 158, 11, 0.3);
  position: relative;
  z-index: 100;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.announcement-badge {
  background: var(--accent-gold);
  color: #1a2327;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.announcement-text {
  font-weight: 500;
}

.announcement-text strong {
  color: var(--accent-gold-light);
}

.announcement-link {
  color: var(--accent-gold-light);
  font-weight: 700;
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.announcement-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 999;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

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

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(38, 50, 56, 0.12);
  background: #ffffff;
  padding: 2px;
  object-fit: contain;
  flex-shrink: 0;
}

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

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-teal);
  letter-spacing: -0.2px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-body);
  position: relative;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  display: inline-block;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-dark);
  background: rgba(69, 90, 100, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.header-cta-btn {
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  background: #f1f5f9;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 1.4rem;
  color: var(--primary-dark);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  background: #e2e8f0;
}

.mobile-drawer-cta {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 100px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-bg-accent-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(69, 90, 100, 0.08) 0%, rgba(69, 90, 100, 0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 119, 107, 0.1);
  color: var(--accent-teal);
  border: 1px solid rgba(0, 119, 107, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 22px;
}

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

.hero-description {
  font-size: 1.2rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.guarantee-icon {
  color: var(--accent-teal);
  font-size: 1.1rem;
}

/* Hero Phone Mockup */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-frame {
  position: relative;
  width: 320px;
  background: #1e293b;
  border-radius: 46px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25), 0 10px 25px rgba(0, 0, 0, 0.15);
  border: 4px solid #334155;
  transition: transform 0.4s ease;
}

.phone-mockup-frame:hover {
  transform: translateY(-8px) scale(1.01);
}

.phone-notch {
  width: 140px;
  height: 22px;
  background: #0f172a;
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  z-index: 10;
}

.phone-screen {
  border-radius: 36px;
  overflow: hidden;
  background: #ffffff;
  position: relative;
  aspect-ratio: 9 / 19.5;
}

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

/* Floating interactive badges on phone */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
  animation: float 4s ease-in-out infinite;
}

.floating-card-1 {
  top: 15%;
  right: -35px;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 25%;
  left: -40px;
  animation-delay: 2s;
}

.floating-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.f-icon-gold {
  background: var(--accent-gold-subtle);
  color: var(--accent-gold);
}

.f-icon-teal {
  background: var(--accent-teal-subtle);
  color: var(--accent-teal);
}

.floating-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.3;
}

.floating-card-subtitle {
  font-size: 0.76rem;
  color: var(--text-muted);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* ==========================================================================
   Reality / Pain vs Solution Section
   ========================================================================== */
.reality-section {
  padding: 90px 0;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.reality-card {
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: var(--transition);
}

.reality-card.pain {
  background: #fff8f8;
  border: 1px solid #fecaca;
}

.reality-card.solution {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.08);
}

.reality-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.reality-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.pain .reality-card-icon {
  background: #fee2e2;
  color: #ef4444;
}

.solution .reality-card-icon {
  background: #dcfce7;
  color: #10b981;
}

.reality-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-heading);
}

.reality-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reality-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.6;
}

.reality-item-icon {
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.pain .reality-item-icon {
  color: #ef4444;
}

.solution .reality-item-icon {
  color: #10b981;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
  padding: 100px 0;
  background-color: var(--bg-page);
}

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

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 158, 11, 0.4);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(69, 90, 100, 0.1), rgba(69, 90, 100, 0.03));
  border: 1px solid rgba(69, 90, 100, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.05);
}

.feature-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Interactive Showcase / App Tour
   ========================================================================== */
.tour-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #263238 0%, #1a2327 100%);
  color: #ffffff;
}

.tour-section .section-title {
  color: #ffffff;
}

.tour-section .section-subtitle {
  color: #94a3b8;
}

.tour-container-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 50px;
  margin-top: 30px;
}

.tour-tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tour-tab-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.tour-tab-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.tour-tab-item.active {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--accent-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.tour-tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  flex-shrink: 0;
}

.tour-tab-item.active .tour-tab-icon {
  background: var(--accent-gold);
  color: #1a2327;
}

.tour-tab-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.tour-tab-desc {
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.tour-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tour-phone-frame {
  width: 330px;
  background: #0f172a;
  border-radius: 46px;
  padding: 12px;
  border: 4px solid #334155;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}

.tour-screen-inner {
  border-radius: 36px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 19.5;
}

.tour-screen-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* ==========================================================================
   Pricing & Plans Comparison Section
   ========================================================================== */
.pricing-section {
  padding: 110px 0 90px;
  background-color: var(--bg-white);
  position: relative;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: stretch;
  gap: 32px;
  max-width: 1060px;
  margin: 40px auto 70px;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 44px 38px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

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

.pricing-card.free-card {
  background: #fafbfc;
}

.pricing-card.paid-card {
  background: #ffffff;
  border: 2px solid var(--accent-gold);
  box-shadow: var(--shadow-xl);
}

.popular-badge {
  position: absolute;
  top: -16px;
  right: 36px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.pricing-card-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 26px;
  margin-bottom: 26px;
}

.plan-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-tagline {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.plan-price-box {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-dark);
}

.paid-card .plan-price {
  color: var(--accent-gold-hover);
}

.plan-price-period {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.early-gift-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold-subtle);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #92400e;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 14px;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.5;
}

.p-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.p-icon.check {
  background: #dcfce7;
  color: #15803d;
}

.p-icon.pro-star {
  background: var(--accent-gold-subtle);
  color: #b45309;
}

.p-icon.cross {
  background: #fee2e2;
  color: #b91c1c;
}

.feature-title-bold {
  font-weight: 700;
  color: var(--text-heading);
}

.feature-note {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

/* ==========================================================================
   Full Detailed Comparison Table
   ========================================================================== */
.table-wrapper {
  margin-top: 40px;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  min-width: 680px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table thead th {
  background: #f1f5f9;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.comparison-table thead th:first-child {
  width: 48%;
}

.comparison-table thead th.col-paid {
  background: #fef3c7;
  color: #92400e;
  border-left: 2px solid var(--accent-gold);
  border-right: 2px solid var(--accent-gold);
}

.comparison-table tbody tr:hover {
  background: #fafbfc;
}

.comparison-table td.col-paid {
  background: #fffbeb;
  border-left: 2px solid var(--accent-gold);
  border-right: 2px solid var(--accent-gold);
  font-weight: 600;
}

.table-category-row td {
  background: #e2e8f0;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
}

.status-yes {
  color: #15803d;
}

.status-pro {
  color: #b45309;
}

.status-no {
  color: #94a3b8;
}

/* ==========================================================================
   Early Bird Offer Banner (Reserve Now Focus)
   ========================================================================== */
.early-bird-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1e293b 0%, #263238 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.early-bird-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(245, 158, 11, 0.6);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.early-bird-info h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.early-bird-info h2 span {
  color: var(--accent-gold-light);
}

.early-bird-info p {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 24px;
}

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

.early-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
}

.early-perk-item span.icon {
  color: var(--accent-gold);
  font-size: 1.2rem;
}

.countdown-box-wrapper {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.countdown-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-gold-light);
  margin-bottom: 20px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.countdown-unit {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
  display: block;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 4px;
  display: block;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-section {
  padding: 100px 0;
  background-color: var(--bg-page);
}

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

.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 158, 11, 0.3);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.author-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-heading);
}

.author-title {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  background: #ffffff;
}

.faq-item.active {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 22px 26px;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: #ffffff;
  user-select: none;
}

.faq-toggle-icon {
  font-size: 1.3rem;
  color: var(--primary-light);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  color: var(--accent-gold);
}

.faq-answer {
  padding: 0 26px 22px;
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.75;
  display: none;
}

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

/* ==========================================================================
   CTA Section
   ========================================================================== */
.final-cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #263238 0%, #1a2327 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
}

.final-cta-content {
  max-width: 780px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.3;
}

.final-cta-subtitle {
  font-size: 1.18rem;
  color: #cbd5e1;
  margin-bottom: 36px;
  line-height: 1.8;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #11181c;
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.1fr 1.35fr;
  gap: 36px;
  margin-bottom: 50px;
}

.footer-brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

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

.footer-link {
  font-size: 0.92rem;
  color: #94a3b8;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent-gold-light);
  transform: translateX(-4px);
}

/* Col 4: Support & Contact Dedicated Styling */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: #94a3b8;
  transition: var(--transition);
}

.footer-contact-item:hover {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-contact-item.highlight {
  border-color: rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.04);
}

.footer-contact-item.whatsapp-item:hover {
  border-color: rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.06);
}

.footer-contact-icon {
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.footer-contact-item:hover .footer-contact-icon {
  background: rgba(245, 158, 11, 0.2);
}

.footer-contact-item.whatsapp-item:hover .footer-contact-icon {
  background: rgba(37, 211, 102, 0.2);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  overflow: hidden;
}

.footer-contact-label {
  font-size: 0.76rem;
  color: #cbd5e1;
  font-weight: 600;
  line-height: 1.3;
}

.footer-contact-value {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.3;
  direction: ltr;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  unicode-bidi: isolate;
}

.footer-contact-item:hover .footer-contact-value {
  color: var(--accent-gold-light);
}

.footer-contact-item.whatsapp-item:hover .footer-contact-value {
  color: #4ade80;
}

.footer-contact-cta {
  margin-top: 14px;
}

.footer-contact-cta .btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.88rem;
}

.footer-copy strong {
  color: #ffffff;
}

/* ==========================================================================
   Modal: Reserve Now Popup
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 40px;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

.modal-header {
  text-align: center;
  margin-bottom: 26px;
}

.modal-gift-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--accent-gold-subtle);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
  color: var(--accent-gold);
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-perk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dcfce7;
  color: #15803d;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 10px;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.form-input, .form-select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  background: #ffffff;
  color: var(--text-heading);
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Success state in modal */
.modal-success-state {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.success-check-icon {
  width: 72px;
  height: 72px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 20px;
}

.success-code-box {
  background: #f8fafc;
  border: 1px dashed var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 20px 0;
}

.success-code-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.success-code-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 1px;
}

/* Floating Action Button for reservation */
.floating-reserve-btn {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 90;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  animation: pulse-fab 3s infinite;
}

@keyframes pulse-fab {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); box-shadow: 0 10px 30px rgba(245, 158, 11, 0.5); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas, .hero-guarantee {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tour-container-grid {
    grid-template-columns: 1fr;
  }
  
  .tour-mockup-wrapper {
    order: -1;
  }
  
  .pricing-cards-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
  }
  
  .early-bird-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .early-perks-list {
    align-items: center;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Table Mobile Hint */
.mobile-table-hint {
  display: none;
  background: rgba(245, 158, 11, 0.12);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  color: #b45309;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  margin: 16px auto;
  max-width: 320px;
}

/* Desktop Nav Tweaks for intermediate screens (1041px - 1240px) */
@media (min-width: 1041px) and (max-width: 1240px) {
  .header-container {
    gap: 12px;
  }
  .nav-menu {
    gap: 10px;
  }
  .nav-link {
    font-size: 0.86rem;
    padding: 6px 8px;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .btn-web-portal {
    padding: 6px 12px;
    font-size: 0.82rem;
  }
  .header-cta-btn {
    padding: 6px 14px;
    font-size: 0.82rem;
  }
}

/* Collapse into Offcanvas Drawer at 1040px */
@media (max-width: 1040px) {
  .site-header {
    height: auto;
  }

  .header-container {
    height: 70px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand-title {
    font-size: 1.15rem;
  }

  .brand-tagline {
    font-size: 0.7rem;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 82%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background: #ffffff;
    flex-direction: column;
    padding: 24px 20px;
    gap: 12px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    align-items: stretch;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.96rem;
    border-radius: var(--radius-md);
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-cta-btn {
    display: none;
  }

  .mobile-drawer-cta {
    display: block;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
  }

  .btn-web-portal {
    padding: 7px 14px;
    font-size: 0.84rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 36px 0 60px;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.3;
  }

  .hero-description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-guarantee {
    justify-content: center;
    gap: 12px;
    font-size: 0.82rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  .comparison-box-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .reality-card {
    padding: 24px 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-card {
    padding: 24px 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .floating-card {
    padding: 8px 12px;
    max-width: 210px;
  }

  .floating-card-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .floating-card-title {
    font-size: 0.78rem;
  }

  .floating-card-subtitle {
    font-size: 0.68rem;
  }

  .floating-card-1 {
    right: -4px;
    top: 8%;
  }
  
  .floating-card-2 {
    left: -4px;
    bottom: 12%;
  }
  
  .phone-mockup-frame {
    width: 270px;
    margin: 0 auto;
    border-radius: 38px;
    padding: 10px;
  }

  .phone-screen {
    border-radius: 30px;
  }

  .tour-phone-frame {
    width: 260px;
    border-radius: 38px;
    padding: 10px;
    margin: 20px auto 0;
  }

  .tour-screen-inner {
    border-radius: 30px;
  }

  .tour-tab-item {
    padding: 14px 16px;
    gap: 12px;
  }

  .tour-tab-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .tour-tab-title {
    font-size: 1rem;
  }

  .tour-tab-desc {
    font-size: 0.84rem;
  }

  .pricing-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 30px auto 50px;
  }

  .pricing-card {
    padding: 30px 20px;
    border-radius: var(--radius-lg);
  }

  .popular-badge {
    top: -14px;
    right: 20px;
    font-size: 0.78rem;
    padding: 4px 14px;
  }

  .plan-price {
    font-size: 2.1rem;
  }

  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
    margin-top: 14px;
  }

  .mobile-table-hint {
    display: block;
  }

  .early-bird-card {
    padding: 30px 20px;
    gap: 28px;
  }

  .early-bird-info h2 {
    font-size: 1.7rem;
  }

  .early-bird-info p {
    font-size: 0.95rem;
  }

  .countdown-box-wrapper {
    padding: 20px 14px;
  }
  
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .countdown-number {
    font-size: 1.5rem;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .faq-question {
    padding: 18px 20px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 20px 18px;
    font-size: 0.92rem;
  }

  .final-cta-section {
    padding: 60px 0;
  }

  .final-cta-title {
    font-size: 1.85rem;
  }

  .final-cta-subtitle {
    font-size: 1.02rem;
    margin-bottom: 26px;
  }

  /* Modal on mobile */
  .modal-card {
    padding: 26px 18px;
    max-height: 92vh;
    border-radius: var(--radius-lg);
    width: 95%;
  }

  .modal-title {
    font-size: 1.35rem;
  }

  .form-input, .form-select {
    font-size: 16px !important; /* Prevents iOS Safari unwanted zoom */
    padding: 12px 14px;
  }

  .floating-reserve-btn {
    bottom: 14px;
    left: 14px;
    padding: 10px 18px;
    font-size: 0.86rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-title {
    font-size: 1.08rem;
  }

  .brand-tagline {
    display: none; /* Hide tagline on ultra-compact headers to keep header single line */
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .btn-lg {
    padding: 14px 22px;
    font-size: 1rem;
  }

  .announcement-bar {
    font-size: 0.8rem;
    padding: 8px 10px;
  }

  .announcement-content {
    gap: 8px;
  }
}


/* ==========================================================================
   Pillars Section with Official Onboarding Illustrations
   ========================================================================== */
.pillars-section {
  padding: 90px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.pillar-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 158, 11, 0.4);
  background: #ffffff;
}

.pillar-img-box {
  width: 100%;
  max-width: 240px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.pillar-img-box img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-img-box img {
  transform: scale(1.05);
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 40px auto 0;
  }
}


/* ==========================================================================
   Form Submission Alerts & Loading Spinner
   ========================================================================== */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  animation: fadeIn 0.3s ease;
}

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

.form-alert-danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.form-alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}


/* ==========================================================================
   Web UI Portal Buttons & Links
   ========================================================================== */
.btn-web-portal {
  background: rgba(69, 90, 100, 0.06);
  border: 1.5px solid var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
}

.btn-web-portal:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(38, 50, 56, 0.22);
}

.web-portal-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 119, 107, 0.08);
  border: 1px solid rgba(0, 119, 107, 0.3);
  color: var(--accent-teal);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  margin-top: 8px;
  transition: var(--transition);
  text-decoration: none;
}

.web-portal-pill-link:hover {
  background: var(--accent-teal);
  color: #ffffff;
  border-color: var(--accent-teal);
  transform: translateX(-4px);
  box-shadow: 0 4px 12px rgba(0, 119, 107, 0.25);
}
