/* ===== REBEKKO — Professional Light Theme v2 ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg: #FAFBFC;
  --bg-white: #FFFFFF;
  --bg-alt: #F3F5F8;
  --text-dark: #0F172A;
  --text-body: #3B4963;
  --text-muted: #8896AB;
  --primary: #0F4C81;
  --primary-dark: #0A3A66;
  --accent: #0EA5E9;
  --accent-soft: rgba(14,165,233,0.08);
  --border: #E2E8F0;
  --border-hover: #0EA5E9;
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.03);
  --shadow-md: 0 4px 16px rgba(15,23,42,0.05);
  --shadow-lg: 0 8px 32px rgba(15,23,42,0.07);
  --shadow-xl: 0 16px 48px rgba(15,23,42,0.09);
  --radius: 10px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Outfit', sans-serif; color: var(--text-dark); line-height: 1.25; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: all 0.35s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.navbar-brand { font-family: 'Outfit'; font-size: 1.5rem; font-weight: 900; color: var(--primary); letter-spacing: -0.5px; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-body);
  transition: color 0.25s; position: relative;
}
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  padding: 10px 26px; background: var(--primary); color: #fff !important;
  border-radius: 8px; font-weight: 600; font-size: 0.85rem;
  transition: all 0.3s ease;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.mobile-menu-btn span { width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  padding: 160px 0 80px;
  position: relative;
  background: linear-gradient(180deg, #EEF4FA 0%, var(--bg) 100%);
}
.hero .container { text-align: center; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; background: var(--accent-soft);
  border: 1px solid rgba(14,165,233,0.15);
  border-radius: 6px; font-size: 0.78rem; font-weight: 600;
  color: var(--primary); text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 24px;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }

.hero h1 {
  font-size: 2.6rem; font-weight: 800; letter-spacing: -1.2px;
  max-width: 780px; margin: 0 auto 20px; white-space: nowrap;
}
.hero h1 .highlight { color: var(--accent); }

.hero-sub {
  font-size: 1.08rem; color: var(--text-body); max-width: 560px;
  margin: 0 auto 36px; line-height: 1.75;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  padding: 13px 30px; background: var(--primary); color: #fff;
  border-radius: 8px; font-weight: 600; font-size: 0.92rem; border: none; cursor: pointer;
  transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,76,129,0.25); }
.btn-outline {
  padding: 13px 30px; background: transparent; color: var(--primary);
  border-radius: 8px; font-weight: 600; font-size: 0.92rem;
  border: 1.5px solid var(--primary); cursor: pointer;
  transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.hero-metrics {
  display: flex; justify-content: center; gap: 64px;
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid var(--border);
}
.metric h3 { font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.metric p { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-tag {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--accent); margin-bottom: 12px;
  display: block;
}
.section-head h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.6px; margin-bottom: 14px; white-space: nowrap; }
.section-head p { font-size: 1rem; color: var(--text-body); line-height: 1.7; }

/* ===== SERVICES — 4-column grid ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.s-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: all 0.35s ease; position: relative;
}
.s-card::after {
  content: ''; position: absolute; bottom: 0; left: 24px; right: 24px;
  height: 2px; background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transition: transform 0.35s ease;
}
.s-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: transparent; }
.s-card:hover::after { transform: scaleX(1); }

.s-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-soft); display: flex; align-items: center;
  justify-content: center; font-size: 1.2rem; margin-bottom: 16px;
  color: var(--primary);
}
.s-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; white-space: nowrap; }
.s-card .desc {
  font-size: 0.84rem; color: var(--text-body); line-height: 1.65; margin-bottom: 16px;
}
.s-card ul.desc { list-style: none; padding: 0; margin: 0 0 16px; }
.s-card ul.desc li { position: relative; padding-left: 18px; margin-bottom: 7px; }
.s-card ul.desc li:last-child { margin-bottom: 0; }
.s-card ul.desc li::before {
  content: "▸"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 700;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  padding: 3px 10px; background: var(--bg-alt); border-radius: 4px;
  font-size: 0.7rem; font-weight: 500; color: var(--text-muted);
  transition: all 0.2s;
}
.tag:hover { color: var(--primary); background: var(--accent-soft); }

/* ===== PROCESS ===== */
.process-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  position: relative;
}
.process-row::before {
  content: ''; position: absolute; top: 24px; left: 12%; right: 12%;
  height: 1px; background: var(--border);
}
.p-step { text-align: center; position: relative; z-index: 1; }
.p-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit'; font-size: 1.1rem; font-weight: 700;
  margin: 0 auto 16px;
}
.p-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.p-step p { font-size: 0.84rem; color: var(--text-body); line-height: 1.6; }

