/* ===========================
   Re-Imagine Ventures — Global Styles
   =========================== */

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

:root {
  --dark:       #000000;
  --accent:     #0A84FF;
  --accent-hover: #0070e0;
  --light:      #f5f5f7;
  --white:      #ffffff;
  --text:       #111111;
  --text-muted: #6b7280;
  --border:     #e5e7eb;
  --nav-height: 72px;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ===========================
   Utility
   =========================== */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(10, 132, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-outline-dark {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline-dark:hover {
  background: var(--accent);
  color: var(--white);
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

/* ===========================
   Navigation
   =========================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  margin-left: 12px;
  padding: 10px 20px !important;
  font-size: 14px !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--dark);
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 99;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--white); }
.mobile-menu .btn { margin-top: 16px; width: 100%; justify-content: center; }

/* ===========================
   Hero
   =========================== */

.hero {
  background: var(--dark);
  padding: calc(var(--nav-height) + 80px) 0 100px;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #60b4ff, #0A84FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 132, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 132, 255, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ===========================
   Value Props Section
   =========================== */

.value-props {
  padding: 96px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--text);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(10, 132, 255, 0.1);
  border-color: rgba(10, 132, 255, 0.25);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(10, 132, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text);
}

.card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===========================
   Portfolio Strip
   =========================== */

.portfolio-strip {
  background: var(--light);
  padding: 96px 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.company-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.company-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}

.company-logo {
  width: 56px;
  height: 56px;
  background: var(--dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 20px;
}

.company-tag {
  display: inline-block;
  background: rgba(10, 132, 255, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.company-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.company-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.view-all-link {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.2s ease;
}

.view-all-link:hover { gap: 12px; }

/* ===========================
   Stats Bar
   =========================== */

.stats-bar {
  background: var(--dark);
  padding: 64px 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span { color: var(--accent); }

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
}

/* ===========================
   CTA Banner
   =========================== */

.cta-banner {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
}

/* ===========================
   Footer
   =========================== */

footer {
  background: #0a0a0a;
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s ease;
}

.social-link:hover { background: var(--accent); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ===========================
   Page Hero (inner pages)
   =========================== */

.page-hero {
  background: var(--dark);
  padding: calc(var(--nav-height) + 72px) 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(10, 132, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  font-weight: 300;
}

/* ===========================
   About Page
   =========================== */

.mission-section {
  padding: 96px 0;
  background: var(--white);
}

.pull-quote {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  color: var(--text);
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.pull-quote::before {
  content: '"';
  color: var(--accent);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 4px;
}

.pull-quote::after {
  content: '"';
  color: var(--accent);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.3em;
  margin-left: 4px;
}

.story-section {
  padding: 80px 0;
  background: var(--light);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 20px;
}

.two-col p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.story-image {
  background: var(--dark);
  border-radius: 20px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 14px;
  background: linear-gradient(135deg, var(--dark), #1a1a1a);
}

.team-section {
  padding: 96px 0;
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--dark));
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--white);
}

.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-card .role { font-size: 14px; color: var(--accent); font-weight: 500; margin-bottom: 10px; }
.team-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* Accordion */
.thesis-section {
  padding: 80px 0;
  background: var(--light);
}

.accordion { max-width: 720px; margin: 0 auto; }

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
}

.accordion-trigger:hover { color: var(--accent); }

.accordion-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  display: none;
  padding-bottom: 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.accordion-item.open .accordion-body { display: block; }

/* ===========================
   Portfolio Page
   =========================== */

.filter-bar {
  padding: 40px 0 0;
  background: var(--light);
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-muted);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.portfolio-full {
  background: var(--light);
  padding: 48px 0 96px;
}

.portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* ===========================
   Contact Page
   =========================== */

.contact-section {
  padding: 80px 0 100px;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.12);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group select { cursor: pointer; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(10, 132, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-detail a {
  color: var(--accent);
  font-weight: 500;
  transition: opacity 0.2s;
}

.contact-detail a:hover { opacity: 0.75; }

/* ===========================
   Responsive
   =========================== */

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .story-image { display: none; }

  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-bottom: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
