/* ══════════════════════════════════════
   CREDZO — style.css
   ══════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
  --purple:      #5C6BC0;
  --purple-dark: #3949AB;
  --purple-light:#EDE7F6;
  --teal:        #26A69A;
  --teal-light:  #E0F2F1;
  --gold:        #F9A825;
  --gold-light:  #FFF8E1;
  --red:         #E53935;
  --text-primary: #1A1A2E;
  --text-secondary: #5A6070;
  --text-muted:  #9AA0B0;
  --bg:          #F8F9FB;
  --card:        #FFFFFF;
  --border:      #E8ECF0;
  --radius:      16px;
  --radius-sm:   10px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.12);
  --transition:  0.25s ease;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── Container ─── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Section ─── */
.section { padding: 96px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  background: var(--purple-light);
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(92, 107, 192, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(92, 107, 192, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-ghost:hover { background: var(--purple-light); }

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--border);
}
.btn-outline:hover { border-color: var(--purple); background: var(--purple-light); }

.btn-white {
  background: #fff;
  color: var(--purple-dark);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #F57F17 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(249, 168, 37, 0.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(249, 168, 37, 0.45); }

.btn-full { width: 100%; }

/* ─── Gradient text ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--purple) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ════════════════════════════════
   NAVBAR
════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(248, 249, 251, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text-primary);
}

.logo-icon { font-size: 24px; }

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

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--text-primary); background: var(--border); }

.nav-cta {
  background: var(--purple) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  box-shadow: 0 2px 12px rgba(92,107,192,0.3);
}
.nav-cta:hover { background: var(--purple-dark) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--border);
  gap: 4px;
}
.mobile-link {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.mobile-link:hover { background: var(--purple-light); color: var(--purple); }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}

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

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}

.blob-1 {
  width: 600px; height: 600px;
  background: var(--purple);
  top: -200px; left: -100px;
  animation-delay: 0s;
}
.blob-2 {
  width: 500px; height: 500px;
  background: var(--teal);
  bottom: -150px; right: -100px;
  animation-delay: 3s;
}
.blob-3 {
  width: 350px; height: 350px;
  background: var(--gold);
  top: 40%; left: 55%;
  animation-delay: 5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.04); }
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 28px 40px;
  background: var(--card);
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
  gap: 24px;
}

.stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  animation: bounce 2.5s ease-in-out infinite;
}

.scroll-arrow { font-size: 16px; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ════════════════════════════════
   FEATURES
════════════════════════════════ */
.features { background: #fff; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card--large { grid-column: span 2; }

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple);
}

.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.feature-list li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ════════════════════════════════
   HOW IT WORKS
════════════════════════════════ */
.how-it-works { background: var(--bg); }

.steps-grid {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}

.step {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--purple);
}

.step-number {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--purple);
  background: var(--purple-light);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--purple), var(--teal));
  flex-shrink: 0;
}

/* ════════════════════════════════
   CATEGORIES
════════════════════════════════ */
.categories { background: #fff; padding: 72px 0; }

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.category-pill {
  padding: 10px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  cursor: default;
}

.category-pill:hover {
  background: var(--purple-light);
  border-color: var(--purple);
  color: var(--purple);
  transform: scale(1.04);
}

.category-pill--custom {
  background: var(--gold-light);
  border-color: var(--gold);
  color: #795548;
  font-weight: 600;
}
.category-pill--custom:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* ════════════════════════════════
   PRICING
════════════════════════════════ */
.pricing { background: var(--bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all var(--transition);
  position: relative;
}

.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.pricing-card--featured {
  background: linear-gradient(145deg, var(--purple) 0%, var(--purple-dark) 100%);
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(92, 107, 192, 0.35);
}

.pricing-card--featured:hover {
  box-shadow: 0 28px 72px rgba(92, 107, 192, 0.45);
}

.pricing-card--elite {
  border-color: var(--gold);
  background: linear-gradient(145deg, #FFFDE7, #FFF8E1);
}

.plan-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  text-transform: uppercase;
}

.plan-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.plan-icon { font-size: 28px; }

.plan-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.plan-tagline {
  font-size: 13px;
  color: var(--text-muted);
}

.plan-price {
  margin-bottom: 28px;
}

.price-amount {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-left: 4px;
}

.elite-soon {
  font-size: 22px;
  color: var(--gold);
}

.plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.feat-yes, .feat-no {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feat-yes { color: var(--text-secondary); }
.feat-no { color: var(--text-muted); text-decoration: line-through; opacity: 0.6; }

.feat-yes::before { content: "✓"; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.feat-no::before  { content: "✕"; color: var(--text-muted); flex-shrink: 0; }

.feat-yes--light { color: rgba(255,255,255,0.9); }
.feat-yes--light::before { color: #80CBC4; }
.feat-no--light { color: rgba(255,255,255,0.35); text-decoration: line-through; }
.feat-no--light::before { color: rgba(255,255,255,0.3); }

.pricing-footer-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 28px;
}

/* ════════════════════════════════
   TRUST SECTION
════════════════════════════════ */
.trust {
  background: linear-gradient(135deg, var(--purple-dark) 0%, #1A237E 100%);
  padding: 80px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-item {
  text-align: center;
  color: #fff;
}

.trust-icon { font-size: 36px; margin-bottom: 16px; }

.trust-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.trust-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

/* ════════════════════════════════
   CONTACT
════════════════════════════════ */
.contact { background: var(--bg); }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--purple-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-detail-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  transition: color var(--transition);
}
.contact-detail-value:hover { color: var(--purple); }

/* ─── Form ─── */
.contact-form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.required { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-primary);
  background: var(--bg);
  transition: all var(--transition);
  outline: none;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(92, 107, 192, 0.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--red);
  background: #FFF5F5;
}

.field-error {
  font-size: 12px;
  color: var(--red);
  min-height: 16px;
  display: block;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239AA0B0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.btn-submit { font-size: 15px; padding: 15px; }

.form-success {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  border-radius: 12px;
  margin-top: 16px;
  font-size: 14px;
  color: #2E7D32;
}

.success-icon { font-size: 22px; }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.footer {
  background: var(--text-primary);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card--large { grid-column: span 2; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; }

  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-stats { gap: 16px; padding: 20px 24px; }
  .stat-divider { display: none; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card--large { grid-column: span 1; }

  .steps-grid { flex-direction: column; gap: 16px; }
  .step-connector { width: 2px; height: 24px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 32px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .trust-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
}
