/* ==========================================================================
   HEDZO TRADING ACADEMY - DESIGN SYSTEM & STYLESHEET
   Aesthetics: Deep Dark Navy & Pitch Black, Neon Green Accents, Glassmorphism
   ========================================================================== */

/* 1. Custom Properties (Design Tokens) */
:root {
  --bg-dark-primary: #050811;
  --bg-dark-secondary: #0a0f1d;
  --bg-dark-tertiary: #0f1629;
  
  --bg-surface: rgba(13, 20, 36, 0.7);
  --bg-surface-elevated: rgba(18, 27, 49, 0.85);
  --bg-input: rgba(10, 15, 29, 0.8);
  
  --accent-neon: #00FF88;
  --accent-neon-bright: #39FF9F;
  --accent-neon-glow: rgba(0, 255, 136, 0.35);
  --accent-neon-deep: #00C853;
  --accent-cyan: #00F5D4;
  --bull-green: #00E676;
  --bear-coral: #FF4D6D;
  
  --text-white: #FFFFFF;
  --text-light: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --border-subtle: rgba(0, 255, 136, 0.12);
  --border-card: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(0, 255, 136, 0.4);
  
  --font-primary: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. Global Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-dark-primary);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

::selection {
  background-color: var(--accent-neon);
  color: var(--bg-dark-primary);
}

/* 3. Ambient Background & Canvas */
.canvas-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#trading-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Atmospheric Ambient Glow Orbs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.glow-top-left {
  top: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.18) 0%, rgba(5, 8, 17, 0) 70%);
}

.glow-center-right {
  top: 40%;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 245, 212, 0.12) 0%, rgba(5, 8, 17, 0) 70%);
}

.glow-bottom-center {
  bottom: -150px;
  left: 30%;
  width: 650px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.15) 0%, rgba(5, 8, 17, 0) 70%);
}

/* Subtle Geometric Grid Overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.1) 85%);
  pointer-events: none;
  z-index: 1;
}

/* 4. Page Layout Container */
.page-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 5. Navigation & Top Header */
.top-navbar {
  padding: 1.5rem 0;
  transition: var(--transition-normal);
}

.navbar-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo-img {
  height: 52px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(0, 255, 136, 0.35));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo-img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.55));
}

.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(13, 20, 36, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-muted);
  backdrop-filter: blur(12px);
  transition: var(--transition-fast);
}

.location-pill:hover {
  border-color: var(--accent-neon);
  color: var(--text-light);
  box-shadow: 0 0 16px rgba(0, 255, 136, 0.2);
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-neon);
  border-radius: 50%;
  position: relative;
  display: inline-block;
}

.live-dot::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent-neon);
  opacity: 0.6;
  animation: radarPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radarPing {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* 6. Market Ticker Tape (Knowledge & Market Pulse) */
.market-ticker-wrapper {
  width: 100%;
  overflow: hidden;
  background: rgba(8, 12, 24, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0.6rem 0;
  white-space: nowrap;
  position: relative;
}

.market-ticker-wrapper::before,
.market-ticker-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.market-ticker-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-dark-primary), transparent);
}

.market-ticker-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-dark-primary), transparent);
}

.ticker-track {
  display: inline-flex;
  gap: 2.5rem;
  animation: tickerSlide 38s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.ticker-item .symbol {
  color: var(--text-white);
}

.ticker-item .bull-val {
  color: var(--accent-neon);
}

.ticker-item .badge-tag {
  background: rgba(0, 255, 136, 0.1);
  color: var(--accent-neon);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  border: 1px solid rgba(0, 255, 136, 0.25);
}

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 7. Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  text-align: center;
  position: relative;
}

/* Brand Emblem Spotlight */
.hero-emblem-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
}

.hero-emblem-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, rgba(13, 20, 36, 0.9), rgba(18, 27, 49, 0.9));
  border: 1.5px solid var(--accent-neon);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px var(--accent-neon-glow), inset 0 0 15px rgba(0, 255, 136, 0.15);
  transition: transform var(--transition-normal);
}

