/* =====================================================
   HEADER – DARK GLASSMORPHISM
===================================================== */
.site-header {
  background: rgba(15, 23, 42, .92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .25);
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
  color: #fff;
}

.logo span {
  color: #60a5fa;
}

/* MOBILE TOGGLE */
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, .14);
}

/* DESKTOP NAV */
.main-nav .nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav>ul>li>a {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
  display: block;
  transition: background .15s, color .15s;
}

.main-nav>ul>li>a:hover {
  background: rgba(255, 255, 255, .09);
  color: #fff;
  text-decoration: none;
}

/* DROPDOWN */
.has-dropdown {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0f172a;
  min-width: 220px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  padding-top: 8px;
  padding-bottom: 8px;
  animation: dropIn .18s ease;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown li {
  list-style: none;
}

.dropdown li a {
  display: block;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s, color .15s;
}

.dropdown li a:hover {
  background: rgba(255, 255, 255, .07);
  color: #e2e8f0;
  text-decoration: none;
}

/* DESKTOP HOVER */
@media(min-width:901px) {
  .has-dropdown:hover>.dropdown {
    display: block;
  }
}

/* =========================
   MOBILE MENU
========================= */
@media(max-width:900px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    width: 100%;
    background: #0f172a;
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding: 12px 16px 20px;
    max-height: 80vh;
    overflow-y: auto;
  }

  .main-nav.active {
    display: block;
  }

  .main-nav .nav-list {
    flex-direction: column;
    gap: 4px;
  }

  .main-nav .nav-list>li {
    width: 100%;
  }

  .main-nav>ul>li>a {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .has-dropdown>a::after {
    content: "›";
    font-size: 18px;
    opacity: .5;
    transition: transform .2s;
  }

  .has-dropdown.open>a::after {
    transform: rotate(90deg);
    opacity: 1;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    background: rgba(255, 255, 255, .04);
    border: none;
    border-radius: 12px;
    padding: 6px 8px;
    margin-top: 4px;
    animation: none;
  }

  .has-dropdown.open>.dropdown {
    display: block;
  }

  .dropdown li a {
    font-size: 14px;
    padding: 10px 14px;
  }
}

/* =====================================================
   SITE FOOTER
===================================================== */
.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 64px 20px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.footer-logo:hover {
  text-decoration: none;
  color: #fff;
}

.footer-logo span {
  color: #60a5fa;
}

.footer-col p {
  margin-top: 14px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #64748b;
  font-size: 13px;
  text-decoration: none;
  transition: color .15s;
}

.footer-col a:hover {
  color: #60a5fa;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .06);
  text-align: center;
  padding: 18px 20px;
  font-size: 13px;
  color: #334155;
}

@media(max-width:1024px) {
  .footer-container {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media(max-width:768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width:480px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* =====================================================
   BLOG STYLES
===================================================== */
.blog-hero {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  padding: 80px 0 60px;
}

.blog-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 10px;
}

.blog-hero p {
  color: #94a3b8;
  font-size: 16px;
  max-width: 640px;
}

.blog-list {
  margin-top: 40px;
}

.blog-item {
  padding: 28px 0;
  border-bottom: 1px solid #e8edf5;
}

.blog-item h2 {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.35;
  margin-bottom: 8px;
}

.blog-item a {
  color: var(--dark);
}

.blog-item a:hover {
  color: var(--primary);
  text-decoration: none;
}

.blog-excerpt {
  font-size: 15px;
  color: #475569;
  max-width: 800px;
  line-height: 1.75;
}

.blog-meta {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
}

.tag {
  background: #eff6ff;
  color: #2563eb;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* =====================================================
   POLICY PAGES (UNIFIED)
===================================================== */
.policy-hero {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  padding: 72px 20px;
}

.policy-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  margin-bottom: 8px;
}

.policy-hero p {
  color: #93c5fd;
  font-size: 16px;
}

.policy-body {
  max-width: 860px;
  margin: auto;
  padding: 52px 20px 100px;
}

.policy-body h2 {
  font-size: 20px;
  margin: 36px 0 10px;
  color: var(--primary);
  font-weight: 700;
}

.policy-body p,
.policy-body li {
  color: #475569;
  line-height: 1.8;
  margin-bottom: 10px;
}

.policy-body ul {
  padding-left: 22px;
}

/* =====================================================
   SECTION SOFT BG
===================================================== */
section.section-soft {
  background: var(--surface-alt);
}

section.section-soft h2 {
  color: var(--dark);
}

/* =====================================================
   TABLE STYLES
===================================================== */
.table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e8edf5;
  margin-top: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}

th {
  background: #f8fafc;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  padding: 14px 16px;
  text-align: center;
}

td {
  padding: 13px 16px;
  font-size: 14px;
  text-align: center;
  border-top: 1px solid #f1f5f9;
  color: var(--dark-2);
}

tr:hover td {
  background: #f8fafc;
}

/* =====================================================
   FAQ / DETAILS
===================================================== */
details {
  border: 1px solid #e8edf5;
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: box-shadow .2s;
}

details[open] {
  box-shadow: var(--shadow-soft);
}

summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
  color: var(--dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::after {
  content: "＋";
  font-size: 18px;
  color: var(--primary);
  transition: transform .2s;
}

details[open] summary::after {
  content: "－";
}

details p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

/* =====================================================
   CONTACT FORM PAGE
===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

@media(max-width:768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-card {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  border-radius: var(--radius);
  padding: 36px;
  color: #fff;
}

.contact-info-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.contact-info-card p {
  color: #93c5fd;
  font-size: 15px;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-detail strong {
  display: block;
  font-size: 14px;
  color: #e0e7ff;
}

.contact-detail span {
  font-size: 13px;
  color: #94a3b8;
}

.contact-form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid #e8edf5;
}

.contact-form-card h3 {
  font-size: 20px;
  margin-bottom: 24px;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-submit {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--glow-primary);
  transition: transform .2s, box-shadow .2s;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, .35);
}