/* ============================================
   RP7 — MAIN STYLESHEET
   Aesthetic: Clean Tech / Corporate Light
   Fonts: Plus Jakarta Sans
   Accent: Electric Blue #2563EB
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300&display=swap');

:root {
  --white:   #ffffff;
  --bg:      #f8faff;
  --bg2:     #f1f5fd;
  --surface: #ffffff;
  --border:  #e2e8f4;
  --border2: #c7d4ef;

  --text:        #0f172a;
  --text-mid:    #334155;
  --text-muted:  #64748b;
  --text-faint:  #94a3b8;

  --blue:        #2563eb;
  --blue-light:  #3b82f6;
  --blue-pale:   #eff6ff;
  --blue-pale2:  #dbeafe;
  --blue-dark:   #1d4ed8;

  --green:  #16a34a;
  --red:    #dc2626;
  --amber:  #d97706;

  --radius:   8px;
  --radius2:  14px;
  --radius3:  24px;
  --shadow-sm: 0 1px 4px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow:    0 4px 16px rgba(15,23,42,.08), 0 1px 4px rgba(15,23,42,.05);
  --shadow-lg: 0 16px 48px rgba(15,23,42,.12), 0 4px 16px rgba(15,23,42,.06);
  --shadow-blue: 0 8px 32px rgba(37,99,235,.25);

  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ─── CONTAINER ─────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ─── HEADER ─────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.5px;
}
.logo span { color: var(--blue); }
.logo-badge {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 5px;
  margin-left: 8px;
  vertical-align: middle;
  position: relative; top: -2px;
  white-space: nowrap;
  border: 1px solid var(--blue-pale2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: all .2s var(--ease);
}
.site-nav a:hover { background: var(--bg2); color: var(--text); }
.site-nav .nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(37,99,235,.3);
  margin-left: 8px;
  transition: all .2s var(--ease);
}
.site-nav .nav-cta:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(37,99,235,.4);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 10px;
  cursor: pointer;
  width: 38px; height: 38px;
}
.burger span {
  display: block;
  width: 16px; height: 2px;
  background: var(--text-mid);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
  transform-origin: center;
  flex-shrink: 0;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .header-inner { padding: 0 20px; }
  .site-nav {
    display: none; position: fixed;
    top: 66px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 2px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .site-nav .nav-cta { text-align: center; margin-left: 0; margin-top: 6px; }
  .burger { display: flex; }
}

/* ─── HERO ───────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 66px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 900px 700px at 75% 35%, rgba(37,99,235,.07) 0%, transparent 65%),
    radial-gradient(ellipse 600px 500px at 15% 85%, rgba(99,102,241,.05) 0%, transparent 55%),
    var(--bg);
}
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(148,163,184,.5) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: .45;
}
/* Animated blobs */
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,.1), transparent 70%);
  right: -80px; top: -60px;
  animation: blobFloat 9s ease-in-out infinite;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(99,102,241,.09), transparent 70%);
  right: 180px; bottom: -60px;
  animation: blobFloat 11s ease-in-out infinite reverse;
}
.hero-blob-3 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(14,165,233,.07), transparent 70%);
  left: -40px; top: 45%;
  animation: blobFloat 7s ease-in-out infinite;
  animation-delay: -4s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-20px, -25px) scale(1.03); }
  66% { transform: translate(15px, 20px) scale(.97); }
}

.hero-content {
  position: relative; z-index: 1;
  width: 100%; max-width: 1160px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-pale);
  border: 1px solid var(--blue-pale2);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 26px;
  opacity: 0;
  animation: slideUp .7s .1s var(--ease) forwards;
}
.hero-tag-dot {
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
  0%,100% { opacity:1; transform: scale(1); }
  50% { opacity:.4; transform: scale(.6); }
}

.hero-title {
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 22px;
  opacity: 0;
  animation: slideUp .7s .2s var(--ease) forwards;
}
.hero-title .hl {
  color: var(--blue);
  position: relative;
  white-space: nowrap;
}
.hero-title .hl::after {
  content: '';
  position: absolute;
  left: 0; bottom: 3px;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--blue), #6366f1);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineIn .6s .9s var(--ease) forwards;
}
@keyframes underlineIn { to { transform: scaleX(1); } }

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
  opacity: 0;
  animation: slideUp .7s .35s var(--ease) forwards;
}

.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  opacity: 0;
  animation: slideUp .7s .5s var(--ease) forwards;
}
.btn-primary-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--blue); color: #fff;
  border-radius: var(--radius2);
  font-size: 15px; font-weight: 700;
  box-shadow: var(--shadow-blue);
  border: none; cursor: pointer;
  transition: all .25s var(--ease);
}
.btn-primary-hero:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(37,99,235,.38);
}
.btn-secondary-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: var(--white); color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius2);
  font-size: 15px; font-weight: 600;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.btn-secondary-hero:hover {
  border-color: var(--blue-light);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero-stats {
  display: flex; gap: 32px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: slideUp .7s .65s var(--ease) forwards;
}
.hero-stat-num {
  display: block;
  font-size: 26px; font-weight: 800;
  color: var(--text); letter-spacing: -.02em;
  line-height: 1; margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 12px; font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .06em;
}

/* Hero login card */
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  animation: slideLeft .8s .3s var(--ease) forwards;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), #6366f1, #0ea5e9);
}
.card-title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.card-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 28px; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1000px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; padding: 48px 20px 64px; }
  .hero-blob-1,.hero-blob-2,.hero-blob-3 { display: none; }
  .hero-card { max-width: 480px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .hero-ctas { flex-direction: column; }
  .btn-primary-hero,.btn-secondary-hero { justify-content: center; }
}

