/* Methodology Section */
.methodology-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.methodology-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.m-stat {
  display: flex;
  flex-direction: column;
}

.m-stat-val {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.m-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Image Stack & Floating Info */
.image-stack {
  position: relative;
  padding: 2rem;
}

.stack-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.floating-info {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(15, 23, 42, 0.8) !important;
  border-left: 4px solid var(--primary) !important;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 992px) {
  .methodology-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .methodology-stats {
    justify-content: center;
  }
}

/* Timeline Section */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--gradient-main);
  transform: translateX(-50%);
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 4rem;
  width: 100%;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.timeline-number {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50px;
  height: 50px;
  background: var(--bg-dark);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--primary);
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.2);
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(234, 179, 8, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(234, 179, 8, 0);
  }
}

.timeline-content {
  width: 90%;
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 8px;
  border: var(--glass-border);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.timeline-item.reveal-left.active .timeline-content,
.timeline-item.reveal-right.active .timeline-content {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 30px;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 30px;
}

.timeline-item:hover .timeline-content {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--glass-shadow);
}

/* Navbar Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-btn-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-btn-link:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    justify-content: flex-start;
    padding-left: 70px;
    padding-right: 0;
  }

  .timeline-item:nth-child(even) {
    padding-left: 70px;
  }

  .timeline-number {
    left: 30px;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
}

/* Live Indicator */
.live-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 10px var(--accent);
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Market Bar Post-Hero */
.market-bar {
  background: var(--bg-card);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: 60px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Hook Section - Professional Layout */
.hook-columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 3rem;
}

.hook-col {
  padding: 2.5rem;
  border-radius: 16px;
  background: rgba(102, 76, 54, 0.15);
  border: 1px solid rgba(255, 211, 172, 0.08);
  transition: all 0.4s ease;
}

.hook-col:hover {
  border-color: rgba(255, 211, 172, 0.2);
  background: rgba(102, 76, 54, 0.25);
}

.hook-col-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 211, 172, 0.1);
}

.hook-col-header h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hook-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.problem-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.solution-icon {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.hook-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hook-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 211, 172, 0.05);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hook-item:last-child {
  border-bottom: none;
}

.hook-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.hook-num {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 28px;
  padding-top: 2px;
  letter-spacing: 0.05em;
}

.problem-col .hook-num { color: rgba(239, 68, 68, 0.5); }
.solution-col .hook-num { color: rgba(16, 185, 129, 0.5); }

.hook-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* Divider */
.hook-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  gap: 1rem;
}

.divider-line {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(255, 211, 172, 0.2), transparent);
}

.divider-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 211, 172, 0.1);
  border: 1px solid rgba(255, 211, 172, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.85rem;
}

