/* ============================================================
   PigEars.company – Homepage Stylesheet
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

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

:root {
  --navy:   #0a1628;
  --blue:   #1a3a6e;
  --mid:    #2563eb;
  --sky:    #3b82f6;
  --accent: #f59e0b;
  --white:  #ffffff;
  --off:    #f8fafc;
  --text:   #1e293b;
  --muted:  #64748b;
  --border: #e2e8f0;
  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  font-size: 18px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---- Typography ---- */
h2 { font-family: var(--font-h); font-weight: 900; }
h3 { font-family: var(--font-h); font-weight: 700; }
p { line-height: 1.75; }

/* ---- Section badges ---- */
.section-badge {
  display: inline-block;
  background: #eff6ff;
  color: var(--mid);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-badge.light { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); color: var(--navy); margin-bottom: 16px; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 640px; margin-bottom: 48px; }
.light-h { color: var(--white); }

/* ============ STICKY CTA ============ */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: var(--accent);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  padding: 16px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(245,158,11,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 52px;
  display: flex;
  align-items: center;
}
.sticky-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(245,158,11,0.5); }

/* ============ NAV ============ */
.site-nav {
  position: sticky; top: 0; z-index: 900;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.nav-logo {
  font-family: var(--font-h); font-size: 1.35rem; font-weight: 900;
  color: var(--white); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 26px; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--accent) !important; color: var(--navy) !important; padding: 10px 22px; border-radius: 50px; font-weight: 700 !important; }
.nav-cta:hover { background: #fbbf24 !important; }
.hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 8px; min-width: 52px; min-height: 52px;
  align-items: center; justify-content: center;
}

/* ============ MOBILE OVERLAY ============ */
.mobile-overlay {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,22,40,0.97);
  flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s;
}
.mobile-overlay.open { display: flex; opacity: 1; }
.mobile-close {
  position: absolute; top: 20px; right: 20px; background: none; border: none;
  cursor: pointer; padding: 10px; min-width: 52px; min-height: 52px;
  display: flex; align-items: center; justify-content: center;
}
.mobile-overlay ul { list-style: none; text-align: center; }
.mobile-overlay ul li { margin: 16px 0; }
.mobile-overlay ul li a {
  color: var(--white); font-size: 1.4rem; font-weight: 600;
  text-decoration: none; font-family: var(--font-h); transition: color 0.2s;
}
.mobile-overlay ul li a:hover { color: var(--accent); }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 95vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,22,40,0.92) 0%,
    rgba(26,58,110,0.8) 50%,
    rgba(10,22,40,0.3) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(245,158,11,0.18); border: 1px solid rgba(245,158,11,0.4);
  color: var(--accent); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px; margin-bottom: 24px;
}
.hero-greeting {
  font-family: var(--font-h); font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900; color: var(--white); line-height: 1.18;
  margin-bottom: 20px;
}
.hero-greeting strong { color: var(--accent); }
.hero-sub { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.btn-primary {
  background: var(--accent); color: var(--navy);
  font-weight: 800; font-size: 1rem; padding: 16px 32px;
  border-radius: 50px; text-decoration: none; min-height: 52px;
  display: inline-flex; align-items: center;
  transition: transform 0.2s, background 0.2s;
}
.btn-primary:hover { background: #fbbf24; transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.1); color: var(--white);
  font-weight: 600; font-size: 1rem; padding: 16px 32px;
  border-radius: 50px; text-decoration: none; border: 1px solid rgba(255,255,255,0.3);
  min-height: 52px; display: inline-flex; align-items: center;
  transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; }
.hero-trust span { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.65); font-size: 0.85rem; }
/* Hero right panel */
.hero-img-panel { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.hero-card-float {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.18); border-radius: 16px;
  padding: 16px 20px; animation: float 4s ease-in-out infinite;
}
.hero-card-2 { animation-delay: 2s; }
.hcard-icon {}
.hcard-title { color: var(--white); font-weight: 700; font-size: 0.95rem; }
.hcard-sub { color: rgba(255,255,255,0.6); font-size: 0.82rem; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============ COUNTRY SECTION ============ */
.country-section { padding: 100px 0; background: var(--off); }
.country-search-wrap {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 50px; padding: 12px 22px;
  max-width: 420px; margin-bottom: 48px;
}
.country-search-wrap input {
  border: none; outline: none; font-size: 1rem;
  font-family: var(--font-b); width: 100%; background: transparent;
}
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.country-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px 24px;
  text-decoration: none; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative; min-height: 52px;
}
.country-card:hover { transform: translateY(-4px); border-color: var(--mid); box-shadow: 0 12px 32px rgba(37,99,235,0.12); }
.flag-icon { width: 72px; height: 48px; border-radius: 6px; overflow: hidden; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.12); }
.flag-icon svg { width: 100%; height: 100%; }
.country-name { font-family: var(--font-h); font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.country-url { font-size: 0.82rem; color: var(--muted); margin-bottom: 16px; }
.country-arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--off); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.country-card:hover .country-arrow { background: #eff6ff; }

/* ============ BENEFITS ============ */
.benefits-section { padding: 100px 0; background: var(--white); }
.benefits-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px;
}
.benefit-card {
  padding: 32px; border-radius: var(--radius);
  border: 1.5px solid var(--border); transition: box-shadow 0.2s, transform 0.2s;
}
.benefit-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.07); transform: translateY(-2px); }
.benefit-icon { margin-bottom: 20px; }
.benefit-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.benefit-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }

