/* ==========================================================================
   SkillHub Academy - Official Landing & Redirect Page Stylesheet
   Clean Vanilla CSS3 | Responsive | High Performance
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  --primary-navy: #101c3d;
  --navy-dark: #0a1227;
  --navy-light: #1c2e5c;
  --brand-red: #e5283b;
  --brand-red-hover: #cc1f31;
  --brand-red-soft: rgba(229, 40, 59, 0.08);
  --brand-red-border: rgba(229, 40, 59, 0.2);
  
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-alt: #f1f5f9;
  --border-subtle: #e2e8f0;
  --border-hover: #cbd5e1;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-btn: 0 4px 14px rgba(229, 40, 59, 0.35);
  --shadow-btn-hover: 0 6px 20px rgba(229, 40, 59, 0.45);
  
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --------------------------------------------------------------------------
   Layout Containers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
  transition: var(--transition);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.brand-logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

/* --------------------------------------------------------------------------
   Button Component
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--brand-red);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--brand-red-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
  outline: none;
}

.btn-header {
  font-size: 0.875rem;
  padding: 10px 18px;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: var(--radius-md);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 72px 0 60px;
  background: radial-gradient(circle at 50% -10%, #ffffff 0%, #f8fafc 60%, #eef2f6 100%);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  overflow: hidden;
}

.hero-badge-container {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-red);
  background-color: var(--brand-red-soft);
  border: 1px solid var(--brand-red-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--brand-red);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.18;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-cta-wrapper {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about-section {
  padding: 56px 0;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.about-box {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(241, 245, 249, 0.9) 100%);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--brand-red);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.about-heading {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Explore Features Grid Section
   -------------------------------------------------------------------------- */
.explore-section {
  padding: 68px 0;
  background-color: var(--bg-page);
}

.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-subtitle {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-red);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.03em;
}

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

.feature-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-red);
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  background-color: var(--brand-red-soft);
  color: var(--brand-red);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--brand-red);
  color: #ffffff;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.35;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Redirect CTA Section
   -------------------------------------------------------------------------- */
.redirect-section {
  padding: 64px 0 72px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-navy) 100%);
  color: #ffffff;
  position: relative;
  text-align: center;
}

.redirect-inner {
  max-width: 720px;
  margin: 0 auto;
}

.redirect-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.redirect-text {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  background-color: #060b18;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  color: var(--text-light);
  font-size: 0.85rem;
}

.footer-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-weight: 700;
  color: #ffffff;
}

.footer-copyright {
  color: var(--text-light);
}

.footer-link {
  color: #e2e8f0;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: var(--brand-red);
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header {
    padding: 10px 0;
  }

  .brand-logo-img {
    height: 36px;
    max-width: 155px;
  }

  .btn-header {
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  .hero-section {
    padding: 44px 0 38px;
  }

  .about-section {
    padding: 38px 0;
  }

  .about-box {
    padding: 22px 20px;
    text-align: left;
  }

  .explore-section {
    padding: 44px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .feature-card {
    padding: 22px 18px;
  }

  .redirect-section {
    padding: 48px 0 54px;
  }

  .footer-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