/* Hook Badges */
.red-badge { background: rgba(239, 68, 68, 0.15) !important; color: #ef4444 !important; border: 1px solid rgba(239, 68, 68, 0.2); }
.green-badge { background: rgba(16, 185, 129, 0.15) !important; color: #10b981 !important; border: 1px solid rgba(16, 185, 129, 0.2); }
.red-text { color: #ef4444; }
.green-text { color: #10b981; }

@media (max-width: 992px) {
  .hook-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hook-divider {
    flex-direction: row;
    padding: 0;
  }
  .divider-line {
    width: 80px;
    height: 1px;
  }
  .divider-icon i { transform: rotate(90deg); }
}

/* Base Variables & Theme — nolimitfx Brand */
:root {
  /* Colors */
  --bg-dark: #060c1a;
  /* Deep Navy Black */
  --bg-card: rgba(10, 18, 40, 0.75);
  --bg-card-hover: rgba(20, 35, 70, 0.95);
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #475569;

  /* nolimitfx Brand Colors: Gold + Navy Blue */
  --primary: #F5A800;
  /* Logo Gold */
  --primary-glow: rgba(245, 168, 0, 0.35);
  --secondary: #2B3A8F;
  /* Logo Navy Blue */
  --secondary-light: #3D52C8;
  --accent: #10B981;
  /* Success Green */
  --gradient-main: linear-gradient(135deg, #F5A800 0%, #E8920A 50%, #F5A800 100%);
  --gradient-blue: linear-gradient(135deg, #2B3A8F 0%, #3D52C8 100%);
  --gradient-glow: linear-gradient(135deg, rgba(245, 168, 0, 0.4) 0%, rgba(43, 58, 143, 0.4) 100%);

  /* Glassmorphism */
  --glass-border: 1px solid rgba(245, 168, 0, 0.12);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --backdrop-blur: blur(14px);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-pd: 6rem 0;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  cursor: none;
  overflow-x: hidden;
  /* Dynamic Background */
  background: radial-gradient(circle at 50% -20%, rgba(245, 168, 0, 0.12), transparent 55%),
    radial-gradient(circle at 0% 50%, rgba(43, 58, 143, 0.12), transparent 40%),
    radial-gradient(circle at 100% 80%, rgba(61, 82, 200, 0.08), transparent 40%),
    var(--bg-dark);
  background-attachment: fixed;
}

/* Custom Cursor */
.cursor {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(234, 179, 8, 0.4);
  background-color: rgba(234, 179, 8, 0.05);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor,
body:hover .cursor-follower {
  opacity: 1;
}

/* Typography Utility */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  background-size: 200% auto;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.text-center {
  text-align: center;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-pd);
  position: relative;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 15px rgba(112, 0, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 25px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: white;
  padding-left: 0;
  padding-right: 0;
}

.btn-ghost:hover {
  color: var(--primary);
}

.btn-ghost .play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  margin-right: 8px;
  font-size: 0.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.btn-ghost:hover .play-icon {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 15px var(--primary);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: var(--glass-border);
  border-radius: 8px;
  box-shadow: var(--glass-shadow);
  color: var(--text-primary);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 9, 15, 0.8);
  backdrop-filter: var(--backdrop-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

.logo-icon {
  width: 30px;
  height: 30px;
  background: var(--gradient-main);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  gap: 1rem;
}

/* Base Mobile Menu Styling (Hidden on Desktop) */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

.mobile-actions {
  display: none;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.mobile-user-menu {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.mobile-dash-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--primary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.mobile-dash-btn:hover {
  background: rgba(255, 211, 172, 0.12);
  border-color: rgba(255, 211, 172, 0.3);
}

.mobile-user-greeting {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-action-btn {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-action-btn:hover {
  color: var(--primary);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}

.hero-bg-glow {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(112, 0, 255, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--primary);
  width: fit-content;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -1px;
}

.type-effect {
  display: inline-block;
  border-right: 2px solid var(--primary);
  padding-right: 5px;
  animation: blink 0.75s step-end infinite;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 90%;
  margin-bottom: 1rem;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.stat-value {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  height: 500px;
}

.main-chart-card {
  width: 100%;
  height: 350px;
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.main-chart-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot.red {
  background: #FF5F56;
}

.dot.yellow {
  background: #FFBD2E;
}

.dot.green {
  background: #27C93F;
}

.card-title {
  margin-left: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-family: var(--font-heading);
}

.chart-container {
  height: 180px;
  width: 100%;
  position: relative;
}

.chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.chart-line {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 3s ease forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

.chart-area {
  opacity: 0;
  animation: fadeArea 1.5s ease forwards 1s;
}

@keyframes fadeArea {
  to {
    opacity: 1;
  }
}

.pulse-point {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: 10px;
  /* Aligned roughly with path end */
  box-shadow: 0 0 10px var(--primary);
  animation: pulsePoint 1.5s infinite;
  opacity: 0;
  animation: pulsePoint 1.5s infinite forwards 1.2s;
}

@keyframes pulsePoint {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(0, 240, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
  }
}

.trade-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ts-item {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.ts-item.profit {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  top: -20px;
  right: -20px;
}

.card-2 {
  bottom: 50px;
  left: -40px;
  animation-delay: -3s;
}

.icon-box {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.fc-info h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.fc-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Markets TV Widget */
.tv-widget-container {
  height: 600px;
  width: 100%;
  margin-top: 3rem;
  padding: 1.5rem;
  border-radius: 20px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .tv-widget-container {
    height: 450px;
    padding: 0.5rem;
  }
}

/* Features Sec */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: 8px;
  padding: 2.5rem 1.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: var(--bg-card-hover);
  border-color: rgba(0, 240, 255, 0.3);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(112, 0, 255, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
  background: rgba(0, 240, 255, 0.1);
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Journey Sec */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* Futuristic Animated Line (Desktop only) */
@media (min-width: 1025px) {
  .journey-grid::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
  }

  /* Animated Light Particle */
  .journey-grid::after {
    content: '';
    position: absolute;
    top: 45px;
    left: 80px;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    z-index: 1;
    animation: flowLight 5s infinite linear;
    filter: blur(1px);
  }
}

@keyframes flowLight {
  0% {
    left: 80px;
    width: 0;
    opacity: 0;
  }

  10% {
    opacity: 1;
    width: 100px;
  }

  90% {
    opacity: 1;
    width: 100px;
  }

  100% {
    left: calc(100% - 180px);
    opacity: 0;
  }
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  transition: var(--transition);
  position: relative;
  z-index: 2;
}

.journey-step:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.step-number {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-main);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  position: relative;
  border: 4px solid var(--bg-dark);
  animation: stepGlow 5s infinite ease-in-out;
}

/* Staggered glow animations for steps 1-5 */
.journey-step:nth-child(1) .step-number {
  animation-delay: 0s;
}

.journey-step:nth-child(2) .step-number {
  animation-delay: 1s;
}

.journey-step:nth-child(3) .step-number {
  animation-delay: 2s;
}

.journey-step:nth-child(4) .step-number {
  animation-delay: 3s;
}

.journey-step:nth-child(5) .step-number {
  animation-delay: 4s;
}

@keyframes stepGlow {

  0%,
  15%,
  100% {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
    scale: 1;
    border-color: var(--bg-dark);
  }

  5%,
  10% {
    box-shadow: 0 0 40px var(--primary);
    scale: 1.1;
    border-color: var(--primary);
  }
}

.step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .journey-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    padding-left: 40px;
    /* Space for the vertical line */
  }

  /* Vertical Animated Line for Mobile */
  .journey-grid::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 44px;
    width: 2px;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
    display: block;
  }

  .journey-grid::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 44px;
    width: 2px;
    height: 100px;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
    z-index: 1;
    animation: flowLightMobile 5s infinite linear;
    filter: blur(1px);
    display: block;
  }

  .journey-step {
    flex-direction: row;
    text-align: left;
    padding: 1.5rem;
    margin-left: 20px;
  }

  .journey-step:hover {
    transform: translateX(10px);
  }

  .step-number {
    z-index: 2;
    /* Re-enable glow and adjust size for mobile */
    width: 40px;
    height: 40px;
    font-size: 1rem;
    border-width: 3px;
  }
}

@keyframes flowLightMobile {
  0% {
    top: 20px;
    height: 0;
    opacity: 0;
  }

  10% {
    opacity: 1;
    height: 100px;
  }

  90% {
    opacity: 1;
    height: 100px;
  }

  100% {
    top: calc(100% - 120px);
    opacity: 0;
  }
}

/* FAQ Sec */
.faq-container {
  max-width: 800px;
  margin: 4rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(0, 240, 255, 0.3);
}

.faq-item[open] {
  background: var(--bg-card-hover);
  border-color: var(--primary);
}

.faq-question {
  padding: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-video-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
  position: relative;
  z-index: 50 !important;
  pointer-events: auto !important;
}

/* Fallback for old browsers not supporting aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .about-video-embed {
    height: 400px;
    /* Fallback height */
  }
}

.abstract-shape {
  position: absolute;
  background: var(--gradient-main);
  filter: blur(40px);
  z-index: -1;
  border-radius: 50%;
  opacity: 0.5;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: -30px;
  left: -30px;
}

.shape-2 {
  width: 150px;
  height: 150px;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  opacity: 0.4;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 1.5rem;
  text-align: center;
  border-radius: 20px;
  background: rgba(7, 9, 15, 0.8);
  pointer-events: auto;
  z-index: 60;
  text-decoration: none;
  transition: var(--transition);
}

.experience-badge .years {
  display: block;
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.experience-badge .text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 500;
}

.check {
  display: inline-flex;
  width: 24px;
  height: 24px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--primary);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Services */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.pricing-card {
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: rgba(112, 0, 255, 0.3);
}

.pricing-card.popular {
  border-color: var(--primary);
  background: rgba(15, 20, 35, 0.8);
  transform: scale(1.05);
}

.pricing-card.popular:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 240, 255, 0.15);
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(112, 0, 255, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gradient-main);
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

.pricing-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.price {
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin: 1rem 0;
  display: flex;
  align-items: flex-start;
}

.price span:first-child {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

.price span:last-child {
  font-size: 1rem;
  color: var(--text-muted);
  align-self: flex-end;
  margin-bottom: 0.8rem;
  font-weight: 400;
}

.pricing-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.pricing-features {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.pricing-features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-features li {
  position: relative;
  padding-left: 25px;
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.pricing-features li.disabled {
  color: var(--text-muted);
  text-decoration: line-through;
}

.pricing-features li.disabled::before {
  content: '✕';
  color: var(--text-muted);
  text-decoration: none;
  display: inline-block;
}

/* Divider Ticker Tape */
.section-divider.ticker-divider {
  padding: 0;
  background: rgba(7, 9, 15, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  height: 72px;
  /* Adjust height specifically for the ticker */
}

.marquee-wrapper {
  width: 100%;
}

.tradingview-widget-container {
  height: 100%;
  width: 100%;
}

/* Testimonials */
.testimonials {
  overflow: hidden;
  padding: 80px 0;
}

.testimonials-slider {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
}

/* Gradient fades for the edges */
.testimonials-slider::before,
.testimonials-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.testimonials-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-dark), transparent);
}

.testimonials-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-dark), transparent);
}

.testimonial-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.testimonial-track:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 1rem));
  }
}

.testimonial-card {
  min-width: 350px;
  max-width: 400px;
  background: var(--bg-card);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
}

.quote-icon {
  font-size: 5rem;
  font-family: serif;
  color: rgba(0, 240, 255, 0.1);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-size: 1rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  font-style: italic;
  color: #E2E8F0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid var(--primary);
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

/* Proofs Section */
.proofs {
  padding: 80px 0;
  overflow: hidden;
  background: relative;
}

.proofs-slider {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
}

/* Gradient fades for the edges */
.proofs-slider::before,
.proofs-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.proofs-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-dark), transparent);
}

.proofs-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-dark), transparent);
}

