/*
Theme Name: Talent Frontiers
Theme URI: https://talentfrontiers.ph
Author: Talent Frontiers Team
Description: A modern, premium job portal and career dashboard theme for Talent Frontiers.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: Proprietary
Text Domain: talentfrontiers
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --tf-navy:        #0A1628;
  --tf-navy-mid:    #1A2E4A;
  --tf-navy-light:  #243B55;
  --tf-gold:        #F5A623;
  --tf-gold-dark:   #D4891A;
  --tf-gold-light:  #FFC85C;
  --tf-white:       #FFFFFF;
  --tf-off-white:   #F8F9FC;
  --tf-gray-100:    #F1F3F7;
  --tf-gray-200:    #E2E6EE;
  --tf-gray-400:    #9AA5B4;
  --tf-gray-600:    #5A6778;
  --tf-gray-800:    #2D3748;
  --tf-success:     #22C55E;
  --tf-error:       #EF4444;
  --font-primary:   'Inter', 'Segoe UI', -apple-system, sans-serif;
  --font-heading:   'Plus Jakarta Sans', 'Inter', sans-serif;
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   40px;
  --space-2xl:  64px;
  --space-3xl:  96px;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;
  --shadow-sm:  0 1px 3px rgba(10,22,40,0.08);
  --shadow-md:  0 4px 16px rgba(10,22,40,0.10);
  --shadow-lg:  0 10px 40px rgba(10,22,40,0.14);
  --shadow-xl:  0 20px 60px rgba(10,22,40,0.18);
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --container-max:  1280px;
  --container-pad:  clamp(16px, 4vw, 48px);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-primary);
  color: var(--tf-gray-800);
  background: var(--tf-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--tf-navy);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { line-height: 1.75; color: var(--tf-gray-600); }
.text-gold { color: var(--tf-gold); }
.text-navy { color: var(--tf-navy); }
.text-muted { color: var(--tf-gray-400); }
.font-bold { font-weight: 700; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.section { padding-block: var(--space-3xl); }
.section-sm { padding-block: var(--space-2xl); }
.section-header { text-align: center; margin-bottom: var(--space-2xl); }
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tf-gold);
  margin-bottom: var(--space-sm);
}
.section-header h2 { margin-bottom: var(--space-md); }
.section-header p { max-width: 640px; margin-inline: auto; font-size: 1.1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.bg-navy { background: var(--tf-navy); color: var(--tf-white); }
.bg-navy h1,.bg-navy h2,.bg-navy h3,.bg-navy h4 { color: var(--tf-white); }
.bg-navy p { color: rgba(255,255,255,0.75); }
.bg-off-white { background: var(--tf-off-white); }
.bg-gray { background: var(--tf-gray-100); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: all var(--transition-base);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--tf-gold);
  color: var(--tf-navy);
  border-color: var(--tf-gold);
  box-shadow: 0 4px 14px rgba(245,166,35,0.35);
}
.btn-primary:hover {
  background: var(--tf-gold-dark);
  border-color: var(--tf-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245,166,35,0.45);
}
.btn-secondary {
  background: transparent;
  color: var(--tf-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--tf-white); }
.btn-outline { background: transparent; color: var(--tf-navy); border-color: var(--tf-navy); }
.btn-outline:hover { background: var(--tf-navy); color: var(--tf-white); }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--tf-navy);
  box-shadow: 0 2px 20px rgba(10,22,40,0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-lg);
}
.nav-logo { display: flex; align-items: center; gap: var(--space-sm); flex-shrink: 0; }
.nav-logo img { height: 40px; width: auto; }
.nav-logo-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem; color: var(--tf-white); }
.nav-logo-text span { color: var(--tf-gold); }
.nav-menu { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-menu a { color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500; padding: 8px 14px; border-radius: var(--radius-sm); transition: all var(--transition-fast); }
.nav-menu a:hover, .nav-menu a.active { color: var(--tf-white); background: rgba(255,255,255,0.1); }
.nav-actions { display: flex; align-items: center; gap: var(--space-sm); flex-shrink: 0; }
.nav-login-btn { color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500; padding: 8px 16px; border-radius: var(--radius-sm); transition: color var(--transition-fast); }
.nav-login-btn:hover { color: var(--tf-white); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--tf-white); border-radius: 2px; transition: all var(--transition-base); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: var(--tf-navy);
  overflow: hidden;
  padding-block: var(--space-3xl) calc(var(--space-3xl) + var(--space-xl));
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero_bg.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--tf-gold);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}
.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--tf-white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
}
.hero-headline .highlight { color: var(--tf-gold); }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 520px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-md); margin-bottom: var(--space-xl); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.65); font-size: 0.85rem; font-weight: 500; }
.trust-item svg { color: var(--tf-gold); flex-shrink: 0; }
.hero-image-wrap { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); aspect-ratio: 4/3; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-stats {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--tf-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: var(--space-xl);
}
.stat-item { text-align: center; }
.stat-number { font-size: 1.5rem; font-weight: 800; color: var(--tf-navy); line-height: 1; }
.stat-label { font-size: 0.75rem; color: var(--tf-gray-400); font-weight: 500; margin-top: 4px; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--tf-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--tf-gray-200);
  transition: all var(--transition-base);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(245,166,35,0.3); }
.service-card .icon-wrap {
  width: 56px; height: 56px;
  background: rgba(10,22,40,0.06);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--tf-navy);
}
.service-card h3 { font-size: 1.1rem; margin-bottom: var(--space-sm); }
.service-card p { font-size: 0.9rem; margin-bottom: var(--space-lg); }
.service-card .learn-more { color: var(--tf-gold); font-weight: 600; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 4px; transition: gap var(--transition-fast); }
.service-card:hover .learn-more { gap: 8px; }

/* Job Card */
.job-card { background: var(--tf-white); border-radius: var(--radius-lg); padding: var(--space-lg); border: 1px solid var(--tf-gray-200); transition: all var(--transition-base); }
.job-card:hover { border-color: var(--tf-gold); box-shadow: var(--shadow-md); }
.job-card-header { display: flex; gap: var(--space-md); margin-bottom: var(--space-md); }
.company-logo { width: 48px; height: 48px; border-radius: var(--radius-sm); border: 1px solid var(--tf-gray-200); flex-shrink: 0; background: var(--tf-gray-100); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; color: var(--tf-navy); }
.job-title { font-size: 1rem; font-weight: 700; color: var(--tf-navy); margin-bottom: 4px; }
.company-name { font-size: 0.85rem; color: var(--tf-gray-400); }
.job-salary { font-size: 0.95rem; font-weight: 700; color: var(--tf-gold); margin-bottom: var(--space-sm); }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--space-md); }
.tag { background: var(--tf-gray-100); color: var(--tf-gray-600); font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-full); }
.tag-new { background: rgba(34,197,94,0.12); color: var(--tf-success); }
.job-card-footer { display: flex; gap: var(--space-sm); }

