/* ==========================================================================
   BELLATRIX GLOBAL - DESIGN SYSTEM & STYLESHEET
   Aesthetics: Deep Space Cyberpunk / Obsidian Glassmorphism / Cosmic Gradients
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables & Theme Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palettes */
  --bg-dark: #060814;
  --bg-dark-secondary: #0a0e22;
  --bg-surface: rgba(13, 19, 41, 0.65);
  --bg-surface-hover: rgba(20, 29, 62, 0.8);
  --bg-input: rgba(8, 12, 28, 0.85);

  /* Accents & Gradients */
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #8b5cf6;
  --accent-magenta: #d946ef;
  --accent-emerald: #10b981;

  --grad-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #8b5cf6 100%);
  --grad-glow: linear-gradient(135deg, rgba(0, 242, 254, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
  --grad-card-border: linear-gradient(135deg, rgba(0, 242, 254, 0.35), rgba(139, 92, 246, 0.15), rgba(255, 255, 255, 0.05));

  /* Typography */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-faint: #64748b;
  --text-cyan: #38bdf8;

  --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --font-arabic: 'Cairo', 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Borders & Shadows */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-glow: rgba(0, 242, 254, 0.35);
  --shadow-subtle: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow-cyan: 0 0 35px -5px rgba(0, 242, 254, 0.35);
  --shadow-glow-purple: 0 0 35px -5px rgba(139, 92, 246, 0.3);

  /* Layout */
  --container-max-w: 1180px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-card: 20px;
  --radius-pill: 9999px;
  --radius-sm: 10px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #0d122e 0%, var(--bg-dark) 70%);
}

/* Arabic RTL Overrides */
html[dir="rtl"] {
  font-family: var(--font-arabic);
}

html[dir="rtl"] .hero-headline {
  font-family: var(--font-arabic);
  font-weight: 800;
  line-height: 1.4;
}

html[dir="rtl"] .btn-arrow {
  transform: scaleX(-1);
}

html[dir="rtl"] .glow-submit-btn:hover .btn-arrow {
  transform: scaleX(-1) translateX(4px);
}

/* Custom Selection */
::selection {
  background: rgba(0, 242, 254, 0.3);
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* --------------------------------------------------------------------------
   3. Interactive Ambient Background Canvas & Glows
   -------------------------------------------------------------------------- */
#starfield-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
  animation: pulseGlow 12s ease-in-out infinite alternate;
}

.ambient-glow-top {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.35), rgba(79, 172, 254, 0.1), transparent 70%);
}

.ambient-glow-bottom {
  bottom: -200px;
  right: 10%;
  width: 600px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3), rgba(217, 70, 239, 0.1), transparent 70%);
}

@keyframes pulseGlow {
  0% { transform: scale(0.9) translate(-50%, 0); opacity: 0.35; }
  100% { transform: scale(1.15) translate(-48%, 20px); opacity: 0.55; }
}

.cyber-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: -1px -1px;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 80%);
}

/* --------------------------------------------------------------------------
   4. Main Container & Header
   -------------------------------------------------------------------------- */
.site-container {
  position: relative;
  z-index: 2;
  max-width: var(--container-max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  padding: 2rem 0 1.5rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(13, 19, 41, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Brand Identity */
.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-gem {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.5));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-identity:hover .brand-logo-gem {
  transform: rotate(45deg) scale(1.08);
}

.logo-svg {
  width: 100%;
  height: 100%;
}

.brand-text-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

/* Header Controls */
.header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.control-btn:hover {
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.3);
  transform: translateY(-1px);
}

.control-btn .icon {
  width: 18px;
  height: 18px;
}

/* Language Dropdown Selector */
.language-dropdown-wrapper {
  position: relative;
}

.lang-current-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-current-btn:hover,
.lang-current-btn.open {
  background: rgba(0, 242, 254, 0.1);
  border-color: rgba(0, 242, 254, 0.4);
  color: #ffffff;
}

.lang-flag {
  font-size: 1.05rem;
  line-height: 1;
}

.lang-code {
  letter-spacing: 0.05em;
}

.chevron-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.lang-current-btn.open .chevron-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: rgba(10, 15, 36, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 14px;
  padding: 0.4rem;
  list-style: none;
  min-width: 165px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

html[dir="rtl"] .lang-dropdown-menu {
  right: auto;
  left: 0;
}

.lang-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.8rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-option-btn:hover {
  background: rgba(0, 242, 254, 0.12);
  color: #ffffff;
}

.lang-option-btn.active {
  background: rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  font-weight: 600;
}

.opt-tag {
  margin-left: auto;
  font-size: 0.7rem;
  opacity: 0.6;
  font-weight: 600;
}

html[dir="rtl"] .opt-tag {
  margin-left: 0;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   5. Hero Stage & Typography
   -------------------------------------------------------------------------- */
.hero-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 0 4rem;
}

/* Status Indicator Pill */
.status-indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1.25rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.15);
  animation: fadeInDown 0.8s ease backwards;
}

.pulsing-radar-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  position: relative;
}

.pulsing-radar-dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-emerald);
  animation: radarWave 2s infinite ease-out;
}

@keyframes radarWave {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.status-text {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #6ee7b7;
  text-transform: uppercase;
}

/* Hero Typography */
.hero-typography {
  max-width: 860px;
  margin: 0 auto 3rem;
  animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.4rem;
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 30px rgba(0, 242, 254, 0.4));
}