.proof-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: ticker-proof 40s linear infinite;
}

.proof-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-proof {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 0.75rem));
  }
}

.proof-card {
  min-width: 250px;
  max-width: 300px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: var(--transition);
}

.proof-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.2);
  border-color: rgba(0, 240, 255, 0.3);
}

.proof-card img {
  width: 100%;
  height: auto;
  display: block;
}

.proof-cta {
  margin-top: 3rem;
  text-align: center;
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.contact-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cm-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.contact-method:hover .cm-icon {
  background: rgba(112, 0, 255, 0.2);
  border-color: var(--secondary);
}

.cm-details h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.cm-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.form-card {
  padding: 3rem;
}

.form-card h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-group {
  position: relative;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form select {
  appearance: none;
  cursor: pointer;
}

.contact-form select option {
  background: var(--bg-dark);
  color: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 240, 255, 0.05);
}

/* Hero Layout - Asymmetrical */
.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  min-height: 90vh;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-visual {
  position: relative;
  transform: translateX(10%);
  /* Shifted right */
}

/* Hook Section - Overlapping */
.hook-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.hook-card.problem {
  align-self: flex-start;
  width: 60%;
  z-index: 2;
  margin-bottom: -50px;
  /* Overlap */
}

.hook-card.solution {
  align-self: flex-end;
  width: 60%;
  z-index: 3;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border-left: 5px solid var(--accent);
}

/* Glassmorphism Overload */
.glass-card {
  background: rgba(15, 23, 42, 0.4) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
}

/* Button Glow */
.btn-primary {
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover::after {
  opacity: 1;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    transform: none;
  }

  .hook-card.problem,
  .hook-card.solution {
    width: 100%;
    margin-bottom: 2rem;
  }
}

/* CBDC Style Background Orbs */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: orbFloat 20s infinite alternate ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary), transparent);
  top: -10%;
  right: -10%;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--secondary), transparent);
  bottom: 10%;
  left: -5%;
  animation-delay: -5s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, var(--accent), transparent);
  top: 40%;
  left: 30%;
  animation-delay: -10s;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(100px, 50px) scale(1.2);
  }
}

/* Masked Reveal Animation */
.hero-reveal-box {
  overflow: hidden;
  margin-bottom: 1rem;
}

