/* ============================================================
   BayaniHost — Global Stylesheet
   Theme: Clean white/corporate (IONOS-inspired)
   Colors: Philippine flag — Blue #0038A8, Red #CE1126, Gold #FCD116
   ============================================================ */

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

:root {
  --blue:     #0038A8;
  --blue-dk:  #002d8a;
  --blue-lt:  #e8eef9;
  --red:      #CE1126;
  --gold:     #FCD116;
  --gold-lt:  #fffbea;
  --white:    #ffffff;
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --text:     #1f2937;
  --text-muted: #6b7280;
  --border:   #e5e7eb;
  --radius:   8px;
  --radius-lg:14px;
  --shadow:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:0 4px 16px rgba(0,0,0,.1);
  --transition:.18s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ---------- Layout ------------------------------------------ */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }

/* ---------- Typography -------------------------------------- */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ---------- Buttons ----------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer; transition: var(--transition);
  text-decoration: none !important;
  white-space: nowrap;
}
.btn-primary   { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dk); border-color: var(--blue-dk); }
.btn-danger    { background: var(--red); color: #fff; border-color: var(--red); }
.btn-danger:hover { opacity: .88; }
.btn-outline   { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue-lt); }
.btn-gold      { background: var(--gold); color: var(--gray-800); border-color: var(--gold); font-weight: 700; }
.btn-gold:hover { background: #e6c400; border-color: #e6c400; }
.btn-sm        { padding: 7px 16px; font-size: .85rem; }
.btn-lg        { padding: 14px 32px; font-size: 1.05rem; }
.btn-block     { display: flex; justify-content: center; width: 100%; }

/* ---------- Navigation -------------------------------------- */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.navbar-brand {
  font-size: 1.5rem; font-weight: 800;
  color: var(--text); text-decoration: none !important;
}
.navbar-brand .bayan { color: var(--blue); }
.navbar-brand .host  { color: var(--red); }

.nav-links {
  display: flex; align-items: center; gap: 28px; list-style: none;
}
.nav-links a {
  color: var(--gray-600); font-weight: 500; font-size: .95rem;
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: var(--transition); text-decoration: none !important;
}
.nav-links a:hover,
.nav-links a.active { color: var(--blue); border-bottom-color: var(--blue); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: var(--transition); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); flex-direction: column; padding: 16px 24px; gap: 16px; }
  .nav-links.open { display: flex; }
}

