* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #011e35;
  color: #eaf4fb;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}
h1, h2, .brand { font-family: 'Poppins', system-ui, sans-serif; }
a { color: #4fd8ff; text-decoration: none; }
a:hover { color: #8ceaff; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
}
.nav-plain { border-bottom: 1px solid rgba(255,255,255,0.08); }
.back-link { font-size: 14px; font-weight: 600; color: #a9c4d6; }
.brand { font-weight: 800; font-size: 22px; letter-spacing: 0.02em; color: #ffffff; }
.brand-link {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #a9c4d6;
}
.brand-link:hover { color: #ffffff; }

.footer {
  padding: 20px 32px;
  text-align: center;
  font-size: 13px;
  color: #5c7c93;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Home page */
.home-hero {
  background: radial-gradient(ellipse 900px 500px at 50% 0%, #004a6e 0%, #011e35 60%, #011e35 100%);
  min-height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
}
.home-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 24px 48px;
}
.home-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.2;
  margin: 20px 0 12px;
  color: #ffffff;
  max-width: 560px;
}
.home-sub {
  font-size: 16px;
  line-height: 1.6;
  color: #a9c4d6;
  max-width: 480px;
  margin: 0 0 40px;
}
.card-grid {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.card-link { display: block; }
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
  height: 100%;
}
.card-link:hover .card { border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.06); }
.card img { width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 8px 24px rgba(2,249,254,0.15); }
.card-name { font-weight: 700; font-size: 22px; color: #ffffff; }
.card-tag { font-size: 14px; color: #4fd8ff; font-weight: 600; margin-top: 2px; }
.card-desc { font-size: 14px; line-height: 1.6; color: #a9c4d6; margin: 0; }
.card-cta { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #4fd8ff; margin-top: 4px; }
.card-arrow { transition: transform 0.2s ease; }
.card-link:hover .card-arrow { transform: translateX(4px); }

/* GigWiz product page */
.gw-hero {
  background: radial-gradient(ellipse 900px 480px at 50% 0%, #004a6e 0%, #011e35 65%);
  padding: 20px 24px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.gw-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 10px 30px rgba(2,249,254,0.18); margin-bottom: 18px; }
.gw-title { font-weight: 800; font-size: 40px; color: #ffffff; letter-spacing: -0.01em; }
.gw-tag { font-size: 17px; font-weight: 600; color: #4fd8ff; margin: 8px 0 20px; }
.gw-desc { font-size: 15px; line-height: 1.65; color: #b7cede; max-width: 460px; margin: 0; }
.gw-badge {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,0.25);
  color: #a9c4d6;
  font-size: 13px;
  font-weight: 600;
}
.gw-features { padding: 48px 24px; display: flex; flex-direction: column; align-items: center; }
.gw-grid {
  width: 100%;
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.gw-feature {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 22px;
}
.gw-feature-title { font-weight: 700; font-size: 16px; color: #ffffff; margin-bottom: 6px; }
.gw-feature-desc { font-size: 14px; line-height: 1.6; color: #a9c4d6; margin: 0; }

.gw-links-wrap { padding: 8px 24px 56px; display: flex; flex-direction: column; align-items: center; }
.gw-links { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 12px; }
.legal-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.legal-link:hover { border-color: rgba(255,255,255,0.28); background: rgba(255,255,255,0.07); }
.legal-link span:first-child { font-size: 15px; font-weight: 600; color: #ffffff; }
.legal-link span:last-child { color: #6f93a9; }

/* Legal pages (Terms / Privacy) */
.legal-body { max-width: 640px; margin: 0 auto; padding: 40px 24px 64px; }
.legal-title { font-weight: 800; font-size: 28px; color: #ffffff; margin: 0 0 6px; }
.legal-date { font-size: 13.5px; color: #6f93a9; margin: 0 0 28px; }
.legal-body p { font-size: 15px; line-height: 1.75; color: #b7cede; margin: 0 0 16px; }
.legal-section { margin: 0 0 28px; }
.legal-section h2 { font-weight: 700; font-size: 17px; color: #ffffff; margin: 0 0 10px; }
.legal-section p { font-size: 14.5px; line-height: 1.75; color: #a9c4d6; margin: 0 0 12px; }
.legal-divider { height: 1px; background: rgba(255,255,255,0.08); margin: 28px 0 32px; }
.legal-divider-tight { height: 1px; background: rgba(255,255,255,0.08); margin: 8px 0 24px; }
.legal-footer-note { font-size: 13.5px; line-height: 1.7; color: #7c9bb0; margin: 0; }

/* Support page */
.support-body { max-width: 560px; margin: 0 auto; padding: 40px 24px 64px; }
.support-title { font-weight: 800; font-size: 28px; color: #ffffff; margin: 0 0 12px; }
.support-intro { font-size: 15px; line-height: 1.7; color: #a9c4d6; margin: 0 0 24px; }
.support-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1bfbf9, #009fdc);
  color: #011e35;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 12px;
}
.support-note { font-size: 13px; line-height: 1.6; color: #7c9bb0; margin: 0 0 40px; text-align: center; }
.support-h2 { font-weight: 700; font-size: 18px; color: #ffffff; margin: 0 0 16px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,0.03); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  cursor: pointer;
  transition: background 0.15s ease;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { background: rgba(255,255,255,0.05); }
.faq-q-text { font-size: 14.5px; font-weight: 600; color: #ffffff; }
.faq-icon { color: #6f93a9; font-size: 18px; transition: transform 0.15s ease; }
.faq-item[open] .faq-icon { transform: rotate(90deg); }
.faq-a { padding: 0 18px 16px; }
.faq-a p { font-size: 14px; line-height: 1.65; color: #a9c4d6; margin: 0; }

/* Desktop breakpoint */
@media (min-width: 900px) {
  .nav { padding: 32px 64px; }
  .footer { padding: 28px 64px; }

  .home-content { padding: 64px 24px 96px; }
  .home-title { font-size: 48px; max-width: 760px; }
  .home-sub { font-size: 19px; max-width: 560px; margin-bottom: 56px; }
  .card-grid { max-width: 920px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
  .card { padding: 36px 32px; }

  .gw-hero { padding: 40px 24px 88px; }
  .gw-icon { width: 120px; height: 120px; margin-bottom: 24px; }
  .gw-title { font-size: 60px; }
  .gw-tag { font-size: 21px; margin: 12px 0 28px; }
  .gw-desc { font-size: 18px; max-width: 640px; line-height: 1.7; }
  .gw-features { padding: 72px 24px; }
  .gw-grid { max-width: 1040px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .gw-feature { padding: 26px 22px; }
  .gw-links-wrap { padding: 16px 24px 88px; }
  .gw-links { max-width: 780px; flex-direction: row; gap: 16px; }
  .gw-links a { flex: 1; }

  .legal-body { max-width: 780px; padding: 64px 24px 96px; }
  .legal-title { font-size: 36px; }
  .legal-body p { font-size: 16px; line-height: 1.8; }
  .legal-section h2 { font-size: 19px; }

  .support-body { max-width: 680px; padding: 64px 24px 96px; }
  .support-title { font-size: 36px; }
}