.hero-emblem-icon:hover {
  transform: translateY(-4px) scale(1.05);
}

.hero-emblem-icon svg {
  width: 48px;
  height: 48px;
}

/* Badge Pill */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1.35rem;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-neon);
  margin-bottom: 1.75rem;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.15);
  backdrop-filter: blur(10px);
}

.pulse-indicator {
  width: 9px;
  height: 9px;
  background-color: var(--accent-neon);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-neon);
  animation: pulseNeon 1.8s infinite;
}

@keyframes pulseNeon {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* Main Heading */
.hero-title {
  font-size: clamp(2.8rem, 7.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 1.75rem;
}

.hero-title .title-white {
  display: block;
  color: var(--text-white);
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.15);
}

.hero-title .title-neon {
  display: block;
  background: linear-gradient(135deg, #00FF88 0%, #00F5D4 60%, #39FF9F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 35px rgba(0, 255, 136, 0.45);
  position: relative;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 400;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* 8. Email Notification Section */
.notify-section {
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}

.notify-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 255, 136, 0.08);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.notify-card:hover {
  border-color: rgba(0, 255, 136, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 45px rgba(0, 255, 136, 0.14);
}

.notify-heading {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.notify-subtext {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Form Input Group */
.notify-form-wrapper {
  position: relative;
}

.notify-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

@media (min-width: 576px) {
  .notify-input-group {
    flex-direction: row;
    background: var(--bg-input);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    padding: 0.4rem 0.45rem 0.4rem 1.4rem;
    transition: var(--transition-normal);
  }

  .notify-input-group:focus-within {
    border-color: var(--accent-neon);
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.25);
    background: rgba(10, 15, 29, 0.95);
  }
}

.input-icon-box {
  display: flex;
  align-items: center;
  color: var(--text-dim);
  transition: color var(--transition-fast);
}

.notify-input-group:focus-within .input-icon-box {
  color: var(--accent-neon);
}

.notify-input {
  background: transparent;
  border: none;
  color: var(--text-white);
  font-size: 0.95rem;
  font-family: var(--font-primary);
  width: 100%;
  padding: 0.75rem 0.5rem;
  outline: none;
}

@media (max-width: 575.98px) {
  .notify-input {
    background: var(--bg-input);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 0.85rem 1rem 0.85rem 2.8rem;
  }
  .input-icon-box {
    position: absolute;
    top: 1.05rem;
    left: 1rem;
  }
}

.notify-input::placeholder {
  color: var(--text-dim);
}

.notify-input.is-invalid {
  border-color: var(--bear-coral) !important;
}

/* Action Button */
.btn-notify {
  background: linear-gradient(135deg, var(--accent-neon) 0%, #00d674 100%);
  color: #050811;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  padding: 0.85rem 1.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 0 25px rgba(0, 255, 136, 0.4);
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-notify:hover {
  background: linear-gradient(135deg, #39FF9F 0%, #00FF88 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 255, 136, 0.6);
  color: #050811;
}

.btn-notify:active {
  transform: translateY(0);
}

.btn-notify.btn-success-state {
  background: #00E676;
  box-shadow: 0 0 30px rgba(0, 230, 118, 0.6);
  color: #050811;
}

/* Feedback Messages */
.form-feedback {
  font-size: 0.85rem;
  margin-top: 0.85rem;
  display: none;
  text-align: center;
  font-weight: 500;
}

.form-feedback.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.feedback-error {
  color: var(--bear-coral);
}

.feedback-success {
  color: var(--accent-neon);
}

.feedback-info {
  color: var(--accent-cyan);
}

/* 9. Contact Information Cards */
.contact-section {
  padding: 3.5rem 0;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-neon);
  text-align: center;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  color: var(--text-white);
  margin-bottom: 2.5rem;
}

.glass-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 22px;
  padding: 2.2rem 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.glass-card:hover {
  border-color: rgba(0, 255, 136, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 255, 136, 0.12);
  transform: translateY(-6px);
}

.glass-card:hover::before {
  opacity: 1;
}

.card-header-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 255, 136, 0.08);
  border: 1px solid rgba(0, 255, 136, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-neon);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.12);
  transition: transform var(--transition-fast);
}

.glass-card:hover .card-header-icon {
  transform: scale(1.08);
  background: rgba(0, 255, 136, 0.15);
}

.card-title-custom {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.6rem;
}

.card-content-link {
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: none;
  word-break: break-word;
  transition: color var(--transition-fast);
  display: inline-block;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.card-content-link:hover {
  color: var(--accent-neon);
}

.card-subtext {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Card Action Buttons */
.card-actions-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}

.btn-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  transition: var(--transition-fast);
}

.btn-card-action:hover {
  background: rgba(0, 255, 136, 0.12);
  border-color: var(--accent-neon);
  color: var(--accent-neon);
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
}

.btn-card-action.btn-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.35);
  color: #25D366;
}

.btn-card-action.btn-whatsapp:hover {
  background: #25D366;
  color: #050811;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

/* 10. Google Map Section */
.map-section {
  padding: 3.5rem 0;
}

.map-card-wrapper {
  background: var(--bg-surface);
  border: 1.5px solid rgba(0, 255, 136, 0.3);
  border-radius: 24px;
  padding: 1.25rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 255, 136, 0.15);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.map-card-wrapper:hover {
  border-color: var(--accent-neon);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.6), 0 0 45px rgba(0, 255, 136, 0.25);
}

.map-embed-container {
  width: 100%;
  height: 380px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #0d1426;
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  /* Dark trading UI filter */
  filter: invert(90%) hue-rotate(180deg) contrast(95%) brightness(95%) saturate(80%);
  transition: filter var(--transition-normal);
}

.map-card-wrapper:hover .map-iframe {
  filter: invert(88%) hue-rotate(180deg) contrast(100%) brightness(98%) saturate(90%);
}

.map-info-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 0.5rem 0.25rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .map-info-bar {
    flex-direction: row;
    padding: 1.25rem 1rem 0.25rem;
  }
}