/* ===== TECH BADGES ===== */
.tech-wrap {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 960px; margin: 0 auto;
}
.t-badge {
  padding: 10px 20px; background: var(--bg-white); border: 1px solid var(--border);
  border-radius: 6px; font-size: 0.84rem; font-weight: 500; color: var(--text-body);
  transition: all 0.25s; cursor: default;
}
.t-badge:hover { border-color: var(--accent); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ===== WHY US ===== */
.why-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.w-card {
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; text-align: center;
  transition: all 0.3s;
}
.w-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.w-icon { font-size: 1.6rem; margin-bottom: 14px; display: block; }
.w-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.w-card p { font-size: 0.88rem; color: var(--text-body); line-height: 1.7; }

/* ===== TEAM ===== */
.team-section { padding: 96px 0; background: var(--bg); }
.team-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.team-content { max-width: 520px; }
.team-content .section-tag { text-align: left; display: block; }
.team-content h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.6px; margin-bottom: 16px; }
.team-content .lead { font-size: 1.05rem; color: var(--text-body); line-height: 1.8; margin-bottom: 20px; }
.team-content .body-text { font-size: 0.92rem; color: var(--text-body); line-height: 1.75; margin-bottom: 16px; }
.team-highlights {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px;
}
.team-hl {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  transition: all 0.3s;
}
.team-hl:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-hl h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 6px; color: var(--text-dark); }
.team-hl p { font-size: 0.82rem; color: var(--text-body); line-height: 1.6; }
.team-visual {
  background: linear-gradient(135deg, #EEF4FA 0%, #E0EDFB 100%);
  border-radius: var(--radius-lg); padding: 48px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; min-height: 400px; border: 1px solid var(--border);
}
.team-visual .big-stat { font-family: 'Outfit'; font-size: 3.5rem; font-weight: 900; color: var(--primary); margin-bottom: 8px; }
.team-visual .stat-label { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; margin-bottom: 32px; }
.team-visual .cred-list { list-style: none; text-align: left; }
.team-visual .cred-list li {
  font-size: 0.88rem; color: var(--text-body); padding: 8px 0;
  border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px;
}
.team-visual .cred-list li:last-child { border-bottom: none; }
.cred-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
@media (max-width:768px) {
  .team-inner { grid-template-columns: 1fr; }
  .team-highlights { grid-template-columns: 1fr; }
}

/* ===== TRADING ===== */
.trading {
  background: var(--text-dark); color: #fff; padding: 72px 0;
}
.trading .section-head h2 { color: #fff; }
.trading .section-head p { color: rgba(255,255,255,0.55); }
.trading .section-tag { color: var(--accent); }

.trade-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tr-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 28px; transition: all 0.3s;
}
.tr-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-3px); border-color: rgba(14,165,233,0.3); }
.tr-icon { font-size: 1.4rem; margin-bottom: 14px; display: block; }
.tr-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: #fff; }
.tr-card p { font-size: 0.84rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* ===== CTA ===== */
.cta { padding: 96px 0; text-align: center; }
.cta-inner {
  background: linear-gradient(135deg, #EEF4FA, #E8F4FD);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 56px 40px;
  max-width: 720px; margin: 0 auto;
}
.cta-inner h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 14px; }
.cta-inner p { font-size: 1rem; color: var(--text-body); margin-bottom: 28px; max-width: 440px; margin-left: auto; margin-right: auto; }
.contact-form { max-width: 520px; margin: 0 auto; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 0.88rem;
  color: var(--text-dark); background: #fff; outline: none;
  transition: border-color 0.25s;
}
.contact-form input { margin-bottom: 12px; }
.contact-form textarea { margin-bottom: 20px; resize: vertical; min-height: 100px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary); }
.contact-form .btn-primary { width: 100%; justify-content: center; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 40px 0 20px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 28px; }
.f-brand { font-family: 'Outfit'; font-size: 1.3rem; font-weight: 900; color: var(--primary); }
.f-brand + p { font-size: 0.84rem; color: var(--text-muted); margin-top: 6px; max-width: 260px; }
.f-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 14px; color: var(--text-dark); }
.f-col ul { list-style: none; }
.f-col li { margin-bottom: 7px; }
.f-col a { font-size: 0.84rem; color: var(--text-body); transition: color 0.2s; }
.f-col a:hover { color: var(--primary); }
.f-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; font-size: 0.78rem; color: var(--text-muted); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
.reveal { opacity:0; transform:translateY(28px); transition: all 0.6s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width:1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .s-card h3 { white-space: normal; }
}
@media (max-width:768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero { padding: 130px 0 60px; }
  .hero h1 { font-size: 2rem; }
  .hero-metrics { flex-direction: column; gap: 20px; }
  .services-grid, .process-row, .why-row, .trade-row { grid-template-columns: 1fr; }
  .process-row::before { display: none; }
  .footer-inner { flex-direction: column; }
  .section { padding: 64px 0; }
  .cta-inner { padding: 36px 20px; }
}
