@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Outfit:wght@600;700;800&display=swap");

:root {
  --grad-primary: linear-gradient(
    165deg,
    #f7a48a 0%,
    #e85a6b 42%,
    #c41e4a 78%,
    #9b1240 100%
  );
  --grad-hero-overlay: linear-gradient(
    180deg,
    rgba(247, 164, 138, 0.72) 0%,
    rgba(232, 90, 107, 0.82) 45%,
    rgba(155, 18, 64, 0.92) 100%
  );
  --color-primary: #d8315b;
  --color-primary-dark: #b01e43;
  --color-accent: #f3907c;
  --color-gold: #ffd166;
  --color-dark: #141824;
  --color-text: #334155;
  --color-muted: #64748b;
  --color-bg: #ffffff;
  --color-surface: #f7f4f6;
  --border-radius: 16px;
  --shadow-soft: 0 20px 40px -15px rgba(216, 49, 91, 0.18);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.06);
  --font-display: "Outfit", sans-serif;
  --font-body: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
  font-family: var(--font-display);
  color: var(--color-dark);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease,
    box-shadow 0.25s ease, opacity 0.25s ease;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.compliance-bar {
  background: #0e1018;
  color: #e2e8f0;
  font-size: 0.78rem;
  padding: 9px 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compliance-bar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.operator-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 72px;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #f4f1f3;
  border-radius: 12px;
  border: 1px solid #ebe4e8;
}

.operator-logo {
  max-height: 44px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.operator-logo.is-icon {
  max-height: 52px;
  max-width: 52px;
  border-radius: 12px;
}

.badge-18 {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.72rem;
}

.hero-wrapper {
  position: relative;
  color: #ffffff;
  overflow: hidden;
  background: var(--grad-primary);
  isolation: isolate;
}

.hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/lisboa-hero.jpg");
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
}

.hero-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-hero-overlay);
  z-index: 1;
  pointer-events: none;
}

.site-header {
  position: relative;
  z-index: 10;
  padding: 22px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.logo svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.93rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.55rem;
  cursor: pointer;
  line-height: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 64px 0 0;
  max-width: 860px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  animation: fadeUp 0.7s ease both;
}

.hero-content h1 {
  color: #ffffff;
  font-size: clamp(2.15rem, 4.6vw, 3.35rem);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  animation: fadeUp 0.75s ease 0.08s both;
}

.hero-content > p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.93);
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.75s ease 0.16s both;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  animation: fadeUp 0.75s ease 0.24s both;
}

.btn-dark-glass {
  background: #12151f;
  color: #ffffff;
  padding: 13px 24px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.btn-dark-glass:hover {
  transform: translateY(-2px);
  background: #1c2130;
}

.btn-dark-glass small {
  display: block;
  font-size: 0.68rem;
  opacity: 0.72;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-dark-glass strong {
  font-size: 0.98rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.26);
}

.hero-legal-note {
  position: relative;
  z-index: 5;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  margin: 0 auto 36px;
  max-width: 720px;
  padding: 0 16px;
}

.hero-legal-note a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.btn-nav-secondary {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: var(--color-dark);
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.btn-nav-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.hero-mockup-frame {
  background: #12151f;
  border-radius: 28px 28px 0 0;
  padding: 12px 12px 0;
  max-width: 740px;
  margin: 0 auto;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.28);
  position: relative;
  z-index: 5;
  animation: fadeUp 0.9s ease 0.3s both;
}

.hero-mockup-screen {
  background: #ffffff;
  border-radius: 18px 18px 0 0;
  padding: 22px 26px 28px;
  color: var(--color-dark);
  text-align: left;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 14px;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.mockup-header strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.mockup-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mockup-stat-box {
  background: var(--color-surface);
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ebe4e8;
}

.mockup-stat-box span {
  font-size: 0.76rem;
  color: var(--color-muted);
  display: block;
  margin-bottom: 4px;
}

.mockup-stat-box strong {
  font-size: 1.28rem;
  color: var(--color-primary);
  font-family: var(--font-display);
}

.subpage-hero {
  background: var(--grad-primary);
  position: relative;
  color: #fff;
  padding: 48px 0 62px;
  text-align: center;
  overflow: hidden;
}

.subpage-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/lisboa-hero.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  mix-blend-mode: overlay;
}

.subpage-hero .container {
  position: relative;
  z-index: 2;
}

.subpage-hero h1 {
  color: #fff;
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  margin-bottom: 12px;
}

.subpage-hero p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  margin: 0 auto;
}