.map-location-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
}

.btn-view-maps {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: 100px;
  background: rgba(0, 255, 136, 0.12);
  border: 1.5px solid var(--accent-neon);
  color: var(--accent-neon);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
  transition: var(--transition-normal);
}

.btn-view-maps:hover {
  background: var(--accent-neon);
  color: #050811;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
  transform: translateY(-2px);
}

/* 11. Closing Section (Quote & Call to Action) */
.closing-section {
  padding: 4rem 0 3.5rem;
  text-align: center;
}

.closing-banner {
  background: linear-gradient(135deg, rgba(13, 20, 36, 0.85) 0%, rgba(18, 27, 49, 0.85) 100%);
  border: 1px solid rgba(0, 255, 136, 0.25);
  border-radius: 28px;
  padding: 3.5rem 2rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 255, 136, 0.1);
  position: relative;
  overflow: hidden;
}

.closing-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-neon), transparent);
}

.closing-quote {
  font-size: clamp(1.35rem, 3.2vw, 2.1rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  letter-spacing: -0.2px;
}

.closing-highlight {
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-neon);
  text-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
  display: block;
}

/* 12. Minimal Professional Footer */
.main-footer {
  padding: 2.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(5, 8, 17, 0.95);
  text-align: center;
  position: relative;
}

.copyright-text {
  font-size: 0.875rem;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

/* 13. Custom Toast Container & Styling */
.toast-container-custom {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.custom-toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 420px;
  background: rgba(13, 20, 36, 0.95);
  border: 1px solid var(--accent-neon);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 255, 136, 0.3);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s, transform 0.3s;
}

.custom-toast.fade-out {
  opacity: 0;
  transform: translateX(30px);
}

.toast-indicator {
  width: 4px;
  height: 100%;
  background: var(--accent-neon);
  border-radius: 4px;
}

.toast-content {
  flex-grow: 1;
}

