/* LIVEHK 5D - Custom Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --navy-50: #E8EDF4; --navy-100: #C9D5E6; --navy-200: #93AACE;
  --navy-300: #5E7FAE; --navy-400: #2A568F; --navy-500: #0F4C8A;
  --navy-600: #0B3D73; --navy-700: #082D57; --navy-800: #071A33; --navy-900: #04101F;
  --gold-50: #FBF4E2; --gold-100: #F5E5BD; --gold-200: #EDD394; --gold-300: #E4C15E;
  --gold-400: #D9A735; --gold-500: #C2922A; --gold-600: #A5782E; --gold-700: #87602A;
  --redina-50: #FCEAEA; --redina-100: #F7C9C9; --redina-400: #D62828; --redina-500: #BF1F1F;
  --light-bg: #F5F8FC;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
  background: var(--light-bg);
  color: var(--navy-800);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

::selection { background: rgba(217, 167, 53, 0.3); color: var(--navy-900); }

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

/* Container */
.container-page { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container-page { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-page { padding: 0 2rem; } }

.section-padding { padding: 5rem 0; }
@media (min-width: 1024px) { .section-padding { padding: 7rem 0; } }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 9999px; background: var(--gold-400); padding: 0.875rem 1.75rem;
  font-size: 0.875rem; font-weight: 700; color: var(--navy-900);
  transition: all 0.3s; border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--gold-300); box-shadow: 0 10px 30px -5px rgba(217,167,53,0.4); transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 9999px; border: 2px solid rgba(15,76,138,0.3); background: rgba(255,255,255,0.05);
  padding: 0.875rem 1.75rem; font-size: 0.875rem; font-weight: 700; color: #fff;
  transition: all 0.3s; cursor: pointer;
}
.btn-secondary:hover { border-color: var(--gold-400); color: var(--gold-400); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 9999px; border: 2px solid var(--navy-200); padding: 0.875rem 1.75rem;
  font-size: 0.875rem; font-weight: 700; color: var(--navy-700); transition: all 0.3s; cursor: pointer;
}
.btn-outline:hover { border-color: var(--navy-500); background: var(--navy-800); color: #fff; transform: translateY(-2px); }

/* Cards */
.card-premium {
  border-radius: 1rem; background: #fff;
  box-shadow: 0 2px 20px -4px rgba(7,26,51,0.08);
  transition: all 0.3s;
}
.card-premium:hover { box-shadow: 0 12px 40px -8px rgba(7,26,51,0.15); transform: translateY(-4px); }

/* Section labels */
.section-label {
  display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px;
  background: var(--navy-50); padding: 0.375rem 1rem; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy-500);
}
.section-label-light {
  display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 9999px;
  background: rgba(255,255,255,0.1); padding: 0.375rem 1rem; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-400);
}
.label-dot { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--gold-400); }

/* Gradient text */
.text-gradient-gold {
  background: linear-gradient(135deg, #D9A735 0%, #E4C15E 50%, #C2922A 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* Grid background */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(15,76,138,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,76,138,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Animations */
@keyframes fadeInUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulseSlow { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.7; } }

.animate-fade-in-up { animation: fadeInUp 0.7s ease-out forwards; }
.animate-fade-in { animation: fadeIn 0.6s ease-out forwards; }
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-pulse-slow { animation: pulseSlow 4s ease-in-out infinite; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: all 0.3s; padding: 1.25rem 0; }
.header.solid { background: rgba(7,26,51,0.95); padding: 0.75rem 0; box-shadow: 0 8px 30px -12px rgba(7,26,51,0.3); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }

/* Logo */
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-mark { width: 2.5rem; height: 2.5rem; flex-shrink: 0; }
.logo-text { line-height: 1; }
.logo-name { font-size: 1.125rem; font-weight: 800; letter-spacing: 0.18em; }
.logo-sub { margin-top: 0.25rem; font-size: 0.5rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; }

/* Nav */
.nav-desktop { display: none; }
@media (min-width: 1024px) { .nav-desktop { display: flex; align-items: center; gap: 0.25rem; } }
.nav-link { border-radius: 9999px; padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.8); transition: all 0.3s; }
.nav-link:hover { color: var(--gold-400); }
.nav-link.active { color: var(--gold-400); }
.nav-cta { display: none; }
@media (min-width: 1024px) { .nav-cta { display: inline-flex; } }

/* Mobile menu */
.mobile-toggle { display: inline-flex; padding: 0.5rem; border-radius: 0.5rem; color: #fff; background: none; border: none; cursor: pointer; transition: background 0.3s; }
.mobile-toggle:hover { background: rgba(255,255,255,0.1); }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }

