@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300..900;1,300..900&family=Manrope:wght@300..800&display=swap');

:root {
  --bg-main: #060608;
  --bg-surface: #0c0d12;
  --bg-glass: rgba(15, 15, 22, 0.72);
  --bg-glass-card: rgba(22, 22, 32, 0.65);
  --bg-glass-hover: rgba(35, 25, 32, 0.85);
  
  --border-glass: rgba(255, 46, 75, 0.18);
  --border-glass-bright: rgba(255, 50, 80, 0.45);
  
  --red-primary: #ff2a47;
  --red-bright: #ff4763;
  --red-glow: rgba(255, 42, 71, 0.6);
  --red-glow-heavy: rgba(255, 0, 43, 0.85);
  --red-dark: #6e0013;
  
  --text-main: #f5f6fa;
  --text-muted: #9aa1b2;
  --text-dim: #5c6273;
  
  --sidebar-width: 90px;
  --header-height: 80px;

  --font-heading: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(120, 10, 25, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 100% 60%, rgba(255, 42, 71, 0.05) 0%, transparent 50%),
              var(--bg-main);
  line-height: 1.6;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 42, 71, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--red-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text-main);
  line-height: 1.15;
}

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

ul {
  list-style: none;
}

/* Glowing Crimson Text */
.text-glow-red {
  color: #ffffff;
  text-shadow: 0 0 12px var(--red-glow), 0 0 30px var(--red-glow);
}

.text-gradient-red {
  background: linear-gradient(135deg, #ffffff 20%, #ff4763 60%, #ff002b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.45),
              inset 0 1px 1px 0 rgba(255, 255, 255, 0.08);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-glass-bright);
  box-shadow: 0 12px 40px 0 rgba(255, 42, 71, 0.15),
              inset 0 1px 1px 0 rgba(255, 255, 255, 0.15);
}

/* Fixed Left Sidebar (Matching Reference Screenshot) */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  background: rgba(8, 8, 12, 0.85);
  backdrop-filter: blur(15px);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-logo {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(255, 42, 71, 0.7));
  transition: transform var(--transition-fast);
}

.sidebar-logo:hover {
  transform: scale(1.1) rotate(5deg);
}

.sidebar-logo img {
  width: 100%;
  height: auto;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
}

.sidebar-nav::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 42, 71, 0.3), transparent);
  transform: translateX(-50%);
  z-index: 1;
}

.sidebar-link-item {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 42, 71, 0.4);
  transition: var(--transition-fast);
}

.sidebar-link-item.active .sidebar-dot,
.sidebar-link-item:hover .sidebar-dot {
  background: var(--red-primary);
  box-shadow: 0 0 10px var(--red-primary), 0 0 20px var(--red-primary);
  transform: scale(1.4);
}

.sidebar-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  transition: var(--transition-fast);
  cursor: pointer;
}

.sidebar-link-item.active .sidebar-text,
.sidebar-link-item:hover .sidebar-text {
  color: #ffffff;
  text-shadow: 0 0 8px var(--red-glow);
}

.sidebar-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.65rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.sidebar-year {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Header & Top Bar */
.top-header {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  height: var(--header-height);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: linear-gradient(to bottom, rgba(6, 6, 8, 0.9), transparent);
  pointer-events: none;
}

.top-header > * {
  pointer-events: auto;
}

.brand-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-name {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
}

.brand-badge {
  background: rgba(255, 42, 71, 0.15);
  border: 1px solid rgba(255, 42, 71, 0.4);
  color: var(--red-bright);
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

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

.contact-quick-btn {
  background: rgba(255, 42, 71, 0.1);
  border: 1px solid var(--border-glass);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.contact-quick-btn:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  box-shadow: 0 0 20px var(--red-glow);
  transform: translateY(-2px);
}

.menu-toggle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 20, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.menu-toggle-btn:hover {
  border-color: var(--red-primary);
  box-shadow: 0 0 15px var(--red-glow);
  color: var(--red-primary);
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 10, 0.95);
  backdrop-filter: blur(25px);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 42, 71, 0.15);
  border: 1px solid var(--border-glass-bright);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.drawer-link:hover {
  color: var(--red-bright);
  text-shadow: 0 0 15px var(--red-glow);
}

/* Main Content Wrapper */
.main-wrapper {
  margin-left: var(--sidebar-width);
  width: calc(100% - var(--sidebar-width));
  min-height: 100vh;
}

/* Section Shared Layout */
section {
  padding: 100px 5%;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-bright);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-primary);
  box-shadow: 0 0 10px var(--red-primary);
}

.section-heading {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin-bottom: 50px;
}

/* Hero Section (Matching Screen Design) */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 6% 60px 6%;
  overflow: hidden;
}

.hero-bg-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
  filter: contrast(1.2) brightness(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(255, 42, 71, 0.25) 0%, transparent 55%),
              linear-gradient(to right, rgba(6, 6, 8, 0.92) 0%, rgba(6, 6, 8, 0.45) 45%, rgba(6, 6, 8, 0.6) 100%),
              linear-gradient(to bottom, rgba(6, 6, 8, 0.2) 0%, rgba(6, 6, 8, 0.95) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-subtitle-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(255, 42, 71, 0.12);
  border: 1px solid var(--border-glass-bright);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-subtitle-badge .feather-icon {
  color: var(--red-bright);
  filter: drop-shadow(0 0 5px var(--red-glow));
}

.hero-title {
  font-size: 4.8rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 1.2rem;
  color: #cfd4e2;
  margin-bottom: 44px;
  max-width: 580px;
  font-weight: 400;
  line-height: 1.7;
}

/* Pulsing Red Circle CTA Button (Exact Reference Match) */
.hero-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 60px;
}

