/* ============================================================
   SIRATDIK — Landing Page  |  v2
   18 years of craft: sharp grid, purposeful whitespace,
   no stock-photo gradients.
   ============================================================ */

/* ---- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #0f172a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ---- Tokens ----------------------------------------------- */
:root {
  --blue:       #1d4ed8;
  --blue-mid:   #2563eb;
  --blue-light: #eff6ff;
  --blue-glow:  rgba(37, 99, 235, .18);
  --ink:        #0f172a;
  --ink-2:      #334155;
  --ink-3:      #64748b;
  --ink-4:      #94a3b8;
  --border:     #e2e8f0;
  --surface:    #f8fafc;
  --white:      #ffffff;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-1:   0 1px 2px rgba(0,0,0,.06);
  --shadow-2:   0 4px 12px rgba(0,0,0,.08);
  --shadow-3:   0 16px 48px rgba(0,0,0,.10);
  --nav-h:      70px;
  --bar-w:      56px;
  --ease:       cubic-bezier(.4,0,.2,1);
  --t:          .2s;
}

/* ============================================================
   LAYOUT SHELL
   ============================================================ */
.page-wrapper { display: flex; min-height: 100vh; }

/* Left brand bar — the signature element from the reference */
.left-bar {
  width: var(--bar-w);
  flex-shrink: 0;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 200;
  background: var(--blue);
  /* subtle texture */
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 24px,
      rgba(255,255,255,.04) 24px,
      rgba(255,255,255,.04) 25px
    );
}

/* Small vertical label on the bar */
.left-bar::after {
  content: 'SIRATDIK';
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%) rotate(-90deg);
  transform-origin: center center;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  color: rgba(255,255,255,.35);
}

.main-area {
  flex: 1;
  margin-left: var(--bar-w);
  overflow-x: hidden;
  min-width: 0;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.topnav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 var(--border);
}

.topnav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  padding: 0 52px;
  gap: 0;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 34px; width: auto; }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-links .nav-link {
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: 8px;
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav-links .nav-link:hover { color: var(--ink); background: var(--surface); }
.nav-links .nav-link.active { color: var(--blue-mid); background: var(--blue-light); }

.btn-signin {
  margin-left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  background: var(--blue-mid);
  border-radius: 10px;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
  box-shadow: 0 2px 8px var(--blue-glow);
}
.btn-signin:hover {
  background: var(--blue);
  box-shadow: 0 4px 16px var(--blue-glow);
  transform: translateY(-1px);
}
.btn-signin i { font-size: 12px; }

/* Mobile hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  margin-left: auto;
  padding: 0 7px;
}
.mobile-menu-btn span {
  display: block;
  height: 1.5px;
  background: var(--ink-2);
  border-radius: 2px;
  transition: all var(--t) var(--ease);
}
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 8px 20px 20px;
  border-top: 1px solid var(--border);
  gap: 2px;
  background: var(--white);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background var(--t);
}
.mobile-menu a:hover { background: var(--surface); }
.mobile-menu .mobile-signin {
  margin-top: 6px;
  background: var(--blue-mid);
  color: var(--white);
  text-align: center;
  border-radius: 10px;
}
.mobile-menu .mobile-signin:hover { background: var(--blue); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--nav-h));
  padding: 80px 52px 80px;
  gap: 64px;
  position: relative;
  overflow: hidden;
}

/* Faint blue circle behind everything */
.hero::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219,234,254,.7) 0%, transparent 70%);
  pointer-events: none;
}

/* ---- Left column ---- */
.hero-left {
  flex: 0 0 480px;
  max-width: 480px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--blue-mid);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(44px, 5vw, 66px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.04em;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-title span { color: var(--blue-mid); }

.hero-desc {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-3);
  max-width: 420px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--blue-mid);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(37,99,235,.30);
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.btn-primary-hero:hover {
  background: var(--blue);
  box-shadow: 0 8px 28px rgba(37,99,235,.38);
  transform: translateY(-2px);
}
.btn-primary-hero i { font-size: 13px; }

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: border-color var(--t), background var(--t), transform var(--t) var(--ease);
}
.btn-outline-hero:hover {
  border-color: var(--blue-mid);
  background: var(--blue-light);
  color: var(--blue-mid);
  transform: translateY(-2px);
}

/* ---- Right column — illustration ---- */
.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  position: relative;
}

.hero-illustration {
  position: relative;
  width: 100%;
  max-width: 500px;
}