.reveal-mask {
  transform: translateY(100%);
  animation: revealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes revealUp {
  to {
    transform: translateY(0);
  }
}

/* 3D Hover Effects for Cards */
.hook-card {
  perspective: 1000px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.hook-card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(-2deg) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 30px var(--primary-glow);
  z-index: 10;
}

.footer {
  background: #040509;
  padding: 5rem 0 2rem;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 200px;
  background: radial-gradient(ellipse, rgba(112, 0, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: #000;
  transform: translateY(-3px);
}

.footer-links h4,
.footer-newsletter h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-newsletter p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  color: white;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

.newsletter-form .btn {
  padding: 0.8rem 1.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.8rem;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  gap: 1rem;
}

.disclaimer {
  max-width: 600px;
  text-align: right;
  font-size: 0.75rem;
}

/* Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: var(--transition-slow);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: var(--transition-slow);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .reveal-left {
    transform: translateX(-20px);
  }

  .reveal-right {
    transform: translateX(20px);
  }

  .reveal-up {
    transform: translateY(20px);
  }
}

/* Responsive */
@media (max-width: 1024px) {

  .hero-container,
  .about-container,
  .contact-container {
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .proof-card {
    min-width: 200px;
    max-width: 240px;
  }

  .proofs-slider::before,
  .proofs-slider::after {
    width: 80px;
  }

  .navbar {
    padding: 0.75rem 0;
    padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
    z-index: 10060;
  }

  .navbar,
  .navbar.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(7, 9, 15, 0.97);
  }

  .nav-container {
    gap: 0.5rem;
  }

  .mobile-menu-portal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    pointer-events: none;
    visibility: hidden;
  }

  .mobile-menu-portal.is-open {
    pointer-events: auto;
    visibility: visible;
  }

  .mobile-menu-portal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .mobile-menu-portal.is-open::before {
    opacity: 1;
  }

  .logo {
    font-size: 1.15rem;
    min-width: 0;
    flex-shrink: 1;
  }

  .logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .logo-img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .mobile-actions {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .lang-switcher--desktop {
    display: none !important;
  }

  .lang-switcher--mobile {
    margin-right: 0;
    flex-shrink: 0;
  }

  .mobile-menu-portal .nav-links {
    display: flex;
    position: fixed;
    top: calc(64px + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    margin: 0;
    background: rgba(7, 9, 15, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1.25rem 1.25rem calc(170px + env(safe-area-inset-bottom, 0px));
    transform: translate3d(-100%, 0, 0);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: none;
    z-index: 2;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    list-style: none;
    pointer-events: auto;
  }

  .mobile-menu-portal.is-open .nav-links {
    transform: translate3d(0, 0, 0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 1rem;
    font-size: 1.05rem;
    border-radius: 10px;
    transition: var(--transition);
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(255, 211, 172, 0.08);
    color: var(--primary);
  }

  .nav-links a::after {
    display: none;
  }

  .mobile-menu-portal #navActions,
  .mobile-menu-portal #userMenu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
    background: rgba(7, 9, 15, 0.99);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.45);
    z-index: 3;
    transform: translate3d(0, 100%, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, visibility 0.25s;
  }

  .mobile-menu-portal.is-open #navActions,
  .mobile-menu-portal.is-open #userMenu {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.user-logged-in .mobile-menu-portal.is-open #navActions {
    transform: translate3d(0, 100%, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body:not(.user-logged-in) .mobile-menu-portal.is-open #userMenu {
    transform: translate3d(0, 100%, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-actions .nav-btn-link,
  .user-menu .nav-btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .nav-actions .btn,
  .user-menu .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .user-menu .user-greeting {
    text-align: center;
    padding: 0.5rem 0;
    font-size: 1rem;
  }

  body.menu-open-active .proof-track {
    animation-play-state: paused;
  }

  .proofs,
  .proofs-slider {
    z-index: 1;
    isolation: isolate;
  }

  .navbar.menu-open .mobile-menu-btn span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .navbar.menu-open .mobile-menu-btn span:nth-child(2) {
    transform: translateY(-8px) rotate(-45deg);
  }

  body.menu-locked {
    overflow: hidden;
    touch-action: none;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    height: auto;
    margin-top: 2rem;
  }

  .main-chart-card {
    height: auto;
    transform: none;
  }

  .main-chart-card:hover {
    transform: none;
  }

  .floating-card {
    display: none;
    /* Hide floating cards on mobile to avoid clutter and overflow */
  }

  .hero-cta {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  /* Dashboard mobile adjustments */
  .main-content {
    margin-left: 0;
    padding: 1rem;
    padding-top: 5rem;
  }

  .dash-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .dash-card {
    padding: 1.5rem;
  }

  .section-heading {
    font-size: 1.8rem;
  }

  .about-container,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .disclaimer {
    text-align: left;
  }

  body {
    cursor: auto;
  }

  .cursor,
  .cursor-follower {
    display: none;
    /* Disable custom cursor on mobile */
  }

  .btn,
  .nav-links a,
  .lang-btn,
  .mobile-menu-btn,
  .mobile-dash-btn {
    -webkit-tap-highlight-color: transparent;
  }

  /* AI Assistant Mobile Polish */
  .ai-assistant-container {
    height: calc(100vh - 120px);
    border-radius: 15px;
    margin-bottom: 1rem;
  }

  #aiResponseArea {
    padding: 1.25rem 1rem;
    gap: 1.5rem;
  }

  .ai-msg-row {
    max-width: 92%;
    gap: 10px;
  }

  .ai-bubble {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .ai-avatar {
    width: 32px;
    height: 32px;
  }

  .ai-terminal-header {
    padding: 1rem !important;
  }

  .ai-input-container {
    padding: 1rem !important;
    gap: 10px;
  }

  #aiInput {
    padding: 0.8rem 1rem !important;
    font-size: 0.9rem !important;
  }

  #sendAiBtn {
    padding: 0.8rem 1.2rem !important;
  }

  #sendAiBtn span {
    display: none;
  }

  .quick-prompts {
    margin-top: 1rem !important;
    gap: 8px !important;
  }

  .prompt-chip {
    padding: 0.5rem 0.8rem !important;
    font-size: 0.75rem !important;
  }
}

/* --- Auth Modal Styling --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-slow);
  overflow-y: auto;
  padding: 40px 15px;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 3rem;
  margin: auto;
  transform: translateY(30px) scale(0.95);
  transition: var(--transition-slow);
  z-index: 2;
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover {
  color: var(--primary);
  transform: rotate(90deg);
}

/* Tabs */
.modal-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 2rem;
}

.tab-btn {
  flex: 1;
  padding: 0.8rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--gradient-main);
  color: white;
}

/* Forms */
.auth-form-container {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.auth-form-container.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 2rem;
}

.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0.8rem;
  background: white;
  color: #333;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 1.5rem;
}

.btn-google:hover {
  background: #f1f1f1;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.btn-google img {
  width: 20px;
  height: 20px;
}

.divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.divider span {
  padding: 0 1rem;
}

.auth-box-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-group input {
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 240, 255, 0.05);
}

/* Password Input Toggle */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.password-input-wrapper input {
  padding-right: 40px !important;
  width: 100%;
}

.toggle-password {
  position: absolute;
  right: 15px;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: var(--transition);
  z-index: 10;
}

.toggle-password:hover {
  color: white;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-secondary);
}

.forgot-pass,
.back-to-login {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.forgot-pass:hover,
.back-to-login:hover {
  text-decoration: underline;
}

.terms-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

.terms-text a {
  color: var(--primary);
  text-decoration: none;
}

@media (max-width: 480px) {
  .modal-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .proof-card {
    min-width: 160px;
    max-width: 200px;
  }

  .proofs-slider::before,
  .proofs-slider::after {
    width: 40px;
  }
}

/* Notification Popup */
.notification-popup {
  position: fixed;
  bottom: -100px;
  right: 30px;
  width: 380px;
  max-width: calc(100% - 60px);
  padding: 1.5rem;
  background: rgba(15, 20, 35, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
}

.notification-popup.active {
  bottom: 30px;
  opacity: 1;
  visibility: visible;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notification-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.notification-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.notification-close:hover {
  color: white;
  transform: rotate(90deg);
}

.notification-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.notification-code {
  background: rgba(57, 255, 20, 0.05);
  border: 1px dashed var(--accent);
  padding: 0.8rem;
  border-radius: 10px;
  text-align: center;
  font-family: monospace;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0.5rem 0;
}

/* AI Assistant Premium Styles */
.ai-assistant-container {
  background: rgba(10, 15, 28, 0.4);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  height: 750px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
}

.ai-chat-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.ai-insight-sidebar {
  width: 280px;
  background: rgba(0, 0, 0, 0.2);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.ai-main-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.03), transparent);
  position: relative;
  overflow: hidden;
}

#aiResponseArea {
  flex: 1;
  overflow-y: auto;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Scrollbar Style */
#aiResponseArea::-webkit-scrollbar {
  width: 6px;
}

#aiResponseArea::-webkit-scrollbar-track {
  background: transparent;
}

