﻿/* ===========================================
   Prosperty — main.css
   Theme: dark | Accent: #2563eb
   =========================================== */

/* --- Variables --- */
:root {
  --bg: #060812;
  --surface: #0d1020;
  --surface2: #141828;
  --text: #e8eaf0;
  --text-muted: #8892a4;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --border: rgba(255,255,255,0.08);
  --radius: 12px;
  --gap: 3em;
  --sidebar-w: 0px;
  --funding-bar-h: 0px;
  --nav-height: 4.5em;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg) !important;
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px !important;
  line-height: 1.9;
  margin: 0;
  padding: 0;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; }
.img-wrap { overflow: hidden; width: 100%; }
.img-wrap img { width: 100%; object-fit: cover; }

/* --- Typography --- */
h1 { font-size: 3.6rem; font-weight: 700; line-height: 1.1; color: #ffffff; margin: 0 0 0.6em; }
h2 { font-size: 2.5rem; font-weight: 700; line-height: 1.3; color: #ffffff; margin: 0 0 0.5em; }
h3 { font-size: 1.6rem; font-weight: 600; line-height: 1.4; color: #ffffff; margin: 0 0 0.4em; }
h4 { font-size: 1.1rem; font-weight: 600; line-height: 1.5; color: var(--text); margin: 0 0 0.4em; }
p  { font-size: 1.1rem; line-height: 1.9; margin: 0 0 1em; }
li { font-size: 1.1rem; line-height: 1.9; }

/* --- Layout --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2em; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 2em; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3em; align-items: center; }
section { padding: 5em 2em; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3.5em; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }
.section-label { color: var(--accent); font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; display: block; margin-bottom: 1em; }

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff !important;
  padding: 0.85em 2.2em;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85) !important;
  padding: 0.85em 2.2em;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--accent); color: #fff !important; }

/* --- Funding Bar --- */
#funding-bar { color: #fff !important; }

/* --- Nav --- */
#site-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 0 2.5em;
  position: fixed;
  top: var(--funding-bar-h, 0px);
  left: 0; right: 0;
  width: 100%;
  min-height: var(--nav-height);
  z-index: 9999;
  background-color: rgba(6,8,18,0.96);
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: top 0.3s;
}

#site-nav .site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

#site-nav .nav-menu {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}

#site-nav .nav-menu li a {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  padding: 0 1.1em;
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}

#site-nav .nav-menu li a:hover,
#site-nav .nav-menu li.active a { color: #ffffff; }

/* Page wrapper offset */
.page-wrapper { padding-top: calc(var(--nav-height) + var(--funding-bar-h, 0px)); }

/* --- Hero --- */
#hero {
  min-height: 680px;
  display: flex;
  align-items: center;
  background: var(--bg);
  background-image: url('../images/hero-main.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 6em 4em;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,0,0,0.55) 0%, transparent 70%);
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5em;
  align-items: center;
}
.hero-left h1 { font-size: 3.6rem; margin-bottom: 0.5em; }
.hero-left .tagline { color: rgba(255,255,255,0.72); font-size: 1.15rem; max-width: 480px; line-height: 1.8; }
.hero-right p { color: rgba(255,255,255,0.72); font-size: 1.05rem; line-height: 1.85; margin-bottom: 2em; }
.hero-ctas { display: flex; flex-direction: column; gap: 1em; align-items: flex-start; }

/* --- Stat / metric bar --- */
.stat-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5em 2em;
}
.stat-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
  text-align: center;
}
.stat-item .stat-value { font-size: 2.4rem; font-weight: 700; color: var(--accent); display: block; }
.stat-item .stat-label { font-size: 0.9rem; color: var(--text-muted); }

/* --- Feature cards --- */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature-card .icon {
  width: 48px; height: 48px;
  background: rgba(37,99,235,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2em;
  color: var(--accent);
  font-size: 1.3rem;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.5em; }
.feature-card p { color: var(--text-muted); font-size: 1rem; margin: 0; }

/* --- Product feature rows --- */
.product-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5em;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 5em;
}
.product-feature.reverse { direction: rtl; }
.product-feature.reverse > * { direction: ltr; }
.product-feature-text h3 { font-size: 1.6rem; margin-bottom: 0.6em; }
.product-feature-text p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.9; }
.product-feature-img { border-radius: var(--radius); overflow: hidden; }
.product-feature-img img { width: 100%; height: 320px; object-fit: cover; border-radius: var(--radius); }

/* --- About page --- */
.spotlight-section { padding: 5em 4em; }
.spotlight-inner {
  display: flex;
  gap: 4em;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.story-img { flex-shrink: 0; width: 45%; }
.story-img img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.story-text { flex: 1; }
.story-text h2 { font-size: 2.5rem; margin-bottom: 0.8em; }
.story-text p { color: var(--text-muted); font-size: 1.1rem; line-height: 1.9; }

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 2em;
  max-width: 1100px;
  margin: 0 auto;
}
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em;
}
.value-card h3 { font-size: 1.2rem; color: var(--accent); margin-bottom: 0.5em; }
.value-card p { color: var(--text-muted); font-size: 1rem; margin: 0; }