/* ============ REVIEWS ============ */
.reviews-section { position: relative; padding: 100px 0; overflow: hidden; }
.reviews-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
}
.reviews-inner { position: relative; z-index: 2; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review-card {
  background: rgba(255,255,255,0.07); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius);
  padding: 28px;
}
.review-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.review-card p { color: rgba(255,255,255,0.85); font-size: 0.98rem; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.reviewer { color: var(--accent); font-size: 0.85rem; font-weight: 600; }

/* ============ SPECS ============ */
.specs-section { padding: 100px 0; background: var(--off); }
.specs-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.specs-text h2 { margin-bottom: 20px; }
.specs-text p { color: var(--muted); margin-bottom: 24px; }
.specs-list { list-style: none; margin-bottom: 36px; }
.specs-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 0.98rem; }
.specs-list li svg { flex-shrink: 0; margin-top: 3px; }
.btn-blue {
  display: inline-flex; align-items: center;
  background: var(--mid); color: var(--white);
  font-weight: 700; font-size: 1rem; padding: 16px 32px;
  border-radius: 50px; text-decoration: none; min-height: 52px;
  transition: background 0.2s, transform 0.2s;
}
.btn-blue:hover { background: var(--blue); transform: translateY(-2px); }
.specs-card-stack { display: flex; flex-direction: column; gap: 20px; }
.spec-card {
  background: var(--white); border-radius: var(--radius);
  border: 1.5px solid var(--border); padding: 28px 32px;
  transition: transform 0.2s;
}
.sc-2 { transform: translateX(20px); }
.sc-3 { transform: translateX(40px); }
.spec-card:hover { transform: translateX(8px) !important; }
.spec-num { font-family: var(--font-h); font-size: 2.2rem; font-weight: 900; color: var(--mid); margin-bottom: 4px; }
.spec-label { color: var(--muted); font-size: 0.9rem; font-weight: 500; }

/* ============ FIFI ============ */
.fifi-section { padding: 100px 0; background: var(--white); }
.fifi-inner { display: flex; gap: 60px; align-items: flex-start; }
.fifi-icon { flex-shrink: 0; }
.fifi-text { }
.fifi-tagline { font-size: 1.15rem; color: var(--mid); font-weight: 600; margin-bottom: 24px; }
.fifi-text p { color: var(--muted); margin-bottom: 16px; }
.fifi-sign { font-style: italic; color: var(--muted); opacity: 0.75; }