#aiResponseArea::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.ai-msg-row {
  display: flex;
  gap: 15px;
  max-width: 85%;
  animation: msgAppear 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes msgAppear {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-row {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.assistant-row {
  align-self: flex-start;
}

.ai-avatar {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}

.bot-avatar {
  background: var(--gradient-main);
  padding: 2px;
}

.bot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.user-avatar {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.ai-bubble {
  padding: 1rem 1.4rem;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
}

.ai-msg {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-top-left-radius: 2px;
}

.user-msg {
  background: var(--primary);
  color: black;
  border-top-right-radius: 2px;
  font-weight: 500;
}

.ai-msg p:last-child {
  margin-bottom: 0;
}

.quick-prompts button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s;
}

.quick-prompts button:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* Multimodal Image Preview */
.image-preview-container {
  display: none;
  padding: 1rem 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  align-items: center;
  gap: 15px;
}

.image-preview-container.active {
  display: flex;
}

.img-preview-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--primary);
}

.img-preview-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-img-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  background: rgba(255, 71, 87, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-input-container {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.2rem 2rem;
}

.attach-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  transition: var(--transition);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.attach-btn:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.btn-primary.send-btn {
  flex-shrink: 0;
  white-space: nowrap;
  min-width: fit-content;
}

.sent-image {
  max-width: 300px;
  border-radius: 12px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
}

/* Typing animation */
.dots {
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .ai-insight-sidebar {
    display: none;
  }

  .ai-assistant-container {
    height: 700px;
  }
}

@media (max-width: 600px) {
  .ai-assistant-container {
    height: 80vh;
    border-radius: 15px;
  }

  #aiResponseArea {
    padding: 1.2rem;
    gap: 1.2rem;
  }

  .ai-input-container {
    padding: 0.8rem 1rem !important;
    gap: 8px !important;
  }

  .attach-btn,
  #sendAiBtn {
    flex-shrink: 0 !important;
  }

  #aiInput {
    flex: 1 !important;
    min-width: 50px !important;
  }

  .ai-msg-row {
    max-width: 92%;
  }

  .ai-bubble {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
  }

  #sendAiBtn span {
    display: none;
  }

  /* Show only icon on small mobile */
  #sendAiBtn {
    padding: 0 !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 45px !important;
  }
}

.notification-footer {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

@media (max-width: 500px) {
  .notification-popup {
    width: 92% !important;
    left: 4% !important;
    right: 4% !important;
    bottom: 20px;
    padding: 1.25rem;
  }

  .notification-title {
    font-size: 0.95rem;
  }

  .notification-body p {
    font-size: 0.85rem;
  }
}

/* TradingView Ticker Responsiveness */
.ticker-divider {
  width: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tradingview-widget-container {
  width: 100% !important;
}

/* VIP Rewards & Points Styles */
.vip-badge {
  padding: 4px 12px;
  background: linear-gradient(90deg, #FFD700, #FFA500);
  color: black;
  font-weight: 800;
  font-size: 0.75rem;
  border-radius: 20px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-muted) !important;
}

.task-item {
  transition: var(--transition);
}

.task-item:hover {
  background: rgba(255, 215, 0, 0.03) !important;
  border-color: rgba(255, 215, 0, 0.1) !important;
}

#referralLink {
  text-overflow: ellipsis;
}

@keyframes gold-glow {
  0% {
    filter: drop-shadow(0 0 2px gold);
  }

  50% {
    filter: drop-shadow(0 0 8px gold);
  }

  100% {
    filter: drop-shadow(0 0 2px gold);
  }
}

.gold-star {
  animation: gold-glow 2s infinite;
}

/* Attention Animations */
.pulse-attention {
  cursor: pointer;
  animation: attentionPulse 2.5s infinite;
  border: 1px solid var(--primary);
  text-decoration: none !important;
}

.pulse-attention:hover {
  transform: scale(1.05) !important;
  box-shadow: 0 0 25px var(--primary);
}

@keyframes attentionPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(0, 240, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
  }
}

a.floating-card {
  text-decoration: none;
  color: inherit;
}

@keyframes floatAndPulse {
  0% {
    transform: translateY(0px);
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
  }

  50% {
    transform: translateY(-15px);
    box-shadow: 0 0 0 15px rgba(0, 240, 255, 0);
  }

  100% {
    transform: translateY(0px);
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
  }
}

.floating-card.pulse-attention {
  animation: floatAndPulse 4s ease-in-out infinite;
}

.floating-card.pulse-attention:hover {
  animation-play-state: paused;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 25px var(--primary);
}

/* Global Responsive Fixes for slmforex.com */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    align-items: center;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .hero-stats {
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    width: 100%;
  }

  .hero-visual {
    height: auto;
    min-height: 250px;
    margin-top: 2rem;
  }

  .main-chart-card {
    transform: none !important;
    max-width: 100%;
    height: auto !important;
    padding: 1rem;
  }

  .floating-card {
    display: none !important;
    /* Empeche le glissement horizontal */
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .experience-badge {
    right: 10px;
    bottom: 10px;
    padding: 1rem;
  }

  .experience-badge .years {
    font-size: 1.8rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.popular {
    transform: none;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {

  .hero-title {
    font-size: 2rem;
  }

  .stat-item {
    flex: 1;
    min-width: 80px;
  }

  .section-pd {
    padding: 4rem 1.5rem;
  }
}

/* --- Scroll Reveal Animations --- */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-up {
  transform: translateY(50px);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* Hide Google Auth on Mobile */
@media (max-width: 768px) {

  .google-btn,
  .btn-google,
  .auth-separator,
  .divider {
    display: none !important;
  }
}

/* Logo Image Styling */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  object-fit: cover;
  box-shadow: 0 0 10px var(--primary-glow);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -1px;
  text-transform: lowercase;
  color: var(--text-primary);
}

/* Free Webinar / Training Section Styling */
.free-training-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(43, 58, 143, 0.1) 0%, transparent 70%), var(--bg-dark);
  border-top: 1px solid rgba(245, 168, 0, 0.1);
  border-bottom: 1px solid rgba(245, 168, 0, 0.1);
  padding: 8rem 0;
}

.free-training-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 168, 0, 0.08) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.free-training-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-top: 3rem;
}

/* Webinar Information Panel */
.webinar-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.webinar-date-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(10, 18, 40, 0.6);
  border: 1px solid rgba(245, 168, 0, 0.2);
  padding: 1.5rem;
  border-radius: 16px;
  backdrop-filter: var(--backdrop-blur);
}

.wdb-icon {
  font-size: 2.5rem;
}

