/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #0d1e4a;
  --blue:   #0057ff;
  --blue-bright: #1a6fff;
  --white:  #ffffff;
  --off-white: #f4f6fb;
  --text:   #1a1a2e;
  --muted:  #5a6080;
  --border: rgba(0, 87, 255, 0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.accent { color: var(--blue); }

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

@keyframes driftInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes driftInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(0.97); }
}

@keyframes pulseLarge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.93); }
}

@keyframes sweepBlue {
  0%   { transform: scaleX(0);    opacity: 0;   }
  10%  { transform: scaleX(0.1);  opacity: 0.3; }
  40%  { transform: scaleX(0.6);  opacity: 0.6; }
  70%  { transform: scaleX(0.9);  opacity: 0.2; }
  85%  { transform: scaleX(1);    opacity: 0;   }
  100% { transform: scaleX(1);    opacity: 0;   }
}

@keyframes sweepGreen {
  0%   { transform: scaleX(0);    opacity: 0;   }
  10%  { transform: scaleX(0.1);  opacity: 0.3; }
  40%  { transform: scaleX(0.6);  opacity: 0.6; }
  70%  { transform: scaleX(0.9);  opacity: 0.2; }
  85%  { transform: scaleX(1);    opacity: 0;   }
  100% { transform: scaleX(1);    opacity: 0;   }
}

@keyframes barFadeIn {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 5vw;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 40%, rgba(0, 87, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.hero-pills,
.h1-line1,
.h1-line2,
.hero-sub,
.btn-primary {
  animation: fadeUp 0.7s ease both;
}
.hero-pills  { animation-delay: 0.1s; }
.h1-line1    { animation-delay: 0.25s; display: inline-block; text-transform: uppercase; }
.h1-line2    { animation-delay: 0.45s; display: inline-block; text-transform: uppercase; }
.hero-sub    { animation-delay: 0.6s; }
.btn-primary { animation-delay: 0.75s; }

.hero-graphic     { animation: driftInRight 1s ease 0.2s both; }
.hero-graphic-left { animation: driftInLeft 1s ease 0.4s both; }

.glow-ring    { animation: pulse 6s ease-in-out infinite; }
.glow-ring-sm { animation: pulseLarge 6.5s ease-in-out 0.5s infinite; }

.hero-pills {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0, 87, 255, 0.08);
  border: 1px solid rgba(0, 87, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--blue);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  background: var(--blue-bright);
  transform: translateY(-1px);
}

/* Decorative ring in hero */
.hero-graphic {
  position: absolute;
  right: -10vw;
  top: -4%;
  pointer-events: none;
}

.glow-ring {
  width: clamp(240px, 40vw, 520px);
  height: clamp(240px, 40vw, 520px);
  border-radius: 50%;
  border: 2px solid rgba(0, 87, 255, 0.13);
  box-shadow: 0 0 80px 20px rgba(0, 87, 255, 0.05), inset 0 0 80px 20px rgba(0, 87, 255, 0.05);
}

.hero-graphic-left {
  position: absolute;
  left: -8vw;
  bottom: 15%;
  pointer-events: none;
}

.glow-ring-sm {
  width: clamp(220px, 34vw, 440px);
  height: clamp(220px, 34vw, 440px);
  border-radius: 50%;
  border: 2px solid rgba(0, 180, 120, 0.15);
  box-shadow: 0 0 60px 15px rgba(0, 180, 120, 0.06), inset 0 0 60px 15px rgba(0, 180, 120, 0.06);
}

@media (min-width: 1024px) {
  .glow-ring {
    border-color: rgba(0, 87, 255, 0.28);
    box-shadow: 0 0 80px 20px rgba(0, 87, 255, 0.11), inset 0 0 80px 20px rgba(0, 87, 255, 0.11);
  }
  .glow-ring-sm {
    border-color: rgba(0, 180, 120, 0.30);
    box-shadow: 0 0 60px 15px rgba(0, 180, 120, 0.12), inset 0 0 60px 15px rgba(0, 180, 120, 0.12);
  }
}

/* ── Sections ── */
.section {
  padding: 96px 5vw;
}

.section-dark {
  background: var(--off-white);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
  text-align: center;
  line-height: 1.15;
}

/* ── Steps ── */
.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 0 2rem;
  text-align: center;
}

.step-divider {
  width: 1px;
  height: 120px;
  background: var(--border);
  align-self: center;
  flex-shrink: 0;
}

.step-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0, 87, 255, 0.12);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0, 87, 255, 0.1);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 1rem;
  color: var(--blue);
  margin-right: 0.4rem;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Contact ── */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.owner-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.owner-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 87, 255, 0.2);
}

.owner-name {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
}

.owner-title {
  font-size: 1rem;
  color: var(--blue);
  margin-top: 0.15rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
}

.contact-item:hover {
  border-color: rgba(0, 87, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 87, 255, 0.08);
  transform: translateY(-2px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

/* ── Footer ── */
footer {
  padding: 3rem 5vw;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo {
  width: clamp(180px, 24vw, 280px);
  height: auto;
}

footer p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── Mobile bars (portrait only) ── */
.mobile-bar {
  display: none;
  position: absolute;
  width: 100%;
  height: 8px;
  border-radius: 100px;
  pointer-events: none;
  transform: scaleX(0);
}

.mobile-bar-top  { transform-origin: left center; }
.mobile-bar-bottom { transform-origin: right center; }

.mobile-bar-top {
  top: 12%;
  left: 0;
  background: rgba(0, 87, 255, 0.35);
  animation: sweepBlue 6s linear 0.5s infinite;
}

.mobile-bar-bottom {
  bottom: 12%;
  right: 0;
  background: rgba(0, 180, 120, 0.35);
  animation: sweepGreen 7s linear 1.5s infinite;
}

@media (orientation: portrait) {
  .glow-ring {
    width: clamp(240px, 70vw, 440px);
    height: clamp(240px, 70vw, 440px);
  }
  .glow-ring-sm {
    width: clamp(200px, 55vw, 360px);
    height: clamp(200px, 55vw, 360px);
  }
  .hero-graphic,
  .hero-graphic-left { display: none; }
  .mobile-bar { display: block; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step-divider {
    width: 48px;
    height: 1px;
    margin: 0.5rem 0;
  }

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


  .hero h1 { font-size: 2.4rem; }
}
