/* ═══════════════════════════════════════════════════════════════
   KIIT CONNECT — GLOBAL STYLES · "Aurora Glass" redesign
   Deep-space navy · glass surfaces · indigo→violet→pink accents
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #FB923C;
  --primary-dark: #F97316;
  --secondary: #F472B6;
  --accent: #F472B6;
  --success: #34D399;
  --warning: #FBBF24;
  --danger: #F87171;

  /* Flipped neutrals: "dark" tokens are now light text on dark surfaces */
  --dark: #F1F5F9;
  --gray-900: #E2E8F0;
  --gray-700: #CBD5E1;
  --gray-500: #94A3B8;
  --gray-300: #475569;
  --gray-100: rgba(255,255,255,0.07);
  --white: #FFFFFF;

  /* Surfaces */
  --bg: #121016;
  --bg-soft: #18141C;
  --surface: rgba(17, 24, 39, 0.62);
  --surface-solid: #1E1822;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);

  --gradient: linear-gradient(135deg, #F97316 0%, #EC4899 55%, #D946EF 100%);
  --gradient-hover: linear-gradient(135deg, #EA580C 0%, #DB2777 55%, #C026D3 100%);
  --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  --card-shadow-hover: 0 20px 50px -12px rgba(249, 115, 22, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --transition: all 0.3s ease;
  --font: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fixed aurora backdrop on every page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(600px 420px at 85% -10%, rgba(249,115,22,0.18), transparent 65%),
    radial-gradient(520px 380px at -10% 25%, rgba(217,70,239,0.10), transparent 65%),
    radial-gradient(640px 460px at 50% 115%, rgba(217,70,239,0.08), transparent 65%);
}
body > * { position: relative; z-index: 1; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
button { cursor: pointer; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }
::selection { background: rgba(236,72,153,0.4); color: #fff; }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #F97316, #EC4899);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* ========== UTILITY CLASSES ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 90px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-4 { gap: 16px; }
.gap-2 { gap: 8px; }
.hidden { display: none !important; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(249, 115, 22, 0.55);
}
.btn-primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(236, 72, 153, 0.65);
}

.btn-outline {
  background: rgba(255,255,255,0.04);
  color: var(--gray-900);
  border: 1.5px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(251,146,60,0.14);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: #EA580C;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.45);
}

.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 40px; font-size: 17px; }
.btn-danger { background: linear-gradient(135deg, #EF4444, #DC2626); color: white; }
.btn-success { background: linear-gradient(135deg, #10B981, #059669); color: white; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 15, 26, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 14px 38px -14px rgba(0,0,0,0.6);
  padding: 13px 0;
}

.navbar.scrolled .nav-link { color: var(--gray-700); }
.navbar.scrolled .nav-link:hover { color: #fff; }
.navbar.scrolled .logo-text { color: #fff; }

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  font-weight: 800;
  box-shadow: 0 8px 20px -6px rgba(236,72,153,0.6);
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo-text span {
  background: linear-gradient(120deg, #FDBA74, #FBCFE8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.09);
}
/* Link icons are used only in the mobile dropdown; hidden on desktop. */
.nav-link i { display: none; }

.nav-auth {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--white); }

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  background:
    radial-gradient(900px 600px at 75% 20%, rgba(249,115,22,0.28), transparent 60%),
    radial-gradient(700px 520px at 15% 80%, rgba(217,70,239,0.18), transparent 60%),
    linear-gradient(180deg, #18141C 0%, #121016 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(251,146,60,0.18), transparent 65%);
  border-radius: 50%;
  filter: blur(60px);
  top: -200px; right: -200px;
  animation: float 9s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(244,114,182,0.14), transparent 65%);
  border-radius: 50%;
  filter: blur(60px);
  bottom: -120px; left: -120px;
  animation: float 7s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251,146,60,0.12);
  color: #FED7AA;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(251,146,60,0.3);
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}
.hero-title span {
  background: linear-gradient(120deg, #FDBA74, #F9A8D4, #FDBA74);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroShine 5s linear infinite;
}
@keyframes heroShine { to { background-position: 200% center; } }

.hero-subtitle {
  font-size: 17px;
  color: rgba(226,232,240,0.65);
  margin-bottom: 40px;
  line-height: 1.8;
}

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

.hero-stats {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 20px;
  backdrop-filter: blur(10px);
  transition: transform .25s ease, background .25s ease;
}
.hero-stat:hover { transform: translateY(-3px); background: rgba(255,255,255,0.08); }
.hero-stat-number {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(120deg, #FDBA74, #FBCFE8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(226,232,240,0.55);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: slideUp 0.8s ease both;
}

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

.hero-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--gray-900);
  transition: var(--transition);
  box-shadow: 0 14px 40px -16px rgba(0,0,0,0.55);
}
.hero-card:hover {
  background: rgba(30,41,59,0.7);
  transform: translateX(-5px);
  border-color: rgba(251,146,60,0.4);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.hero-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  flex-shrink: 0;
}

.hero-card-text { font-size: 14px; opacity: 0.9; }
.hero-card-meta { font-size: 12px; opacity: 0.55; margin-top: 4px; }
.hero-card-actions {
  display: flex;
  gap: 16px;
  margin-top: 12px;
}
.hero-action-btn {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; opacity: 0.75;
  cursor: pointer;
}

/* ========== SECTION HEADER ========== */
.section-header { margin-bottom: 60px; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251,146,60,0.12);
  color: #FDBA74;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(251,146,60,0.25);
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.8;
}
.section-header.center .section-desc { margin: 0 auto; }

/* ========== FEATURE CARDS ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--line);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(251,146,60,0.45);
}
.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}
.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.feature-desc {
  color: var(--gray-500);
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 20px;
}
.feature-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.feature-link:hover { gap: 10px; color: #FED7AA; }

/* ========== STATS SECTION ========== */
.stats-section {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(236,72,153,0.22), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(120deg, #FDBA74, #FBCFE8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 15px;
  color: var(--gray-500);
  font-weight: 500;
}

/* ========== HOW IT WORKS ========== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 30px; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, #F97316, #EC4899, #D946EF);
  opacity: 0.5;
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  font-size: 22px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 10px 26px -6px rgba(236,72,153,0.6);
}
.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.step-desc { color: var(--gray-500); font-size: 15px; line-height: 1.7; }

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--line);
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(251,146,60,0.4);
}
.stars { color: #FBBF24; font-size: 18px; margin-bottom: 16px; }
.testimonial-text {
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
}
.testimonial-name { font-weight: 700; color: var(--white); font-size: 15px; }
.testimonial-role { color: var(--gray-500); font-size: 13px; }

/* ========== CTA SECTION ========== */
.cta-section {
  background:
    radial-gradient(800px 400px at 50% 120%, rgba(217,70,239,0.25), transparent 70%),
    linear-gradient(135deg, #7C2D12 0%, #9D174D 55%, #86198F 100%);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  filter: blur(40px);
  top: -200px; right: -100px;
}
.cta-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.cta-desc { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom: 40px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== FOOTER ========== */
.footer {
  background: #0D0B10;
  color: rgba(226,232,240,0.75);
  padding: 60px 0 30px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  font-size: 15px;
  line-height: 1.8;
  margin: 16px 0 24px;
  color: rgba(226,232,240,0.5);
}
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: white;
  transition: var(--transition);
  font-size: 16px;
}
.social-link:hover { background: var(--gradient); border-color: transparent; transform: translateY(-3px); }
.footer-heading {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(226,232,240,0.5);
  font-size: 14px;
  transition: var(--transition);
}
.footer-links a:hover { color: #FDBA74; padding-left: 6px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: rgba(226,232,240,0.4);
}

/* ========== NOTIFICATION TOAST ========== */
.toast-container {
  position: fixed;
  top: 90px; right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: rgba(17,24,39,0.92);
  backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 16px 44px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-height: 120px;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--primary);
  cursor: pointer;
  will-change: transform, opacity;
  animation: kcToastIn 0.5s cubic-bezier(.22,1.3,.4,1) both;
  transition: opacity .38s ease,
              transform .38s cubic-bezier(.4,0,.2,1),
              max-height .38s ease,
              margin .38s ease,
              padding .38s ease;
}
.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }
/* exit: slide out to the right + collapse so stacked toasts glide up */
.toast.hiding {
  opacity: 0;
  transform: translateX(120%) scale(.92);
  max-height: 0;
  margin-top: -10px;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}
.toast-icon { font-size: 20px; display: inline-block; animation: kcToastPop .45s .12s cubic-bezier(.22,1.5,.4,1) both; }
.toast-text { font-size: 14px; color: var(--gray-900); font-weight: 500; }

@keyframes kcToastIn {
  0%   { opacity: 0; transform: translateX(115%) scale(.8); }
  55%  { opacity: 1; }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes kcToastPop { 0% { transform: scale(0) rotate(-25deg); } 100% { transform: scale(1) rotate(0); } }
/* kept for any legacy references */
@keyframes slideIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; pointer-events: none; } }
@media (prefers-reduced-motion: reduce) {
  .toast { animation: none; }
  .toast-icon { animation: none; }
}

/* ========== BADGES ========== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}
.badge-blue { background: rgba(251,146,60,0.15); color: #FDBA74; }
.badge-purple { background: rgba(244,114,182,0.15); color: #FDBA74; }
.badge-green { background: rgba(52,211,153,0.15); color: #6EE7B7; }
.badge-orange { background: rgba(251,146,60,0.15); color: #FDBA74; }
.badge-red { background: rgba(248,113,113,0.15); color: #FCA5A5; }

/* ========== FORM STYLES ========== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: var(--transition);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  outline: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(148,163,184,0.6); }
.form-select option { background: #1E1822; color: #E2E8F0; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.input-icon-wrap { position: relative; }
.input-icon-wrap .form-input { padding-left: 44px; }
.input-icon {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  font-size: 18px;
}

/* ========== LOADING SPINNER ========== */
.spinner {
  width: 40px; height: 40px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
}

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

@media (max-width: 768px) {
  .nav-menu {
    display: none; position: absolute; top: calc(100% + 8px); left: 14px; right: 14px;
    background: rgba(15,18,28,0.98); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    padding: 10px; flex-direction: column; gap: 4px;
    border-radius: 18px; border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 24px 60px rgba(0,0,0,0.6);
    animation: navDrop .22s ease;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu .nav-link {
    display: flex; align-items: center; width: 100%;
    padding: 14px 16px; border-radius: 12px;
    font-size: 15.5px; font-weight: 600; color: var(--gray-700);
    transition: background .18s, color .18s;
  }
  .nav-menu .nav-link i { display: inline-flex; width: 26px; font-size: 15px; color: var(--primary); }
  .nav-menu .nav-link:hover { background: rgba(255,255,255,0.06); color: #fff; }
  .nav-menu .nav-link:hover i { color: #FDBA74; }
  .nav-menu .nav-link.active {
    background: var(--gradient); color: #fff;
    box-shadow: 0 8px 22px -7px rgba(236,72,153,0.6);
  }
  .nav-menu .nav-link.active i { color: #fff; }
  .nav-auth { gap: 8px; }
  .nav-auth .btn-outline { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 12px; }
}