/* ---------- Footer ------------------------------------------ */
.footer {
  background: var(--gray-800);
  color: #d1d5db;
  padding: 52px 0 28px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .bayan { color: var(--gold); }
.footer-brand .host  { color: #fff; }
.footer-logo { font-size: 1.4rem; font-weight: 800; }
.footer p { color: #9ca3af; font-size: .9rem; margin-top: 8px; line-height: 1.6; }
.footer h4 { color: #fff; font-size: .9rem; font-weight: 700; margin-bottom: 12px; letter-spacing: .04em; text-transform: uppercase; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #9ca3af; font-size: .9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #374151; padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .85rem; color: #6b7280;
}
.flag-bar {
  height: 4px;
  background: linear-gradient(to right, var(--blue) 33.3%, var(--red) 33.3% 66.6%, var(--gold) 66.6%);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ---------- Hero -------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #001f6b 100%);
  color: #fff;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 680px; }
.hero-badge {
  display: inline-block;
  background: rgba(252,209,22,.2); color: var(--gold);
  border: 1px solid rgba(252,209,22,.4);
  border-radius: 20px; padding: 4px 14px;
  font-size: .82rem; font-weight: 600;
  margin-bottom: 16px; letter-spacing: .04em;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; margin-bottom: 20px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p   { font-size: 1.15rem; opacity: .88; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Feature cards ----------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: var(--transition); box-shadow: var(--shadow);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: .92rem; }

/* ---------- Pricing / Plans --------------------------------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: start;
}
.plan-card {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  position: relative; transition: var(--transition);
}
.plan-card:hover { box-shadow: var(--shadow-md); border-color: var(--blue); }
.plan-card.popular {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0,56,168,.08), var(--shadow-md);
}
.plan-popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  border-radius: 20px; padding: 3px 14px;
  font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.plan-header { margin-bottom: 20px; }
.plan-name { font-size: 1.15rem; font-weight: 700; }
.plan-tagalog { color: var(--blue); font-size: .88rem; font-weight: 600; margin-bottom: 4px; }
.plan-tagline { color: var(--text-muted); font-size: .88rem; }
.plan-price { margin: 16px 0; }
.plan-price .amount { font-size: 2.2rem; font-weight: 800; color: var(--text); }
.plan-price .period { color: var(--text-muted); font-size: .9rem; }
.plan-price .per-day { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
.plan-price .free-label { font-size: 2rem; font-weight: 800; color: var(--blue); }
.plan-features { list-style: none; margin: 20px 0; }
.plan-features li {
  padding: 7px 0; border-bottom: 1px solid var(--border);
  font-size: .9rem; display: flex; align-items: center; gap: 8px;
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before { content: '✓'; color: #10b981; font-weight: 700; flex-shrink: 0; }

/* ---------- Testimonials ------------------------------------ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow);
}
.testimonial-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 12px; }
.testimonial-text { color: var(--gray-600); font-size: .95rem; line-height: 1.65; margin-bottom: 16px; font-style: italic; }
.testimonial-author { font-weight: 700; font-size: .9rem; }

/* ---------- Section headings -------------------------------- */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; margin-top: 10px; max-width: 580px; margin-left: auto; margin-right: auto; }
.section-label {
  display: inline-block; background: var(--blue-lt); color: var(--blue);
  border-radius: 20px; padding: 4px 14px;
  font-size: .8rem; font-weight: 700;
  margin-bottom: 10px; letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- Forms ------------------------------------------- */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--gray-800); }
.form-control {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 1rem; color: var(--text);
  background: var(--white); transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,56,168,.12); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%236b7280'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-hint { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Alerts ------------------------------------------ */
.alert {
  padding: 12px 16px; border-radius: var(--radius);
  margin-bottom: 16px; font-size: .92rem;
  display: flex; align-items: flex-start; gap: 10px;
  position: relative;
}
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert-danger   { background: #fff5f5; border: 1px solid #fecaca; color: #991b1b; }
.alert-warning  { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.alert-info     { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.alert-close { position: absolute; right: 12px; top: 10px; background: none; border: none; font-size: 1.1rem; cursor: pointer; color: inherit; opacity: .6; line-height: 1; }
.alert-close:hover { opacity: 1; }

/* ---------- Badges ------------------------------------------ */
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .78rem; font-weight: 700; }
.badge-success  { background: #dcfce7; color: #166534; }
.badge-danger   { background: #fee2e2; color: #991b1b; }
.badge-warning  { background: #fef9c3; color: #854d0e; }
.badge-secondary{ background: var(--gray-100); color: var(--gray-600); }
.badge-blue     { background: var(--blue-lt); color: var(--blue); }

/* ---------- Tables ------------------------------------------ */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
table.data-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .92rem; }
table.data-table thead th { background: var(--gray-50); color: var(--gray-600); font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; padding: 12px 16px; text-align: left; border-bottom: 2px solid var(--border); white-space: nowrap; }
table.data-table tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data-table tbody tr:hover { background: var(--gray-50); }
table.data-table tbody tr:last-child td { border-bottom: none; }

/* ---------- Cards ------------------------------------------- */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.card-header { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-header h3 { font-size: 1rem; font-weight: 700; margin: 0; }
.card-body { padding: 24px; }

/* ---------- Admin sidebar layout ---------------------------- */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; flex-shrink: 0;
  background: var(--gray-800); color: #d1d5db;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar-logo { padding: 20px 24px; border-bottom: 1px solid #374151; font-weight: 800; font-size: 1.1rem; }
.sidebar-logo .bayan { color: var(--gold); }
.sidebar-logo .host  { color: #fff; }
.sidebar-nav { padding: 12px 0; }
.sidebar-section-label { padding: 12px 24px 4px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #6b7280; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 24px; color: #d1d5db;
  font-size: .9rem; font-weight: 500;
  transition: var(--transition); text-decoration: none !important;
  border-left: 3px solid transparent;
}
.sidebar-nav a:hover { background: #374151; color: #fff; border-left-color: var(--gold); }
.sidebar-nav a.active { background: #374151; color: #fff; border-left-color: var(--gold); }
.sidebar-icon { font-size: 1rem; }

.admin-main { flex: 1; background: var(--gray-50); display: flex; flex-direction: column; }
.admin-topbar {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 0 28px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-content { padding: 28px; flex: 1; }

/* Dashboard stat cards */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat-card { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); border-left: 4px solid var(--blue); }
.stat-card .stat-value { font-size: 2rem; font-weight: 800; line-height: 1; }
.stat-card .stat-label { color: var(--text-muted); font-size: .88rem; margin-top: 4px; }

/* ---------- Customer portal --------------------------------- */
.portal-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.portal-sidebar { background: var(--blue); color: #fff; padding: 24px 0; }
.portal-sidebar .sidebar-brand { padding: 0 24px 20px; border-bottom: 1px solid rgba(255,255,255,.15); font-weight: 800; font-size: 1.2rem; }
.portal-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 24px; color: rgba(255,255,255,.8); font-size: .9rem; transition: var(--transition); text-decoration: none !important; }
.portal-nav a:hover, .portal-nav a.active { background: rgba(255,255,255,.1); color: #fff; }
.portal-main { background: var(--gray-50); }
.portal-topbar { background: #fff; border-bottom: 1px solid var(--border); padding: 0 28px; height: 60px; display: flex; align-items: center; justify-content: space-between; }
.portal-content { padding: 28px; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.info-item { background: #fff; border-radius: var(--radius); padding: 16px 20px; border: 1px solid var(--border); }
.info-item label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); display: block; margin-bottom: 4px; }
.info-item .value { font-size: 1rem; font-weight: 600; color: var(--text); }

/* ---------- About/Contact page ------------------------------ */
.about-hero { background: var(--blue-lt); padding: 64px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.contact-detail .icon { font-size: 1.3rem; margin-top: 2px; }
.contact-detail strong { display: block; font-size: .88rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .admin-layout, .portal-layout { flex-direction: column; display: block; }
  .admin-sidebar, .portal-sidebar { width: 100%; height: auto; position: relative; }
}

/* ---------- Login page ------------------------------------- */
.login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--gray-50); }
.login-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 40px; width: 100%; max-width: 420px; }
.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo h1 { font-size: 1.8rem; font-weight: 800; }
.login-logo p { color: var(--text-muted); font-size: .9rem; }

/* ---------- Pagination ------------------------------------- */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 24px; }
.pagination a, .pagination span { display: inline-block; padding: 7px 12px; border-radius: var(--radius); border: 1px solid var(--border); font-size: .88rem; color: var(--text); text-decoration: none !important; }
.pagination a:hover { background: var(--blue-lt); border-color: var(--blue); color: var(--blue); }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- Misc ------------------------------------------- */
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.empty-state { text-align: center; padding: 60px 24px; color: var(--text-muted); }
.empty-state .icon { font-size: 3rem; margin-bottom: 12px; }
.tag-list { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-block; background: var(--blue-lt); color: var(--blue); border-radius: 4px; padding: 2px 8px; font-size: .78rem; font-weight: 600; }

/* ---- Trust bar --------------------------------------------- */
.trust-bar { background: var(--blue); color: #fff; padding: 12px 0; font-size: .88rem; }
.trust-bar-inner { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; }

/* ============================================================
   NEW HOMEPAGE SECTIONS (v3 Sales-Focused Rewrite)
   ============================================================ */

/* ---- Hero — two-column layout with plan preview card ------- */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
}
.hero-plan-card {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  padding: 28px;
  flex-shrink: 0;
}
.hero-plan-card-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero-mini-plan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 10px;
  font-size: .88rem;
  color: rgba(255,255,255,.9);
}
.hero-mini-plan strong { color: var(--gold); font-weight: 800; }
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-plan-card { display: none; }
}

/* ---- Wake-up call section ---------------------------------- */
.wake-up-section { background: var(--white); }
.wake-up-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.wake-up-text h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 18px;
  text-align: left;
}
.wake-up-text h2 em { font-style: normal; color: var(--blue); }
.wake-up-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: .97rem;
  line-height: 1.75;
}
.wake-up-text strong { color: var(--text); }
.wake-up-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.wakeup-stat {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  text-align: center;
}
.wakeup-stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}
.wakeup-stat-label { font-size: .8rem; color: var(--text-muted); font-weight: 600; line-height: 1.4; }
@media (max-width: 768px) {
  .wake-up-grid { grid-template-columns: 1fr; }
  .wake-up-stats { grid-template-columns: 1fr 1fr; }
}

/* ---- Audience section -------------------------------------- */
.audience-section {
  background: #0d1b3e;
  color: #fff;
}
.audience-section .section-header p { color: rgba(255,255,255,.7); }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.audience-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 28px 22px;
  transition: transform .2s, background .2s;
}
.audience-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.1);
}
.audience-icon {
  width: 50px; height: 50px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.audience-card h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--gold);
}
.audience-card p {
  font-size: .86rem;
  line-height: 1.7;
  color: rgba(255,255,255,.75);
  margin-bottom: 16px;
}
.audience-highlight {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gold);
  background: rgba(252,209,22,.1);
  border-radius: 6px;
  padding: 8px 12px;
  line-height: 1.5;
}
@media (max-width: 1024px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .audience-grid { grid-template-columns: 1fr; }
}