/* ─── FORM COMPONENTS ────────────────────────── */
.form-error {
  background: #fef2f2; border: 1px solid #fecaca;
  border-radius: var(--radius); padding: 10px 14px;
  font-size: 13px; color: var(--red); margin-bottom: 16px;
}
.field-group {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 14px;
}
.field-group label {
  font-size: 13px; font-weight: 600; color: var(--text-mid);
}
.field-group input {
  height: 46px; padding: 0 14px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font); font-size: 15px; color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field-group input:focus {
  border-color: var(--blue); background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.field-group input::placeholder { color: var(--text-faint); }
.btn-submit {
  width: 100%; height: 48px;
  background: var(--blue); color: #fff;
  border: none; border-radius: var(--radius);
  font-family: var(--font); font-size: 15px; font-weight: 700;
  cursor: pointer; margin-top: 6px;
  transition: all .25s var(--ease);
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-submit:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(37,99,235,.4);
}
.btn-submit:active { transform: scale(.98); }
.login-contact {
  margin-top: 16px; text-align: center;
  font-size: 13px; color: var(--text-muted);
}
.login-contact a { color: var(--blue); font-weight: 500; }

/* ─── SCROLL REVEAL ──────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ─── SECTION COMMON ─────────────────────────── */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--blue); margin-bottom: 14px;
}
.section-eyebrow::before {
  content: ''; width: 20px; height: 2px;
  background: var(--blue); border-radius: 1px;
}
.section-heading {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.15;
  color: var(--text); margin-bottom: 14px;
}
.section-lead {
  font-size: 16px; color: var(--text-muted);
  line-height: 1.75; max-width: 540px;
}

/* ─── ABOUT ──────────────────────────────────── */
.about {
  padding: 120px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-visual-inner {
  background: linear-gradient(135deg, var(--blue-pale) 0%, #f0f9ff 100%);
  border-radius: 20px; padding: 32px;
  border: 1px solid var(--blue-pale2);
  position: relative; overflow: hidden;
}
.about-visual-inner::after {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(37,99,235,.15), transparent 70%);
  border-radius: 50%;
}
.about-metric {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius2);
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
  transition: box-shadow .2s, transform .2s;
}
.about-metric:last-child { margin-bottom: 0; }
.about-metric:hover { box-shadow: var(--shadow); transform: translateX(5px); }
.am-icon {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.am-blue   { background: var(--blue-pale); }
.am-green  { background: #f0fdf4; }
.am-amber  { background: #fffbeb; }
.am-violet { background: #f5f3ff; }
.am-num { font-size: 20px; font-weight: 800; color: var(--text); line-height: 1; }
.am-lbl { font-size: 12px; font-weight: 500; color: var(--text-muted); margin-top: 2px; }

.about-text p {
  color: var(--text-muted); margin-bottom: 16px;
  font-size: 15px; line-height: 1.8;
}
.about-perks { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.about-perk {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--text-mid);
}
.perk-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); flex-shrink: 0;
}

@media (max-width: 900px) {
  .about { padding: 80px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ─── SERVICES ───────────────────────────────── */
.services {
  padding: 120px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.services-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 52px; gap: 24px; flex-wrap: wrap;
}
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius2); padding: 34px 30px;
  transition: all .28s var(--ease);
  position: relative; overflow: hidden; cursor: default;
}
.service-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), #6366f1);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.service-card:hover {
  border-color: var(--blue-pale2);
  box-shadow: 0 12px 40px rgba(37,99,235,.1);
  transform: translateY(-5px);
}
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--blue-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
  transition: transform .25s var(--ease-spring);
}
.service-card:hover .service-icon { transform: scale(1.12) rotate(-5deg); }
.service-num {
  position: absolute; top: 26px; right: 26px;
  font-size: 13px; font-weight: 700; color: var(--text-faint);
}
.service-card h3 {
  font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 8px;
}
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

@media (max-width: 768px) {
  .services { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr; }
}

/* ─── CTA BAND ───────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #6366f1 100%);
  padding: 80px 0; position: relative; overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 30px 30px;
}
/* Animated circles */
.cta-circle {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  animation: expandCircle 8s ease-in-out infinite;
}
.cta-circle:nth-child(1) { width: 300px; height: 300px; right: -80px; top: -80px; animation-delay: 0s; }
.cta-circle:nth-child(2) { width: 500px; height: 500px; right: -200px; top: -180px; animation-delay: -2s; }
.cta-circle:nth-child(3) { width: 200px; height: 200px; left: -60px; bottom: -60px; animation-delay: -4s; }
@keyframes expandCircle {
  0%,100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.08); opacity: 1; }
}

.cta-inner {
  position: relative;
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-inner h2 {
  font-size: 28px; font-weight: 800; color: #fff;
  letter-spacing: -.02em; margin-bottom: 8px;
}
.cta-inner p { font-size: 15px; color: rgba(255,255,255,.75); }
.btn-cta-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: #fff; color: var(--blue);
  border-radius: var(--radius2);
  font-size: 15px; font-weight: 700;
  white-space: nowrap; flex-shrink: 0;
  transition: all .25s var(--ease);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

@media (max-width: 768px) {
  .cta-band { padding: 60px 0; }
  .cta-inner { flex-direction: column; text-align: center; }
}

/* ─── FOOTER ─────────────────────────────────── */
.site-footer {
  background: #0f172a;
  padding: 60px 0 36px;
}
.footer-top {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 60px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}
.footer-brand .logo { color: #fff; display: block; margin-bottom: 12px; }
.footer-brand .logo span { color: #60a5fa; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.7; }
.footer-links { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.35); margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 14px;
  color: rgba(255,255,255,.55); margin-bottom: 8px;
  transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: rgba(255,255,255,.35);
}
.footer-bottom a { color: #60a5fa; }

@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-links { gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
