/* ============================================================
   AZAU — Hero page styles
   ============================================================ */

:root {
  --bg-1: #F3EBD9;
  --bg-2: #EDE2C8;
  --blue: #1457A6;
  --blue-dark: #0E4382;
  --blue-deep: #0A2E5C;
  --blue-light: #5B8FD1;
  --cream: #F3EBD9;
  --shadow-sm: 0 4px 12px rgba(20, 87, 166, 0.12);
  --shadow-md: 0 8px 24px rgba(20, 87, 166, 0.18);
  --shadow-lg: 0 16px 40px rgba(20, 87, 166, 0.25);
  --shadow-cta: 0 12px 32px rgba(14, 67, 130, 0.4);
}

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

html, body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%);
  color: var(--blue);
  min-height: 100vh;
  overflow-x: hidden;
  -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%; height: auto; }

/* ============================================================
   HERO container
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 0 80px;
  overflow: hidden;
}

/* Background grid + diagonal lines */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(20,87,166,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20,87,166,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-line {
  position: absolute;
  background: rgba(20, 87, 166, 0.12);
  height: 1px;
  width: 200%;
  pointer-events: none;
  z-index: 0;
}
.bg-line-1 {
  top: 60%;
  left: -50%;
  transform: rotate(-30deg);
  opacity: 0.5;
}
.bg-line-2 {
  top: 30%;
  left: -50%;
  transform: rotate(-30deg);
  opacity: 0.3;
}

/* Phone glow & rings */
.phone-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(20,87,166,0.55) 0%, rgba(20,87,166,0.15) 50%, transparent 80%);
}
.phone-glow-outer {
  width: 900px;
  height: 900px;
  right: -100px;
  top: 90px;
  opacity: 0.55;
}
.phone-glow-inner {
  width: 600px;
  height: 600px;
  right: 50px;
  top: 240px;
  opacity: 0.35;
}

.phone-ring {
  position: absolute;
  border: 1.5px solid rgba(20, 87, 166, 0.28);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.ring-1 { width: 820px; height: 820px; right: -50px; top: 130px; }
.ring-2 { width: 690px; height: 690px; right: 15px; top: 195px; opacity: 0.7; border-color: rgba(20, 87, 166, 0.2); }
.ring-3 { width: 560px; height: 560px; right: 80px; top: 260px; opacity: 0.55; border-color: rgba(20, 87, 166, 0.15); }

/* Floating accent dots */
.dot {
  position: absolute;
  background: var(--blue);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: pulse 3s ease-in-out infinite;
}
.dot-1 { width: 8px; height: 8px; top: 280px; right: 880px; opacity: 0.55; }
.dot-2 { width: 6px; height: 6px; top: 360px; right: 280px; opacity: 0.45; animation-duration: 4s; }
.dot-3 { width: 10px; height: 10px; top: 720px; right: 240px; opacity: 0.7; animation-duration: 2.5s; }
.dot-4 { width: 6px; height: 6px; top: 800px; right: 870px; opacity: 0.5; animation-duration: 3.5s; }

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.15); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.navbar {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 20px;
}

.logo img {
  width: 220px;
  height: 220px;
  object-fit: contain;
}

.nav-right {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-top: 65px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 26px;
  background: var(--cream);
  color: var(--blue);
  border: 1.5px solid rgba(20, 87, 166, 0.45);
  border-radius: 27px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.4px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-pill:hover {
  border-color: var(--blue);
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-pill svg { flex-shrink: 0; }

.messenger-list {
  display: flex;
  gap: 28px;
}

.msg-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease;
}
.msg-icon:hover {
  transform: translateY(-2px);
}
.msg-icon svg {
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease;
}
.msg-icon:hover svg {
  box-shadow: var(--shadow-md);
}
.msg-bg {
  fill: rgba(20, 87, 166, 0.08);
  stroke: rgba(20, 87, 166, 0.55);
  stroke-width: 1.5;
}
.msg-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.3px;
}

/* ============================================================
   HERO CONTENT GRID
   ============================================================ */

.hero-content {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  margin-top: 10px;
  align-items: start;
}

.hero-left {
  padding-left: 50px;
  padding-top: 10px;
}

/* Headline */
.headline {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.18;
  color: var(--blue);
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.headline-accent {
  color: var(--blue-deep);
  font-weight: 800;
}

.subhead {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--blue);
  opacity: 0.9;
  margin-top: 22px;
}