/* ---- Projects section ------------------------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}
.project-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  background: var(--white);
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
}
.project-banner {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.project-banner-blue   { background: linear-gradient(135deg, var(--blue), #2a6dd9); }
.project-banner-red    { background: linear-gradient(135deg, var(--red), #ff3352); }
.project-banner-purple { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.project-emoji { font-size: 3.5rem; }
.project-tag {
  position: absolute; top: 12px; right: 12px;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: .72rem; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: .06em;
}
.project-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.project-url {
  font-size: .78rem; font-weight: 700; color: var(--blue);
  margin-bottom: 10px; font-family: monospace;
}
.project-body h3 {
  font-size: 1.1rem; font-weight: 800;
  color: var(--text); margin-bottom: 10px; line-height: 1.3;
}
.project-body p {
  font-size: .86rem; color: var(--text-muted);
  line-height: 1.7; flex: 1; margin-bottom: 16px;
}
.project-features {
  list-style: none; margin-bottom: 20px;
}
.project-features li {
  font-size: .82rem; padding: 5px 0;
  display: flex; align-items: flex-start; gap: 8px;
  color: var(--text); font-weight: 500;
}
.project-features li::before { content: '✓'; color: #10b981; font-weight: 900; flex-shrink: 0; }
.projects-enquiry-box {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}
.projects-enquiry-box h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.projects-enquiry-box p { color: var(--text-muted); font-size: .9rem; margin-bottom: 20px; }
@media (max-width: 900px) {
  .projects-grid { grid-template-columns: 1fr; }
}

/* ---- CTA Banner section ------------------------------------ */
.cta-banner-section {
  background: linear-gradient(135deg, var(--red) 0%, #9b0d1d 100%);
  color: #fff;
}
.cta-banner-section h2 { color: #fff; margin-bottom: 12px; }
.cta-banner-section p { color: rgba(255,255,255,.85); margin-bottom: 32px; font-size: 1.05rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---- Star rating input ------------------------------------- */
.star-rating { display: flex; flex-direction: row-reverse; gap: 4px; }
.star-rating input { display: none; }
.star-rating label { font-size: 1.8rem; cursor: pointer; color: #d1d5db; transition: var(--transition); }
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: var(--gold); }