/* Outer ring */
.shape-ring {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%,-50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 40px solid #dbeafe;
  z-index: 0;
}

/* Dot grid top-right */
.shape-dot-grid {
  position: absolute;
  top: 0;
  right: -8px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 9px;
  z-index: 0;
}
.shape-dot-grid span {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cbd5e1;
}

/* ---- Document stack ---- */
.doc-stack {
  position: relative;
  width: 300px;
  height: 380px;
  margin: 60px auto 0;
}

.doc {
  position: absolute;
  width: 272px;
  background: var(--white);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-3);
}

.doc-back {
  top: 28px; left: 28px;
  opacity: .45;
  transform: rotate(-5deg);
  z-index: 1;
}
.doc-mid {
  top: 14px; left: 14px;
  transform: rotate(-2deg);
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0,0,0,.09);
}
.doc-front {
  top: 0; left: 0;
  z-index: 3;
  border: 1.5px solid #e0eafb;
  box-shadow: 0 16px 56px rgba(29,78,216,.10);
}

/* Doc internals */
.doc-line {
  height: 7px;
  background: #e9edf5;
  border-radius: 4px;
  margin-bottom: 8px;
}
.doc-line.w-40 { width: 40%; }
.doc-line.w-50 { width: 50%; }
.doc-line.w-60 { width: 60%; }
.doc-line.w-70 { width: 70%; }
.doc-line.w-75 { width: 75%; }
.doc-line.w-80 { width: 80%; }
.doc-line.w-85 { width: 85%; }
.doc-line.w-90 { width: 90%; }
.doc-line.mt-4 { margin-top: 4px; }
.doc-line.mt-8 { margin-top: 8px; }

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

.doc-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--blue-light);
  color: var(--blue-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.doc-divider { height: 1px; background: var(--border); margin: 10px 0 14px; }

.doc-badge {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(34,197,94,.35);
}

.doc-title { font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }

.doc-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }

.tag {
  font-size: 10.5px; font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
}
.tag-blue { background: var(--blue-light); color: var(--blue-mid); }

.doc-date { font-size: 10.5px; color: var(--ink-4); }

.qr-placeholder {
  margin-top: 12px;
  width: 38px; height: 38px;
  border-radius: 7px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-4);
  font-size: 20px;
}

/* ---- Floating stat pills ---- */
.stat-bubble {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  z-index: 10;
  box-shadow: var(--shadow-2);
  animation: floatUpDown 4.5s ease-in-out infinite;
}
.stat-bubble i { font-size: 18px; color: var(--blue-mid); flex-shrink: 0; }
.stat-num { font-size: 14px; font-weight: 800; color: var(--ink); line-height: 1; }
.stat-label { font-size: 10.5px; color: var(--ink-3); margin-top: 2px; }

.stat-top { top: -8px; right: -4px; animation-delay: 0s; }
.stat-bottom { bottom: 12px; left: -24px; animation-delay: 2.2s; }

@keyframes floatUpDown {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ============================================================
   STEPS SECTION
   ============================================================ */
.steps-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 52px;
}

.steps-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 36px;
  gap: 24px;
  max-width: 1160px;
  align-items: start;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: box-shadow var(--t) var(--ease), transform var(--t) var(--ease), border-color var(--t);
}
.step-card:hover {
  box-shadow: 0 8px 32px rgba(29,78,216,.08);
  border-color: #bfdbfe;
  transform: translateY(-4px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--blue-light);
  color: var(--blue-mid);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.step-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 8px;
}

.step-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.step-title i { font-size: 15px; color: var(--blue-mid); }

.step-desc {
  font-size: 13.5px;
  color: var(--ink-3);
  line-height: 1.72;
}

.step-dots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-self: center;
  justify-self: center;
}
.step-dots span {
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-mid);
  opacity: .3;
}

/* ============================================================
   CHECK MAIL SECTION  — the most important functional area
   ============================================================ */
.check-section {
  padding: 88px 52px;
  background: var(--white);
}

.check-inner {
  max-width: 680px;
}

/* Section header */
.check-header { margin-bottom: 44px; }

.check-header h2 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 10px;
}

.check-header p {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.6;
}

/* Field group */
.check-field-wrap { margin-bottom: 26px; }

.field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 9px;
  letter-spacing: .01em;
}

.field-row { position: relative; }