/* Investors section */
#investors { padding: 5em 2em; background: var(--surface); }
.investors-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.investor-card {
  display: inline-block;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em 3em;
  margin-top: 2em;
}
.investor-name { font-size: 1.4rem; font-weight: 700; color: var(--accent); }
.investor-meta { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.3em; }

/* --- Team page --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5em;
  max-width: 1100px;
  margin: 0 auto;
}
.team-card { text-align: center; }
.team-card img {
  width: 150px; height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--border);
  margin-bottom: 1.2em;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.team-card h3 { font-size: 1.25rem; margin-bottom: 0.2em; }
.team-card .title { color: var(--accent); font-size: 0.9rem; margin-bottom: 0.8em; font-weight: 600; letter-spacing: 0.05em; }
.team-card p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; }

/* --- Contact page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5em;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.contact-info h3 { font-size: 1.1rem; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4em; margin-top: 2em; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { color: var(--text-muted); font-size: 1.05rem; margin: 0 0 0.3em; }
.contact-message h3 { font-size: 1.6rem; margin-bottom: 1em; }
.contact-message p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.9; margin-bottom: 1.5em; }

/* --- How it works steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 2em;
  max-width: 1100px;
  margin: 0 auto;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em;
  position: relative;
}
.step-number {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(37,99,235,0.2);
  line-height: 1;
  margin-bottom: 0.5em;
}
.step-card h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.step-card p { color: var(--text-muted); font-size: 1rem; margin: 0; }

/* --- Section alternating bg --- */
.section-alt { background: var(--surface); }

/* --- CTA section --- */
.cta-section {
  background: linear-gradient(135deg, rgba(37,99,235,0.15) 0%, transparent 60%);
  border-top: 1px solid var(--border);
  padding: 6em 2em;
  text-align: center;
}
.cta-section h2 { margin-bottom: 0.5em; }
.cta-section p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 2em; }

/* --- Footer --- */
#footer {
  width: 100%;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
#footer .inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3em 4em;
  gap: 3em;
}
#footer .brand-col h3 { font-size: 1.3rem; margin-bottom: 0.5em; }
#footer .brand-col p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }
#footer .brand-col .copyright { font-size: 0.82em; color: var(--text-muted); margin-top: 1.5em; }
#footer .col-title { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); margin-bottom: 1.2em; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.6em; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 0.9em; transition: color 0.2s; }
.footer-nav a:hover { color: var(--text); }

/* --- Cookie Banner --- */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10003;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.2em 2em;
}
.cookie-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2em;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; }
.cookie-text strong { font-size: 1rem; color: var(--text); }
.cookie-text p { font-size: 0.88rem; color: var(--text-muted); margin: 0.4em 0 0; line-height: 1.6; }
.cookie-text a { color: var(--accent); }
.cookie-buttons { display: flex; gap: 0.8em; flex-shrink: 0; }
#cookie-decline {
  padding: 0.6em 1.4em;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.88rem;
}
#cookie-accept {
  padding: 0.6em 1.4em;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
}
#cookie-banner { left: var(--sidebar-w, 0); }
@media (max-width: 736px) { #cookie-banner { left: 0 !important; } }

/* --- Insights page --- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 2.5em;
  max-width: 1100px;
  margin: 0 auto;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.article-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.article-card-img { height: 200px; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 1.5em; }
.article-card-body .meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.7em; }
.article-card-body h3 { font-size: 1.2rem; margin-bottom: 0.5em; }
.article-card-body p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 2em;
  max-width: 1100px;
  margin: 0 auto;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em;
}
.testimonial-card blockquote { color: var(--text); font-size: 1.05rem; line-height: 1.8; margin: 0 0 1.2em; font-style: italic; }
.testimonial-card .author { color: var(--accent); font-size: 0.9rem; font-weight: 600; }
.testimonial-card .author-role { color: var(--text-muted); font-size: 0.85rem; }

/* === Mobile Responsive === */
@media (max-width: 980px) {
  #site-nav .nav-menu { display: none !important; }
}

@media (max-width: 768px) {
  body { font-size: 16px !important; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.3rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5em; }
  #hero { padding: 4em 1.5em; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .spotlight-inner { flex-direction: column; }
  .story-img { width: 100%; }
  .product-feature { grid-template-columns: 1fr; gap: 2em; }
  .product-feature.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 3em; }
  #footer .inner { grid-template-columns: 1fr; padding: 2em; }
  .stat-bar-inner { grid-template-columns: repeat(2,1fr); }
  section { padding: 3.5em 1.5em; }
  .spotlight-section { padding: 3.5em 1.5em; }
}

@media (max-width: 480px) {
  .stat-bar-inner { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; }
}
