/* -------------------------------------------------------
   ROOT v1.2 — FINAL EU-CLEAN PREMIUM STYLESHEET
---------------------------------------------------------*/

:root {
  --bg: #f5f7fb;
  --bg-soft: #e6eefc;
  --card-bg: #ffffff;
  --accent: #2155ff;
  --accent-dark: #0f38c8;
  --accent-mid: #1f4dff;
  --text-main: #0b1220;
  --text-soft: #4b5563;
  --border-soft: #dde2f0;
}

/* RESET */

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

html,
body {
  height: 100%;
}

body {
  background: var(--bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text-main);
}

/* HEADER */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 20;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
}

.header-inner {
  max-width: 960px;
  margin: auto;
  padding: 0.72rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
}

.brand-flag {
  height: 22px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.16);
}

.brand-text {
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  color: var(--text-main);
}

.main-nav {
  display: flex;
  gap: 1.4rem;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: color 0.16s ease, transform 0.16s ease;
}

.main-nav a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

/* HERO */

.hero {
  background:
    linear-gradient(180deg, #e9efff 0%, #e6ecff 40%, #f0f4ff 100%),
    radial-gradient(
      circle at 40% 0%,
      rgba(230, 238, 255, 0.95),
      rgba(201, 214, 255, 0.45),
      rgba(240, 245, 255, 0)
    );
  background-blend-mode: overlay, normal;
  padding: 3.7rem 1.2rem 4.4rem;
  margin-top: 1.6rem;
}

.hero-inner {
  max-width: 960px;
  margin: auto;
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 80%;
  max-width: 660px;
  height: 70%;
  margin: auto;
  background: radial-gradient(
    circle at 50% 20%,
    rgba(255, 255, 255, 0.85),
    rgba(220, 230, 255, 0.42),
    rgba(220, 230, 255, 0.15)
  );
  filter: blur(36px);
  opacity: 0.92;
  z-index: 0;
}

/* HERO CARD */

.hero-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, #ffffff, #f3f6ff);
  border-radius: 30px;
  padding: 2.55rem 2.8rem 2.2rem;
  width: 100%;
  max-width: 640px;
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.55);
}

.hero-card h1 {
  font-weight: 700;
  font-size: 1.98rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-soft);
  margin-bottom: 1.82rem;
}

/* INPUT + BUTTON */

.validate-form {
  margin-bottom: 1.55rem;
}

.validate-input-row {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.validate-input-row input {
  flex: 1;
  padding: 1.02rem 1.4rem;
  border-radius: 999px;
  font-size: 1rem;
  border: 1px solid #cdd6ef;
  background: linear-gradient(180deg, #ffffff, #f7f9ff);
  box-shadow:
    inset 0 1px 3px rgba(15, 23, 42, 0.05),
    0 2px 6px rgba(15, 23, 42, 0.04);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.validate-input-row input:focus {
  outline: none;
  border-color: var(--accent);
  background: #ffffff;
  box-shadow:
    0 0 0 2px rgba(33, 85, 255, 0.22),
    0 12px 22px rgba(37, 99, 235, 0.1);
}

/* BUTTON (final) */

.validate-input-row button {
  padding: 0.92rem 1.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-mid), var(--accent-dark));
  border: none;
  cursor: pointer;
  color: #ffffff;
  font-size: 0.97rem;
  font-weight: 650;
  vertical-align: middle;
  margin-top: -1px;
  position: relative;
  box-shadow:
    0 10px 22px rgba(33, 85, 255, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.45);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.validate-input-row button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.20) 0%,
    rgba(255, 255, 255, 0.00) 45%
  );
  pointer-events: none;
}

.validate-input-row button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 30px rgba(33, 85, 255, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.55);
}

.validate-input-row button:active {
  transform: translateY(0);
  box-shadow:
    0 6px 16px rgba(33, 85, 255, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.35);
}

/* TABS */

.hero-tabs {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.3rem;
}

.hero-tab {
  padding: 0.46rem 0.94rem;
  font-size: 0.88rem;
  border-radius: 20px;
  border: 1px solid #d3d9ee;
  background: #ffffff;
  color: #4b5563;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease,
    box-shadow 0.16s ease;
}

.hero-tab:hover {
  background: #f2f4ff;
  border-color: #c1c9f3;
}