.circular-glow-btn {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff2a47 0%, #a60017 70%, #4a000a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 35px var(--red-glow), 0 0 70px rgba(255, 42, 71, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.circular-glow-btn::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 42, 71, 0.5);
  animation: pulse-ring 2.5s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.92);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.12);
    opacity: 0.3;
  }
  100% {
    transform: scale(0.92);
    opacity: 0.8;
  }
}

.circular-glow-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 50px var(--red-glow-heavy), 0 0 90px rgba(255, 42, 71, 0.7);
}

.secondary-action-btn {
  background: rgba(20, 20, 28, 0.6);
  border: 1px solid var(--border-glass);
  padding: 16px 32px;
  border-radius: 40px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(12px);
  transition: var(--transition-fast);
}

.secondary-action-btn:hover {
  background: rgba(255, 42, 71, 0.15);
  border-color: var(--red-bright);
  box-shadow: 0 0 25px var(--red-glow);
  transform: translateY(-2px);
}

/* Floating Glass Cards at Bottom of Hero (Reference Match) */
.hero-glass-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
}

.hero-glass-card {
  position: relative;
  padding: 24px 28px;
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.hero-glass-card::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-primary);
  box-shadow: 0 0 8px var(--red-primary);
}

.hero-glass-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-bright);
  background: var(--bg-glass-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 42, 71, 0.2);
}

.hero-glass-card-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--red-bright);
  margin-bottom: 8px;
  padding-left: 12px;
  text-transform: uppercase;
}

.hero-glass-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.hero-glass-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Course Section */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.course-card {
  position: relative;
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.course-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 42, 71, 0.25) 0%, transparent 70%);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.course-card:hover {
  transform: translateY(-8px);
  border-color: var(--red-bright);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 30px var(--red-glow);
}

.course-card:hover::after {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 42, 71, 0.4) 0%, transparent 70%);
}

.course-icon-badge {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(255, 42, 71, 0.12);
  border: 1px solid var(--border-glass-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--red-bright);
  margin-bottom: 24px;
  box-shadow: 0 0 15px rgba(255, 42, 71, 0.2);
}

.course-lang-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.course-level-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.level-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
}

.course-features-list {
  margin: 20px 0 30px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #d1d5e3;
}

.course-feature-item svg {
  color: var(--red-bright);
  flex-shrink: 0;
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.course-price-wrap {
  display: flex;
  flex-direction: column;
}

.course-price-label {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.course-price-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--red-bright);
}

.course-select-btn {
  background: var(--red-primary);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 0 15px var(--red-glow);
}

.course-select-btn:hover {
  background: var(--red-bright);
  box-shadow: 0 0 25px var(--red-glow-heavy);
  transform: scale(1.05);
}

/* Turkey Education Consultancy Section */
.turkey-section {
  background: radial-gradient(circle at 0% 50%, rgba(255, 42, 71, 0.08) 0%, transparent 60%),
              var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.consultancy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 992px) {
  .consultancy-grid {
    grid-template-columns: 1fr;
  }
}

.turkey-benefits-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(20px);
}

.benefit-step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
}

.benefit-step-item:last-child {
  margin-bottom: 0;
}

.benefit-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 42, 71, 0.15);
  border: 1px solid var(--border-glass-bright);
  color: var(--red-bright);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(255, 42, 71, 0.2);
}

.benefit-info h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.benefit-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Dynamic Eligibility Calculator Box */
.calculator-box {
  background: linear-gradient(145deg, rgba(25, 20, 28, 0.9), rgba(12, 12, 18, 0.95));
  border: 1px solid var(--border-glass-bright);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 42, 71, 0.15);
}

.calculator-box h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

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

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(10, 10, 15, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus {
  border-color: var(--red-bright);
  box-shadow: 0 0 15px rgba(255, 42, 71, 0.3);
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #ff2a47, #b8001d);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 25px var(--red-glow);
  transition: var(--transition-fast);
}

.form-submit-btn:hover {
  background: linear-gradient(135deg, #ff4763, #d60024);
  box-shadow: 0 0 40px var(--red-glow-heavy);
  transform: translateY(-2px);
}

/* Statistics & Advantages Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 70px;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: #ffffff;
  text-shadow: 0 0 20px var(--red-glow);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Modal Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 6, 0.88);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 540px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass-bright);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255, 42, 71, 0.25);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--red-primary);
}

/* Footer Section */
.footer-section {
  background: rgba(4, 4, 6, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 6% 40px 6%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 18px 0 24px 0;
  max-width: 340px;
}

.social-links-row {
  display: flex;
  gap: 14px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  box-shadow: 0 0 15px var(--red-glow);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #fff;
}

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

.footer-link {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-link:hover {
  color: var(--red-bright);
  padding-left: 6px;
}

.footer-bottom-bar {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Responsive Overrides */
@media (max-width: 850px) {
  :root {
    --sidebar-width: 0px;
  }
  .sidebar {
    display: none;
  }
  .main-wrapper {
    margin-left: 0;
    width: 100%;
  }
  .top-header {
    left: 0;
    padding: 0 20px;
  }
  .hero-title {
    font-size: 3.2rem;
  }
  .hero-cta-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}
