/* ========= Base ========= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: #111827;
  background: radial-gradient(circle at top, #fef9c3 0, #f9fafb 45%, #e5e7eb 100%);
}

/* ========= Hero / Header ========= */
.legal-hero {
  background-image: url("../images/banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 220px;
  border-bottom-left-radius: 70px;
  border-bottom-right-radius: 70px;
  overflow: hidden;
}

.hero-overlay {
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.hero-logo {
  font-family: "Marck Script", cursive;
  font-size: 36px;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.07em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.hero-center {
  text-align: center;
  color: #ffffff;
  max-width: 480px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-pill i {
  font-size: 13px;
}

.hero-center h1 {
  margin: 10px 0 4px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-sub {
  margin: 0;
  font-size: 14px;
  opacity: 0.95;
}

.hero-link {
  color: #ffffff;
  font-size: 13px;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

/* ========= Wrapper ========= */
.legal-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 16px 40px;
}

/* ========= Grid / Cards ========= */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.glass-card {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.9));
  border-radius: 22px;
  padding: 22px 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(12px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

/* Icon color variants */
.icon-circle.privacy {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.icon-circle.cookies {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.icon-circle.terms {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.icon-circle.dmca {
  background: linear-gradient(135deg, #ec4899, #db2777);
}

.icon-circle.contact {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

.glass-card h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.card-tagline {
  margin: 2px 0 0;
  font-size: 13px;
  color: #6b7280;
}

.card-updated {
  font-size: 12px;
  color: #6b7280;
  margin: 0 0 10px;
}

.card-updated span {
  font-weight: 600;
}

.glass-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #111827;
}

.glass-card h3 {
  font-size: 15px;
  margin: 14px 0 6px;
}

.glass-card ul {
  padding-left: 18px;
  margin: 6px 0 10px;
}

.glass-card ul li {
  font-size: 14px;
  line-height: 1.5;
  color: #111827;
  margin-bottom: 4px;
}

.card-note {
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px dashed rgba(148, 163, 184, 0.9);
  margin-top: 10px;
}

/* ========= Contact Section ========= */
.contact-section {
  margin-top: 18px;
}

.contact-header {
  margin-bottom: 10px;
}

.contact-section p {
  font-size: 14px;
  line-height: 1.6;
}

.contact-section a {
  color: #2563eb;
  text-decoration: none;
}

.contact-section a:hover {
  text-decoration: underline;
}

/* Form */
.contact-form {
  margin-top: 12px;
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.form-row label {
  font-size: 13px;
  margin-bottom: 4px;
  color: #374151;
}

.form-row label i {
  margin-right: 4px;
}

.form-row input,
.form-row textarea {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 9px 10px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  background: rgba(255, 255, 255, 0.9);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
}

.btn-submit {
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: none;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.btn-submit:hover {
  filter: brightness(1.05);
}

.form-hint {
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
}

/* ========= Footer ========= */
.legal-footer {
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  padding: 12px 10px 18px;
}

.legal-footer span {
  font-weight: 600;
}

/* ========= Responsive ========= */
@media (max-width: 900px) {
  .legal-hero {
    height: 210px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
  }

  .hero-overlay {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
  }

  .hero-center {
    text-align: left;
  }

  .hero-link {
    margin-top: 4px;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .legal-hero {
    height: 190px;
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
  }

  .hero-logo {
    font-size: 30px;
  }

  .hero-center h1 {
    font-size: 26px;
  }

  .glass-card {
    padding: 18px 16px 16px;
  }
}
