/* ==========================================================================
   IIEX – Indian Influencer Experts (iiex.digital)
   Design System: White background, Navy (#0F1F3D) text, Violet (#6B3FD4) accent
   ========================================================================== */

:root {
  --navy: #0F1F3D;
  --navy-light: #1a2d5a;
  --violet: #6B3FD4;
  --violet-dark: #5530B0;
  --violet-light: #f4f1ff;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --green-bg: #ecfdf5;
  --green-text: #065f46;
  --blue-bg: #eff6ff;
  --blue-text: #1e40af;
  --amber-bg: #fffbeb;
  --amber-text: #92400e;
  --red-bg: #fef2f2;
  --red-text: #991b1b;
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(15, 31, 61, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(15, 31, 61, 0.08), 0 2px 4px -1px rgba(15, 31, 61, 0.04);
  --transition: all 0.2s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--navy);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.35rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--violet);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--violet-dark);
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Container */
.container {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container-narrow {
  max-width: 820px;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}
.section-sm {
  padding: 2.5rem 0;
}
.bg-light {
  background-color: var(--gray-50);
}
.bg-violet-light {
  background-color: var(--violet-light);
}
.bg-navy {
  background-color: var(--navy);
  color: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--violet);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--violet-dark);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--violet);
  border-color: var(--violet);
}
.btn-secondary:hover {
  background-color: var(--violet);
  color: var(--white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--navy);
}

.btn-white {
  background-color: var(--white);
  color: var(--violet);
}
.btn-white:hover {
  background-color: var(--violet-light);
  color: var(--violet-dark);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}
.btn-block {
  width: 100%;
}

/* Navigation Header */
.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(15, 31, 61, 0.05);
}

.site-header .container {
  max-width: 1320px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: 1.25rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--violet);
  letter-spacing: -0.5px;
  display: flex;
  flex-direction: column;
  line-height: 1;
  white-space: nowrap;
}
.brand-sub {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-top: 3px;
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(0.6rem, 1.1vw, 1.25rem);
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: inline-flex;
  align-items: center;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.5rem 0;
  position: relative;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--violet);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background-color: var(--violet);
}

.nav-badge-new {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  background: var(--violet);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 0.35rem;
  line-height: 1;
  letter-spacing: 0.5px;
  white-space: nowrap;
  vertical-align: middle;
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-ctas .btn {
  white-space: nowrap;
  padding: 0.5rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 6px;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  font-size: 1.35rem;
  color: var(--navy);
  cursor: pointer;
  padding: 0.35rem 0.55rem;
  line-height: 1;
}

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at 50% 15%, rgba(124, 77, 255, 0.28) 0%, rgba(15, 31, 61, 0.98) 55%, #0B1528 100%);
  color: var(--white);
  padding: 5.5rem 0 4.75rem;
  text-align: center;
  overflow: hidden;
}

.hero-glow-accent {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 420px;
  background: radial-gradient(circle, rgba(107, 63, 212, 0.45) 0%, rgba(15, 31, 61, 0) 70%);
  pointer-events: none;
  filter: blur(50px);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(107, 63, 212, 0.25);
  border: 1px solid rgba(168, 126, 255, 0.45);
  color: #e9d5ff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.38rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 0 16px rgba(107, 63, 212, 0.25);
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero h1 {
  color: var(--white);
  font-size: 3.1rem;
  font-weight: 800;
  max-width: 860px;
  margin: 0 auto 1.25rem;
  line-height: 1.18;
  letter-spacing: -0.8px;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3.25rem;
}

.btn-hero-primary {
  background: #ffffff;
  color: var(--violet);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 15px rgba(255, 255, 255, 0.15);
  border: 1px solid #ffffff;
  transition: all 0.25s ease;
}
.btn-hero-primary:hover {
  background: #f5f3ff;
  color: var(--violet-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 63, 212, 0.25);
}

/* Trust Highlight Bar */
.hero-trust-bar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 95%;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-icon {
  font-size: 1rem;
}

.trust-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .hero {
    padding: 4rem 0 3rem;
  }
  .hero h1 {
    font-size: 2.1rem;
  }
  .hero-trust-bar {
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }
  .trust-divider {
    display: none;
  }
}