.wdb-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wdb-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.wdb-date {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.wdb-time {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.webinar-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.webinar-perks li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.perk-check {
  font-size: 1.2rem;
}

.spots-counter {
  margin-top: 1rem;
  background: rgba(245, 168, 0, 0.05);
  border: 1px solid rgba(245, 168, 0, 0.1);
  padding: 1.2rem;
  border-radius: 12px;
}

.spots-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.spots-fill {
  height: 100%;
  background: var(--gradient-main);
  border-radius: 10px;
  box-shadow: 0 0 10px var(--primary-glow);
  transition: width 1s ease-in-out;
}

.spots-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Webinar Form Block */
.webinar-form-box {
  background: rgba(10, 18, 40, 0.7);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid rgba(245, 168, 0, 0.15);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.form-box-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  margin-bottom: 1rem;
  box-shadow: 0 0 15px var(--primary-glow);
}

.form-box-header h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.form-box-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.webinar-reg-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.reg-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.reg-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reg-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.reg-form-group label i {
  color: var(--primary);
  font-size: 0.8rem;
}

.reg-form-group input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.reg-form-group input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.reg-submit-btn {
  margin-top: 1rem;
  padding: 1.1rem !important;
  font-size: 1.1rem;
  border-radius: 14px;
}

.reg-privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ERROR CLASS FOR FORMS */
.reg-form-group.has-error input {
  border-color: #ef4444;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.error-message {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 2px;
}

/* ===== TICKET DESIGN ===== */
.webinar-ticket-view {
  animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scaleIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.ticket-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ticket {
  width: 100%;
  max-width: 380px;
  background: linear-gradient(135deg, #0e1a38 0%, #070e24 100%);
  border: 1px solid rgba(245, 168, 0, 0.25);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 168, 0, 0.05);
  position: relative;
}

.ticket-top {
  padding: 2rem 2rem 1.5rem;
  text-align: center;
  background: linear-gradient(to bottom, rgba(245, 168, 0, 0.05) 0%, transparent 100%);
}

.ticket-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1rem;
}

.ticket-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  object-fit: cover;
}

.ticket-brand-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.ticket-event-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.ticket-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Ticket Divider with Punch holes */
.ticket-divider {
  height: 20px;
  position: relative;
  display: flex;
  align-items: center;
}

.ticket-hole {
  width: 20px;
  height: 20px;
  background: #0d1629; /* Match outer background to punch a visual hole */
  border-radius: 50%;
  position: absolute;
  z-index: 10;
}

.ticket-hole.left {
  left: -10px;
  border-right: 1px solid rgba(245, 168, 0, 0.25);
}

.ticket-hole.right {
  right: -10px;
  border-left: 1px solid rgba(245, 168, 0, 0.25);
}

.ticket-dashes {
  width: 100%;
  height: 1px;
  border-top: 2px dashed rgba(245, 168, 0, 0.3);
}

/* Ticket Body */
.ticket-body {
  padding: 1.5rem 2rem;
}

.ticket-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.ticket-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ticket-info-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ticket-info-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  word-break: break-all;
}

