/* ============================================================
   SkyDeal – Global Styles
   ============================================================ */

   :root {
    --bg-base: #020c1b;
    --bg-surface: #05162e;
    --bg-card: #081e3d;
    --bg-card-hover: #0c2a52;
    --accent-1: #0096ff; /* More vibrant Ocean Blue */
    --accent-2: #00e5ff; /* More vibrant Bright Teal */
    --accent-3: #4adeff; /* More vibrant Sky Aqua */
    --gradient: linear-gradient(135deg, #0077be, #00e5ff);
    --gradient-alt: linear-gradient(135deg, #00b4d8, #0096ff);
    --text-primary: #f0f4ff;
    --text-secondary: #8b95b0;
    --text-muted: #505a72;
    --border: rgba(91, 110, 245, 0.15);
    --border-hover: rgba(91, 110, 245, 0.4);
    --glass: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.08);
    --safe-1: #10b981; /* Calming emerald green for L1 */
    --safe-2: #3b82f6; /* Trustworthy blue for L2 */
    --safe-3: #eab308; /* Sunny yellow for L3 (instead of scary orange) */
    --safe-4: #ef4444; /* Red for L4 */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow: 0 4px 40px rgba(0,0,0,0.4);
    --shadow-color: 0 8px 32px rgba(91,110,245,0.2);
    --font-main: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
  }
  
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  
  html { scroll-behavior: smooth; }
  
  body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }
  
  /* ============================================================
     TYPOGRAPHY & UTILITIES
     ============================================================ */
  h1,h2,h3,h4 { font-family: var(--font-main); }
  
  .gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 60px;
  }
  
  .section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.15;
  }
  
  .section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto;
  }
  
  .section-badge {
    display: inline-block;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--accent-1);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 18px;
    backdrop-filter: blur(10px);
  }
  
  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 100px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(91,110,245,0.35);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(91,110,245,0.5);
  }
  
  .btn-primary-sm {
    display: inline-flex;
    align-items: center;
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 100px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  .btn-primary-sm:hover { transform: translateY(-1px); }
  
  /* ============================================================
     NAVBAR
     ============================================================ */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
  }
  
  .navbar.scrolled {
    background: rgba(8,12,20,0.92);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
  }
  
  .nav-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
  }
  
  .logo-icon { font-size: 1.3rem; }
  .logo-accent { color: var(--accent-1); }
  
  .nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
  }
  
  .nav-links a:hover { color: var(--text-primary); }
  
  .btn-nav-cta {
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 100px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(91,110,245,0.3);
  }
  
  .btn-nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(91,110,245,0.5); }
  
  /* ============================================================
     HERO
     ============================================================ */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: 
      linear-gradient(rgba(2, 20, 40, 0.7), rgba(4, 30, 60, 0.9)),
      url('blue_tang_ocean_bg_1773361638684.png') center/cover no-repeat;
  }
  
  .hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="g" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="1" cy="1" r="0.5" fill="rgba(91,110,245,0.08)"/></pattern></defs><rect fill="url(%23g)" width="100" height="100"/></svg>');
    pointer-events: none;
  }
  
  .hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    padding: 120px 24px 60px;
  }
  
  .hero-badge {
    display: inline-block;
    background: rgba(91,110,245,0.12);
    border: 1px solid rgba(91,110,245,0.3);
    color: #a5b4fc;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 8px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
  }
  
  .hero-title {
    font-family: var(--font-main);
    font-size: clamp(3.2rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--text-primary);
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 400;
  }
  
  .hero-search {
    margin-bottom: 48px;
  }
  
  .search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 100px;
    padding: 8px 8px 8px 20px;
    max-width: 600px;
    margin: 0 auto 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  
  .search-box:focus-within {
    border-color: rgba(91,110,245,0.5);
    box-shadow: 0 0 0 3px rgba(91,110,245,0.12);
  }
  
  .search-icon { font-size: 1.1rem; margin-right: 8px; flex-shrink: 0; }
  
  .search-box input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
  }
  
  .search-box input::placeholder { color: var(--text-muted); }
  
  .search-btn {
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 12px 26px;
    border-radius: 100px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
  }
  
  .search-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(91,110,245,0.4); }

  .search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    z-index: 100;
    overflow: hidden;
    display: none;
    flex-direction: column;
    text-align: left;
  }
  
  .search-dropdown.active {
    display: flex;
  }
  
  .search-dropdown-item {
    padding: 12px 20px;
    color: var(--text-primary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .search-dropdown-item:hover {
    background: rgba(91,110,245,0.15);
  }

  .sdi-icon {
    font-size: 1.1rem;
    opacity: 0.8;
  }
  
  .search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  
  .tag {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    backdrop-filter: blur(8px);
  }
  
  .tag:hover {
    background: rgba(91,110,245,0.15);
    border-color: rgba(91,110,245,0.4);
    color: var(--text-primary);
    transform: translateY(-2px);
  }
  
  .hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }
  
  .stat { text-align: center; }
  .stat-num { display: block; font-family: var(--font-main); font-size: 1.8rem; font-weight: 800; color: var(--text-primary); }
  .stat-label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
  .stat-divider { width: 1px; height: 40px; background: var(--border); }
  
  .hero-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    z-index: 2;
  }
  
  .scroll-arrow {
    width: 18px;
    height: 18px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: bounceDown 1.5s ease infinite;
  }
  
  @keyframes bounceDown {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(4px); }
  }
  
  /* Sticky Banner */
  .sticky-upgrade-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #ea580c, #f97316);
    color: white;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 -10px 40px rgba(234,88,12,0.3);
  }

  .sticky-upgrade-banner.visible {
    transform: translateY(0);
  }

  .sub-left { display: flex; align-items: center; gap: 24px; }
  .sub-icon { font-size: 2.4rem; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2)); }
  .sub-text h4 { font-size: 1.4rem; font-weight: 800; margin-bottom: 4px; }
  .sub-text ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: x 12px; font-size: 0.85rem; font-weight: 500;}
  .sub-text li { display: flex; align-items: center; gap: 6px; }
  .sub-text li::before { content: '✓'; color: #fff; background: rgba(0,0,0,0.2); width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.6rem; }

  .sub-right button {
    background: var(--bg-card);
    color: #ea580c;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s;
  }
  .sub-right button:hover { transform: translateY(-2px); }
  .sub-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 4px;
  }
  
  /* ============================================================
     NOTIFICATIONS & TOASTS
     ============================================================ */
  /* ============================================================
     HOW IT WORKS
     ============================================================ */
  .hiw-section {
    padding: 100px 0;
    position: relative;
  }
  
  .hiw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .hiw-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
  }
  
  .hiw-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.35s;
  }
  
  .hiw-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-color);
  }
  
  .hiw-card:hover::before { opacity: 1; }
  
  .hiw-num {
    font-family: var(--font-main);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(91,110,245,0.1);
    line-height: 1;
    margin-bottom: 16px;
    position: absolute;
    top: 20px; right: 24px;
  }
  
  .hiw-icon { font-size: 2.5rem; margin-bottom: 20px; }
  
  .hiw-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
  }
  
  .hiw-card p { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }
  
  /* ============================================================
     DEALS
     ============================================================ */
  .deals-section {
    padding: 100px 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(91,110,245,0.05) 0%, transparent 70%);
  }
  
  /* pill filters kept for legacy; hidden on desktop */
  .deals-filter { display: none; }
  
  /* Desktop deals layout: sidebar + grid */
  .deals-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
  }

  .deals-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 88px;
  }

  .deals-sidebar-title {
    font-family: var(--font-main);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 14px;
  }

  .sidebar-filter-group {
    margin-bottom: 24px;
  }

  .sidebar-filter-group h4 {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
  }

  .sidebar-filter-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    font-family: var(--font-body);
  }

  .sidebar-filter-btn:hover {
    background: var(--glass);
    color: var(--text-primary);
  }

  .sidebar-filter-btn.active {
    background: rgba(91,110,245,0.12);
    color: var(--text-primary);
  }

  .sidebar-filter-btn .sfb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .sfb-dot.l1 { background: var(--safe-1); box-shadow: 0 0 5px var(--safe-1); }
  .sfb-dot.l2 { background: var(--safe-2); box-shadow: 0 0 5px var(--safe-2); }
  .sfb-dot.l3 { background: var(--safe-3); box-shadow: 0 0 5px var(--safe-3); }
  .sfb-dot.l4 { background: var(--safe-4); box-shadow: 0 0 5px var(--safe-4); }



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

  .deals-count {
    font-size: 0.85rem;
    color: var(--text-muted);
  }

  .deals-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
  }

  .deals-sort select {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    padding: 6px 10px;
    font-size: 0.82rem;
    outline: none;
    cursor: pointer;
    font-family: var(--font-body);
  }

  .deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
  }
  
  .deal-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    display: flex;
    flex-direction: column;
  }
  
  .deal-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-color);
  }
  
  .deal-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-card-hover));
  }
  
  .deal-card-img .dest-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
  }

  .deal-card:hover .dest-photo {
    transform: scale(1.06);
  }

  /* Blur + desaturate photo on premium locked cards */
  .premium-locked .dest-photo {
    filter: blur(10px) grayscale(60%) brightness(0.6);
    transform: scale(1.08); /* slight zoom so blur edges don't show */
  }

  /* Lock icon centered over the image */
  .premium-locked .deal-card-img::after {
    content: '🔒';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.6rem;
    z-index: 6;
    pointer-events: none;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6));
  }
  
  .deal-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,12,20,0.9) 0%, transparent 60%);
  }
  
  .deal-safety-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
  }
  
  .deal-safety-badge.level-1 { background: rgba(16,185,129,0.2); color: #34d399; }
  .deal-safety-badge.level-2 { background: rgba(59,130,246,0.2); color: #93c5fd; }
  .deal-safety-badge.level-3 { background: rgba(234,179,8,0.2); color: #fde047; }
  .deal-safety-badge.level-4 { background: rgba(239,68,68,0.2); color: #fca5a5; }
  
  .deal-hot-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: white;
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
  }
  
  /* ============================================================
     BUBBLES ANIMATION
     ============================================================ */
  .bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
  }

  .bubble {
    position: absolute;
    bottom: -50px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.4);
    animation: floatUp var(--duration) ease-in infinite, wobble 2s ease-in-out infinite;
    opacity: 0;
  }

  @keyframes wobble {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1, 0.9); }
  }

  @keyframes floatUp {
    0% {
      transform: translateY(0) translateX(0) scale(0.5);
      opacity: 0;
    }
    10% {
      opacity: 0.4;
    }
    50% {
      transform: translateY(-50vh) translateX(var(--drift)) scale(1.1);
      opacity: 0.6;
    }
    75% {
      transform: translateY(-75vh) translateX(calc(var(--drift) * -0.5)) scale(1.2);
    }
    90% {
      opacity: 0.2;
    }
    100% {
      transform: translateY(-110vh) translateX(calc(var(--drift) * 2)) scale(1.5);
      opacity: 0;
    }
  }

  .bubble-sway {
    animation: sway 3s ease-in-out infinite alternate;
  }

  @keyframes sway {
    0% { transform: translateX(-5px); }
    100% { transform: translateX(5px); }
  }

  /* Separate Login/Signup Buttons */
  .auth-nav-group {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .btn-login {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
  }

  .btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-1);
    transform: translateY(-1px);
  }

  .btn-signup {
    background: var(--gradient);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 100px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(0, 150, 255, 0.3);
  }

  .btn-signup:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 150, 255, 0.5);
  }

  .deal-availability-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .avail-good { background: rgba(34,197,94,0.2); color: #86efac; border: 1px solid rgba(34,197,94,0.3); }
  .avail-expiring { background: rgba(234,179,8,0.2); color: #fde047; border: 1px solid rgba(234,179,8,0.3); }

  .premium-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    padding: 26px 40px 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: rotate(45deg) translate(28%, -50%);
    box-shadow: 0 4px 12px rgba(234,88,12,0.4);
    z-index: 10;
  }

  .elite-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #a855f7 0%, #7e22ce 100%);
    color: white;
    padding: 26px 40px 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: rotate(45deg) translate(28%, -50%);
    box-shadow: 0 4px 12px rgba(126,34,206,0.4);
    z-index: 10;
  }

  .mistake-tag {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: #ef4444;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    z-index: 5;
    animation: pulseMistake 2s infinite;
  }

  @keyframes pulseMistake {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
  }

  .deal-tag.mistake {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
  }
  
  .deal-card-body {
    padding: 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative; /* For blur layer */
  }

  .deal-card-blur-layer {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(15, 17, 26, 0.4);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    text-align: center;
    padding: 20px;
    transition: opacity 0.3s ease;
  }

  .premium-locked .deal-card-blur-layer {
    opacity: 1;
    pointer-events: auto;
    border-top: 1px solid rgba(255,255,255,0.05); /* clean boundary */
  }

  .elite-lock {
    background: rgba(7, 8, 15, 0.6) !important;
    backdrop-filter: blur(20px) !important;
  }

  .elite-lock h3 {
    color: #c084fc;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
  }

  .premium-locked .deal-card-content {
    filter: blur(6px) grayscale(50%);
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
  }
  
  .deal-route {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.03em;
  }
  
  .deal-route-arrow { color: var(--accent-1); }
  
  .deal-dest {
    font-family: var(--font-main);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
  }
  
  .deal-country { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 16px; }
  
  .deal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
  }
  
  .deal-tag {
    background: rgba(91,110,245,0.1);
    border: 1px solid rgba(91,110,245,0.2);
    color: #a5b4fc;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
  }
  
  .deal-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
  

  .deal-price-label { font-size: 0.75rem; color: var(--text-muted); }
  .deal-price {
    font-family: var(--font-main);
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
  }
  .deal-price-orig {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: line-through;
  }
  
  .deal-cta-btn {
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    font-family: var(--font-main);
    white-space: nowrap;
  }
  
  .deal-cta-btn:hover {
    background: var(--gradient);
    border-color: transparent;
  }
  
  .deals-cta {
    text-align: center;
  }
  
  .deals-cta p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 1.05rem;
  }
  
  /* ============================================================
     SAFETY SECTION
     ============================================================ */
  .safety-section {
    padding: 100px 0;
    background: var(--bg-surface);
  }
  
  /* ============================================================
     AI TRIP RECOMMENDER
     ============================================================ */
  .ai-recommender-section {
    padding: 20px 0 80px;
  }
  
  .ai-box {
    background: linear-gradient(135deg, rgba(91, 110, 245, 0.08) 0%, rgba(30, 31, 46, 0.4) 100%);
    border: 1px solid rgba(91, 110, 245, 0.3);
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
  }
  
  .ai-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(91,110,245,0.1) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
  }
  
  .ai-badge {
    display: inline-block;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    padding: 6px 14px;
    border-radius: 100px;
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
  }
  
  .ai-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  
  .ai-text h2 {
    font-size: 2.4rem;
    margin-bottom: 16px;
  }
  
  .ai-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
  }
  
  .ai-interaction {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .ai-interaction textarea {
    width: 100%;
    background: rgba(14, 16, 25, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    resize: vertical;
    min-height: 100px;
    outline: none;
    transition: all 0.25s;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
  }
  
  .ai-interaction textarea:focus {
    border-color: rgba(91, 110, 245, 0.5);
    background: rgba(14, 16, 25, 0.8);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2), 0 0 0 2px rgba(91,110,245,0.1);
  }
  
  .ai-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px;
    color: var(--text-primary);
    font-weight: 500;
  }
  
  .spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(91, 110, 245, 0.3);
    border-top-color: var(--accent-1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin { 100% { transform: rotate(360deg); } }
  
  .ai-results-area {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 1;
  }
  
  .ai-output.deals-grid {
    margin-bottom: 0;
    grid-template-columns: repeat(2, 1fr);
  }
  
  @media (max-width: 900px) {
    .ai-content { grid-template-columns: 1fr; gap: 24px; }
    .ai-output.deals-grid { grid-template-columns: 1fr; }
  }

  /* Safety section: side-by-side legend + grid */
  .safety-inner {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
  }

  .safety-panel {
    position: sticky;
    top: 88px;
  }

  .safety-panel-title {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
  }

  .safety-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px;
  }

  .safety-tab {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 7px 6px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-body);
    text-align: center;
  }

  .safety-tab.active {
    background: rgba(91,110,245,0.15);
    color: var(--text-primary);
  }

  /* ============================================================
     NEW FEATURES (Ticker, Map, Price Drop, Modal Weather & Cards)
     ============================================================ */

  /* Top Promo Banner */
  .top-promo-banner {
    background: linear-gradient(90deg, #6d28d9, #9333ea); /* Vibrant Abyssal Purple */
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    position: relative;
    z-index: 1002;
  }
  .promo-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
  }
  .promo-link {
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.2s;
    border: 1px solid rgba(255,255,255,0.3);
  }
  .promo-link:hover {
    background: white;
    color: #6d28d9;
    transform: translateY(-1px);
  }

  /* Live Ticker */
  .live-ticker {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 1001; /* Above navbar if needed */
    padding: 8px 0;
  }
  .ticker-wrap { display: flex; width: max-content; }
  .ticker-content {
    display: flex;
    gap: 40px;
    padding-left: 40px;
    animation: tickerLoop 30s linear infinite;
  }
  .ticker-content span { display: inline-block; }
  @keyframes tickerLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  /* Deals Map Toggle & Overlay */
  .deals-view-toggle {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }
  .view-toggle-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s;
  }
  .view-toggle-btn.active {
    background: rgba(91,110,245,0.15);
    color: var(--text-primary);
  }

  .deals-map-wrapper {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
  }
  .deals-map-lock-overlay {
    position: absolute;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 17, 26, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
  }
  .map-lock-content h3 { font-size: 1.4rem; margin-bottom: 10px; }
  .map-lock-content p { color: var(--text-muted); margin-bottom: 20px; font-size: 0.9rem; }

  /* Leaflet Dark Mode Resets */
  .leaflet-container { background: var(--bg-surface) !important; font-family: var(--font-body); }
  .leaflet-popup-content-wrapper { background: var(--bg-card) !important; color: white !important; border: 1px solid var(--border); box-shadow: 0 4px 16px rgba(0,0,0,0.4); border-radius: var(--radius-sm) !important; }
  .leaflet-popup-tip { background: var(--bg-card) !important; border: 1px solid var(--border); border-top:none; border-left:none;}
  .leaflet-popup-content h4 { margin: 0 0 5px; font-family: var(--font-main); }
  .leaflet-popup-content p { margin: 0; font-size: 0.8rem; color: var(--accent-1); font-weight: 800; }

  /* Price Drop Animation */
  .price-drop-anim {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #10b981;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 100px;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: pulseDrop 2s infinite;
    z-index: 11;
  }
  @keyframes pulseDrop {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
  }

  /* Modal Additions (Weather, Affiliate, Image Cards) */
  .modal-weather {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.06);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    border: 1px solid var(--border);
  }
  .weather-temp { font-size: 1.4rem; font-weight: 800; }
  .weather-desc { font-size: 0.85rem; color: var(--text-muted); }

  .affiliate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s;
  }
  .affiliate-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4); color: white; }

  .things-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
  }
  .thing-card {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 100px;
    display: flex;
    align-items: flex-end;
  }
  .thing-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
  }
  .thing-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,12,20,0.9) 0%, transparent 80%);
    z-index: 2;
  }
  .thing-text {
    position: relative;
    z-index: 3;
    padding: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
    width: 100%;
  }

  .safety-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
  
  .legend-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    transition: transform 0.25s;
  }
  
  .legend-item:hover { transform: translateY(-2px); }
  
  .legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 3px;
  }
  
  .legend-item.level-1 .legend-dot { background: var(--safe-1); box-shadow: 0 0 8px var(--safe-1); }
  .legend-item.level-2 .legend-dot { background: var(--safe-2); box-shadow: 0 0 8px var(--safe-2); }
  .legend-item.level-3 .legend-dot { background: var(--safe-3); box-shadow: 0 0 8px var(--safe-3); }
  .legend-item.level-4 .legend-dot { background: var(--safe-4); box-shadow: 0 0 8px var(--safe-4); }
  
  .legend-item strong { font-size: 0.9rem; color: var(--text-primary); font-family: var(--font-main); }
  .legend-item p { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
  


  .safety-right-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
  }

  .safety-right-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
  }

  .safety-search {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
    width: 200px;
    font-family: var(--font-body);
    transition: border-color 0.25s;
  }

  .safety-search:focus { border-color: rgba(91,110,245,0.5); }

  .safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
  }
  
  .safety-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.25s;
  }
  
  .safety-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    background: var(--bg-card-hover);
  }
  
  .safety-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  
  .safety-card.level-1 .safety-dot { background: var(--safe-1); box-shadow: 0 0 6px var(--safe-1); }
  .safety-card.level-2 .safety-dot { background: var(--safe-2); box-shadow: 0 0 6px var(--safe-2); }
  .safety-card.level-3 .safety-dot { background: var(--safe-3); box-shadow: 0 0 6px var(--safe-3); }
  .safety-card.level-4 .safety-dot { background: var(--safe-4); box-shadow: 0 0 6px var(--safe-4); }
  

  .safety-card-flag { font-size: 1.2rem; line-height: 1; }
  .safety-card-name { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); margin-top: 1px; }
  .safety-card-level { font-size: 0.72rem; color: var(--text-muted); }
  
  /* ============================================================
     TESTIMONIALS
     ============================================================ */
  .testimonials-section {
    padding: 100px 0;
    overflow: hidden;
  }
  
  .testimonials-track {
    overflow: hidden;
    margin: 0 -24px;
  }
  
  .testimonials-inner {
    display: flex;
    gap: 24px;
    padding: 0 24px;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  }
  
  .testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
  }
  
  .testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 8rem;
    font-family: var(--font-main);
    font-weight: 900;
    color: rgba(91,110,245,0.08);
    line-height: 1;
    pointer-events: none;
  }
  
  .testimonial-text {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.95rem;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
  }
  
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  
  .testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--text-primary); }
  .testimonial-meta { font-size: 0.78rem; color: var(--text-muted); }
  
  .testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
  }
  
  .t-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .t-dot.active { background: var(--accent-1); width: 24px; border-radius: 4px; }
  
  /* ============================================================
     ABOUT
     ============================================================ */
  .about-section {
    padding: 100px 0;
    background: radial-gradient(ellipse 70% 50% at 20% 50%, rgba(139,92,246,0.08) 0%, transparent 60%);
  }
  
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  
  .about-text .section-badge { margin-bottom: 18px; }
  
  .about-text h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  .about-text p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 16px;
    font-size: 0.975rem;
  }
  
  .about-features {
    margin: 28px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
  }
  
  .about-feature span {
    color: var(--accent-1);
    font-weight: 700;
    font-size: 1rem;
  }
  
  .about-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .about-card-stack {
    position: relative;
    width: 300px;
    height: 340px;
  }
  
  .about-stat-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    backdrop-filter: blur(10px);
    animation: floatCard 4s ease-in-out infinite;
  }
  
  .about-stat-card .asc-icon { font-size: 1.8rem; margin-bottom: 8px; }
  .about-stat-card .asc-val { font-family: var(--font-main); font-size: 1.5rem; font-weight: 800; color: var(--text-primary); }
  .about-stat-card .asc-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }
  
  .card-1 { top: 0; left: 0; width: 200px; animation-delay: 0s; box-shadow: 0 8px 32px rgba(34,197,94,0.15); border-color: rgba(34,197,94,0.2); }
  .card-2 { top: 80px; right: 0; width: 200px; animation-delay: 1.3s; box-shadow: var(--shadow-color); }
  .card-3 { bottom: 0; left: 40px; width: 200px; animation-delay: 0.7s; box-shadow: 0 8px 32px rgba(6,182,212,0.15); border-color: rgba(6,182,212,0.2); }
  
  @keyframes floatCard {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
  }
  
  /* ============================================================
     MODAL
     ============================================================ */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  
  .modal-overlay.open {
    opacity: 1;
    pointer-events: all;
  }
  
  .modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
  }
  
  .modal-overlay.open .modal {
    transform: translateY(0) scale(1);
  }
  
  .modal-close {
    position: sticky;
    top: 16px;
    left: 100%;
    float: right;
    margin: 16px 16px 0 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
  }
  
  .modal-close:hover {
    background: rgba(239,68,68,0.2);
    border-color: rgba(239,68,68,0.4);
    color: #fca5a5;
  }
  
  .modal-inner { padding: 0 40px 40px; }

  /* Two-col layout inside modal */
  .modal-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .modal-two-col .modal-section { margin-bottom: 0; }
  
  /* Modal dest header */
  .modal-dest-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
    padding: 32px 40px 28px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(91,110,245,0.06) 0%, transparent 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  
  .modal-dest-emoji { font-size: 5rem; line-height: 1; }
  
  .modal-dest-meta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 4px;
  }
  
  .modal-dest-country { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 10px; }
  
  .modal-dest-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .modal-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid;
  }
  
  .modal-badge.price { background: rgba(91,110,245,0.12); border-color: rgba(91,110,245,0.3); color: #a5b4fc; }
  .modal-badge.safe-1 { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.3); color: #86efac; }
  .modal-badge.safe-2 { background: rgba(234,179,8,0.1); border-color: rgba(234,179,8,0.3); color: #fde047; }
  .modal-badge.safe-3 { background: rgba(249,115,22,0.1); border-color: rgba(249,115,22,0.3); color: #fdba74; }
  .modal-badge.safe-4 { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.3); color: #fca5a5; }
  
  /* Modal sections */
  .modal-section { margin-bottom: 28px; }
  .modal-section-title {
    font-family: var(--font-main);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-1);
    text-transform: uppercase;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  /* Safety details */
  .safety-detail-box {
    background: var(--bg-surface);
    border-radius: var(--radius);
    padding: 20px 24px;
    border-left: 3px solid;
    margin-bottom: 12px;
  }
  
  .safety-detail-box.level-1 { border-color: var(--safe-1); }
  .safety-detail-box.level-2 { border-color: var(--safe-2); }
  .safety-detail-box.level-3 { border-color: var(--safe-3); }
  .safety-detail-box.level-4 { border-color: var(--safe-4); }
  
  .safety-level-label {
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
  }
  
  .safety-level-label.level-1 { color: var(--safe-1); }
  .safety-level-label.level-2 { color: var(--safe-2); }
  .safety-level-label.level-3 { color: var(--safe-3); }
  .safety-level-label.level-4 { color: var(--safe-4); }
  
  .safety-detail-text { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }
  
  .safety-risks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
  }
  
  .risk-tag {
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    color: #fca5a5;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
  }
  
  /* Things to do */
  .things-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  
  .thing-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
  }
  
  .thing-item:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
  }
  
  .thing-emoji { font-size: 1.1rem; }
  
  /* Best time */
  .best-time-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .time-pill {
    background: rgba(6,182,212,0.1);
    border: 1px solid rgba(6,182,212,0.25);
    color: #67e8f9;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
  }
  
  /* Flight info */
  .flight-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  
  .flight-info-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
  }
  
  .fi-label { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
  .fi-val { font-family: var(--font-main); font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }
  
  /* Recommended Stays (Hotels) */
  .hotel-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 12px;
  }
  
  .hotel-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-primary);
  }
  
  .hotel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: var(--border-hover);
  }
  
  .hotel-img-wrap {
    position: relative;
    height: 120px;
    overflow: hidden;
  }
  
  .hotel-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .hotel-card:hover .hotel-img-wrap img {
    transform: scale(1.05);
  }
  
  .hotel-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
    z-index: 2;
  }
  
  .hotel-info {
    padding: 12px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .hotel-tier {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-1);
    margin-bottom: 4px;
  }
  
  .hotel-name {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
    color: var(--text-primary);
  }
  
  .hotel-stars {
    color: #f59e0b;
    font-size: 0.7rem;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
  }
  
  .hotel-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 12px;
    flex: 1;
  }
  
  .hotel-price-row {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--border);
    padding-top: 10px;
  }
  
  .hotel-price-night {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
  }
  
  .hotel-price-night span {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
  }
  
  .hotel-price-total {
    font-size: 0.7rem;
    color: var(--text-muted);
  }
  
  /* Modal book btn */
  .modal-book-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient);
    border: none;
    border-radius: var(--radius);
    color: #fff;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
    box-shadow: 0 4px 20px rgba(91,110,245,0.3);
  }
  
  .modal-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(91,110,245,0.5);
  }
  
  /* ============================================================
     SUBSCRIBE MODAL
     ============================================================ */
  .subscribe-modal {
    max-width: 480px;
  }
  
  .subscribe-modal-inner {
    padding: 0 32px 40px;
    text-align: center;
  }
  
  .subscribe-icon { font-size: 3.5rem; margin-bottom: 16px; }
  
  .subscribe-modal-inner h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
  }
  
  .subscribe-modal-inner > p {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 28px;
    font-size: 0.95rem;
  }
  
  .subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .subscribe-form input,
  .subscribe-form select {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.25s;
    width: 100%;
  }
  
  .subscribe-form input:focus,
  .subscribe-form select:focus {
    border-color: rgba(91,110,245,0.5);
  }
  
  .subscribe-form select option { background: var(--bg-card); }
  
  .subscribe-form .btn-primary { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }
  
  .subscribe-disclaimer {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 14px;
  }
  
  /* ============================================================
     FOOTER
     ============================================================ */
  .footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding-top: 64px;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
  }
  
  .footer-brand p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: 12px;
    max-width: 260px;
  }
  
  .footer-social {
    display: flex;
    gap: 8px;
    margin-top: 20px;
  }
  
  .social-btn {
    display: inline-block;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 7px 14px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s;
  }
  
  .social-btn:hover {
    background: rgba(91,110,245,0.15);
    border-color: rgba(91,110,245,0.4);
    color: var(--text-primary);
  }
  
  .footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
  }
  
  .footer-links { display: flex; flex-direction: column; gap: 0; }
  .footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 5px 0;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--text-primary); }
  
  .footer-newsletter h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
  }
  
  .footer-newsletter > p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 14px;
  }
  
  .footer-email-form {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
  }
  
  .footer-email-form input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: var(--text-primary);
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.25s;
    font-family: var(--font-body);
  }
  
  .footer-email-form input:focus { border-color: rgba(91,110,245,0.5); }
  
  .footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
  }
  
  .footer-disclaimer a { color: var(--accent-3); text-decoration: none; }
  .footer-disclaimer a:hover { text-decoration: underline; }
  
  .footer-bottom {
    padding: 24px 0;
    border-top: 1px solid var(--border);
    text-align: center;
  }
  
  .footer-bottom p {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.6;
  }
  
  /* ============================================================
     TOAST
     ============================================================ */
  .toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--bg-card);
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: var(--radius);
    padding: 16px 20px;
    min-width: 280px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 5000;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  }
  
  .toast.show { transform: translateY(0); opacity: 1; }
  .toast-icon { font-size: 1.3rem; }
  .toast-text strong { display: block; font-size: 0.9rem; color: var(--text-primary); margin-bottom: 2px; }
  .toast-text span { font-size: 0.8rem; color: var(--text-secondary); }
  
  /* ============================================================
     RESPONSIVE — tablets and below
     ============================================================ */
  @media (max-width: 1100px) {
    .deals-layout { grid-template-columns: 220px 1fr; gap: 24px; }
    .deals-grid { grid-template-columns: repeat(2, 1fr); }
    .safety-inner { grid-template-columns: 260px 1fr; gap: 28px; }
  }

  @media (max-width: 860px) {
    .deals-layout { grid-template-columns: 1fr; }
    .deals-sidebar { position: static; display: flex; flex-wrap: wrap; gap: 8px; padding: 16px; }
    .deals-sidebar-title { width: 100%; }
    .sidebar-filter-group { margin-bottom: 0; }
    .sidebar-filter-btn { padding: 6px 12px; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 100px; }
    .deals-grid { grid-template-columns: repeat(2, 1fr); }
    .safety-inner { grid-template-columns: 1fr; }
    .safety-panel { position: static; }
    .safety-legend { flex-direction: row; flex-wrap: wrap; }
    .safety-legend .legend-item { flex: 1 1 45%; }
    .hiw-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-visual { height: 280px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .testimonial-card { flex: 0 0 100%; }
    .flight-info-grid { grid-template-columns: repeat(3,1fr); }
    .modal-two-col { grid-template-columns: 1fr; }
  }

  @media (max-width: 600px) {
    .nav-links { display: none; }
    .hero-stats { gap: 16px; }
    .stat-num { font-size: 1.4rem; }
    .deals-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .modal-inner { padding: 0 18px 24px; }
    .modal-dest-header { padding: 20px 18px 18px; flex-direction: column; gap: 12px; }
    .safety-legend .legend-item { flex: 1 1 100%; }
    .container { padding: 0 18px; }
  }
  
  /* Smooth reveal animation for cards */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* No results */
  .no-results {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    font-size: 1rem;
  }

  /* ============================================================
     SAVE BUTTON ON DEAL CARDS (F2)
     ============================================================ */
  .deal-save-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15,17,26,0.75);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-secondary);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: all 0.2s;
    z-index: 12;
    line-height: 1;
  }
  .deal-save-btn:hover { color: #ef4444; border-color: rgba(239,68,68,0.5); transform: scale(1.15); }
  .deal-save-btn.saved { color: #ef4444; border-color: #ef4444; }

  /* Modal Share & Save buttons */
  .modal-share-btn,
  .modal-save-btn {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s;
    white-space: nowrap;
  }
  .modal-share-btn:hover { border-color: var(--accent-1); color: var(--accent-1); }
  .modal-save-btn:hover { border-color: #ef4444; color: #ef4444; }
  .modal-save-btn.saved { border-color: #ef4444; color: #ef4444; background: rgba(239,68,68,0.08); }

  /* ============================================================
     MOBILE RESPONSIVE (F1) — Full overhaul for < 768px
     ============================================================ */
  @media (max-width: 768px) {

    /* Live Ticker */
    .live-ticker { font-size: 0.72rem; padding: 6px 0; }

    /* Nav */
    .nav-links { display: none; }
    .nav-inner { padding: 0 20px; }

    /* Hero */
    .hero-content { padding: 100px 24px 60px; }
    .hero-title { font-size: 2.6rem; }
    .search-box { flex-wrap: wrap; padding: 14px 16px; gap: 10px; }
    .search-btn { width: 100%; }
    .search-tags { gap: 8px; }
    .hero-stats { flex-direction: column; gap: 12px; }
    .stat-divider { display: none; }

    /* Deals layout — stack filters above grid */
    .deals-layout { flex-direction: column; }
    .deals-sidebar {
      width: 100%;
      position: static;
      border-radius: var(--radius);
      padding: 16px;
    }
    .sidebar-filter-group { margin-bottom: 12px; }
    .sidebar-filter-group h4 { font-size: 0.75rem; }
    .deals-sidebar-title { margin-bottom: 12px; }
    .sidebar-filter-btn { font-size: 0.8rem; padding: 8px 12px; }

    /* Deals main header */
    .deals-main-header { flex-wrap: wrap; gap: 10px; }
    .deals-view-toggle { order: 2; }
    .deals-sort { order: 3; width: 100%; }
    .deals-count { order: 1; width: 100%; }

    /* Deal grid — 1 column */
    .deals-grid { grid-template-columns: 1fr; }

    /* Modal */
    .modal { width: 96vw; max-height: 92vh; margin: 4vh auto; border-radius: var(--radius); }
    .modal-two-col { grid-template-columns: 1fr; gap: 16px; }
    .hotel-cards-container { grid-template-columns: 1fr; }
    .things-grid { grid-template-columns: 1fr 1fr; }
    .modal-dest-header { min-height: 160px; }

    /* Safety section */
    .safety-inner { flex-direction: column; }
    .safety-panel { width: 100%; position: static; }
    .safety-grid { grid-template-columns: repeat(2, 1fr); }

    /* How it works */
    .hiw-grid { grid-template-columns: 1fr; }

    /* Testimonials */
    .testimonials-track { padding: 0 16px; }

    /* About */
    .about-grid { grid-template-columns: 1fr; }
    .about-card-stack { display: none; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }

    /* AI recommender */
    .ai-box { padding: 32px 20px; }
    .ai-content { flex-direction: column; }

    /* Sticky banner */
    .sticky-upgrade-banner { flex-direction: column; align-items: flex-start; padding: 16px; }
    .sub-right { width: 100%; display: flex; gap: 8px; }

    /* Dashboard (if visited on mobile) */
    .dashboard-container { grid-template-columns: 1fr; gap: 20px; }
    .dashboard-sidebar { position: static; }
    .dash-stats-row { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .deals-grid { grid-template-columns: 1fr; }
    .things-grid { grid-template-columns: 1fr; }
    .safety-grid { grid-template-columns: 1fr; }
    .hotel-cards-container { grid-template-columns: 1fr; }
    .modal-share-btn, .modal-save-btn { flex: 1; text-align: center; }
    .dash-stats-row { grid-template-columns: 1fr; }
  }


