/**
 * Landing Page Styles
 * NexField - Practical Training Management System
 * Based on the existing design system
 */

:root {
  --primary: #0d7377;
  --primary-light: #e8f4f4;
  --primary-dark: #095c5f;
  --accent: #14a085;
  --accent-light: #d4f5e9;
  --bg: #f0f4f3;
  --card-bg: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e2e8e6;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
  --gradient-primary: linear-gradient(135deg, #0d7377 0%, #14a085 100%);
  --success: #10b981;
  --success-bg: #ecfdf5;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --info: #3b82f6;
  --info-bg: #eff6ff;
}

/* ===== Landing Header ===== */
.landing-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.landing-header .navbar {
  padding: 12px 0;
}

.landing-header .navbar-brand {
  font-weight: 800;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-header .navbar-brand .logo-icon {
  width: 34px;
  height: 34px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(13,115,119,0.3);
}

.landing-header .navbar-brand span {
  color: var(--text);
}

.landing-header .nav-link {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 16px;
  transition: all 0.15s;
  border-radius: 8px;
}

.landing-header .nav-link:hover,
.landing-header .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.landing-header .btn {
  font-weight: 600;
  font-size: 13px;
  padding: 7px 18px;
  border-radius: 8px;
}

.landing-header .btn-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(13,115,119,0.25);
}

.landing-header .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13,115,119,0.35);
}

.landing-header .btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.landing-header .btn-outline-primary:hover {
  background: var(--primary-light);
}

/* ===== Landing Footer ===== */
.landing-footer {
  background: #1a1a2e;
  color: #e5e7eb;
  padding: 48px 0 24px;
  margin-top: 0;
}

.landing-footer .brand h4 {
  color: white;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-footer .brand h4 .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}

.landing-footer .brand p {
  font-size: 14px;
  opacity: 0.6;
  max-width: 320px;
  line-height: 1.6;
}

.landing-footer h6 {
  color: white;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.landing-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.landing-footer ul li {
  margin-bottom: 6px;
}

.landing-footer ul li a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.15s;
}

.landing-footer ul li a:hover {
  color: white;
}

.landing-footer ul li i {
  margin-right: 6px;
  opacity: 0.3;
}

.landing-footer .divider {
  border-color: rgba(255,255,255,0.06);
  margin: 24px 0;
}

.landing-footer .copyright {
  font-size: 13px;
  opacity: 0.3;
  text-align: center;
}

/* ===== Landing Hero ===== */
.landing-hero {
  padding: 72px 0 64px;
  background: var(--bg);
}

.landing-hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
}

.landing-hero .hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

.landing-hero .hero-title .highlight {
  color: var(--primary);
}

.landing-hero .hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.landing-hero .hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.landing-hero .hero-actions .btn {
  padding: 10px 24px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
}

.landing-hero .hero-stats {
  display: flex;
  gap: 40px;
}

.landing-hero .hero-stats .stat-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1.2;
}

.landing-hero .hero-stats .stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.landing-hero .hero-image-card {
  background: white;
  border-radius: var(--radius);
  padding: 48px 32px;
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.landing-hero .hero-image-card .icon {
  font-size: 64px;
  color: var(--primary);
  display: block;
  margin-bottom: 16px;
}

.landing-hero .hero-image-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.landing-hero .hero-image-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 0;
}

/* ===== Section Headers ===== */
.section-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ===== Features ===== */
.landing-features {
  background: white;
  padding: 72px 0;
}

.feature-card {
  background: var(--bg);
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  height: 100%;
  transition: all 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 14px;
}

.feature-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ===== How It Works ===== */
.landing-steps {
  background: var(--bg);
  padding: 72px 0;
}

.step-card {
  text-align: center;
  padding: 0 16px;
}

.step-card .number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(13,115,119,0.25);
}

.step-card h5 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ===== Vacancies ===== */
.landing-vacancies {
  background: white;
  padding: 72px 0;
}

.vacancy-card {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px 22px;
  height: 100%;
  transition: all 0.2s;
}

.vacancy-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.vacancy-card .title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.vacancy-card .institution {
  font-size: 13px;
  color: var(--text-muted);
}

.vacancy-card .description {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
  margin: 8px 0 12px;
}

.vacancy-card .meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.vacancy-card .footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vacancy-card .positions {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.vacancy-card .btn {
  font-weight: 600;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 6px;
}

/* ===== Partners ===== */
.landing-partners {
  background: var(--bg);
  padding: 72px 0;
}

.partner-item {
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  height: 100%;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.partner-item:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.partner-item .logo {
  max-width: 56px;
  max-height: 56px;
  object-fit: contain;
  margin-bottom: 6px;
}

.partner-item .name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* ===== Testimonials ===== */
.landing-testimonials {
  background: white;
  padding: 72px 0;
}

.testimonial-card {
  background: var(--bg);
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  height: 100%;
}

.testimonial-card .stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.testimonial-card .text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 14px;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-card .author .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.testimonial-card .author .name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.testimonial-card .author .role {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== CTA ===== */
.landing-cta {
  background: var(--gradient-primary);
  padding: 64px 0;
  text-align: center;
}

.landing-cta h2 {
  color: white;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
}

.landing-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 24px;
}

.landing-cta .btn {
  padding: 12px 32px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
}

.landing-cta .btn-light {
  background: white;
  color: var(--primary);
}

.landing-cta .btn-light:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.landing-cta .btn-outline-light {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: white;
}

.landing-cta .btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .landing-hero .hero-title { font-size: 36px; }
  .section-title { font-size: 28px; }
  .landing-cta h2 { font-size: 28px; }
}

@media (max-width: 768px) {
  .landing-hero { padding: 40px 0; }
  .landing-hero .hero-title { font-size: 30px; }
  .landing-hero .hero-subtitle { font-size: 16px; }
  .landing-hero .hero-stats { gap: 24px; flex-wrap: wrap; }
  .landing-hero .hero-actions .btn { width: 100%; justify-content: center; }
  .landing-features { padding: 48px 0; }
  .landing-steps { padding: 48px 0; }
  .landing-vacancies { padding: 48px 0; }
  .landing-partners { padding: 48px 0; }
  .landing-testimonials { padding: 48px 0; }
  .landing-cta { padding: 40px 0; }
  .landing-cta h2 { font-size: 24px; }
  .section-title { font-size: 24px; }
  .section-subtitle { font-size: 15px; }
}

@media (max-width: 576px) {
  .landing-hero .hero-title { font-size: 26px; }
  .landing-header .navbar-brand { font-size: 17px; }
}