/* Candidate Card */
.candidate-card { background: var(--tf-white); border-radius: var(--radius-lg); padding: var(--space-lg); border: 1px solid var(--tf-gray-200); transition: all var(--transition-base); }
.candidate-card:hover { border-color: var(--tf-gold); box-shadow: var(--shadow-md); }
.candidate-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid var(--tf-gold); margin-bottom: var(--space-md); }
.candidate-name { font-size: 1rem; font-weight: 700; color: var(--tf-navy); margin-bottom: 4px; }
.candidate-title { font-size: 0.875rem; color: var(--tf-gray-400); margin-bottom: var(--space-sm); }
.candidate-rate { font-size: 1rem; font-weight: 700; color: var(--tf-gold); }
.verified-badge { display: inline-flex; align-items: center; gap: 4px; color: var(--tf-success); font-size: 0.75rem; font-weight: 600; }

/* Pricing Card */
.pricing-card { background: var(--tf-white); border-radius: var(--radius-xl); padding: var(--space-2xl); border: 2px solid var(--tf-gray-200); transition: all var(--transition-base); position: relative; }
.pricing-card.featured { border-color: var(--tf-gold); box-shadow: 0 0 0 4px rgba(245,166,35,0.12); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--tf-gold); color: var(--tf-navy); font-size: 0.75rem; font-weight: 700; padding: 4px 16px; border-radius: var(--radius-full); white-space: nowrap; }
.pricing-name { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tf-gray-400); margin-bottom: var(--space-sm); }
.pricing-price { font-size: 3rem; font-weight: 800; color: var(--tf-navy); line-height: 1; margin-bottom: 4px; }
.pricing-price sup { font-size: 1.5rem; vertical-align: top; margin-top: 8px; }
.pricing-period { font-size: 0.875rem; color: var(--tf-gray-400); margin-bottom: var(--space-xl); }
.pricing-features { margin-bottom: var(--space-xl); }
.pricing-feature { display: flex; align-items: flex-start; gap: var(--space-sm); padding-block: 8px; border-bottom: 1px solid var(--tf-gray-100); font-size: 0.9rem; color: var(--tf-gray-600); }
.pricing-feature svg { color: var(--tf-success); flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { margin-bottom: var(--space-lg); }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--tf-navy); margin-bottom: var(--space-sm); }
.form-label .required { color: var(--tf-error); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--tf-gray-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--tf-gray-800);
  background: var(--tf-white);
  transition: border-color var(--transition-fast);
  outline: none;
}
.form-control:focus { border-color: var(--tf-gold); box-shadow: 0 0 0 3px rgba(245,166,35,0.15); }
.form-control::placeholder { color: var(--tf-gray-400); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239AA5B4' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-error { font-size: 0.8rem; color: var(--tf-error); margin-top: 4px; }
.form-hint { font-size: 0.8rem; color: var(--tf-gray-400); margin-top: 4px; }
.form-check { display: flex; align-items: flex-start; gap: var(--space-sm); }
.form-check input[type="checkbox"] { width: 18px; height: 18px; border: 2px solid var(--tf-gray-200); border-radius: 4px; cursor: pointer; flex-shrink: 0; margin-top: 2px; accent-color: var(--tf-gold); }
.form-check label { font-size: 0.875rem; color: var(--tf-gray-600); cursor: pointer; }
.form-check label a { color: var(--tf-gold); text-decoration: underline; }

/* Search Bar */
.search-bar {
  display: flex;
  gap: 0;
  background: var(--tf-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 2px solid var(--tf-gray-200);
}
.search-bar:focus-within { border-color: var(--tf-gold); }
.search-input { flex: 1; padding: 16px 20px; border: none; outline: none; font-size: 1rem; color: var(--tf-gray-800); }
.search-input::placeholder { color: var(--tf-gray-400); }
.search-divider { width: 1px; background: var(--tf-gray-200); margin-block: 12px; }
.search-btn { padding: 16px 28px; background: var(--tf-gold); color: var(--tf-navy); font-weight: 700; font-size: 0.95rem; transition: background var(--transition-fast); border: none; cursor: pointer; }
.search-btn:hover { background: var(--tf-gold-dark); }

/* ============================================================
   DASHBOARD SIDEBAR
   ============================================================ */
.dashboard-layout { display: grid; grid-template-columns: 260px 1fr; gap: var(--space-lg); min-height: calc(100vh - 72px); }
.dashboard-sidebar { background: var(--tf-navy); padding: var(--space-lg); border-radius: var(--radius-lg); position: sticky; top: 88px; height: fit-content; }
.sidebar-user { display: flex; align-items: center; gap: var(--space-md); padding-bottom: var(--space-lg); border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: var(--space-lg); }
.sidebar-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--tf-gold); }
.sidebar-name { font-weight: 700; color: var(--tf-white); font-size: 0.95rem; }
.sidebar-role { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar-nav a { display: flex; align-items: center; gap: var(--space-sm); color: rgba(255,255,255,0.65); font-size: 0.875rem; font-weight: 500; padding: 10px 12px; border-radius: var(--radius-sm); transition: all var(--transition-fast); }
.sidebar-nav a:hover, .sidebar-nav a.active { color: var(--tf-white); background: rgba(255,255,255,0.1); }
.sidebar-nav a.active { background: rgba(245,166,35,0.2); color: var(--tf-gold); }
.sidebar-nav svg { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-section-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); padding: 12px 12px 4px; }

