/* ==========================================================================
   CSS Variables & Typography
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;800&display=swap");

:root {
  /* Color Palette - Future Cyber */
  --bg-primary: #0f0c29; /* Deep Purple Night */
  --bg-secondary: #0b0920;
  --bg-tertiary: #1b1740;
  --bg-main: var(--bg-primary);
  --bg-darker: #08061a;

  --accent-primary: #ff512f; /* Vitality Orange */
  --accent-secondary: #dd2476; /* Ghost Magenta */
  --accent-glow: rgba(255, 81, 47, 0.4);

  --text-primary: #f0f0f0;
  --text-secondary: #c0c0d8;
  --text-muted: #7a7a99;

  --border-color: rgba(221, 36, 118, 0.2); /* Magenta Border */
  --bg-glass: rgba(15, 12, 41, 0.75);
  --bg-glass-hover: rgba(255, 81, 47, 0.08);

  --shadow-glow: 0 0 25px rgba(221, 36, 118, 0.15);
  --shadow-glow-lg: 0 0 50px rgba(255, 81, 47, 0.2);

  --backdrop-blur: blur(25px);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 120px 0;
}

.bg-darker {
  background-color: var(--bg-darker);
}

/* ==========================================================================
    Typography & Utilities
    ========================================================================== */
.text-gradient {
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight {
  color: var(--accent-primary);
}

.text-sm {
  font-size: 0.875rem;
}

.opacity-70 {
  opacity: 0.7;
}

.mt-4 {
  margin-top: 1.5rem;
}
.mt-5 {
  margin-top: 3rem;
}

.no-scroll {
  overflow: hidden;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  color: #fff;
  box-shadow: 0 0 20px rgba(157, 78, 221, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(255, 81, 47, 0.4);
  transform: translateY(-3px);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: var(--transition);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: var(--bg-glass);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-outline:hover {
  background: rgba(255, 81, 47, 0.1);
  box-shadow: 0 0 15px rgba(255, 81, 47, 0.2);
}

.btn-block {
  width: 100%;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  border: 1px solid rgba(221, 36, 118, 0.15);
  border-radius: 20px;
  padding: 40px;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  opacity: 0;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 81, 47, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(221, 36, 118, 0.1);
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-panel {
  background: linear-gradient(
    145deg,
    rgba(27, 23, 64, 0.8),
    rgba(15, 12, 41, 0.95)
  );
  backdrop-filter: blur(30px);
  border: 1px solid rgba(221, 36, 118, 0.2);
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* ==========================================================================
    Navigation
    ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 12, 41, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(221, 36, 118, 0.2);
  padding: 12px 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  z-index: 1001;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.nav-btn {
  padding: 8px 20px;
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition);
}

/* ==========================================================================
    Hero Section
    ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px; /* Offset for nav */
  overflow: hidden;
  background-image: url("../images/hero_bg_custom.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
}

.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  backdrop-filter: blur(25px); /* Background blur effect */
  background: rgba(15, 12, 41, 0.4); /* Slightly darken the blurred image */
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: float 10s infinite ease-in-out alternate;
}

.orb-1 {
  top: 10%;
  left: 0%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(157, 78, 221, 0.15) 0%,
    transparent 70%
  );
}

.orb-2 {
  bottom: 10%;
  right: 0%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(221, 36, 118, 0.15) 0%,
    transparent 70%
  );
  animation-delay: -5s;
}
.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 40%,
    transparent 80%
  );
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative; /* Ensure text stays above the blur */
  z-index: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(255, 81, 47, 0.1);
  border: 1px solid rgba(255, 81, 47, 0.3);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-primary);
  margin-bottom: 24px;
  white-space: normal;
  text-align: left;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 24px;
  letter-spacing: -1px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-stats {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-rating {
  font-weight: 700;
  font-size: 1.25rem;
}

.stars {
  color: #fbbf24;
  letter-spacing: 2px;
}

.stat-desc {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Hero Image Area */
.hero-image-wrapper {
  position: relative;
}

.main-panel {
  padding: 12px;
  position: relative;
  z-index: 2;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-slow);
}

.main-panel:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.dashboard-img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.floating-card {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  animation: float 6s infinite ease-in-out alternate;
}

.c1 {
  top: -30px;
  right: -30px;
}

.c2 {
  bottom: 40px;
  left: -40px;
  animation-delay: -3s;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.card-info h4 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.card-info p {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
}

/* ==========================================================================
    Unlock Your Potential Section (Parallax Background)
    ========================================================================== */
.potential {
  position: relative;
  overflow: hidden;
  background-image: url("../images/hero_bg_custom.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.potential-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  background: rgba(15, 12, 41, 0.55);
}

.potential .grid-overlay {
  z-index: 0;
}

.potential .container {
  position: relative;
  z-index: 1;
}

/* ==========================================================================
    About Section
    ==========================================================================*/
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card-icon-large {
  font-size: 3rem;
  margin-bottom: 24px;
}

.about-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.about-card p {
  color: var(--text-secondary);
}

.hl-card {
  background: linear-gradient(
    180deg,
    rgba(27, 23, 64, 0.8) 0%,
    rgba(15, 12, 41, 0.4) 100%
  );
  border-top: 1px solid var(--accent-primary);
}

/* ==========================================================================
    Features Section
    ========================================================================== */
.features-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-list li {
  display: flex;
  gap: 20px;
}

.f-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: rgba(255, 81, 47, 0.1);
  border: 1px solid rgba(255, 81, 47, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.f-content h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.f-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.rounded-img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.glow-shadow {
  box-shadow: 0 0 50px rgba(255, 81, 47, 0.15);
  border: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-box {
  text-align: center;
  padding: 40px 20px;
}

.stat-number {
  font-family: "Outfit", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.stat-number .plus {
  color: var(--accent-primary);
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

/* ==========================================================================
    Opportunities Section
    ========================================================================== */
.opp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.opp-card {
  display: flex;
  flex-direction: column;
  padding: 0; /* Override glass-card padding for edge-to-edge image */
  overflow: hidden;
}

.opp-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.opp-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.opp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.opp-header h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  padding-right: 10px;
}

.opp-badge {
  padding: 4px 10px;
  background: rgba(255, 81, 47, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(255, 81, 47, 0.3);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.opp-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.opp-rate {
  font-family: "Outfit", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  text-align: center;
  margin-bottom: 20px;
}

/* ==========================================================================
    Markets Section
    ========================================================================== */
.market-tabs-container {
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.market-tabs {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
  padding: 6px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow-x: auto;
  scrollbar-width: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  scroll-behavior: smooth;
  scroll-padding: 0 20px;
}

.market-tabs::-webkit-scrollbar {
  display: none;
}

.market-tab-btn {
  padding: 8px 16px;
  border-radius: 100px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.market-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.market-tab-btn.active {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff;
  box-shadow: 
    0 8px 20px rgba(255, 81, 47, 0.4),
    0 0 15px rgba(255, 81, 47, 0.2);
  transform: scale(1.02);
}

.market-content-wrapper {
  max-width: 850px;
  margin: 0 auto;
  min-height: 500px;
  position: relative;
}

.market-tab-content {
  display: none;
  width: 100%;
  animation: slideInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.market-tab-content.active {
  display: block;
}

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

.market-card {
  padding: 50px;
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.market-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
}

.market-header h3 {
  font-size: 2.5rem;
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(to right, #fff, var(--text-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.market-tag {
  padding: 6px 16px;
  background: rgba(255, 81, 47, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(255, 81, 47, 0.3);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.market-desc {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 40px;
  letter-spacing: 0.3px;
}

.market-data {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.md-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.md-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 81, 47, 0.2);
  transform: translateY(-2px);
}

.md-item span {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.8;
}

.md-item strong {
  font-size: 1.1rem;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  line-height: 1.4;
}

.border-glow {
  border-color: rgba(255, 81, 47, 0.3);
  box-shadow: inset 0 0 20px rgba(221, 36, 118, 0.05);
}

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

.market-header h3 {
  font-size: 1.5rem;
}

.market-tag {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.tag-primary {
  background: rgba(255, 81, 47, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(255, 81, 47, 0.3);
}

.market-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
}

.market-logos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.market-logos span {
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ==========================================================================
    Testimonials
    ========================================================================== */
.testimo-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.testimo-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.quote-icon {
  font-family: serif;
  font-size: 4rem;
  color: var(--accent-secondary);
  line-height: 1;
  height: 30px;
  opacity: 0.3;
}

.testimo-text {
  font-style: italic;
  color: var(--text-primary);
  margin: 20px 0;
  flex-grow: 1;
}

.testimo-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1rem;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
    Apply / Form Section
    ========================================================================== */
.apply-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 20px;
}

.apply-content {
  padding: 60px;
  background: url("../images/apply-bg_custom.webp") center/cover;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.apply-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 6, 8, 0.95) 0%,
    rgba(5, 6, 8, 0.7) 100%
  );
}

.apply-content > * {
  position: relative;
  z-index: 1;
}

.apply-form-wrapper {
  padding: 60px;
  background: rgba(10, 12, 16, 0.8);
}

.form-title {
  font-size: 1.75rem;
  margin-bottom: 30px;
}

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

.cyber-form .form-row {
  display: flex;
  gap: 20px;
}

.cyber-form .half {
  flex: 1;
}

.cyber-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.req {
  color: var(--accent-primary);
}

.cyber-form input,
.cyber-form select {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.cyber-form input:focus,
.cyber-form select:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(255, 81, 47, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.cyber-form select option {
  background: var(--bg-darker);
  color: var(--text-primary);
}

.phone-input {
  position: relative;
}

.phone-input .prefix {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-weight: 500;
}

.loader {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  position: absolute;
  right: 20px;
}

.form-message {
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  display: none;
  font-size: 0.9rem;
}

.form-message.success {
  display: block;
  background: rgba(46, 213, 115, 0.1);
  color: #2ed573;
  border: 1px solid rgba(46, 213, 115, 0.3);
}

.form-message.error {
  display: block;
  background: rgba(255, 71, 87, 0.1);
  color: #ff4757;
  border: 1px solid rgba(255, 71, 87, 0.3);
}

/* ==========================================================================
    Footer
    ========================================================================== */
.footer {
  background: #000;
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
}

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

.footer-desc {
  color: var(--text-secondary);
  margin-top: 20px;
  max-width: 400px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.footer-contact svg {
  color: var(--accent-primary);
}

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

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a:hover {
  color: white;
}

/* ==========================================================================
    FAQ Section
    ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-item {
  padding: 30px;
}

.faq-item h4 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--accent-primary);
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
    Animations & Reveals
    ========================================================================== */
@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-20px) scale(1.05);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 81, 47, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 81, 47, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 81, 47, 0);
  }
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
    Responsive Design
    ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0 20px;
  }
  .hero-subtitle {
    margin: 0 auto 40px;
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .c1 {
    top: -10px;
    right: 10px;
  }
  .c2 {
    bottom: 10px;
    left: 10px;
  }

  .about-grid,
  .testimo-track,
  .opp-grid,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .apply-container {
    grid-template-columns: 1fr;
  }
  .apply-content {
    padding: 40px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 6, 8, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.85, 0, 0.15, 1);
  }
  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered Animation Delays */
  .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
  .nav-links.active li:nth-child(5) { transition-delay: 0.3s; }
  .nav-links.active li:nth-child(6) { transition-delay: 0.35s; }

  .nav-link {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .nav-btn {
    font-size: 1.25rem;
    padding: 15px 40px;
    margin-top: 20px;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .features-wrapper,
  .market-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .footer-desc {
    margin: 20px auto 0;
  }
  .footer-links ul,
  .footer-contact ul {
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  /* Markets Mobile Refinement */
  .market-card {
    padding: 30px 20px;
  }

  .market-header h3 {
    font-size: 1.8rem;
  }

  .market-desc {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .market-data {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
    gap: 12px;
  }

  .md-item strong {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 16px;
    padding: 0 20px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .md-item span {
    font-weight: 600;
  }
  .about-grid,
  .stats-grid,
  .testimo-track,
  .opp-grid,
  .faq-grid,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .cyber-form .form-row {
    flex-direction: column;
    gap: 0;
  }
  .apply-form-wrapper {
    padding: 30px 20px;
  }

  /* Markets Extra Small Mobile Refinement */
  .market-data {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .md-item strong {
    font-size: 0.95rem;
  }

  .market-header h3 {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
    Trust Section
    ========================================================================== */
.trust-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--bg-darker);
}

.trust-section .section-title {
  font-size: 3rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 50px;
  font-weight: 800;
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 800px;
  margin: 0 auto 60px;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 25px;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: var(--transition);
}

.trust-item:hover {
  border-color: var(--accent-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.trust-item svg {
  width: 40px;
  height: 40px;
}

.trust-item span {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.verified-payments-title {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  font-weight: 500;
}

.payment-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pay-badge {
  min-width: 160px;
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.pay-badge:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.badge-stripe {
  background: #635bff;
  color: #fff;
}

.badge-paypal {
  background: #0070ba;
  color: #fff;
}

.badge-wise {
  background: #9fe35d;
  color: #163300;
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .trust-section .section-title {
    font-size: 2rem;
  }

  .pay-badge {
    width: 100%;
    max-width: 280px;
  }
}

/* ==========================================================================
    Industry Recognition Section
    ========================================================================== */
.recognition-section {
  padding: 100px 0;
  text-align: center;
  background-color: var(--bg-primary);
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.recognition-card {
  padding: 40px 30px;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px; /* Shorter border radius for a more professional look as seen in reference */
  transition: var(--transition);
}

.recognition-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.award-icon {
  font-size: 2.5rem;
  margin-bottom: 25px;
  display: block;
}

.award-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.award-year {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-primary);
  display: block;
}

.award-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ==========================================================================
    Our Impact Section
    ========================================================================== */
.impact-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  background-color: var(--bg-darker);
  overflow: hidden;
}

.impact-section .grid-overlay {
  opacity: 0.4;
  pointer-events: none;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.impact-card {
  padding: 40px 30px;
  background: rgba(15, 12, 41, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.impact-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: capitalize;
  display: block;
  margin-bottom: 20px;
}

.impact-value {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.impact-subtext {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: capitalize;
}

@media (max-width: 992px) {
  .recognition-grid,
  .impact-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
}

.recognition-section .section-title,
.impact-section .section-title {
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
    Lifestyle Upgrade Section
    ========================================================================== */
.lifestyle-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.lifestyle-section .grid-overlay {
  opacity: 0.3;
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.lifestyle-section .section-title {
  font-size: 3rem;
  margin-bottom: 50px;
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

.lifestyle-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 81, 47, 0.4);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition-slow);
}

.lifestyle-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--accent-primary);
  box-shadow: 0 15px 35px rgba(255, 81, 47, 0.25);
}

.lifestyle-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.lifestyle-card:hover img {
  transform: scale(1.1);
}

.lifestyle-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.lifestyle-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  background: linear-gradient(to right, #fff, var(--text-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 992px) {
  .lifestyle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0;
  }
}

@media (max-width: 576px) {
  .lifestyle-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lifestyle-section {
    padding: 60px 0;
  }

  .lifestyle-section .section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
}

/* ==========================================================================
    WhatsApp & Contact Refinement
    ========================================================================== */
.whatsapp-section {
  padding: 100px 0;
  text-align: center;
  background-color: var(--bg-primary);
}

.whatsapp-section .section-title {
  font-size: 3.5rem;
  margin-bottom: 30px;
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.whatsapp-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 30px;
  background: var(--bg-glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  backdrop-filter: var(--backdrop-blur);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.whatsapp-text {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin: 20px 0 40px;
  line-height: 1.6;
}

.whatsapp-btn-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 45px;
  background-color: #25d366;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
  border: none;
  cursor: pointer;
  text-decoration: none;
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
  white-space: nowrap;
}

.whatsapp-btn-large:hover {
  transform: translateY(-5px);
  background-color: #20ba56;
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
  color: #fff;
}

.whatsapp-btn-large svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: var(--transition);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: #20ba56;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
  color: #fff;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .whatsapp-section .section-title {
    font-size: 2.25rem;
  }

  .whatsapp-btn-large {
    width: auto;
    min-width: 280px;
    max-width: 100%;
    padding: 15px 25px;
    font-size: 1rem;
    gap: 8px;
  }

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}