.toast-header-custom {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.25rem;
}

.toast-body-custom {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.toast-close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color var(--transition-fast);
}

.toast-close-btn:hover {
  color: var(--text-white);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* 14. Scroll Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 15. Comprehensive Responsive & Alignment Fine-Tuning (Mobile, Tablet & Desktop) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Large Tablet / Laptop (992px to 1199.98px) --- */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  }
  .glass-card {
    padding: 2rem 1.4rem;
  }
}

/* --- Tablet Devices (768px to 991.98px) --- */
@media (min-width: 768px) and (max-width: 991.98px) {
  .top-navbar {
    padding: 1.25rem 0;
  }
  .brand-logo-img {
    height: 46px;
  }
  .location-pill {
    font-size: 0.78rem;
    padding: 0.4rem 0.85rem;
  }
  .hero-section {
    padding: 3.5rem 0 2.75rem;
  }
  .hero-title {
    font-size: clamp(2.3rem, 5.5vw, 3.6rem);
    margin-bottom: 1.25rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2rem;
  }
  .notify-card {
    padding: 2rem 1.75rem;
    max-width: 560px;
  }
  .contact-section {
    padding: 2.75rem 0;
  }
  .glass-card {
    padding: 1.6rem 1.15rem;
    border-radius: 18px;
  }
  .card-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 1rem;
  }
  .card-header-icon svg {
    width: 22px;
    height: 22px;
  }
  .card-title-custom {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
  }
  .card-content-link {
    font-size: 0.85rem;
    margin-bottom: 0.85rem;
  }
  .card-subtext {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
  .card-actions-wrapper {
    gap: 0.4rem;
  }
  .btn-card-action {
    font-size: 0.75rem;
    padding: 0.4rem 0.65rem;
    flex: 1 1 calc(50% - 0.4rem);
    justify-content: center;
    text-align: center;
  }
  .map-embed-container {
    height: 330px;
  }
  .closing-banner {
    padding: 2.75rem 1.75rem;
  }
  .closing-quote {
    font-size: 1.45rem;
  }
  .closing-highlight {
    font-size: 1.75rem;
  }
}

/* --- Mobile Landscape & Small Tablets (576px to 767.98px) --- */
@media (min-width: 576px) and (max-width: 767.98px) {
  .top-navbar {
    padding: 1.1rem 0;
  }
  .brand-logo-img {
    height: 44px;
  }
  .hero-section {
    padding: 3rem 0 2.25rem;
  }
  .hero-badge-pill {
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    padding: 0.45rem 1.1rem;
  }
  .hero-title {
    font-size: clamp(2.2rem, 6.8vw, 3.4rem);
  }
  .hero-subtitle {
    font-size: 1.05rem;
    padding: 0 1rem;
  }
  .notify-card {
    padding: 1.85rem 1.5rem;
  }
  .contact-section {
    padding: 2.5rem 0;
  }
  .glass-card {
    padding: 1.75rem 1.4rem;
  }
  .btn-card-action {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0.55rem 1rem;
  }
  .map-embed-container {
    height: 300px;
  }
  .map-info-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.85rem;
  }
  .map-location-title {
    justify-content: center;
  }
  .btn-view-maps {
    width: 100%;
    justify-content: center;
  }
  .closing-banner {
    padding: 2.5rem 1.5rem;
  }
}