/* ============ FAQ ============ */
.faq-section { padding: 100px 0; background: var(--off); }
.faq-list { margin-top: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  font-family: var(--font-b); font-size: 1rem; font-weight: 600;
  color: var(--navy); text-align: left; padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; min-height: 52px;
}
.faq-q::after {
  content: ''; flex-shrink: 0; width: 22px; height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'%3E%3Ccircle cx='11' cy='11' r='10' stroke='%232563eb' stroke-width='1.5'/%3E%3Cpath d='M7 11h8M11 7v8' stroke='%232563eb' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: contain; transition: transform 0.25s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 24px; }
.faq-item.open .faq-a { display: block; }
.faq-a p { color: var(--muted); font-size: 0.98rem; }
.faq-a a { color: var(--mid); }

/* ============ BUYING GUIDE ============ */
.buying-guide { padding: 100px 0; background: var(--white); }
.guide-inner h3 { font-size: 1.35rem; color: var(--navy); margin: 48px 0 14px; }
.guide-inner h4 { font-size: 1.05rem; font-weight: 600; color: var(--blue); margin: 28px 0 10px; font-family: var(--font-b); }
.guide-inner p { color: var(--muted); margin-bottom: 20px; font-size: 0.98rem; }

/* ============ COMPANY ============ */
.company-section { padding: 100px 0; background: var(--off); }
.company-inner h2 { margin-bottom: 48px; }
.company-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; margin-bottom: 48px; }
.company-block {
  background: var(--white); border-radius: var(--radius);
  border: 1.5px solid var(--border); padding: 28px 24px;
}
.co-icon { margin-bottom: 16px; }
.company-block h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; font-family: var(--font-b); }
.company-block p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.company-block a { color: var(--mid); text-decoration: none; }
.trust-bar {
  display: flex; flex-wrap: wrap; gap: 24px;
  background: var(--navy); border-radius: var(--radius); padding: 28px 32px;
}
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 600; }

/* ============ CONTACT ============ */
.contact-section { padding: 100px 0; background: var(--white); }
.contact-inner h2 { margin-bottom: 16px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.contact-card {
  background: var(--off); border-radius: var(--radius);
  border: 1.5px solid var(--border); padding: 32px 24px;
}
.cc-icon { margin-bottom: 16px; }
.contact-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; font-family: var(--font-b); }
.contact-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.contact-link { display: block; color: var(--mid); font-weight: 600; margin-bottom: 10px; text-decoration: none; word-break: break-all; }
.contact-link:hover { text-decoration: underline; }

/* ============ FINAL CTA ============ */
.final-cta {
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  text-align: center;
}
.cta-inner h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,0.72); max-width: 520px; margin: 0 auto 40px; font-size: 1.05rem; }
.btn-accent-lg {
  display: inline-flex; align-items: center;
  background: var(--accent); color: var(--navy);
  font-weight: 800; font-size: 1.1rem; padding: 18px 44px;
  border-radius: 50px; text-decoration: none; min-height: 52px;
  transition: transform 0.2s, background 0.2s;
  box-shadow: 0 8px 24px rgba(245,158,11,0.35);
}
.btn-accent-lg:hover { background: #fbbf24; transform: translateY(-3px); }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.6); font-size: 0.875rem; padding: 70px 24px 30px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; margin-bottom: 48px;
}
.footer-col h4 { color: var(--white); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,0.52); text-decoration: none; margin-bottom: 9px; transition: color 0.2s; font-size: 0.88rem; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.09); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.82rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 0; }
  .hero-img-panel { display: none; }
  .specs-layout { grid-template-columns: 1fr; gap: 48px; }
  .sc-2, .sc-3 { transform: none; }
  .fifi-inner { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: 100svh; }
  .hero-content { padding: 100px 16px 60px; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; justify-content: center; }
  .country-section, .benefits-section, .reviews-section, .specs-section,
  .fifi-section, .faq-section, .buying-guide, .company-section, .contact-section, .final-cta { padding: 70px 0; }
  .container { padding: 0 16px; }
  .country-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar { flex-direction: column; gap: 16px; }
}
@media (max-width: 440px) {
  .country-grid { grid-template-columns: 1fr; }
}