.mobile-menu { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }
.mobile-menu.open { pointer-events: auto; }
.mobile-menu-overlay { position: absolute; inset: 0; background: rgba(4,16,31,0.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.3s; }
.mobile-menu.open .mobile-menu-overlay { opacity: 1; }
.mobile-menu-panel { position: absolute; right: 0; top: 0; height: 100%; width: 18rem; background: var(--navy-800); padding: 1.5rem; padding-top: 6rem; box-shadow: 2xl; transform: translateX(100%); transition: transform 0.3s; display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }
.mobile-nav-link { border-radius: 0.75rem; padding: 0.75rem 1rem; font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.8); transition: all 0.3s; }
.mobile-nav-link:hover { background: rgba(255,255,255,0.1); color: var(--gold-400); }
.mobile-nav-link.active { background: rgba(255,255,255,0.1); color: var(--gold-400); }

/* Page hero */
.page-hero { position: relative; overflow: hidden; background: var(--navy-800); padding: 9rem 1.5rem 5rem; }
@media (min-width: 1024px) { .page-hero { padding: 10rem 1.5rem 6rem; } }
.page-hero-glow-1 { position: absolute; top: 25%; left: -8rem; width: 24rem; height: 24rem; border-radius: 50%; background: rgba(217,167,53,0.1); filter: blur(80px); }
.page-hero-glow-2 { position: absolute; bottom: 0; right: -8rem; width: 24rem; height: 24rem; border-radius: 50%; background: rgba(30,58,95,0.2); filter: blur(80px); }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--gold-400); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; }
.page-hero p { margin-top: 1.5rem; max-width: 42rem; color: rgba(255,255,255,0.7); font-size: 1.125rem; }

/* Footer */
.footer { background: var(--navy-900); color: #fff; }
.footer-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1.5fr 1.5fr; gap: 2rem; } }
.footer h3 { font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-400); margin-bottom: 1.25rem; }
.footer-link { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.3s; }
.footer-link:hover { color: #fff; }
.footer-social { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); transition: all 0.3s; }
.footer-social:hover { background: var(--gold-400); color: var(--navy-900); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 3rem; padding-top: 2rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }

/* Program footer items */
.footer-program-link { display: flex; align-items: center; gap: 0.75rem; border-radius: 0.75rem; padding: 0.5rem 0.75rem; transition: all 0.3s; }
.footer-program-link:hover { background: rgba(255,255,255,0.05); }
.footer-program-icon { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; border-radius: 0.5rem; background: rgba(255,255,255,0.05); color: rgba(217,167,53,0.8); transition: all 0.3s; flex-shrink: 0; }
.footer-program-link:hover .footer-program-icon { background: var(--gold-400); color: var(--navy-900); }
.footer-program-name { font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.8); transition: color 0.3s; }
.footer-program-link:hover .footer-program-name { color: #fff; }
.footer-program-desc { font-size: 0.75rem; color: rgba(255,255,255,0.4); }

/* FAQ */
.faq-item { border-radius: 1rem; background: #fff; box-shadow: 0 2px 10px -2px rgba(7,26,51,0.06); transition: all 0.3s; }
.faq-item:hover { box-shadow: 0 4px 20px -4px rgba(7,26,51,0.1); }
.faq-question { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem; text-align: left; background: none; border: none; cursor: pointer; font-size: 1rem; font-weight: 700; color: var(--navy-800); }
.faq-chevron { transition: transform 0.3s; flex-shrink: 0; color: var(--navy-400); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.faq-answer-inner { padding: 0 1.5rem 1.5rem; font-size: 0.875rem; color: var(--navy-400); line-height: 1.7; }

/* Forms */
.form-input { width: 100%; border-radius: 0.75rem; border: 1px solid var(--navy-100); background: var(--light-bg); padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--navy-800); outline: none; transition: all 0.3s; font-family: inherit; }
.form-input:focus { border-color: var(--navy-500); background: #fff; box-shadow: 0 0 0 3px rgba(15,76,138,0.1); }
.form-label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--navy-700); }

/* Grid utilities */
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-3 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Icon helper */
.icon-box { display: inline-flex; align-items: center; justify-content: center; border-radius: 0.75rem; flex-shrink: 0; }

/* Wave */
.wave-bottom { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.wave-bottom svg { width: 100%; height: 80px; display: block; }

/* Responsive */
@media (max-width: 640px) {
  .hide-mobile { display: none; }
}