.hero-tab-active {
  background: #dde5ff;
  border-color: #bcc9f9;
  color: var(--accent);
  box-shadow: 0 6px 14px rgba(129, 140, 248, 0.22);
}

/* CONTENT SECTION */

.content-section {
  padding: 3rem 1.2rem 3.3rem;
}

.content-inner {
  max-width: 960px;
  margin: auto;
  background: #ffffff;
  border-radius: 22px;
  padding: 2rem 2.4rem;
  border: 1px solid #d8def2;
  box-shadow:
    0 20px 44px rgba(15, 23, 42, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.7);
}

.content-inner h2 {
  font-size: 1.52rem;
  margin-bottom: 0.9rem;
}

.content-inner p {
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--text-soft);
}

/* FOOTER */

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-soft);
  padding: 2.6rem 1.2rem 3rem;
  margin-top: 3rem;
}

.footer-inner {
  max-width: 960px;
  margin: auto;
  text-align: center;
}

.footer-domain {
  font-size: 0.94rem;
  font-weight: 600;
}

.footer-links {
  margin-top: 0.45rem;
  display: flex;
  gap: 1.3rem;
  justify-content: center;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--accent);
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-note {
  margin-top: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-soft);
}

/* AD UNITS */

.ad-unit {
  margin: 2rem 0;
  min-height: 250px;
  background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-soft);
}

.ad-unit-horizontal {
  min-height: 100px;
  margin: 1.5rem 0;
}

.ad-unit-sidebar {
  min-height: 600px;
  position: sticky;
  top: 80px;
}

/* CONTENT PAGES */

.page-content {
  padding: 2.5rem 1.2rem 3rem;
}

.page-inner {
  max-width: 900px;
  margin: auto;
}

.page-inner h1 {
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.page-inner h2 {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.page-inner h3 {
  font-size: 1.2rem;
  color: var(--text-main);
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}

.page-inner p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-soft);
  margin-bottom: 1.2rem;
}

.page-inner ul, .page-inner ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-soft);
}

.page-inner li {
  margin-bottom: 0.6rem;
  line-height: 1.65;
}

.page-inner a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.16s ease;
}

.page-inner a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

/* INFO BOXES */

.info-box {
  background: linear-gradient(135deg, #e8f4fc 0%, #dbeafe 100%);
  border-left: 4px solid var(--accent);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 12px 12px 0;
}

.info-box p {
  margin-bottom: 0;
  color: var(--text-main);
}

.warning-box {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-left: 4px solid #f59e0b;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 12px 12px 0;
}

.warning-box p {
  margin-bottom: 0;
  color: #92400e;
}

.success-box {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border-left: 4px solid #10b981;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 12px 12px 0;
}

.success-box p {
  margin-bottom: 0;
  color: #065f46;
}

/* CARDS GRID */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.8rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.card h3 {
  margin-top: 0;
  color: var(--text-main);
}

.card p {
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.card-link {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

/* FAQ STYLES */

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.faq-question {
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.16s ease;
}

.faq-question:hover {
  background: var(--bg-soft);
}

.faq-answer {
  padding: 0 1.5rem 1.2rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* TABLE STYLES */

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.data-table th {
  background: var(--bg-soft);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 2px solid var(--border-soft);
}

.data-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-soft);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--bg);
}

/* STEPS */

.steps {
  counter-reset: step;
  margin: 2rem 0;
}

.step {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: linear-gradient(135deg, var(--accent-mid), var(--accent-dark));
  color: #ffffff;
  font-weight: 700;
  border-radius: 50%;
  font-size: 1.1rem;
}

.step-content h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text-main);
}

.step-content p {
  margin: 0;
  color: var(--text-soft);
}

/* BADGE */

.badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-success {
  background: #d1fae5;
  color: #065f46;
}

.badge-warning {
  background: #fef3c7;
  color: #92400e;
}

.badge-info {
  background: #dbeafe;
  color: #1e40af;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .validate-input-row {
    flex-direction: column;
  }

  .validate-input-row button {
    width: 100%;
  }

  .hero-card {
    padding: 2rem 1.6rem;
  }
  
  .page-inner h1 {
    font-size: 1.8rem;
  }
  
  .page-inner h2 {
    font-size: 1.3rem;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
  
  .step::before {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .main-nav {
    display: none;
  }
}