/* Grid & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  box-shadow: var(--shadow-md);
}

.card-violet {
  background-color: var(--violet-light);
  border-color: rgba(107, 63, 212, 0.15);
  border-top: 4px solid var(--violet);
}

.card-icon {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}
.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
.card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Steps (How it works) */
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.step-number {
  width: 52px;
  height: 52px;
  background-color: var(--violet);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px rgba(107, 63, 212, 0.3);
}
.step-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.step-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
  max-width: 240px;
}

/* Dual CTA Box */
.cta-banner {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  color: var(--white);
}
.cta-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cta-card h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
}
.cta-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Forms */
.form-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.form-section-sub {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}
.form-divider {
  border: none;
  border-top: 1px solid var(--gray-100);
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.35rem;
}
.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.form-label .req {
  color: #dc2626;
}
.form-label .opt {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--gray-400);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--navy);
  background-color: var(--white);
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(107, 63, 212, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* Radio & Checkbox grids */
.check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.check-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  background-color: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}
.check-tag:hover {
  border-color: var(--violet);
}
.check-tag input[type="checkbox"],
.check-tag input[type="radio"] {
  accent-color: var(--violet);
}

.radio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}
.radio-card-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}
.radio-card-label:hover {
  border-color: var(--violet);
}
.radio-card-label input {
  accent-color: var(--violet);
}

.checkbox-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  color: var(--gray-700);
  cursor: pointer;
}
.checkbox-consent input {
  margin-top: 0.25rem;
  accent-color: var(--violet);
}

.form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.alert-error {
  background-color: var(--red-bg);
  color: var(--red-text);
  border: 1px solid #fecaca;
}
.alert-success {
  background-color: var(--green-bg);
  color: var(--green-text);
  border: 1px solid #a7f3d0;
}

/* Success Card */
.success-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}
.success-icon {
  width: 64px;
  height: 64px;
  background-color: var(--violet-light);
  color: var(--violet);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  font-weight: bold;
}
.ref-badge {
  background: var(--violet-light);
  border: 1px solid rgba(107, 63, 212, 0.2);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin: 1.5rem 0;
  text-align: left;
}
.ref-badge .ref-num {
  font-family: monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--violet);
  display: block;
  margin-top: 0.25rem;
  user-select: all;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}
.badge-new { background-color: var(--blue-bg); color: var(--blue-text); }
.badge-approved { background-color: var(--green-bg); color: var(--green-text); }
.badge-review { background-color: var(--amber-bg); color: var(--amber-text); }
.badge-rejected { background-color: var(--gray-100); color: var(--gray-700); }
.badge-duplicate { background-color: #fef3c7; color: #b45309; }

/* Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}
.table th {
  background-color: var(--gray-50);
  padding: 0.85rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-200);
}
.table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.table tr:last-child td {
  border-bottom: none;
}
.table tr:hover td {
  background-color: rgba(244, 241, 255, 0.4);
}

/* Footer */
.site-footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.65rem;
}
.footer-col ul a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}
.footer-col ul a:hover {
  color: var(--white);
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Admin Shell Layout */
.admin-wrap {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 260px;
  background-color: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
}
.admin-brand {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-brand h2 {
  color: var(--white);
  font-size: 1.4rem;
}
.admin-nav {
  padding: 1rem 0.75rem;
  list-style: none;
}
.admin-nav li {
  margin-bottom: 0.35rem;
}
.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
}
.admin-nav a:hover, .admin-nav a.active {
  background-color: var(--violet);
  color: var(--white);
}
.admin-user-box {
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}
.admin-content {
  flex: 1;
  background-color: var(--gray-50);
  padding: 2.5rem;
  overflow-y: auto;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1024px) {
  .nav-links, .nav-ctas {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav-links.show {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
    position: absolute;
    top: 4.5rem;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1.5rem;
    border-bottom: 2px solid var(--gray-200);
    box-shadow: 0 10px 25px rgba(15, 31, 61, 0.12);
    z-index: 100;
  }
  .nav-links.show li {
    width: 100%;
    display: flex;
  }
  .nav-links.show a {
    font-size: 1rem;
    padding: 0.5rem 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .hero h1 { font-size: 2.15rem; }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .admin-wrap {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
  }
  .admin-content {
    padding: 1.5rem;
  }
}