/* Features */
.features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 22px;
}
.feature-icon-bg {
  fill: rgba(20, 87, 166, 0.08);
  stroke: rgba(20, 87, 166, 0.4);
  stroke-width: 1;
}
.feature-text h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
}
.feature-text p {
  font-size: 16px;
  color: rgba(20, 87, 166, 0.75);
  margin-top: 4px;
}

/* CTA + Counter row */
.cta-row {
  display: flex;
  gap: 24px;
  margin-top: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 70px;
  padding: 0 36px;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--cream);
  border-radius: 14px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-cta);
  transition: all 0.25s ease;
  min-width: 340px;
  justify-content: space-between;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(14, 67, 130, 0.5);
  background: linear-gradient(180deg, #1d6ac6 0%, var(--blue) 100%);
}
.btn-primary svg { flex-shrink: 0; }

.counter-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 30px;
  row-gap: 6px;
  align-items: center;
  height: 70px;
  padding: 12px 22px;
  background: var(--cream);
  border: 1.2px solid rgba(20, 87, 166, 0.35);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  min-width: 340px;
}
.counter-label {
  grid-column: 1; grid-row: 1;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: rgba(20, 87, 166, 0.7);
}
.counter-main {
  grid-column: 1; grid-row: 2;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.counter-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
}
.counter-total {
  font-size: 16px;
  font-weight: 500;
  color: rgba(20, 87, 166, 0.55);
}
.counter-progress {
  grid-column: 2; grid-row: 1;
  height: 7px;
  background: rgba(20, 87, 166, 0.15);
  border-radius: 4px;
  overflow: hidden;
  align-self: center;
  margin-top: 12px;
}
.counter-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 4px;
  animation: fill-bar 1.5s ease-out 0.5s forwards;
}
@keyframes fill-bar {
  to { width: 46%; }
}
.counter-caption {
  grid-column: 2; grid-row: 2;
  font-size: 13px;
  color: rgba(20, 87, 166, 0.6);
}

/* Connect (messenger) section */
.connect-section {
  margin-top: 28px;
}
.connect-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--blue);
  text-transform: uppercase;
}
.connect-list {
  display: flex;
  gap: 32px;
  margin-top: 18px;
}
.connect-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease;
}
.connect-icon:hover {
  transform: translateY(-3px);
}
.connect-icon-box {
  display: flex;
  width: 68px;
  height: 68px;
  background: rgba(20, 87, 166, 0.08);
  border: 1.2px solid rgba(20, 87, 166, 0.5);
  border-radius: 18px;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.connect-icon:hover .connect-icon-box {
  background: rgba(20, 87, 166, 0.14);
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}
.connect-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.5px;
}

/* Right column: phone */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 30px;
}
.phone-mockup {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 24px 40px rgba(20, 87, 166, 0.3));
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1400px) {
  .hero { padding: 0 50px; }
  .hero-left { padding-left: 40px; }
  .nav-right { gap: 16px; }
  .messenger-list { gap: 18px; }
  .btn-primary { min-width: 320px; padding: 0 28px; }
  .counter-card { min-width: 320px; }
}

@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-left { padding-left: 0; padding-top: 0; }
  .hero-right { order: -1; }
  .phone-mockup { max-width: 320px; }
  
  .navbar { flex-direction: column; align-items: center; gap: 24px; }
  .nav-right { padding-top: 0; flex-wrap: wrap; justify-content: center; }
  .logo img { width: 160px; height: 160px; }
  
  .phone-glow-outer, .phone-glow-inner,
  .ring-1, .ring-2, .ring-3 { display: none; }
  .dot { display: none; }
}

@media (max-width: 720px) {
  .hero { padding: 0 20px; }
  .headline { font-size: 32px; }
  .subhead { font-size: 18px; margin-top: 20px; }
  .features { margin-top: 28px; gap: 20px; }
  .feature-text h3 { font-size: 17px; }
  .feature-text p { font-size: 14px; }
  
  .cta-row { gap: 16px; }
  .btn-primary {
    width: 100%;
    min-width: 0;
    font-size: 18px;
    height: 64px;
    padding: 0 24px;
  }
  .counter-card { width: 100%; min-width: 0; }
  
  .connect-list { gap: 14px; flex-wrap: wrap; justify-content: center; }
  .connect-title { font-size: 14px; letter-spacing: 1.5px; }
  
  .messenger-list { gap: 12px; }
  .nav-right { gap: 12px; }
  .btn-pill { font-size: 14px; padding: 0 18px; height: 46px; }
}
