/* ============================================
   REASY — Global Design System
   ============================================ */

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

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

:root {
  --navy:       #0A0F1E;
  --navy-2:     #111827;
  --navy-3:     #1a2236;
  --navy-4:     #222d42;
  --blue:       #2D6EF5;
  --blue-light: #5B8FFF;
  --blue-faint: rgba(45,110,245,0.10);
  --gold:       #F5C842;
  --white:      #F7F8FC;
  --slate:      #8892A4;
  --slate-2:    #C4CBDA;
  --green:      #22C55E;
  --red:        #EF4444;
  --border:     rgba(255,255,255,0.08);
  --border-2:   rgba(255,255,255,0.13);
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 32px rgba(0,0,0,0.35);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── TYPOGRAPHY ── */
.display { font-family: 'Plus Jakarta Sans', sans-serif; }

h1,h2,h3,h4,h5 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }

h1 { font-size: clamp(38px, 5.5vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 18px; }

p { line-height: 1.72; }

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px; display: block;
}

.gradient-text {
  background: linear-gradient(135deg, #2D6EF5 0%, #7EB3FF 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 700;
  transition: all 0.2s ease; cursor: pointer;
  white-space: nowrap; font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 0 32px rgba(45,110,245,0.30);
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); box-shadow: 0 0 48px rgba(45,110,245,0.45); }

.btn-outline {
  border: 1px solid var(--border-2); color: var(--white);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue-light); }

.btn-ghost {
  color: var(--slate-2); padding: 13px 0;
}
.btn-ghost:hover { color: var(--white); }
.btn-ghost svg { transition: transform 0.2s; }
.btn-ghost:hover svg { transform: translateX(4px); }

.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13px; border-radius: 8px; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 64px;
  background: rgba(10,15,30,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: padding 0.3s;
}
.nav.scrolled { padding: 13px 64px; }

.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px; font-weight: 800; letter-spacing: -0.5px;
}
.nav-logo span { color: var(--blue); }

.nav-links {
  display: flex; align-items: center; gap: 36px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--slate-2);
  transition: color 0.2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 2px; background: var(--blue); border-radius: 2px;
}

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: 14px; font-weight: 500; color: var(--slate-2); transition: color 0.2s; }
.nav-login:hover { color: var(--white); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy); z-index: 300; flex-direction: column;
  padding: 80px 32px 40px; gap: 8px;
  transform: translateX(100%); transition: transform 0.3s ease;
}
.mobile-nav.open { transform: translateX(0); display: flex; }
.mobile-nav a { font-size: 22px; font-weight: 700; color: var(--slate-2); padding: 14px 0; border-bottom: 1px solid var(--border); transition: color 0.2s; }
.mobile-nav a:hover { color: var(--white); }
.mobile-nav-close { position: absolute; top: 20px; right: 24px; font-size: 28px; color: var(--slate); background: none; border: none; cursor: pointer; }
.mobile-nav-cta { margin-top: 20px; }

/* ── FOOTER ── */
.footer {
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  padding: 72px 64px 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}
.footer-brand p { font-size: 14px; color: var(--slate); line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-col h5 { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--slate); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--slate-2); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px; border-top: 1px solid var(--border);
  flex-wrap: wrap; gap: 16px;
}
.footer-copy { font-size: 13px; color: var(--slate); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--slate); transition: all 0.2s; font-size: 14px; }
.footer-social a:hover { border-color: var(--blue); color: var(--blue-light); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 160px 64px 80px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(45,110,245,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero h1 { max-width: 800px; margin: 16px auto 20px; }
.page-hero p { font-size: 18px; color: var(--slate-2); max-width: 540px; margin: 0 auto; }

/* ── SECTION WRAPPERS ── */
.section { padding: 96px 64px; max-width: 1240px; margin: 0 auto; }
.section-full { padding: 96px 64px; }
.section-full-inner { max-width: 1240px; margin: 0 auto; }

.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 17px; color: var(--slate-2); max-width: 520px; line-height: 1.7; }

/* ── CARDS ── */
.card {
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s, background 0.2s;
}
.card:hover { border-color: var(--border-2); background: var(--navy-3); }

/* ── BADGES / PILLS ── */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 600;
}
.badge-blue { background: rgba(45,110,245,0.12); border: 1px solid rgba(45,110,245,0.25); color: var(--blue-light); }
.badge-green { background: rgba(34,197,94,0.12); border: 1px solid rgba(34,197,94,0.25); color: var(--green); }
.badge-gold { background: rgba(245,200,66,0.12); border: 1px solid rgba(245,200,66,0.25); color: var(--gold); }

.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--border); margin: 0 64px; }

/* ── FORM ELEMENTS ── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--slate-2); }
.form-input, .form-select, .form-textarea {
  background: var(--navy-3); border: 1px solid var(--border-2);
  border-radius: 10px; padding: 13px 16px;
  font-size: 14px; color: var(--white);
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45,110,245,0.15);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--slate); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; }

/* ── ACCORDION ── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0; background: none; border: none; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--white); font-family: 'Inter', sans-serif;
  text-align: left;
}
.accordion-btn:hover { color: var(--blue-light); }
.accordion-icon { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border-2); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--slate); flex-shrink: 0; transition: all 0.3s; }
.accordion-item.open .accordion-icon { border-color: var(--blue); color: var(--blue-light); transform: rotate(45deg); }
.accordion-body { font-size: 15px; color: var(--slate-2); line-height: 1.72; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s; }
.accordion-body.open { max-height: 500px; padding-bottom: 22px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .nav { padding: 16px 32px; }
  .nav.scrolled { padding: 12px 32px; }
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .hamburger { display: flex; }
  .footer { padding: 56px 32px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 72px 32px; }
  .section-full { padding: 72px 32px; }
  .page-hero { padding: 140px 32px 64px; }
  .divider { margin: 0 32px; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 20px; }
  .section-full { padding: 56px 20px; }
  .page-hero { padding: 130px 20px 56px; }
  .footer { padding: 48px 20px 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .divider { margin: 0 20px; }
}