.ticket-id-row {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ticket-id-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.ticket-id-value {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}

/* Ticket Bottom */
.ticket-bottom {
  padding: 1.5rem 2rem 2rem;
  background: rgba(0, 0, 0, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.ticket-barcode {
  width: 80%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.barcode-bars {
  width: 100%;
  height: 35px;
  /* Visual simulation of standard barcode */
  background: repeating-linear-gradient(
    90deg,
    var(--text-secondary),
    var(--text-secondary) 2px,
    transparent 2px,
    transparent 5px,
    var(--text-secondary) 5px,
    var(--text-secondary) 8px,
    transparent 8px,
    transparent 9px,
    var(--text-secondary) 9px,
    var(--text-secondary) 10px
  );
  opacity: 0.6;
}

.ticket-success-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.ticket-success-msg i {
  font-size: 1.2rem;
}

.ticket-email-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 1.5rem;
}

/* Confetti effect placeholder inside success ticket box */
.ticket-confetti {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
}

/* Responsive adjust for free webinar layout */
@media (max-width: 992px) {
  .free-training-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .webinar-info {
    text-align: center;
    align-items: center;
  }

  .webinar-date-box {
    justify-content: center;
    width: 100%;
    max-width: 450px;
  }

  .spots-counter {
    width: 100%;
    max-width: 450px;
  }
}

@media (max-width: 576px) {
  .free-training-section {
    padding: 5rem 0;
  }

  .webinar-form-box {
    padding: 2rem 1.5rem;
  }

  .reg-form-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .ticket {
    max-width: 100%;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* VIP Pass Card (Landing Page Teaser) */
.vip-pass-card {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  background: linear-gradient(135deg, #0e1a38 0%, #070e24 100%);
  border: 1px solid rgba(245, 168, 0, 0.25);
  border-radius: 24px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(245, 168, 0, 0.05);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.vip-pass-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(245, 168, 0, 0.15);
}

.vip-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(245, 168, 0, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.vip-card-header {
  padding: 1.5rem 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.vip-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vip-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  object-fit: cover;
}

.vip-logo-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.vip-badge {
  background: rgba(245, 168, 0, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.vip-card-body {
  padding: 2rem 1.8rem 1.5rem;
}

.vip-card-body h3 {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.vip-event-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.vip-date-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vip-date-info span {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vip-date-info span i {
  color: var(--primary);
  font-size: 0.85rem;
}

.vip-card-divider {
  height: 20px;
  position: relative;
  display: flex;
  align-items: center;
}

.vip-card-hole {
  width: 20px;
  height: 20px;
  background: #060c1a; /* Match outer page background */
  border-radius: 50%;
  position: absolute;
  z-index: 5;
}

.vip-card-hole.left {
  left: -10px;
  border-right: 1px solid rgba(245, 168, 0, 0.25);
}

.vip-card-hole.right {
  right: -10px;
  border-left: 1px solid rgba(245, 168, 0, 0.25);
}

.vip-card-dashes {
  width: 100%;
  height: 1px;
  border-top: 2px dashed rgba(245, 168, 0, 0.2);
}

.vip-card-footer {
  padding: 1.5rem 1.8rem 2rem;
  background: rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.webinar-cta-btn {
  padding: 1rem !important;
  font-size: 1rem !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 20px rgba(245, 168, 0, 0.15) !important;
}

.webinar-cta-btn:hover {
  box-shadow: 0 15px 30px rgba(245, 168, 0, 0.3) !important;
}

/* Standalone Register Page Layout */
.register-page {
  background: radial-gradient(circle at 50% -20%, rgba(245, 168, 0, 0.15), transparent 55%),
    radial-gradient(circle at 10% 40%, rgba(43, 58, 143, 0.15), transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(61, 82, 200, 0.1), transparent 45%),
    var(--bg-dark);
}

.register-main-container {
  padding: 10rem 0 6rem;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

.back-link-container {
  margin-bottom: 2rem;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-back-home:hover {
  color: var(--primary);
  border-color: rgba(245, 168, 0, 0.3);
  background: rgba(245, 168, 0, 0.05);
  transform: translateX(-4px);
}

.register-layout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.register-info-panel {
  display: flex;
  flex-direction: column;
}

.register-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin: 1rem 0 1.5rem;
}

.register-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.webinar-date-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(10, 18, 40, 0.6);
  border: 1px solid rgba(245, 168, 0, 0.2);
  padding: 1.8rem;
  border-radius: 20px;
  backdrop-filter: var(--backdrop-blur);
  margin-bottom: 2.5rem;
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.wdc-icon {
  font-size: 2.8rem;
}

.wdc-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wdc-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  font-weight: 700;
}

.wdc-date {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.wdc-time {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.webinar-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.webinar-bullets li {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.bullet-check {
  color: var(--primary);
  font-size: 1.3rem;
  margin-top: 3px;
}

.bullet-text h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.bullet-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.spots-status-box {
  background: rgba(245, 168, 0, 0.04);
  border: 1px dashed rgba(245, 168, 0, 0.2);
  padding: 1.5rem;
  border-radius: 16px;
}

.spots-status-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.8rem;
}

.spots-status-fill {
  height: 100%;
  background: var(--gradient-main);
  border-radius: 10px;
  box-shadow: 0 0 10px var(--primary-glow);
}

.spots-status-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.register-form-panel {
  position: relative;
}

/* Premium Styling Refinements for Cards */
.feature-card {
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 168, 0, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(245, 168, 0, 0.05);
  background: rgba(14, 26, 56, 0.4);
}

.pricing-card {
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 168, 0, 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(245, 168, 0, 0.08);
}

/* Responsive for Register Layout */
@media (max-width: 992px) {
  .register-main-container {
    padding: 8rem 0 4rem;
  }

  .register-layout-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .register-info-panel {
    text-align: center;
    align-items: center;
  }

  .webinar-date-card {
    justify-content: center;
    width: 100%;
    max-width: 500px;
  }

  .webinar-bullets {
    align-items: flex-start;
    max-width: 500px;
  }

  .webinar-bullets li {
    text-align: left;
  }

  .spots-status-box {
    width: 100%;
    max-width: 500px;
  }
}

@media (max-width: 576px) {
  .register-main-container {
    padding: 7rem 0 3rem;
  }
  
  .wdc-icon {
    font-size: 2.2rem;
  }

  .wdc-date {
    font-size: 1.2rem;
  }
  
  .btn-back-home {
    font-size: 0.85rem;
  }
}

/* Pricing Price Styles (USD/AED & Discounts) */
.price-container {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: flex-start;
}

.price-original-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-original {
  font-size: 1.1rem;
  text-decoration: line-through;
  color: var(--text-secondary);
  opacity: 0.5;
}

.discount-badge {
  background: var(--gradient-main);
  color: #1a1000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px var(--primary-glow);
}

.price-main-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-amount {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-primary);
  font-family: var(--font-heading);
  line-height: 1;
}

.price-symbol {
  font-size: 1.8rem;
  color: var(--primary);
  vertical-align: top;
}

.price-currency {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 700;
  margin-left: 2px;
}

.price-aed-row {
  display: flex;
  align-items: center;
}

.price-aed-amount {
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-heading);
  background: rgba(245, 168, 0, 0.08);
  border: 1px solid rgba(245, 168, 0, 0.15);
  padding: 4px 10px;
  border-radius: 8px;
}


/* --- AI Chat Widget --- */
.ai-chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}

.ai-chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-main);
    color: #1a1000;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.6);
}

.ai-chat-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: bottom right;
}

.ai-chat-container.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.ai-chat-header {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.ai-chat-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.ai-status {
    font-size: 0.8rem;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 5px;
}
.ai-status::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
}

.ai-chat-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.ai-chat-close:hover {
    color: var(--primary);
}

.ai-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-chat-messages::-webkit-scrollbar {
    width: 6px;
}
.ai-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}
.ai-chat-messages::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 10px;
}

.ai-message {
    display: flex;
    max-width: 85%;
}

.ai-message.bot {
    align-self: flex-start;
}

.ai-message.user {
    align-self: flex-end;
}

.ai-message .message-content {
    padding: 12px 16px;
    border-radius: 15px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ai-message.bot .message-content {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-bottom-left-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-message.user .message-content {
    background: var(--gradient-main);
    color: #1a1000;
    border-bottom-right-radius: 5px;
    font-weight: 500;
}

.ai-chat-input-area {
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
}

.ai-chat-input-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px 15px;
    color: var(--text-light);
    outline: none;
    transition: border-color 0.3s;
}

.ai-chat-input-area input:focus {
    border-color: var(--primary);
}

.ai-chat-input-area button {
    background: var(--primary);
    color: #1a1000;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ai-chat-input-area button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.loading-indicator .message-content {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 15px 20px;
}
.loading-indicator .dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}
.loading-indicator .dot:nth-child(1) { animation-delay: -0.32s; }
.loading-indicator .dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@media (max-width: 480px) {
    .ai-chat-container {
        width: calc(100vw - 40px);
        right: -10px;
        bottom: 70px;
    }
}

/* --- AI Chat Upgrades Styles --- */

/* Header Action Buttons */
.ai-chat-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-chat-clear {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: color 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.ai-chat-clear:hover {
    color: #ef4444; /* Soft red for delete */
    transform: scale(1.1);
}

/* Suggestion Chips Styles */
.ai-chat-suggestions {
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
}

.ai-chat-suggestions::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.suggestion-chip {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-light);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.suggestion-chip:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

/* Floating Toggle Button Glow Pulse */
.ai-chat-toggle.pulse {
    animation: chat-button-pulse 2.5s infinite;
}

@keyframes chat-button-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
        transform: scale(1);
    }
}

/* Message Bubble Entrance Slide-in */
.ai-message {
    opacity: 0;
    transform: translateY(12px);
    animation: message-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes message-slide-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bot Message Markdown Styles */
.ai-message.bot .message-content {
    word-break: break-word;
}

.ai-message.bot .message-content p {
    margin: 0 0 8px 0;
}
.ai-message.bot .message-content p:last-child {
    margin-bottom: 0;
}

.ai-message.bot .message-content strong {
    color: var(--primary); /* Gold color for highlights */
    font-weight: 700;
}

.ai-message.bot .message-content em {
    font-style: italic;
    opacity: 0.9;
}

.ai-message.bot .message-content a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.2s;
}

.ai-message.bot .message-content a:hover {
    opacity: 0.8;
}

.ai-message.bot .message-content ul,
.ai-message.bot .message-content ol {
    margin: 8px 0;
    padding-left: 20px;
}

.ai-message.bot .message-content li {
    margin-bottom: 4px;
    list-style-type: disc;
}

.ai-message.bot .message-content ol li {
    list-style-type: decimal;
}

.ai-message.bot .message-content code {
    background: rgba(0, 0, 0, 0.3);
    color: #ef4444; /* Sleek contrast color for inline code */
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85em;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ai-message.bot .message-content pre {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    padding: 10px;
    margin: 10px 0;
    overflow-x: auto;
}

.ai-message.bot .message-content pre code {
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 0;
    font-size: 0.85em;
    font-family: monospace;
    display: block;
}

/* ===== LOT CALCULATOR SECTION ===== */
.lot-calculator-section {
  background: radial-gradient(circle at 30% 50%, rgba(245, 168, 0, 0.06), transparent 60%);
}

.calculator-card {
  max-width: 1000px;
  margin: 3rem auto 0;
  padding: 3rem;
  border-radius: 24px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.calc-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-input-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-input-group label i {
  color: var(--primary);
  font-size: 0.85rem;
}

.calc-input-group input,
.calc-input-group select {
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  width: 100%;
}

.calc-input-group input:focus,
.calc-input-group select:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(245, 168, 0, 0.05);
}

.calc-input-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23F5A800' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.calc-input-group select option {
  background: var(--bg-dark);
  color: white;
}

.calc-result-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  height: 100%;
}

.calc-result-box {
  text-align: center;
  padding: 2.5rem;
  background: rgba(245, 168, 0, 0.08);
  border: 1px solid rgba(245, 168, 0, 0.2);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.calc-result-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245, 168, 0, 0.1), transparent 60%);
  pointer-events: none;
}

.calc-result-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.calc-result-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  animation: pulse-value 2s ease-in-out infinite;
}

@keyframes pulse-value {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.calc-result-sub {
  display: block;
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.calc-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.calc-info-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}

.calc-info-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.calc-info-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.calc-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .calculator-card {
    padding: 1.5rem;
  }
  .calc-result-value {
    font-size: 3rem;
  }
}

/* ===== AUTH OVERLAY (for protected sections) ===== */
.auth-required-section {
  position: relative;
}

.auth-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 12, 26, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.auth-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.auth-overlay-content {
  text-align: center;
  max-width: 400px;
  padding: 3rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(245, 168, 0, 0.2);
  border-radius: 24px;
  backdrop-filter: blur(10px);
}

.auth-overlay-content i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: block;
}

