/* ========================================
   OARK - Modern Design System
   Cyberpunk / Glassmorphism / Dark Theme
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* --- Core Palette (Lavender Theme) --- */
  --color-bg: #f5f0ff;
  --color-bg-alt: #ede4ff;
  --color-bg-card: #ffffff;
  --color-bg-hero: linear-gradient(135deg, #f5f0ff 0%, #e8dcff 50%, #f0e6ff 100%);

  --color-primary: #bea1f7;
  --color-primary-dark: #9d7be8;
  --color-primary-light: #d4c4f9;

  --color-secondary: #6c5ce7;
  --color-accent: #a388ee;

  --color-text: #2d2640;
  --color-text-muted: #5a4d6e;
  --color-text-dim: #8b7fa0;

  /* --- Card Styles (Clean) --- */
  --card-bg: #ffffff;
  --card-border: #e0d4f0;
  --card-shadow: 0 4px 20px rgba(157, 123, 232, 0.1);
  --card-shadow-hover: 0 12px 40px rgba(157, 123, 232, 0.18);

  /* --- Spacing & Layout --- */
  --container-width: 1280px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* --- Transitions --- */
  --trans-fast: 0.2s ease;
  --trans-smooth: 0.3s ease;
}

/* Base Setup */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: 'Outfit', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide background globes */
.background-globes {
  display: none;
}

.no-scroll {
  overflow: hidden;
}

/* Section Layout */
section:not(.partners-section),
.hero {
  min-height: 100vh;
  padding: 5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.partners-section {
  min-height: auto;
  padding: 4rem 0;
}

/* Glass Card - Clean Style */
.education-card {
  border: 1px solid rgba(6, 182, 212, 0.3);
  max-width: 400px;
  text-align: center;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.education-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-secondary);
}

/* Animation Utilities */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-secondary);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.8rem, 8vw, 4rem);
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.5rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
}

p {
  line-height: 1.6;
  color: var(--color-text-muted);
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--trans-fast);
}

/* Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.text-gradient {
  color: var(--color-primary-dark);
}

.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--trans-smooth);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--color-primary-light);
}

/* --- Components --- */

/* Buttons */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  /* Reduced padding */
  font-weight: 600;
  border-radius: 12px;
  /* Slightly less rounded than full pill for modern look, or keep pill if preferred but smaller */
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid transparent;
  /* Prevent layout shift */
  height: 44px;
  /* Fixed height for consistency */
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  height: 36px;
  font-size: 0.85rem;
}

.btn-primary {
  background: #bea1f7;
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(190, 161, 247, 0.3);
}

.btn-primary:hover {
  background: #9d7be8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(190, 161, 247, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* Specific Auth Buttons in Navbar */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-actions .btn {
  font-size: 0.85rem;
  padding: 0 1.25rem;
  height: 40px;
  border-radius: 99px;
  /* Pill shape for navbar buttons */
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1100;
  display: flex;
  align-items: center;
  background: #bea1f7;
  /* Reduced transition scope to prevent "stretching" feel on layout changes */
  transition: background-color var(--trans-smooth), box-shadow var(--trans-smooth);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  position: relative;
  justify-content: space-between;
  height: 100%;
}

.navbar.scrolled {
  background: #bea1f7;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Removed unused .nav-container style and replaced with .navbar .container logic implicitly or explicitly above */

.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  transition: opacity var(--trans-fast);
  padding: 4px;
  cursor: pointer;
}

.back-btn:hover {
  opacity: 0.75;
}