.subpage-hero .logo,
.subpage-hero .nav-links a {
  color: #fff;
}

.subpage-hero .nav-links a {
  color: rgba(255, 255, 255, 0.9);
}

.section {
  padding: 78px 0;
}

.section-alt {
  background: var(--color-surface);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-tag {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  display: block;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--color-muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: #ffffff;
  border-radius: var(--border-radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid #eee8eb;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.operator-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.operator-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  gap: 10px;
}

.license-badge {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.domain-tag {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #f1f5f9;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.84rem;
  color: var(--color-dark);
}

.operator-meta {
  margin: 14px 0;
  padding: 14px;
  background: var(--color-surface);
  border-radius: 10px;
  font-size: 0.9rem;
}

.operator-meta p {
  margin-bottom: 6px;
}

.operator-meta p:last-child {
  margin-bottom: 0;
}

.btn-primary {
  display: inline-block;
  background: var(--grad-primary);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  text-align: center;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

.feature-band {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.feature-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 340px;
  background: var(--grad-primary);
  box-shadow: var(--shadow-soft);
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
  opacity: 0.55;
  mix-blend-mode: luminosity;
}

.feature-visual-caption {
  position: absolute;
  inset: auto 20px 20px 20px;
  background: rgba(20, 24, 36, 0.78);
  color: #fff;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 0.9rem;
}

.timeline {
  display: grid;
  gap: 0;
  position: relative;
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-left: none;
}

.timeline-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--grad-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow-soft);
}

.responsible-strip {
  background: #141824;
  color: #e2e8f0;
  padding: 36px 0;
}

.responsible-strip--early {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.responsible-strip h2 {
  color: #fff;
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.responsible-strip p {
  color: #94a3b8;
  max-width: 820px;
}

.responsible-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.responsible-links a {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.responsible-links a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.blog-card h3 {
  font-size: 1.2rem;
  margin: 10px 0 8px;
}

.blog-card .meta {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-bottom: 10px;
}

.blog-card p {
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.reputation-box {
  background: linear-gradient(to right, #fff5f7, #ffffff);
  border-left: 4px solid var(--color-primary);
  padding: 26px;
  border-radius: 0 16px 16px 0;
  margin: 32px 0;
  box-shadow: var(--shadow-card);
}

.reputation-score {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 14px 0;
  flex-wrap: wrap;
}

.score-pill {
  background: var(--color-dark);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  padding: 8px 16px;
  border-radius: 10px;
  font-family: var(--font-display);
}

.takeaways-box {
  background: var(--color-surface);
  border: 1px solid #e8e0e4;
  border-radius: 16px;
  padding: 26px;
  margin: 36px 0;
}

.takeaways-box h3 {
  margin-bottom: 14px;
  color: var(--color-primary);
}

.takeaways-box ul {
  padding-left: 20px;
}

.takeaways-box li {
  margin-bottom: 8px;
}

.article-body p {
  margin-bottom: 18px;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  margin-top: 40px;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(216, 49, 91, 0.12);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.checkbox-row input {
  margin-top: 4px;
  width: 17px;
  height: 17px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.map-frame {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 12px;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 28px 0 12px;
}

.legal-content p,
.legal-content li {
  margin-bottom: 12px;
  color: var(--color-text);
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.site-footer {
  background: #0e1018;
  color: #cbd5e1;
  padding: 64px 0 28px;
  font-size: 0.92rem;
}

.site-footer .logo {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.02rem;
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.footer-links {
  list-style: none;
}

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

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 12px;
  font-size: 0.84rem;
  color: #94a3b8;
  margin-bottom: 24px;
}

.footer-disclaimer p {
  margin: 0;
  color: #94a3b8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #64748b;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .grid-3,
  .footer-grid,
  .feature-band {
    grid-template-columns: 1fr 1fr;
  }

  .feature-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .compliance-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 9000;
    border-bottom: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.28);
  }

  body {
    padding-bottom: 72px;
  }

  .site-footer {
    padding-bottom: 36px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #181c2e;
    flex-direction: column;
    padding: 22px;
    border-radius: 16px;
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    z-index: 50;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .grid-3,
  .grid-2,
  .footer-grid,
  .mockup-stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 40px;
  }

  .section {
    padding: 56px 0;
  }

  .hero-mockup-screen {
    padding: 18px 16px 22px;
  }
}
