/* ERGON — Components */

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

.btn-outline-nav {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline-nav:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #0b1120 0%, #1a2a4a 50%, #0b1120 100%);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary-light);
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-text p {
  font-size: 18px;
  color: var(--color-gray-400);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-text p strong { color: #e2e8f0; }

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

.hero-stats {
  display: flex;
  gap: 40px;
}
.stat { text-align: center; }
.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary-light);
}
.stat-label {
  font-size: 13px;
  color: var(--color-gray-500);
  font-weight: 500;
}

/* Hero Card */
.hero-visual { display: flex; justify-content: center; }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 380px;
  backdrop-filter: blur(8px);
}

.floating { animation: float 3s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(37,99,235,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.hero-card-header strong { font-size: 15px; display: block; }
.badge { font-size: 11px; padding: 3px 10px; border-radius: var(--radius-full); font-weight: 600; }
.badge-gold { background: rgba(234,179,8,0.2); color: #fbbf24; }

.hero-card-stats { display: flex; justify-content: space-between; }
.hero-card-stats div { text-align: center; font-size: 13px; color: var(--color-gray-400); }
.hero-card-stats span { display: block; font-size: 20px; font-weight: 700; color: #e2e8f0; }

/* ===== TRUSTED BY ===== */
.trusted-by {
  padding: 48px 0;
  text-align: center;
  background: var(--color-gray-50);
}
.trusted-by p {
  font-size: 14px; color: var(--color-gray-400);
  font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 20px;
}
.trust-logos { display: flex; justify-content: center; gap: 48px; }
.trust-logos span { font-size: 18px; font-weight: 700; color: #1e293b; }

/* ===== FEATURES ===== */
.feature-card {
  background: #fff; padding: 32px; border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200); transition: all 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-xl);
  border-color: var(--color-primary);
}
.feature-card.featured {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(37,99,235,0.12);
}
.feature-icon { font-size: 36px; margin-bottom: 20px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--color-gray-500); font-size: 14px; line-height: 1.6; }

/* ===== BENEFITS ===== */
.benefit-list { display: flex; flex-direction: column; gap: 28px; }
.benefit { display: flex; gap: 16px; }
.benefit-icon {
  font-size: 28px; flex-shrink: 0; width: 48px; height: 48px;
  background: rgba(37,99,235,0.08); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.benefit h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.benefit p { color: var(--color-gray-500); font-size: 14px; line-height: 1.6; }

/* Mock Portfolio Card */
.mock-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200); overflow: hidden;
  width: 100%; max-width: 420px; box-shadow: var(--shadow-lg);
}
.mock-header {
  padding: 16px 20px; display: flex; justify-content: space-between;
  align-items: center; border-bottom: 1px solid var(--color-gray-200);
  background: var(--color-gray-50);
}
.mock-header strong { font-size: 14px; }
.mock-score { font-size: 13px; color: var(--color-primary); font-weight: 700; }
.mock-body { padding: 8px 0; }
.mock-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-bottom: 1px solid var(--color-gray-100);
}
.mock-item:last-child { border: none; }
.mock-item strong { font-size: 14px; display: block; }
.mock-item p { font-size: 12px; color: var(--color-gray-400); }
.mock-rating { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--color-gold); }

/* ===== STEP ===== */
.step { text-align: center; flex: 1; min-width: 180px; max-width: 240px; padding: 28px 16px; }
.step-num {
  width: 44px; height: 44px; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 18px;
}
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--color-gray-500); line-height: 1.6; }
.step-arrow { font-size: 24px; color: var(--color-primary); padding-top: 36px; font-weight: 300; }

/* ===== AI CARD ===== */
.ai-card {
  background: #fff; padding: 36px; border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200); text-align: center; transition: all 0.3s;
}
.ai-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.ai-icon { font-size: 40px; margin-bottom: 20px; }
.ai-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.ai-card p { color: var(--color-gray-500); font-size: 14px; line-height: 1.6; }

/* ===== TIERS ===== */
.tier {
  background: #fff; padding: 28px; border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200); text-align: center; transition: all 0.3s;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tier.premium { border-color: var(--color-gold); background: linear-gradient(180deg, #fffbeb, #fff); }
.tier-badge { font-size: 36px; margin-bottom: 12px; }
.tier h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.tier p { font-size: 13px; color: var(--color-gray-500); line-height: 1.5; }

/* ===== MISSION ===== */
.mission {
  background: #0b1120; color: #fff; text-align: center; padding: 100px 24px;
}
.mission blockquote {
  font-size: 32px; font-weight: 800; max-width: 600px;
  margin: 0 auto 24px; line-height: 1.2;
}
.mission p { color: var(--color-gray-400); font-size: 16px; max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* ===== FORMS ===== */
.contact-wrapper { max-width: 600px; margin: 0 auto; }
.contact-form, .register-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-form input, .contact-form select, .contact-form textarea,
.register-form input, .register-form select {
  width: 100%; padding: 14px 18px;
  border: 1px solid var(--color-gray-200); border-radius: 10px;
  font-size: 15px; font-family: inherit; background: #fff; transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus,
.register-form input:focus, .register-form select:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-success { text-align: center; padding: 60px 20px; }
.success-icon { font-size: 56px; margin-bottom: 16px; }
.form-success h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.form-success p { color: var(--color-gray-500); }

/* ===== REGISTER ===== */
.register-card {
  background: #fff; padding: 36px; border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200); text-align: center;
}
.register-icon { font-size: 44px; margin-bottom: 16px; }
.register-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.register-card p { color: var(--color-gray-500); font-size: 14px; margin-bottom: 24px; line-height: 1.6; }
.register-form { text-align: left; }