.field-input {
  width: 100%;
  height: 50px;
  padding: 0 18px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.field-input:focus {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 4px rgba(37,99,235,.10);
}
.field-input::placeholder { color: var(--ink-4); }

/* Captcha row — full redesign */
.captcha-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.captcha-img-wrap {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* The captcha image itself — now larger and styled */
.captcha-img-wrap img {
  display: block;
  height: 50px;
  width: 220px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  cursor: pointer;
  object-fit: cover;
  background: var(--surface);
  transition: border-color var(--t);
}
.captcha-img-wrap img:hover { border-color: var(--blue-mid); }

.captcha-input { flex: 1; }

.field-hint {
  display: block;
  font-size: 11.5px;
  color: var(--ink-4);
  margin-top: 7px;
}

/* Submit */
.btn-check-submit {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--white);
  background: var(--blue-mid);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(37,99,235,.28);
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.btn-check-submit:hover {
  background: var(--blue);
  box-shadow: 0 8px 28px rgba(37,99,235,.38);
  transform: translateY(-2px);
}
.btn-check-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ---- Result card ------------------------------------------ */
.check-result {
  margin-top: 44px;
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(37,99,235,.07);
}

.result-header-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  background: var(--blue-light);
  border-bottom: 1px solid #dbeafe;
}
.result-icon-wrap {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--blue-mid);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.result-header-bar h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.result-header-bar p  { font-size: 12.5px; color: var(--ink-3); }

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px 28px;
  background: var(--white);
}

.result-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 16px;
}
.result-item:nth-last-child(-n+2) { border-bottom: none; }

.result-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.result-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.result-attachments {
  padding: 18px 28px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.attach-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.attach-list { display: flex; flex-wrap: wrap; gap: 10px; }
.no-attach { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-4); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0d1b2a;
  padding-top: 72px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.5fr;
  gap: 52px;
  padding: 0 52px 56px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.footer-logo {
  height: 34px; width: auto;
  margin-bottom: 18px;
  /* force white — works regardless of what the original image looks like */
  opacity: 1;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.8;
  color: #aec6e8;          /* cool light-blue — readable, not glaring */
  max-width: 280px;
}

.footer-col h5 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffffff;           /* pure white for labels */
  margin-bottom: 18px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.footer-col ul li,
.footer-col ul li a {
  font-size: 13.5px;
  color: #9bb8d8;           /* light steel-blue — clear against dark bg */
  line-height: 1.7;
  transition: color var(--t);
}

.footer-col ul li a:hover { color: #ffffff; }

/* Thin separator line above bottom bar */
.footer-bottom {
  padding: 18px 52px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.07);
}

.footer-bottom p {
  font-size: 12px;
  color: #6b8caa;           /* mid tone — clear but visually recessed */
  letter-spacing: .01em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero         { padding: 64px 40px; gap: 48px; }
  .hero-left    { flex: 0 0 400px; max-width: 400px; }
  .steps-inner  { grid-template-columns: 1fr 1fr 1fr; }
  .step-dots    { display: none; }
  .steps-section, .check-section { padding-left: 40px; padding-right: 40px; }
  .footer-inner { padding-left: 40px; padding-right: 40px; }
  .footer-bottom{ padding-left: 40px; padding-right: 40px; }
}

@media (max-width: 960px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 56px 32px 48px;
    min-height: unset;
    gap: 48px;
  }
  .hero::before { display: none; }
  .hero-left    { flex: none; max-width: 100%; }
  .hero-eyebrow::before { display: none; }
  .hero-desc    { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .hero-right   { width: 100%; max-width: 420px; }
  .steps-inner  { grid-template-columns: 1fr; }
  .result-grid  { grid-template-columns: 1fr; }
  .result-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .result-item:last-child { border-bottom: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  :root { --bar-w: 0px; }
  .left-bar     { display: none; }
  .main-area    { margin-left: 0; }
  .topnav-inner { padding: 0 20px; }
  .nav-links, .btn-signin { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero, .steps-section, .check-section { padding-left: 20px; padding-right: 20px; }
  .footer-inner, .footer-bottom { padding-left: 20px; padding-right: 20px; }
  .captcha-row  { flex-direction: column; }
  .captcha-img-wrap img { width: 100%; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 38px; }
  .doc-stack  { width: 260px; }
  .doc        { width: 236px; padding: 18px; }
}

/* ============================================================
   UTILITY
   ============================================================ */
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