.hero-subtext {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   6. Countdown Radar Component
   -------------------------------------------------------------------------- */
.countdown-container {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(13, 19, 41, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 1.25rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-subtle), 0 0 25px rgba(0, 242, 254, 0.1);
  position: relative;
  overflow: hidden;
}

.countdown-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  padding: 1px;
  background: var(--grad-card-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.countdown-unit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}

.countdown-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
}

.countdown-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
}

.countdown-separator {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   7. System Readiness Progress Panel
   -------------------------------------------------------------------------- */
.system-readiness-panel {
  max-width: 620px;
  width: 100%;
  background: rgba(10, 15, 34, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.1rem 1.6rem;
  margin-bottom: 4rem;
}

.readiness-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.readiness-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.readiness-icon {
  font-size: 0.95rem;
  color: var(--accent-cyan);
}

.readiness-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.03em;
}

.readiness-percent {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.readiness-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.readiness-bar-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: var(--radius-pill);
  box-shadow: 0 0 12px var(--accent-cyan);
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.readiness-submodules {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.submodule-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.submodule-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   8. Sneak Peek Services Grid
   -------------------------------------------------------------------------- */
.services-sneakpeek {
  width: 100%;
  margin-bottom: 4.5rem;
}

.section-subheading {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  width: 100%;
}

.service-card {
  position: relative;
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 1.85rem 1.5rem;
  text-align: left;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

html[dir="rtl"] .service-card {
  text-align: right;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.35);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.15);
  background: var(--bg-surface-hover);
}

.service-card:hover::after {
  opacity: 1;
}

.card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
}

.card-icon-box svg {
  width: 24px;
  height: 24px;
}

.service-card:hover .card-icon-box {
  background: rgba(0, 242, 254, 0.2);
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. Contact Section: Direct Email & Interactive Form
   -------------------------------------------------------------------------- */
.contact-section {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

/* Direct Email Badge Card */
.direct-email-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  background: linear-gradient(135deg, rgba(13, 22, 54, 0.8) 0%, rgba(18, 14, 45, 0.8) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 242, 254, 0.1);
}

.direct-email-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.direct-email-icon svg {
  width: 22px;
  height: 22px;
}

.direct-email-info {
  flex: 1;
  text-align: left;
  min-width: 200px;
}

html[dir="rtl"] .direct-email-info {
  text-align: right;
}

.direct-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.direct-address {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.direct-email-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.action-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.copy-btn .btn-icon {
  width: 15px;
  height: 15px;
}

.mailto-btn {
  background: var(--grad-primary);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.mailto-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}

.mailto-btn .btn-icon {
  width: 15px;
  height: 15px;
}

/* Glass Contact Form Box */
.form-glass-card {
  position: relative;
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-subtle), 0 0 35px rgba(139, 92, 246, 0.1);
  text-align: left;
}

html[dir="rtl"] .form-glass-card {
  text-align: right;
}

.form-glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  padding: 1px;
  background: var(--grad-card-border);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.form-header {
  margin-bottom: 2rem;
}

.form-heading {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.form-description {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.interactive-form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.form-row {
  display: flex;
  gap: 1.25rem;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.full-width {
  flex: none;
  width: 100%;
}

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

.input-wrapper {
  position: relative;
}

.form-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition-smooth);
  outline: none;
}

.form-input::placeholder {
  color: var(--text-faint);
}

.form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
  background: rgba(10, 16, 38, 0.95);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 0.85rem center;
  background-repeat: no-repeat;
  background-size: 1.2rem;
  padding-right: 2.5rem;
}

html[dir="rtl"] .form-select {
  background-position: left 0.85rem center;
  padding-right: 1.1rem;
  padding-left: 2.5rem;
}

.form-select option {
  background: #0b0f24;
  color: #ffffff;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* Submit Button */
.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

html[dir="rtl"] .form-submit-row {
  justify-content: flex-start;
}

.glow-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 2.2rem;
  background: var(--grad-primary);
  border: none;
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.glow-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.55);
}

.glow-submit-btn:active {
  transform: translateY(0);
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.glow-submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Button Spinner */
.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* Status Alert Message */
.form-status-alert {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.5;
  animation: fadeIn 0.4s ease;
}

.form-status-alert.success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

.form-status-alert.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

/* --------------------------------------------------------------------------
   10. Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  padding: 3rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-faint);
}

.footer-copy p {
  color: var(--text-muted);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.meta-dot {
  opacity: 0.4;
}

.meta-email {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease;
}

.meta-email:hover {
  text-decoration: underline;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   11. Toast Notifications
   -------------------------------------------------------------------------- */
.toast-card {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(10, 16, 38, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: 14px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 242, 254, 0.2);
  z-index: 1000;
  animation: slideInUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

html[dir="rtl"] .toast-card {
  right: auto;
  left: 24px;
}

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.toast-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.toast-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. Keyframes & Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   13. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .site-header {
    padding: 1.25rem 0 1rem;
  }
  
  .header-inner {
    padding: 0.6rem 1rem;
  }

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

  .hero-stage {
    padding: 2rem 0 3rem;
  }

  .countdown-container {
    padding: 1rem 1.25rem;
    gap: 0.4rem;
  }

  .countdown-unit-card {
    min-width: 55px;
  }

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

  .countdown-separator {
    font-size: 1.4rem;
  }

  .form-row {
    flex-direction: column;
    gap: 1.3rem;
  }

  .form-glass-card {
    padding: 1.5rem;
  }

  .direct-email-card {
    padding: 1rem 1.25rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .direct-email-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