.logo {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.03em;
  z-index: 2;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  height: clamp(32px, 8vw, 60px);
  /* Slightly smaller to fit navbar better */
  width: auto;
  display: block;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2.5rem;
  list-style: none;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
  /* Ensures it stays to the right if we weren't using absolute centering for the middle, but redundant with justify-between + absolute center method, safe to keep */
  z-index: 2;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #ffffff;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #ffffff;
  transition: width var(--trans-fast);
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.hamburger {
  display: none;
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1100;
  padding: 0;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2) {
  top: 8px;
}

.hamburger span:nth-child(3) {
  top: 16px;
}

.hamburger.active span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.hamburger.active span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(190, 161, 247, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1050;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  text-align: center;
  width: 100%;
  padding: 2rem;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateY(0);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.mobile-link {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.mobile-link:hover {
  transform: scale(1.1);
}

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 250px;
  margin: 0 auto;
}

.mobile-menu-actions .btn {
  width: 100%;
  font-size: 1rem;
  height: 50px;
}

/* Navbar Dropdown (Desktop) */
.nav-item.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle {
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-toggle i,
.nav-item.dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #ffffff;
  border-radius: 16px;
  min-width: 220px;
  padding: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(190, 161, 247, 0.2);
  z-index: 100;
  margin-top: 10px;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  color: #2d2640 !important;
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: #f8f4ff;
  color: #9d7be8 !important;
  transform: translateX(5px);
}

.dropdown-item i {
  font-size: 1rem;
  color: #bea1f7;
  width: 20px;
  text-align: center;
}

/* Mobile Accordion */
.mobile-accordion {
  width: 100%;
}

.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
}

.accordion-toggle i.fa-chevron-down {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.mobile-accordion.active i.fa-chevron-down {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0;
  padding: 0 1rem;
}

.mobile-accordion.active .accordion-content {
  max-height: 600px;
  margin-top: 1.5rem;
  padding-bottom: 2rem;
}

.accordion-link {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  white-space: normal !important;
  line-height: 1.2 !important;
  display: block !important;
  text-align: center;
}

.nav-user-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.5rem 0.35rem 0.35rem;
  /* Tight padding */
  background: rgba(255, 255, 255, 0.1);
  /* More visible background */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  /* Pill shape */
  text-decoration: none;
  transition: all 0.2s ease;
  margin-right: 0.5rem;
  cursor: pointer;
}

/* Instant Auth Toggle */
.is-logged-in .auth-login-btn {
  display: none !important;
}

.is-logged-in .nav-user-profile {
  display: flex !important;
}

.is-logged-in .nav-user-profile[style*="none"] {
  display: flex !important;
}

.nav-user-profile:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  font-weight: bold;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-user-avatar i,
.nav-user-avatar img {
  transform: translateX(2px);
  /* Shift slightly right to center face visually */
}

.nav-user-name {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  padding-right: 0.5rem;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #f5f0ff 0%, #e8dcff 30%, #ddd0ff 70%, #f0e6ff 100%);
  overflow: hidden;
  scroll-margin-top: 92px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(190, 161, 247, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(157, 123, 232, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-bg {
  display: none;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.hero h1 span {
  display: block;
  font-size: 0.5em;
  font-weight: 500;
  color: var(--color-primary-dark);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--color-text-dim);
  letter-spacing: 0.1em;
}

/* Hero Store Buttons */
.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 2.2rem;
  background: #2d2640;
  color: #ffffff;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(190, 161, 247, 0.15);
  box-shadow: 0 6px 20px rgba(45, 38, 64, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-store-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.6s ease;
}

.hero-store-btn:hover::before {
  left: 100%;
}

.hero-store-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 35px rgba(45, 38, 64, 0.4);
  background: #1a1528;
  border-color: rgba(190, 161, 247, 0.3);
}

.hero-store-btn:active {
  transform: translateY(-1px) scale(1.01);
}

.hero-store-btn i {
  font-size: 2rem;
}

.hero-store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.hero-store-btn-text small {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.8;
  letter-spacing: 0.04em;
}

.hero-store-btn-text span {
  font-size: 1.2rem;
  font-weight: 700;
}




@media (max-width: 480px) {
  .hero-buttons {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .hero-store-btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    justify-content: center;
  }

  .hero-store-btn i {
    font-size: 1.5rem;
  }

  .hero-store-btn-text span {
    font-size: 0.95rem;
  }

  .hero-store-btn-text small {
    font-size: 0.65rem;
  }
}

/* Partners & Marquee */
.partners-section {
  background: var(--color-bg-alt);
  overflow: hidden;
  padding: 4rem 0;
}

.partners-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text-dim);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* Fade mask on sides - using white for light theme */
  mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
}

.marquee-content {
  display: flex;
  gap: 3rem;
  width: max-content;
  /* Ensures it fits all items */
  animation: scroll 20s linear infinite;
  /* Smooth continuous scroll */
}

/* Pause on hover optional */
.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.partner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0.5;
  transition: opacity 0.3s;
  flex-shrink: 0;
  /* Prevent shrinking */
}

.partner-item:hover {
  opacity: 1;
}

.partner-item .logo-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(190, 161, 247, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--color-primary-dark);
}

