/* ==========================================================================
   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 - Deep Space Aurora */
  --bg-primary: #050510;
  --bg-secondary: #0a0a18;
  --bg-tertiary: #101020;
  --bg-main: var(--bg-primary); /* Restored for layout */
  --bg-darker: #020208; /* Restored for layout */

  --accent-primary: #00f5d4; /* Bright Cyan */
  --accent-secondary: #9d4edd; /* Neon Purple */
  --accent-glow: rgba(0, 245, 212, 0.4); /* Cyan Glow */

  --text-primary: #ffffff;
  --text-secondary: #b3b3cc;
  --text-muted: #666680;

  --border-color: rgba(157, 78, 221, 0.2); /* Subtle Purple Border */
  --bg-glass: rgba(10, 10, 24, 0.6);
  --bg-glass-hover: rgba(0, 245, 212, 0.05); /* Very faint cyan on hover */

  --shadow-glow: 0 0 20px rgba(157, 78, 221, 0.2); /* Restored */
  --shadow-glow-lg: 0 0 40px rgba(0, 245, 212, 0.25); /* Restored */

  --backdrop-blur: blur(20px);
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* ==========================================================================
    Base Styles
    ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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: 100px 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;
}

/* 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: var(--shadow-glow-lg);
  transform: translateY(-2px);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 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: 1px solid var(--accent-primary);
  color: var(--accent-primary);
}

.btn-outline:hover {
  background: rgba(0, 245, 212, 0.1);
}

.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 var(--border-color);
  border-radius: 16px;
  padding: 32px;
  transition: var(--transition);
  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(-5px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.glass-panel {
  background: linear-gradient(
    145deg,
    rgba(18, 22, 31, 0.8),
    rgba(10, 12, 16, 0.9)
  );
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

/* 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(5, 6, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 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;
}

.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.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(0, 245, 212, 0.1) 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;
}

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

.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;
}

.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;
}

/* ==========================================================================
    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(28, 34, 48, 0.8) 0%,
    rgba(18, 22, 31, 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(157, 78, 221, 0.1);
  border: 1px solid rgba(157, 78, 221, 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(157, 78, 221, 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(0, 245, 212, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(0, 245, 212, 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-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.market-card {
  display: flex;
  flex-direction: column;
  /* Inherits .glass-card hover consistency */
}

.border-glow {
  border-color: rgba(157, 78, 221, 0.3);
  box-shadow: inset 0 0 20px rgba(157, 78, 221, 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(0, 245, 212, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(0, 245, 212, 0.3);
}

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

.market-data {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.md-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.md-item span {
  color: var(--text-secondary);
}

.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: #000;
  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.jpg") 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(212, 175, 55, 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;
}

/* ==========================================================================
    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(212, 175, 55, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 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;
  }
  .hero-subtitle {
    margin: 0 auto 40px;
  }
  .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-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: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 6, 8, 0.95);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: var(--transition);
  }
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .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;
  }
  .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;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .about-grid,
  .stats-grid,
  .testimo-track,
  .opp-grid {
    grid-template-columns: 1fr;
  }
  .cyber-form .form-row {
    flex-direction: column;
    gap: 0;
  }
  .apply-form-wrapper {
    padding: 30px 20px;
  }
}