/* Dashboard Stats */
.dashboard-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); margin-bottom: var(--space-xl); }
.stat-card { background: var(--tf-white); border-radius: var(--radius-lg); padding: var(--space-lg); border: 1px solid var(--tf-gray-200); }
.stat-card-icon { width: 44px; height: 44px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-md); }
.stat-card-value { font-size: 1.75rem; font-weight: 800; color: var(--tf-navy); line-height: 1; margin-bottom: 4px; }
.stat-card-label { font-size: 0.8rem; color: var(--tf-gray-400); font-weight: 500; }
.stat-card-change { font-size: 0.75rem; font-weight: 600; margin-top: 6px; }
.stat-card-change.up { color: var(--tf-success); }
.stat-card-change.down { color: var(--tf-error); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--tf-navy); color: rgba(255,255,255,0.75); padding-top: var(--space-3xl); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-2xl); padding-bottom: var(--space-2xl); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .nav-logo-text { font-size: 1.25rem; margin-bottom: var(--space-md); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { color: var(--tf-white); font-size: 0.875rem; font-weight: 700; margin-bottom: var(--space-lg); letter-spacing: 0.04em; }
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color var(--transition-fast); }
.footer-col ul li a:hover { color: var(--tf-gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-block: var(--space-lg); font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-social { display: flex; gap: var(--space-md); }
.footer-social a { color: rgba(255,255,255,0.4); transition: color var(--transition-fast); }
.footer-social a:hover { color: var(--tf-gold); }

/* ============================================================
   FILTER SIDEBAR (Job/Candidate Search)
   ============================================================ */
.search-layout { display: grid; grid-template-columns: 280px 1fr; gap: var(--space-xl); }
.filter-sidebar { background: var(--tf-white); border-radius: var(--radius-lg); padding: var(--space-lg); border: 1px solid var(--tf-gray-200); position: sticky; top: 88px; height: fit-content; }
.filter-section { padding-bottom: var(--space-lg); border-bottom: 1px solid var(--tf-gray-100); margin-bottom: var(--space-lg); }
.filter-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-title { font-size: 0.875rem; font-weight: 700; color: var(--tf-navy); margin-bottom: var(--space-md); }
.filter-option { display: flex; align-items: center; justify-content: space-between; padding-block: 6px; cursor: pointer; }
.filter-option label { display: flex; align-items: center; gap: var(--space-sm); font-size: 0.875rem; color: var(--tf-gray-600); cursor: pointer; }
.filter-option input[type="checkbox"] { accent-color: var(--tf-gold); width: 16px; height: 16px; }
.filter-count { font-size: 0.75rem; color: var(--tf-gray-400); background: var(--tf-gray-100); padding: 2px 8px; border-radius: var(--radius-full); }
.range-slider { width: 100%; accent-color: var(--tf-gold); margin-block: var(--space-sm); }

/* ============================================================
   ALERTS & BADGES
   ============================================================ */
.alert { padding: var(--space-md) var(--space-lg); border-radius: var(--radius-md); font-size: 0.9rem; display: flex; align-items: flex-start; gap: var(--space-sm); }
.alert-success { background: rgba(34,197,94,0.1); color: #15803d; border: 1px solid rgba(34,197,94,0.3); }
.alert-error { background: rgba(239,68,68,0.1); color: #b91c1c; border: 1px solid rgba(239,68,68,0.3); }
.alert-warning { background: rgba(245,158,11,0.1); color: #92400e; border: 1px solid rgba(245,158,11,0.3); }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; }
.badge-gold { background: rgba(245,166,35,0.15); color: var(--tf-gold-dark); }
.badge-navy { background: rgba(10,22,40,0.08); color: var(--tf-navy); }
.badge-success { background: rgba(34,197,94,0.12); color: #15803d; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-sub { max-width: 100%; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .search-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .dashboard-sidebar { position: static; }
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--tf-navy); padding: var(--space-md); border-top: 1px solid rgba(255,255,255,0.1); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
  .hero-stats { position: static; margin-top: var(--space-lg); }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .dashboard-stats { grid-template-columns: 1fr; }
  .pricing-card { padding: var(--space-xl); }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp 0.5s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer, .dashboard-sidebar, .filter-sidebar { display: none; }
  body { font-size: 12pt; }
}