/* Features Grid */
.features-section {
  padding: 3rem 0;
  position: relative;
  background: linear-gradient(180deg, #f0e6ff 0%, #f8f4ff 50%, #f5f0ff 100%);
  min-height: auto;
  scroll-margin-top: 92px;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(clamp(280px, 30vw, 320px), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
  max-width: 1000px;
  margin: 0 auto;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #bea1f7 0%, #9d7be8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(157, 123, 232, 0.3);
}

/* Showcase Section (Z-pattern) */
.showcase-section {
  padding: 2rem 0;
  /* Reduced padding to let rows breathe */
  background: var(--color-bg);
  min-height: auto;
  /* Let content define height */
}

.showcase-row {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-bottom: 0;
  /* Removing large margins that cause gaps */
  padding: 5vh 0;
  /* Using padding for centering space */
  min-height: 100vh;
  /* Row takes most of viewport */
  scroll-margin-top: 92px;
}

.showcase-row.reverse {
  flex-direction: row-reverse;
}

.showcase-text {
  flex: 1;
}

.showcase-visual {
  flex: 1;
  position: relative;
}

.showcase-visual img {
  width: 100%;
  border-radius: var(--radius-md);
  transform: none !important;
  transition: none !important;
}

/* hover effect disabled for comparison slider */
.showcase-visual .comparison-slider img {
  border-radius: 0;
  box-shadow: none;
  border: none;
  transition: none;
  transform: none;
}

.showcase-visual .comparison-slider {
  transform: none !important;
  transition: none !important;
}

.showcase-visual:hover .comparison-slider,
.showcase-visual:hover .comparison-slider img {
  transform: none !important;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: var(--radius-full);
  font-size: clamp(0.7rem, 1vw, 0.8rem);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Mockup Container */
.app-mockup {
  position: relative;
  z-index: 10;
  padding: 12px;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid var(--card-border);
  box-shadow: 0 15px 40px rgba(157, 123, 232, 0.15);
}

.app-mockup img {
  border-radius: 16px;
  display: block;
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(135deg, #e8dcff 0%, #d4c4f9 50%, #bea1f7 100%);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-glow {
  display: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
footer {
  border-top: 1px solid var(--card-border);
  padding: 4rem 0 2rem;
  background: var(--color-bg-alt);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-logo img {
  height: 50px;
  width: auto;
}


.footer-col h4 {
  color: var(--color-text);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col ul li a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer-col ul li a:hover {
  color: var(--color-primary-dark);
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  color: var(--color-text-dim);
  font-size: 0.9rem;
}

/* --- Legal Pages --- */
.legal-page {
  padding-top: 120px;
  padding-bottom: 5rem;
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: 3rem;
  text-align: center;
}

.legal-content h3 {
  color: var(--color-secondary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Support for full text in legal pages (Prevents mobile truncation) */
.legal-page .glass-card p {
  display: block !important;
  -webkit-line-clamp: none !important;
  line-clamp: none !important;
  overflow: visible !important;
}

.verify-status-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
}

.status-loading {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.status-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.status-error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.code-display {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.code-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.campus-code {
  font-size: 3rem;
  font-weight: 800;
  font-family: monospace;
  color: var(--color-secondary);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.code-info {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 1rem;
}

.code-instruction {
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  color: rgba(255, 255, 255, 0.8);
}

/* --- Delete Account Page Specifics --- */
.delete-account-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding-top: var(--header-height);
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.1), transparent 40%),
    radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.1), transparent 40%);
}

.delete-card {
  max-width: 500px;
  width: 100%;
}

.step-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--trans-fast);
}

.step-dot.active {
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #e0d4f0;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-family: inherit;
  transition: var(--trans-fast);
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(190, 161, 247, 0.2);
}

.error-message {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239, 68, 68, 0.3);
  margin-bottom: 1.5rem;
  display: none;
  font-size: 0.9rem;
  text-align: center;
}

/* Animations */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .hero-stats {
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .stat-item {
    min-width: 100px;
  }

  .grid-3,
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .glass-card {
    padding: 1.25rem 1rem;
    text-align: center;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
    border-radius: 12px;
  }

  .glass-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
  }

  .glass-card p {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .features-section {
    padding: 3rem 0;
  }

  .section-head {
    margin-bottom: 2rem;
  }

  .section-head h2 {
    font-size: 1.5rem;
  }

  .section-head p {
    font-size: 0.85rem;
  }


  .showcase-row,
  .showcase-row.reverse {
    flex-direction: column-reverse !important;
    /* Forces [Visual, Text] order regardless of class */
    text-align: center;
    gap: 0.5rem;
    padding: 3rem 1.5rem;
    min-height: 100vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .showcase-text {
    flex: 0 0 auto;
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 0;
  }

  .showcase-text h2 {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin-bottom: 0.5rem;
  }

  .showcase-text p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .showcase-visual {
    flex: 0 0 auto;
    width: 100%;
    max-width: 280px;
    min-height: 350px;
    /* Ensure space for slider on mobile */
    margin: 0 auto;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  .showcase-visual img {
    height: auto;
    max-height: 48vh;
    object-fit: contain;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .mobile-menu-overlay {
    padding-top: 88px;
  }

  .nav-links {
    display: none;
  }

  .logo img {
    height: 48px;
  }

  .nav-actions {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.7rem;
    align-items: center;
  }

  .nav-actions .btn {
    padding: 0 0.95rem;
    font-size: 0.9rem;
    height: 40px;
    min-width: unset;
  }

  .nav-actions .btn-primary {
    display: none;
    /* Hide 'Indir' on mobile to save space */
  }

  .nav-user-name {
    display: none;
  }

  .navbar .hamburger {
    margin-left: auto;
    display: block;
  }

  .nav-user-profile {
    margin-right: 0.5rem;
  }

  .nav-user-avatar {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  .back-btn {
    font-size: 1.35rem;
    padding: 8px;
  }

  /* Simplified for now */
  .hamburger {
    display: block;
    width: 32px;
    height: 22px;
  }

  .hamburger span:nth-child(2) {
    top: 9px;
  }

  .hamburger span:nth-child(3) {
    top: 18px;
  }

  .hamburger.active span:nth-child(1) {
    top: 9px;
  }

  .hamburger.active span:nth-child(3) {
    top: 9px;
  }

  .hero-stats {
    flex-direction: row;
    /* Keep horizontal on mobile */
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    /* Allow wrap if very small */
  }

  .hero-stats .stat-number {
    font-size: 2rem;
    /* Slightly smaller on mobile */
  }

  .marquee-content {
    gap: 2rem;
    /* Reduce gap in marquee on mobile */
    animation-duration: 15s;
    /* Speed up slightly or keep same */
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }
}

/* Bottom Snap Wrapper */
.bottom-snap-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  text-align: center;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
  min-height: auto !important;
  flex: 1;
}

/* Campus Section */
.campus-section {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #050505 0%, #0c1220 100%);
}

.campus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.campus-info {
  text-align: left;
}

.badge-new {
  background: rgba(6, 182, 212, 0.2);
  color: #06b6d4;
  margin-bottom: 1rem;
}

.text-gradient-campus {
  color: #06b6d4;
}

.campus-desc {
  margin-bottom: 2.5rem;
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.btn-campus {
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  border: none;
  padding: 0.8rem 2rem;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.3);
  flex-shrink: 0;
}

.step-content h4 {
  color: var(--color-text);
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.step-content p {
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.campus-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.campus-education-card {
  margin: 0 auto;
  max-width: 500px;
  padding: 3rem 1.5rem;
  border-color: rgba(6, 182, 212, 0.2);
}

.campus-education-card .edu-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.campus-education-card h3 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.campus-education-card .verified-badge {
  margin: 0 auto 2rem;
  display: table;
}

.code-preview {
  text-align: center;
}

.code-label-campus {
  font-size: 0.8rem;
  letter-spacing: 2px;
  opacity: 0.7;
}

#university {
  min-height: 100vh;
  display: flex;
  align-items: center;
  scroll-margin-top: 92px;
}

.code-box {
  margin-top: 0.5rem;
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  background: rgba(15, 23, 42, 0.3);
  padding: 1rem 0.5rem;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.code-box i {
  font-size: 1.2rem;
}

@media (max-width: 900px) {
  .campus-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .campus-info {
    text-align: center;
  }

  .campus-info h2 {
    text-align: center !important;
  }

  .step-item {
    flex-direction: row;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
  }

  .campus-desc {
    margin: 0 auto 2.5rem;
  }

  .campus-education-card {
    padding: 2.5rem 1rem;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .campus-grid {
    gap: 2.5rem;
  }

  .campus-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .step-item {
    gap: 1rem;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .step-content h4 {
    font-size: 1rem;
  }

  .step-content p {
    font-size: 0.85rem;
  }

  .campus-education-card {
    padding: 1.5rem 1rem;
    margin: 1rem auto;
  }

  .campus-education-card .edu-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .campus-education-card h3 {
    font-size: 1.25rem;
  }

  .code-box {
    font-size: 0.9rem;
    padding: 0.75rem 0.5rem;
  }

  .btn-campus {
    width: 100%;
    padding: 0.8rem 1rem;
  }
}

/* iPhone 12 ve küçük telefonlar (≤430px) */
@media (max-width: 430px) {
  :root {
    --header-height: 66px;
  }

  .logo img {
    height: 44px;
  }

  .mobile-menu-overlay {
    padding-top: 80px;
  }

  .nav-actions .btn {
    height: 36px;
    font-size: 0.85rem;
    padding: 0 0.75rem;
  }

  .nav-user-avatar {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .back-btn {
    font-size: 1.3rem;
    padding: 6px;
  }

  .hamburger {
    width: 30px;
    height: 20px;
  }

  .hamburger span:nth-child(2) {
    top: 8px;
  }

  .hamburger span:nth-child(3) {
    top: 16px;
  }

  .hamburger.active span:nth-child(1) {
    top: 8px;
  }

  .hamburger.active span:nth-child(3) {
    top: 8px;
  }
}

/* Custom Bleff Shortcut Link */
.nav-shortcut-bleff {
  display: inline-flex !important;
  align-items: center;
  padding: 4px;
  border-radius: 8px;
  transition: all 0.2s ease;
  background: transparent;
  line-height: 1;
}
.nav-shortcut-bleff::after {
  display: none !important;
}
.nav-shortcut-bleff:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.1);
}
.nav-shortcut-bleff-mobile {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}