/* --- Small Mobile Phones (< 575.98px) --- */
@media (max-width: 575.98px) {
  .top-navbar {
    padding: 1rem 0;
  }
  .navbar-brand-wrapper {
    gap: 0.5rem;
  }
  .brand-logo-img {
    height: 38px;
    max-width: 160px;
  }
  .location-pill {
    font-size: 0.72rem;
    padding: 0.35rem 0.7rem;
    gap: 0.4rem;
  }
  .live-dot {
    width: 6px;
    height: 6px;
  }
  .live-dot::after {
    width: 12px;
    height: 12px;
    top: -3px;
    left: -3px;
  }

  /* Market Ticker */
  .market-ticker-wrapper {
    padding: 0.45rem 0;
  }
  .ticker-track {
    gap: 1.75rem;
  }
  .ticker-item {
    font-size: 0.72rem;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.5rem 0 2rem;
  }
  .hero-badge-pill {
    font-size: 0.7rem;
    letter-spacing: 1px;
    padding: 0.4rem 0.85rem;
    margin-bottom: 1.25rem;
    max-width: 100%;
    line-height: 1.4;
  }
  .hero-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
    letter-spacing: -0.5px;
    margin-bottom: 1.25rem;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0 0.25rem;
    margin-bottom: 2rem;
  }

  /* Email Notification Card */
  .notify-section {
    width: 100%;
  }
  .notify-card {
    padding: 1.5rem 1.15rem;
    border-radius: 20px;
  }
  .notify-heading {
    font-size: 0.98rem;
    letter-spacing: 1.5px;
  }
  .notify-subtext {
    font-size: 0.825rem;
    margin-bottom: 1.25rem;
  }
  .notify-input {
    font-size: 0.9rem;
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    border-radius: 12px;
  }
  .input-icon-box {
    top: 0.95rem;
    left: 0.9rem;
  }
  .btn-notify {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 12px;
    justify-content: center;
  }
  .form-feedback {
    font-size: 0.8rem;
  }

  /* Contact Cards */
  .contact-section {
    padding: 2.25rem 0;
  }
  .section-label {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }
  .section-title {
    font-size: 1.65rem;
    margin-bottom: 1.75rem;
  }
  .glass-card {
    padding: 1.6rem 1.25rem;
    border-radius: 18px;
  }
  .card-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 1.2rem;
  }
  .card-title-custom {
    font-size: 1.1rem;
    margin-bottom: 0.45rem;
  }
  .card-content-link {
    font-size: 0.925rem;
    margin-bottom: 0.85rem;
  }
  .card-subtext {
    font-size: 0.825rem;
    margin-bottom: 1.2rem;
  }
  .card-actions-wrapper {
    gap: 0.5rem;
  }
  .btn-card-action {
    flex: 1 1 calc(50% - 0.5rem);
    justify-content: center;
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
  }

  /* Map Section */
  .map-section {
    padding: 2.25rem 0;
  }
  .map-card-wrapper {
    padding: 0.75rem;
    border-radius: 18px;
  }
  .map-embed-container {
    height: 270px;
    border-radius: 14px;
  }
  .map-info-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.85rem;
    padding: 0.9rem 0.25rem 0.25rem;
  }
  .map-location-title {
    justify-content: center;
    font-size: 0.85rem;
    line-height: 1.4;
  }
  .btn-view-maps {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }

  /* Closing Section */
  .closing-section {
    padding: 2.5rem 0 2rem;
  }
  .closing-banner {
    padding: 2.25rem 1.15rem;
    border-radius: 20px;
  }
  .closing-quote {
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  .closing-highlight {
    font-size: 1.35rem;
    line-height: 1.3;
    letter-spacing: 0.5px;
  }

  /* Footer */
  .main-footer {
    padding: 1.75rem 1rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
  }
  .copyright-text {
    font-size: 0.78rem;
    line-height: 1.5;
  }

  /* Toast */
  .toast-container-custom {
    left: 0.85rem;
    right: 0.85rem;
    bottom: 1rem;
  }
  .custom-toast {
    min-width: unset;
    width: 100%;
    padding: 0.85rem 1rem;
  }
  .toast-header-custom {
    font-size: 0.85rem;
  }
  .toast-body-custom {
    font-size: 0.78rem;
  }
}

/* --- Extra Small Screens (< 360px) --- */
@media (max-width: 359.98px) {
  .brand-logo-img {
    height: 32px;
    max-width: 130px;
  }
  .location-pill {
    font-size: 0.68rem;
    padding: 0.3rem 0.55rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .btn-card-action {
    flex: 1 1 100%;
  }
}