.auth-overlay-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.auth-overlay-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ===== AUTH ERROR MESSAGES ===== */
.auth-error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  text-align: center;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.auth-error.success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10b981;
}

/* ===== USER MENU (logged in state) ===== */
.user-menu {
  align-items: center;
  gap: 1rem;
}

.user-greeting {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

/* ===== SIMPLIFIED FOOTER ===== */
.footer-simple {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.footer-simple .footer-brand {
  text-align: center;
  align-items: center;
}

.footer-simple .footer-bio {
  text-align: center;
  margin: 0 auto;
}

.footer-simple .social-links {
  justify-content: center;
}

/* ===== BTN-SM ===== */
.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

/* ===== NAV FREE TRAINING LINK (in nav-links list) ===== */
.nav-free-training {
  color: var(--primary) !important;
  font-weight: 600 !important;
}

/* --- Language Switcher --- */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 3px;
  margin-right: 12px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.lang-btn:hover {
  color: var(--text-light);
}

.lang-btn.active {
  background: var(--gradient-main);
  color: #1a1000;
}

.user-menu .lang-switcher {
  margin-right: 16px;
}

@media (min-width: 769px) {
  .lang-switcher--mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .lang-switcher--mobile {
    margin-right: 0;
    padding: 2px;
  }

  .lang-switcher--mobile .lang-btn {
    padding: 5px 7px;
    font-size: 0.68rem;
    min-width: 30px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat-item {
    min-width: 80px;
  }

  .ai-chat-widget {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right: 16px;
  }

  .ai-chat-toggle {
    width: 54px;
    height: 54px;
    font-size: 1.3rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .btn-lg {
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 380px) {
  .mobile-user-greeting {
    display: none;
  }

  .logo-text {
    max-width: 100px;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.8rem 0.85rem;
  }

  #navActions,
  #userMenu {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* --- User Dashboard --- */
.dashboard-page {
  min-height: 100vh;
}

/* Dashboard does not load main.js — show content without scroll-reveal */
.dashboard-page .reveal-up,
.dashboard-page .reveal-left,
.dashboard-page .reveal-right {
  opacity: 1;
  transform: none;
}

.dashboard-main {
  padding: 7rem 0 4rem;
}

.dash-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.dash-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 1rem 0;
}

.dash-hero-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 540px;
}

.dash-user-email {
  color: var(--primary);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.dash-quick-stats {
  display: grid;
  gap: 1rem;
}

.dash-stat-card {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dash-stat-card i {
  color: var(--primary);
  font-size: 1.25rem;
}

.dash-stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.dash-stat-value {
  font-size: 1.1rem;
  font-weight: 700;
}

.dash-stat-value.status-registered {
  color: #4ade80;
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.dash-card {
  padding: 2rem;
}

.dash-card-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.dash-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(245, 168, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.dash-card-header h2 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.dash-card-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.dash-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.dash-feature-list li {
  padding: 0.4rem 0;
  color: rgba(255, 255, 255, 0.85);
}

.dash-feature-list i {
  color: var(--primary);
  margin-right: 0.5rem;
}

.dash-calc-compact {
  display: grid;
  gap: 1rem;
}

.dash-calc-result {
  margin-top: 0.5rem;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(245, 168, 0, 0.08);
  border: 1px solid rgba(245, 168, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dash-calc-result strong {
  color: var(--primary);
  font-size: 1.5rem;
}

.dash-calc-meta {
  margin-left: auto;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.dash-partners-section {
  margin-top: 1rem;
}

.dash-partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.dash-partners-grid .partner-card {
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.partner-region {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(245, 168, 0, 0.1);
  border: 1px solid rgba(245, 168, 0, 0.25);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.dash-partners-grid .partner-type {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.dash-partners-grid h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.dash-partners-grid p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.dash-partners-grid .partner-featured {
  border: 1px solid var(--primary);
  box-shadow: 0 0 30px rgba(245, 168, 0, 0.15);
}

.dash-partners-grid .popular-badge {
  background: var(--gradient-main);
  color: #1a1000;
  font-weight: 900;
  position: absolute;
  top: 20px;
  right: -35px;
  transform: rotate(45deg);
  padding: 4px 40px;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

.dash-footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  .dash-hero {
    grid-template-columns: 1fr;
  }

  .dash-grid,
  .dash-partners-grid {
    grid-template-columns: 1fr;
  }
}

