/* ========================================
   GRAFIKARE PR - User Theme CSS
   Turkish Influencer Marketing Platform
   Built on Bootstrap 5 with CSS Custom Properties
   ======================================== */

/* ========================================
   1. GOOGLE FONTS IMPORT
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


/* ========================================
   2. BASE STYLES
   ======================================== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f8fafc;
  color: var(--text-light, #1a202c);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  transition: background-color 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

/* Ensure no gap between navbar and hero content */
main.flex-grow-1 {
  margin-top: 0;
  padding-top: 0;
}

/* Header altındaki boşlukta body arka planı görünmesin */
.navbar-custom {
  margin-bottom: -1px;
}

.container-fluid.px-0:has(.hero-section) {
  margin-top: 0;
  padding-top: 0;
}

/* Remove default link underline */
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* ========================================
   3. NAVBAR STYLES
   ======================================== */
.navbar-custom {
  background: linear-gradient(135deg,
    var(--bg-dark, #0f172a) 0%,
    var(--bg-dark-secondary, #1e293b) 100%);
  padding: 1rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0);
  border-bottom: none;
  margin-bottom: 0;
}

/* Navbar scrolled state */
.navbar-custom.navbar-scrolled {
  padding: 0.75rem 0;
  background: linear-gradient(135deg,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(30, 41, 59, 0.95) 100%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

/* Navbar brand and logo */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff !important;
  margin-right: 2rem;
  letter-spacing: -0.5px;
}

/* Nav links */
.navbar-custom .nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 0.5rem;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-custom .nav-link:hover {
  color: #ffffff !important;
}

.navbar-custom .nav-link:hover::after {
  width: 100%;
}

.navbar-custom .nav-link.active {
  color: #ffffff !important;
}

.navbar-custom .nav-link.active::after {
  width: 100%;
}

/* Navbar buttons */
.navbar-custom .btn-brand {
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.navbar-custom .btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
  color: #ffffff;
}

/* Navbar outline button */
.navbar-custom .btn-brand-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.navbar-custom .btn-brand-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

/* Navbar dropdown */
.dropdown-menu-custom {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.dropdown-menu-custom .dropdown-item {
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.dropdown-menu-custom .dropdown-item:hover {
  background: #f1f5f9;
}

.user-avatar {
  width: 28px;
  height: 28px;
  object-fit: cover;
}

/* Navbar toggle (mobile) */
.navbar-toggler {
  border: none;
  padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: none;
  border-color: transparent;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar collapse */
.navbar-collapse {
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  .navbar-custom {
    padding: 1rem 0;
  }

  .navbar-custom .nav-link {
    margin: 0.5rem 0;
    font-size: 1rem;
  }

  .navbar-custom .nav-link::after {
    bottom: -2px;
  }

  .navbar-brand {
    margin-right: 1rem;
  }
}


/* ========================================
   4. HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-dark, #0f172a);
  margin-top: -4px;
  padding-top: 4px;
}

/* Video background */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Hero overlay gradient */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.2) 0%,
    rgba(15, 23, 42, 0.4) 50%,
    rgba(15, 23, 42, 0.7) 100%
  );
  z-index: 2;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  margin-bottom: 4rem;
  padding: 0 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 50px;
  color: var(--brand-primary, #7c3aed);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
}

.hero-buttons .btn-light {
  background: #ffffff;
  color: var(--brand-primary, #7c3aed);
}

.hero-buttons .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.hero-buttons .btn-outline-light {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.hero-buttons .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Hero cards row (inside hero-content) */
.hero-cards-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  max-width: 700px;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-cards-row .hero-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

/* Hero cards (glassmorphism) */
.hero-cards {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  z-index: 4;
}

.hero-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #ffffff;
  cursor: pointer;
}

.hero-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  flex-shrink: 0;
}

.hero-card-title,
.hero-card-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-card-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-card-text p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.hero-card-arrow {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
}

.hero-card:hover .hero-card-arrow {
  transform: translateX(5px);
  color: #ffffff;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  animation: scrollBounce 2s infinite;
  cursor: pointer;
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.scroll-wheel {
  width: 4px;
  height: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(6px);
    opacity: 0.5;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  /* Hero - reduce dead space, center content vertically */
  .hero-section {
    min-height: 100svh;
    align-items: center;
  }

  .hero-content {
    margin-bottom: 1rem;
    padding: 0 1rem;
  }

  .hero-badge {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .hero-buttons {
    gap: 0.5rem;
  }

  .hero-buttons .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  }

  .hero-cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1rem;
    bottom: auto;
    position: relative;
  }

  .hero-card {
    padding: 1rem;
  }

  .hero-cards-row {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .hero-cards-row .hero-card h3 {
    font-size: 0.95rem;
  }

  .hero-cards-row .hero-card p {
    font-size: 0.8rem;
  }

  .hero-card-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero-card-arrow {
    font-size: 0.85rem;
  }

  .scroll-indicator {
    display: none;
  }

  /* Benefits section */
  .benefits-section {
    padding: 2.5rem 0;
  }

  .section-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .benefit-card .card-body {
    padding: 1.25rem !important;
  }

  .benefit-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    margin-bottom: 0.75rem !important;
  }

  .benefit-number {
    font-size: 3rem;
  }

  /* Stats section */
  .stats-section {
    padding: 2rem 0;
  }

  .stat-box {
    min-width: 45%;
    padding: 1rem 0.5rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .stat-icon {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
  }

  /* CTA section */
  .cta-section {
    padding: 2.5rem 0;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 0.9rem;
  }

  /* Footer */
  .footer-main {
    padding: 2rem 0 0 0;
  }
}

/* Extra small phones - hero */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-cards-row .hero-card {
    padding: 0.75rem;
    gap: 0.6rem;
  }

  .hero-card-icon {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}


/* ========================================
   5. BENEFITS SECTION
   ======================================== */
.benefits-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.benefits-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 50px;
  color: var(--brand-primary, #7c3aed);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.benefits-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--bg-dark, #0f172a);
}

.benefits-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 3rem;
  max-width: 600px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-card {
  padding: 2rem;
  background: #ffffff;
  border-radius: 12px;
  border-left: 4px solid var(--brand-primary, #7c3aed);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.15);
  border-left-color: var(--brand-accent, #06b6d4);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  color: #ffffff;
}

.benefit-icon.accent {
  background: linear-gradient(135deg,
    #06b6d4 0%,
    #0891b2 100%);
}

.benefit-icon.success {
  background: linear-gradient(135deg,
    #10b981 0%,
    #059669 100%);
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--bg-dark, #0f172a);
}

.benefit-text {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

.benefit-number {
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(124, 58, 237, 0.1);
  z-index: 0;
}

@media (max-width: 768px) {
  .benefits-section {
    padding: 3rem 0;
  }

  .benefits-title {
    font-size: 2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* ========================================
   6. STATS SECTION
   ======================================== */
.stats-section {
  padding: 5rem 0;
  background: linear-gradient(135deg,
    var(--bg-dark, #0f172a) 0%,
    var(--bg-dark-secondary, #1e293b) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.1);
  z-index: 0;
}

.stats-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.08);
  z-index: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-box {
  text-align: center;
  position: relative;
}

.stat-icon {
  font-size: 1.5rem;
  color: var(--brand-primary, #6366f1);
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.stat-divider {
  display: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-box:not(:last-child) .stat-divider {
  display: block;
}

@media (max-width: 991px) {
  .stats-section {
    padding: 3rem 0;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-box:not(:last-child) .stat-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}


/* Section common elements */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(var(--brand-primary-rgb, 99,102,241), 0.1);
  color: var(--brand-primary, #6366f1);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

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


/* ========================================
   7. CTA SECTION
   ======================================== */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.cta-buttons .btn-light {
  background: #ffffff;
  color: var(--brand-primary, #7c3aed);
}

.cta-buttons .btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
  color: var(--brand-primary, #7c3aed);
}

.cta-buttons .btn-outline-light {
  border: 2px solid #ffffff;
  color: #ffffff;
}

.cta-buttons .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .cta-section {
    padding: 3rem 0;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-buttons {
    gap: 0.75rem;
  }

  .cta-buttons .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* CTA button variants */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-btn-primary {
  background: #ffffff;
  color: var(--brand-primary, #6366f1);
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
  color: var(--brand-primary, #6366f1);
}

.cta-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-3px);
  color: #ffffff;
}


/* ========================================
   8. LOGIN PAGE
   ======================================== */
/* ========================================
   8. LOGIN / AUTH PAGES - Split Layout
   ======================================== */
.login-wrapper {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-height: calc(100vh - 60px);
}

body:has(.login-wrapper) footer,
body:has(.login-wrapper) .footer-section {
  display: none;
}

/* --- Visual Panel (Left) --- */
.login-visual {
  flex: 1;
  background: linear-gradient(160deg,
    var(--brand-primary, #6366f1) 0%,
    var(--brand-accent, #8b5cf6) 40%,
    color-mix(in srgb, var(--brand-primary, #6366f1) 40%, #0f172a) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Animated background shapes */
.login-visual-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.login-visual-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.shape-1 {
  width: 500px; height: 500px;
  top: -20%; right: -15%;
  animation: floatShape 18s ease-in-out infinite;
}

.shape-2 {
  width: 350px; height: 350px;
  bottom: -15%; left: -10%;
  background: rgba(255, 255, 255, 0.04) !important;
  animation: floatShape 22s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px; height: 200px;
  top: 40%; left: 60%;
  background: rgba(255, 255, 255, 0.03) !important;
  animation: floatShape 15s ease-in-out infinite 3s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -25px) scale(1.05); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}

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

.login-visual-content {
  text-align: left;
  position: relative;
  z-index: 1;
  max-width: 400px;
}

/* Icon badge at top */
.visual-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.login-visual-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.login-visual-content p {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Feature list on visual panel */
.visual-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.visual-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.visual-feature-item:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.feature-text span {
  display: block;
  font-size: 0.78rem;
  opacity: 0.7;
}

/* Stats row */
.login-visual-stats {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.visual-stat {
  text-align: center;
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 0.85rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.visual-stat:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.16);
}

.visual-stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.visual-stat-label {
  display: block;
  font-size: 0.68rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.15rem;
}

/* --- Form Panel (Right) --- */
.login-form-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: #ffffff;
}

.login-form-panel .login-card {
  width: 100%;
  max-width: 400px;
}

/* Card header */
.login-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-welcome-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: linear-gradient(135deg, rgba(var(--brand-primary-rgb, 99, 102, 241), 0.08), rgba(var(--brand-primary-rgb, 99, 102, 241), 0.04));
  color: var(--brand-primary, #6366f1);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(var(--brand-primary-rgb, 99, 102, 241), 0.12);
}

.login-card-header i {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  display: block;
  background: linear-gradient(135deg, var(--brand-primary, #6366f1), var(--brand-accent, #8b5cf6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-card-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.35rem 0;
  letter-spacing: -0.02em;
}

.login-card-subtitle {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}

/* Login body / form */
.login-body {
  width: 100%;
}

.login-body .form-label {
  font-weight: 600;
  color: #334155;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.login-body .input-group {
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  transition: all 0.3s ease;
}

.login-body .input-group:focus-within {
  border-color: var(--brand-primary, #6366f1);
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb, 99, 102, 241), 0.1);
}

.login-body .input-group-text {
  background: #f8fafc;
  border: none;
  color: var(--brand-primary, #6366f1);
  padding: 0.75rem;
}

.login-body .form-control {
  border: none;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.login-body .form-control:focus {
  box-shadow: none;
}

/* Divider */
.login-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  color: #94a3b8;
  font-size: 0.8rem;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

/* Register outline button */
.btn-register-outline {
  display: block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  background: #ffffff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-register-outline:hover {
  border-color: var(--brand-primary, #6366f1);
  color: var(--brand-primary, #6366f1);
  background: rgba(var(--brand-primary-rgb, 99, 102, 241), 0.03);
}

/* Footer / Links */
.login-footer {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  margin-top: 2rem;
}

.login-links {
  color: var(--brand-primary, #6366f1);
  font-weight: 500;
  transition: color 0.3s ease;
}

.login-links:hover {
  color: var(--brand-accent, #8b5cf6);
}

/* Primary button */
.btn-login {
  background: linear-gradient(135deg,
    var(--brand-primary, #6366f1) 0%,
    var(--brand-accent, #8b5cf6) 100%);
  color: #ffffff;
  border: none;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  cursor: pointer;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}

.btn-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-login:hover::before {
  left: 100%;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(var(--brand-primary-rgb, 99, 102, 241), 0.35);
  color: #ffffff;
}

.btn-login.btn-loading {
  opacity: 0.8;
  pointer-events: none;
}

.password-toggle {
  cursor: pointer;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: var(--brand-primary, #6366f1) !important;
}

/* --- Responsive: Tablet --- */
@media (max-width: 991px) {
  .login-wrapper {
    flex-direction: column;
    min-height: calc(100vh - 56px);
  }

  .login-visual {
    flex: none;
    padding: 2.5rem 2rem;
  }

  .login-visual-content {
    text-align: center;
    max-width: 500px;
  }

  .visual-icon-badge {
    margin: 0 auto 1rem;
  }

  .login-visual-content h2 {
    font-size: 1.75rem;
  }

  .login-visual-content p {
    margin-bottom: 1.5rem;
  }

  .visual-features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .visual-feature-item {
    flex: 0 0 auto;
    padding: 0.6rem 0.85rem;
  }

  .feature-text span {
    display: none;
  }

  .login-visual-stats {
    justify-content: center;
    max-width: 400px;
    margin: 0.5rem auto 0;
  }

  .login-form-panel {
    flex: 1;
    padding: 2rem 1.5rem;
  }
}

/* --- Responsive: Phone --- */
@media (max-width: 575px) {
  .login-visual {
    padding: 2rem 1.5rem;
  }

  .login-visual-content h2 {
    font-size: 1.4rem;
  }

  .visual-features {
    display: none;
  }

  .login-visual-stats {
    gap: 0.5rem;
  }

  .visual-stat {
    padding: 0.6rem 0.35rem;
  }

  .visual-stat-number {
    font-size: 1.2rem;
  }

  .login-form-panel {
    padding: 1.5rem 1.25rem;
  }

  .login-card-header h3 {
    font-size: 1.35rem;
  }
}

/* Very small phones: hide visual entirely */
@media (max-width: 420px) {
  .login-visual {
    display: none;
  }

  .login-form-panel {
    min-height: calc(100vh - 56px);
  }
}


/* ========================================
   9. REGISTRATION PAGE
   ======================================== */
.registration-wrapper,
.register-wrapper {
  min-height: calc(100vh - 60px);
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
    var(--bg-dark, #0f172a) 0%,
    var(--bg-dark-secondary, #1e293b) 50%,
    color-mix(in srgb, var(--bg-dark-secondary, #1e293b) 80%, var(--brand-primary, #6366f1)) 100%);
}

/* Hide footer on registration pages for full-screen feel */
body:has(.registration-wrapper) footer,
body:has(.registration-wrapper) .footer-section,
body:has(.register-wrapper) footer,
body:has(.register-wrapper) .footer-section {
  display: none;
}

.register-container,
.main-card {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
}

/* 2-column form grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
}

/* Inside step1 2-col layout, use single column grid for left panel */
.step1-layout .form-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.form-grid .mb-3 {
  margin-bottom: 1rem !important;
}

.form-grid .full-width {
  grid-column: 1 / -1;
}

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

.register-header,
.card-header-custom {
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  color: #ffffff;
  text-align: center;
  border-radius: 16px 16px 0 0;
  position: relative;
  overflow: hidden;
}

.register-header::before,
.card-header-custom::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -25%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.register-header h2,
.header-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: #ffffff;
  position: relative;
  letter-spacing: -0.01em;
}

.register-header p,
.header-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0;
  position: relative;
}

/* Section card inside registration */
.section-header {
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
  border-radius: 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  letter-spacing: 0.01em;
  box-shadow: none;
}

.section-body {
  padding: 1.25rem 2rem;
}

.form-section {
  margin-bottom: 0.5rem;
}

/* File upload area */
.file-upload-area {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.file-upload-area:hover {
  border-color: var(--brand-primary, #7c3aed);
  background: rgba(var(--brand-primary-rgb, 124, 58, 237), 0.03);
}

.file-upload-area .upload-icon {
  font-size: 2.5rem;
  color: #94a3b8;
  display: block;
  margin-bottom: 0.75rem;
}

/* Step 1 two-column layout */
.step1-layout {
  align-items: stretch;
}

.photo-upload-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.photo-upload-panel .file-upload-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.photo-upload-panel .photo-preview {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-upload-panel .photo-preview img {
  max-width: 200px;
  max-height: 200px;
}

@media (max-width: 991px) {
  .step1-layout .col-lg-7,
  .step1-layout .col-lg-5 {
    /* Stack on tablet/mobile */
  }

  .photo-upload-panel .file-upload-area {
    min-height: 120px;
  }
}

.photo-preview {
  margin-top: 1rem;
  text-align: center;
}

.photo-preview img {
  max-width: 150px;
  max-height: 150px;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid #e2e8f0;
}

/* Tag selection (category picker) */
.tag-selection {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-item {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #ffffff;
  color: #475569;
  user-select: none;
}

.tag-item:hover {
  border-color: var(--brand-primary, #7c3aed);
  color: var(--brand-primary, #7c3aed);
  background: rgba(var(--brand-primary-rgb, 124, 58, 237), 0.05);
}

.tag-item.selected {
  background: var(--brand-primary, #7c3aed);
  border-color: var(--brand-primary, #7c3aed);
  color: #ffffff;
}

/* Btn nav login (kayit.php navbar) */
.btn-nav-login {
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  color: #ffffff !important;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-nav-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
  color: #ffffff;
}

/* General btn-brand */
.btn-brand {
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.3);
  color: #ffffff;
}

/* Step indicator */
/* Form body - full width aligned with header */
.kayit-form-body {
  padding: 0;
}

.kayit-form-body > .step-indicator {
  padding-left: 2rem;
  padding-right: 2rem;
}

.kayit-form-body .step-content {
  padding-left: 0;
  padding-right: 0;
}

.step-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0;
  margin-bottom: 0 !important;
}

.step,
.step-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.step-connector {
  flex: 0 0 40px;
  height: 2px;
  background: #e2e8f0;
  transition: background 0.3s ease;
  align-self: center;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #64748b;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.step.active .step-number,
.step-item.active .step-number {
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  border-color: var(--brand-primary, #7c3aed);
  color: #ffffff;
}

.step.completed .step-number,
.step-item.completed .step-number {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.step-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
  display: none;
}

.step-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
}

.step.active .step-name,
.step.completed .step-name {
  display: block;
  color: var(--bg-dark, #0f172a);
}

.step-item.active .step-label,
.step-item.completed .step-label {
  color: var(--bg-dark, #0f172a);
  font-weight: 600;
}

.step::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% - 20px);
  height: 2px;
  background: #cbd5e1;
}

.step:last-child::after {
  display: none;
}

/* step-item uses explicit .step-connector elements, no ::after needed */

.step.completed::after {
  background: #10b981;
}

.step.active::after {
  background: var(--brand-primary, #7c3aed);
}

/* Completed step connector changes color */
.step-item.completed + .step-connector {
  background: #10b981;
}

.step-item.active + .step-connector {
  background: var(--brand-primary, #7c3aed);
}

/* Progress bar */
.progress-section {
  padding: 1.5rem 2rem;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.progress-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--bg-dark, #0f172a);
  margin-bottom: 0.5rem;
}

.progress {
  height: 6px;
  background: #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  transition: width 0.3s ease;
  border-radius: 10px;
}

/* Step content */
.step-content {
  padding-top: 0;
  padding-bottom: 0;
  display: none;
}

.step-content.active {
  display: block;
  animation: fadeInUp 0.3s ease-out;
}

.step-form-group {
  margin-bottom: 1.5rem;
}

.step-form-group label {
  font-weight: 500;
  color: var(--bg-dark, #0f172a);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  display: block;
}

.step-form-group input,
.step-form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.step-form-group input:focus,
.step-form-group textarea:focus {
  outline: none;
  border-color: var(--brand-primary, #7c3aed);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Section cards */
.section-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0.5rem;
  box-shadow: none;
}

.section-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bg-dark, #0f172a);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-card-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  border-radius: 2px;
}

/* Step navigation */
.step-navigation {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 2rem;
  background: #ffffff;
  border-top: 2px solid #e2e8f0;
  justify-content: flex-end;
  position: sticky;
  bottom: 0;
  z-index: 10;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  border-radius: 0 0 16px 16px;
}

.step-navigation .btn {
  padding: 0.75rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  min-width: 140px;
}

.btn-prev {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.btn-prev:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.btn-next,
.step-navigation .btn-brand {
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  color: #ffffff;
  border: none;
}

.btn-next:hover,
.step-navigation .btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.35);
  color: #ffffff;
}

.btn-submit {
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #ffffff;
  border: none;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.35);
  color: #ffffff;
}

@media (max-width: 768px) {
  /* Wrapper - reduce padding */
  .registration-wrapper,
  .register-wrapper {
    padding: 1rem 0.75rem;
  }

  /* Main card */
  .main-card,
  .register-container {
    border-radius: 12px;
    max-width: 100%;
  }

  /* Header - compact */
  .card-header-custom,
  .register-header {
    padding: 1.25rem 1rem;
    border-radius: 12px 12px 0 0;
  }

  .header-title {
    font-size: 1.3rem;
  }

  .header-subtitle {
    font-size: 0.8rem;
  }

  /* Form body - less padding on mobile */
  .kayit-form-body > .step-indicator {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .kayit-form-body .step-content {
    padding-left: 0;
    padding-right: 0;
  }
  .step-navigation {
    padding: 0.75rem;
  }
  .main-card > .p-4,
  .register-container > .p-4 {
    padding: 0.75rem !important;
  }

  /* Step indicator - compact horizontal */
  .step-indicator {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.75rem 0.5rem;
    margin-bottom: 0 !important;
  }

  .step-name,
  .step-label {
    display: none !important;
  }

  .step::after {
    display: none;
  }

  .step-number {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .step-connector {
    flex: 0 0 16px;
  }

  /* Section header - smaller */
  .section-header {
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
    border-radius: 0;
    margin-bottom: 0;
  }

  .section-body {
    padding: 0.75rem 1rem;
  }

  /* Form fields - tighter */
  .section-card {
    border-radius: 0;
    padding: 0;
  }

  .form-section {
    margin-bottom: 0.25rem;
  }

  .form-label {
    font-size: 0.82rem;
    margin-bottom: 0.25rem;
  }

  .form-control,
  .form-select {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
  }

  .form-control.form-control-lg {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }

  /* Input group icons */
  .input-group-text {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
  }

  /* Step content - less padding */
  .step-content {
    padding: 0;
  }

  /* File upload - smaller */
  .file-upload-area {
    padding: 1.25rem 1rem;
  }

  .file-upload-area h6 {
    font-size: 0.85rem;
  }

  .file-upload-area p,
  .file-upload-area small {
    font-size: 0.75rem;
  }

  .upload-icon {
    font-size: 1.5rem;
  }

  /* Navigation buttons - row on mobile */
  .step-navigation {
    padding: 0.75rem;
    gap: 0.5rem;
  }

  .step-navigation .btn {
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  /* Form grid stays single column (already handled) */
  .form-grid {
    gap: 0;
  }

  /* Tag items */
  .tag-item {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }

  /* Mb-3 reduce in form context */
  .section-body .mb-3 {
    margin-bottom: 0.6rem !important;
  }
}

/* Extra small phones (< 480px) */
@media (max-width: 480px) {
  .registration-wrapper,
  .register-wrapper {
    padding: 0.5rem;
  }

  .card-header-custom,
  .register-header {
    padding: 1rem 0.75rem;
  }

  .header-title {
    font-size: 1.15rem;
  }

  .kayit-form-body > .step-indicator {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .kayit-form-body .step-content {
    padding-left: 0;
    padding-right: 0;
  }
  .section-body {
    padding: 0.5rem 0.75rem;
  }
  .step-navigation {
    padding: 0.5rem;
  }
  .main-card > .p-4,
  .register-container > .p-4 {
    padding: 0.5rem !important;
  }

  .step-indicator {
    padding: 0.5rem;
  }

  .step-number {
    width: 26px;
    height: 26px;
    font-size: 0.75rem;
  }

  .step-connector {
    flex: 0 0 12px;
  }
}


/* ========================================
   10. FOOTER
   ======================================== */
.footer-main {
  background: linear-gradient(135deg,
    var(--bg-dark, #0f172a) 0%,
    var(--bg-dark-secondary, #1e293b) 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer content */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  max-width: 120px;
  max-height: 50px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-logo-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-logo-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary, #7c3aed);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-links a:hover::after {
  width: 100%;
}

/* Footer widget title (used in footer.php) */
.widget-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg,
    var(--brand-primary, #6366f1) 0%,
    var(--brand-accent, #8b5cf6) 100%);
  border-radius: 2px;
}

/* Footer text muted */
.text-light-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Footer separator */
.footer-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0.5rem;
}

/* Social links */
.social-links,
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.social-link:hover {
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  border-color: var(--brand-primary, #7c3aed);
  transform: translateY(-3px);
}

/* Contact info */
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.contact-item i {
  color: var(--brand-primary, #6366f1);
  font-size: 1rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #ffffff;
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary, #7c3aed);
  flex-shrink: 0;
  font-size: 1rem;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Footer bottom */
.footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 99;
  font-size: 1.5rem;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

@media (max-width: 768px) {
  .footer-main {
    padding: 2rem 0 0 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0;
  }

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

  .footer-bottom-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
}


/* ========================================
   11. ANIMATIONS
   ======================================== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible,
.animate-on-scroll.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in animation class */
.fade-in {
  animation: fadeInUp 0.6s ease-out both;
}

/* Fade in up animation class */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out both;
}

/* Stagger delays for cascade effect */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }


/* ========================================
   12. UTILITY CLASSES
   ======================================== */

/* Text utilities */
.text-brand {
  color: var(--brand-primary, #7c3aed) !important;
}

.text-accent {
  color: var(--brand-accent, #06b6d4) !important;
}

.text-dark {
  color: var(--bg-dark, #0f172a) !important;
}

.text-light {
  color: var(--text-light, #ffffff) !important;
}

/* Background utilities */
.bg-brand {
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
}

.bg-dark {
  background: linear-gradient(135deg,
    var(--bg-dark, #0f172a) 0%,
    var(--bg-dark-secondary, #1e293b) 100%);
}

/* Border utilities */
.border-brand {
  border-color: var(--brand-primary, #7c3aed) !important;
}

.border-accent {
  border-color: var(--brand-accent, #06b6d4) !important;
}

/* Button overrides */
.btn-primary {
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  border: none;
  color: #ffffff;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
  color: #ffffff;
}

.btn-primary:focus {
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
  color: #ffffff;
}

.btn-outline-primary {
  color: var(--brand-primary, #7c3aed);
  border: 2px solid var(--brand-primary, #7c3aed);
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--brand-primary, #7c3aed);
  border-color: var(--brand-primary, #7c3aed);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-primary:focus {
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

/* Form focus states */
.form-control:focus {
  border-color: var(--brand-primary, #7c3aed);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-check-input {
  border: 2px solid #cbd5e1;
  transition: all 0.3s ease;
}

.form-check-input:checked {
  background-color: var(--brand-primary, #7c3aed);
  border-color: var(--brand-primary, #7c3aed);
}

.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* Input group styling */
.input-group .form-control:not(:last-child) {
  border-right: none;
}

.input-group .input-group-text {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
}

.input-group .input-group-text:first-child {
  border-right: none;
}

.input-group .input-group-text:last-child {
  border-left: none;
}

.input-group .form-control:focus ~ .input-group-text {
  border-color: var(--brand-primary, #7c3aed);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed) 0%,
    var(--brand-accent, #06b6d4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shadow utilities */
.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.shadow-md {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.shadow-lg {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Glassmorphism utility */
.glassmorphism {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

/* Hover lift effect */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}


/* ========================================
   13. RESPONSIVE MEDIA QUERIES
   ======================================== */

/* Tablet (≤ 991px) */
@media (max-width: 991px) {
  body {
    font-size: 15px;
  }

  .container {
    max-width: 960px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  section {
    padding: 3rem 0;
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .container {
    max-width: 540px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  section {
    padding: 2rem 0;
  }

  .grid {
    grid-template-columns: 1fr !important;
  }
}

/* Small Mobile (≤ 576px) */
@media (max-width: 576px) {
  body {
    font-size: 13px;
  }

  .container {
    max-width: 100%;
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  h2 {
    font-size: 1.35rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  section {
    padding: 1.5rem 0;
  }

  .mt-5 {
    margin-top: 1.5rem !important;
  }

  .mb-5 {
    margin-bottom: 1.5rem !important;
  }

  .p-4 {
    padding: 1rem !important;
  }

  /* Hide decorative elements on small screens */
  .footer-bottom-links {
    gap: 0.5rem;
  }

  .btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
  }
}

/* Extra small (< 400px) */
@media (max-width: 400px) {
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* ========================================
   14. PREMIUM REGISTRATION PAGE REDESIGN
   ======================================== */

/* ---------- Hero Banner ---------- */
.reg-hero {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
  background: linear-gradient(135deg,
    var(--bg-dark, #0f172a) 0%,
    var(--bg-dark-secondary, #1e293b) 40%,
    color-mix(in srgb, var(--bg-dark-secondary, #1e293b) 60%, var(--brand-primary, #7c3aed)) 100%);
}

/* Compact hero variant */
.reg-hero-compact {
  padding: 1.75rem 0 2.25rem;
}

.reg-hero-compact .reg-hero-wave { display: none; }

.reg-hero-title-sm {
  font-size: clamp(1.4rem, 3vw, 2rem) !important;
  margin-bottom: .4rem !important;
}

.reg-hero-desc-sm {
  font-size: .88rem !important;
  margin-bottom: 0 !important;
  max-width: none !important;
}

.reg-hero-stats-sm {
  padding: .6rem 1.25rem !important;
  gap: 1rem !important;
  margin: 0 !important;
}

.reg-hero-stats-sm .reg-stat-number {
  font-size: 1.2rem;
}

.reg-hero-stats-sm .reg-stat-label {
  font-size: .7rem;
}

.reg-hero-stats-sm .reg-stat-divider {
  height: 28px;
}

/* ---------- Hero Feature Cards ---------- */
.reg-features {
  display: flex;
  gap: .75rem;
  justify-content: flex-end;
}

.reg-feature-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
  transition: all .3s ease;
  flex: 1;
  max-width: 220px;
}

.reg-feature-card:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .22);
  transform: translateY(-2px);
}

.reg-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .85);
  flex-shrink: 0;
}

.reg-feature-title {
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.reg-feature-desc {
  font-size: .72rem;
  color: rgba(255, 255, 255, .6);
  margin-top: .1rem;
}

@media (max-width: 991px) {
  .reg-features {
    justify-content: center;
    margin-top: .75rem;
  }
}

@media (max-width: 576px) {
  .reg-features {
    flex-direction: column;
    align-items: center;
  }
  .reg-feature-card {
    max-width: 280px;
    width: 100%;
  }
}

.reg-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(var(--brand-primary-rgb, 124, 58, 237), .15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(var(--brand-accent-rgb, 6, 182, 212), .12) 0%, transparent 70%);
  pointer-events: none;
}

.reg-hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.reg-hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  animation: regParticleFloat 8s ease-in-out infinite;
}

@keyframes regParticleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: .3; }
  50%      { transform: translateY(-30px) scale(1.5); opacity: .7; }
}

.reg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1.25rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg,
    rgba(var(--brand-primary-rgb, 124, 58, 237), .35),
    rgba(var(--brand-accent-rgb, 6, 182, 212), .35));
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(6px);
  margin-bottom: 1.25rem;
  animation: regFadeInUp .6s ease-out both;
}

.reg-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
  animation: regFadeInUp .6s ease-out .1s both;
}

.reg-hero-gradient-text {
  background: linear-gradient(135deg, #a78bfa, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reg-hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .7);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  animation: regFadeInUp .6s ease-out .2s both;
}

/* Hero Stats */
.reg-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px);
  animation: regFadeInUp .6s ease-out .35s both;
}

.reg-stat-item { text-align: center; }

.reg-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.reg-stat-label {
  font-size: .78rem;
  color: rgba(255, 255, 255, .75);
  font-weight: 500;
  margin-top: .15rem;
}

.reg-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, .15);
}

/* Hero Wave */
.reg-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 1;
}

.reg-hero-wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ---------- Registration Wrapper Override ---------- */
body:has(.reg-hero) .registration-wrapper,
body:has(.reg-hero) .register-wrapper {
  padding-top: .75rem;
  padding-bottom: 1.5rem;
  margin-top: 0;
  position: relative;
  z-index: 3;
  min-height: auto;
}

/* ---------- Premium Card ---------- */
.reg-card-premium {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .06);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, .35),
    0 0 0 1px rgba(255, 255, 255, .04),
    inset 0 1px 0 rgba(255, 255, 255, .03);
  overflow: visible;
}

.reg-card-premium .kayit-form-body {
  padding: 1.25rem 2rem 1rem;
}

.reg-card-premium {
  max-width: none;
}

/* Wide card — matches header container */
.reg-card-wide {
  max-width: none;
  border-radius: 16px;
}

/* ---------- Section Glow ---------- */
.reg-section-glow {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: box-shadow .3s ease, border-color .3s ease;
}

.reg-section-glow:hover {
  border-color: rgba(var(--brand-primary-rgb, 124, 58, 237), .25);
  box-shadow: 0 8px 30px rgba(var(--brand-primary-rgb, 124, 58, 237), .08);
}

/* ---------- Step Indicator Premium ---------- */
.reg-card-premium .step-indicator {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 12px;
  padding: .75rem 1.5rem;
  border: 1px solid #e2e8f0;
}

.reg-card-premium .step-number {
  width: 38px;
  height: 38px;
  font-size: .9rem;
  border-radius: 10px;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  border: 2px solid transparent;
}

.reg-card-premium .step-item.active .step-number {
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed),
    var(--brand-accent, #06b6d4));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(var(--brand-primary-rgb, 124, 58, 237), .35);
  transform: scale(1.05);
}

.reg-card-premium .step-item.completed .step-number {
  background: #10b981;
  color: #fff;
  border-color: transparent;
}

.reg-card-premium .step-connector {
  background: #e2e8f0;
  height: 3px;
  border-radius: 3px;
  transition: background .4s ease;
}

.reg-card-premium .step-item.completed + .step-connector {
  background: linear-gradient(90deg, #10b981, var(--brand-primary, #7c3aed));
}

/* ---------- Upload Area Premium ---------- */
.reg-upload-area {
  border: 2px dashed rgba(var(--brand-primary-rgb, 124, 58, 237), .25);
  background: linear-gradient(135deg, rgba(var(--brand-primary-rgb, 124, 58, 237), .02), rgba(var(--brand-accent-rgb, 6, 182, 212), .02));
  border-radius: 16px;
  transition: all .3s ease;
}

.reg-upload-area:hover {
  border-color: var(--brand-primary, #7c3aed);
  background: linear-gradient(135deg, rgba(var(--brand-primary-rgb, 124, 58, 237), .06), rgba(var(--brand-accent-rgb, 6, 182, 212), .04));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--brand-primary-rgb, 124, 58, 237), .1);
}

.reg-upload-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg,
    rgba(var(--brand-primary-rgb, 124, 58, 237), .12),
    rgba(var(--brand-accent-rgb, 6, 182, 212), .12));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .75rem;
  font-size: 1.5rem;
  color: var(--brand-primary, #7c3aed);
  transition: all .3s ease;
}

.reg-upload-area:hover .reg-upload-icon-wrap {
  background: linear-gradient(135deg,
    var(--brand-primary, #7c3aed),
    var(--brand-accent, #06b6d4));
  color: #fff;
  transform: scale(1.1);
}

/* ---------- Compact Upload Area ---------- */
.reg-upload-compact {
  padding: 1.25rem 1rem;
  min-height: auto;
}

.reg-upload-icon-sm {
  width: 42px;
  height: 42px;
  font-size: 1.15rem;
  margin-bottom: .5rem !important;
}

/* Section body compact spacing */
.reg-section-glow .section-body {
  padding: 1rem 1.5rem;
}

.reg-section-glow .section-header {
  padding: .65rem 1.5rem;
  font-size: .85rem;
}

/* Compact form labels */
.reg-card-wide .form-label {
  font-size: .82rem;
  margin-bottom: .3rem;
}

.reg-card-wide .form-control,
.reg-card-wide .form-select {
  font-size: .88rem;
  padding: .4rem .75rem;
}

.reg-card-wide .input-group-text {
  font-size: .82rem;
  padding: .4rem .65rem;
}

.reg-card-wide .mb-3 {
  margin-bottom: .65rem !important;
}

/* ---------- Input Group Premium ---------- */
.reg-input-group {
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .3s ease;
}

.reg-input-group:focus-within {
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb, 124, 58, 237), .15);
}

.reg-input-group .input-group-text {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-color: #e2e8f0;
  color: var(--brand-primary, #7c3aed);
  font-size: .9rem;
}

.reg-input-group .form-control {
  border-color: #e2e8f0;
}

.reg-input-group .form-control:focus {
  border-color: var(--brand-primary, #7c3aed);
}

/* ---------- Navigation Buttons Premium ---------- */
.reg-btn-next,
.reg-btn-submit {
  padding: .75rem 2rem;
  font-weight: 600;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

.reg-btn-next::after,
.reg-btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}

.reg-btn-next:hover::after,
.reg-btn-submit:hover::after {
  opacity: 1;
}

.reg-btn-next:hover,
.reg-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--brand-primary-rgb, 124, 58, 237), .35);
}

.reg-btn-prev {
  padding: .75rem 2rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all .3s ease;
}

.reg-btn-prev:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}

/* ---------- Trust Bar ---------- */
.reg-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 2rem;
  border-top: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border-radius: 0 0 20px 20px;
}

.reg-trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  color: #64748b;
  font-weight: 500;
}

.reg-trust-item i {
  color: #10b981;
  font-size: .9rem;
}

/* ---------- Animations ---------- */
@keyframes regFadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes regPulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(var(--brand-primary-rgb, 124, 58, 237), .1); }
  50%      { box-shadow: 0 0 40px rgba(var(--brand-primary-rgb, 124, 58, 237), .2); }
}

/* ---------- Mobile Responsive ---------- */
@media (max-width: 768px) {
  .reg-hero-compact {
    padding: 1.25rem 0 1.5rem;
  }

  .reg-hero-title-sm {
    font-size: 1.3rem !important;
  }

  .reg-hero-stats-sm {
    margin-top: .75rem !important;
  }

  .reg-card-premium .kayit-form-body {
    padding: 1rem .75rem .75rem;
  }

  .reg-trust-bar {
    flex-direction: column;
    gap: .5rem;
    padding: .75rem;
  }

  .reg-card-premium .step-number {
    width: 32px;
    height: 32px;
    font-size: .8rem;
  }
}

@media (max-width: 576px) {
  .reg-hero-compact {
    padding: 1rem 0 1.25rem;
  }

  .reg-hero-title-sm {
    font-size: 1.15rem !important;
  }

  .reg-hero-stats-sm .reg-stat-divider {
    display: none;
  }
}


/* ========================================
   15. PRINT STYLES
   ======================================== */
@media print {
  .navbar-custom,
  .hero-section,
  .back-to-top,
  .scroll-indicator,
  .reg-hero {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .btn {
    border: 2px solid #000000;
    color: #000000;
    background: transparent !important;
  }
}
