@charset "utf-8";

/* ==========================================================
   Altris Ventures - Main Stylesheet
   Accent: #2ecc71 | Theme: Dark | Template: 2149 Strategic
   ========================================================== */

/* --- CSS Variables --- */
:root {
  --accent: #2ecc71;
  --accent-dark: #27ae60;
  --bg: #0d1117;
  --bg-surface: #151c26;
  --bg-card: #1a2332;
  --text: #e8edf5;
  --text-muted: #7a8898;
  --border: rgba(255,255,255,0.08);
  --nav-height: 72px;
  --radius: 10px;
  --surface: #151c26;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

img { max-width: 100%; display: block; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 18px !important;
  line-height: 1.85;
  color: var(--text) !important;
  background-color: var(--bg) !important;
  overflow-x: hidden;
}

h1 { font-size: 61px !important; line-height: 1.08; font-weight: 800; }
h2 { font-size: 43px !important; line-height: 1.15; font-weight: 700; }
h3 { font-size: 28px !important; line-height: 1.3;  font-weight: 600; }
h4 { font-size: 18px !important; font-weight: 600; }
h5, h6 { font-size: 16px !important; font-weight: 600; }
p { margin-bottom: 1.2em; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.82; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-pad { padding: 80px 0; }
.section-pad-lg { padding: 100px 0; }

.page-top { padding-top: var(--nav-height); }

/* --- Funding Bar (index.html only) --- */
#funding-bar {
  display: none;
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background-color: var(--accent-dark, #27ae60) !important;
  color: #ffffff !important;
  padding: 10px 5%;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
#funding-bar a, #funding-bar strong, #funding-bar span { color: #ffffff !important; }
#funding-bar button {
  color: rgba(255,255,255,0.85) !important;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0 0 0 0.5rem;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13,17,23,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  height: var(--nav-height);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text) !important;
  font-size: 20px !important;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.nav-logo img { width: 32px; height: 32px; }
.nav-logo span { color: var(--text) !important; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.2rem;
}
.nav-links a {
  font-size: 15px !important;
  font-weight: 500;
  color: var(--text-muted) !important;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text) !important;
  opacity: 1;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-mobile-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-mobile-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
  min-height: 600px;
  background-color: rgba(10,20,40,0.35);
  background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
                    url("../images/hero-main.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 5% 80px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  z-index: 0;
  pointer-events: none;
}

.hero > * { position: relative; z-index: 2; }

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero h1 {
  color: #ffffff;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-sub {
  font-size: 20px !important;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2.4rem;
  font-weight: 300;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  display: inline-block;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 0.3em 1em;
  margin-bottom: 1.5rem;
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.75em 2em;
  border-radius: 6px;
  font-size: 15px !important;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); opacity: 1; }
.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }

/* --- Section Header --- */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  display: inline-block;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.section-title { color: var(--text); margin-bottom: 1rem; }
.section-sub { color: var(--text-muted); font-size: 17px !important; max-width: 600px; margin: 0 auto; }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item .stat-num {
  font-size: 40px !important;
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.stat-item .stat-label {
  font-size: 14px !important;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Feature Cards --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1.8rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.card-icon { margin-bottom: 1.2rem; }
.card-icon svg { color: var(--accent); }
.card h3 { color: var(--text); margin-bottom: 0.6rem; }
.card p  { color: var(--text-muted); margin: 0; }

/* --- Dark Section --- */
.dark-section { background: var(--bg-surface); color: var(--text); }
.dark-section h2, .dark-section h3 { color: #ffffff; }
.dark-section p, .dark-section li { color: rgba(255,255,255,0.88); }

/* --- Light Section (alternating) --- */
.light-section { background: var(--bg-card); }
.light-section h2, .light-section h3 { color: var(--text); }

/* --- Page Hero --- */
.page-hero {
  min-height: 380px;
  background-color: rgba(10,15,40,0.35);
  background-image: linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.60)),
                    url("../images/about-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  display: flex;
  align-items: center;
  padding: 80px 5%;
  position: relative;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.40);
  z-index: 0; pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero-content { max-width: 720px; }
.page-hero h1 { color: #ffffff; }
.page-hero p  { color: rgba(255,255,255,0.88); font-size: 18px !important; }

.page-hero.team-hero    { background-image: linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.60)), url("../images/hero-main.jpg"); }
.page-hero.portfolio-hero { background-image: linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.60)), url("../images/hero-main.jpg"); }
.page-hero.insights-hero  { background-image: linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.60)), url("../images/hero-main.jpg"); }
.page-hero.contact-hero   { background-image: linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.60)), url("../images/hero-main.jpg"); }

/* --- Spotlight Section --- */
.spotlight-section {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4em;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4em 2em;
}
.story-text h2 { color: var(--text); margin-bottom: 1.2rem; }
.story-text p   { color: var(--text-muted); }
.story-img { width: 100%; overflow: hidden; border-radius: var(--radius); }
.story-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  display: block;
}

/* --- Team Cards (VC style — rounded rect) --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 2rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em 1.8em;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.team-card img {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1/1;
  border-radius: 8px;
  object-fit: cover;
  object-position: 50% 10%;
  display: block;
  margin: 0 auto 1.2rem;
}
.team-card h3 { color: var(--text); margin-bottom: 0.3rem; }
.team-role { color: var(--accent); font-size: 14px !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.8rem; }
.team-bio { color: var(--text-muted); font-size: 15px !important; line-height: 1.7; margin: 0; }

/* --- Portfolio Cards --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 2rem;
}
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.portfolio-card-name { font-size: 21px !important; font-weight: 700; color: var(--text); margin-bottom: 0.4rem; }
.portfolio-card-round {
  display: inline-block;
  background: rgba(46,204,113,0.15);
  color: var(--accent);
  font-size: 12px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 20px;
  padding: 0.2em 0.8em;
  margin-bottom: 0.8rem;
}
.portfolio-card-desc { color: var(--text-muted); font-size: 15px !important; margin-bottom: 1rem; }
.portfolio-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px !important;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 0.8rem;
  margin-top: 0.8rem;
}
.portfolio-meta strong { color: var(--text); }

/* --- Insights Listing --- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
  gap: 2rem;
}
.insight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.insight-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.insight-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.insight-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s;
}
.insight-card:hover .insight-card-thumb img { transform: scale(1.04); }
.insight-card-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.insight-card-meta { font-size: 13px !important; color: var(--text-muted); margin-bottom: 0.6rem; }
.insight-card h3 { font-size: 18px !important; color: var(--text); margin-bottom: 0.6rem; }
.insight-card p { color: var(--text-muted); font-size: 15px !important; margin-bottom: 1rem; flex: 1; }
.insight-card-link { color: var(--accent); font-size: 14px !important; font-weight: 600; text-decoration: none; margin-top: auto; }

/* --- Contact Form --- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { color: var(--text); margin-bottom: 1rem; }
.contact-info p  { color: var(--text-muted); margin-bottom: 1.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 0.8rem; margin-bottom: 1.2rem; color: var(--text-muted); }
.contact-detail svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.contact-form .form-field { margin-bottom: 1.2rem; }
.contact-form label { display: block; font-size: 14px !important; color: var(--text-muted); margin-bottom: 0.4rem; font-weight: 500; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 0.75em 1em;
  font-size: 15px !important;
  font-family: inherit;
  transition: border-color 0.2s;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }

/* --- Footer --- */
#footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 4em 0 2em;
  width: 100%;
}
#footer .inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3em;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4em;
  align-items: start;
  box-sizing: border-box;
}
#footer .footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
#footer .footer-brand-logo img { width: 28px; height: 28px; }
#footer .footer-brand-logo span { font-size: 18px !important; font-weight: 700; color: var(--text); }
#footer h2 {
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin: 0 0 1em !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  line-height: 1.4 !important;
}
#footer p { color: var(--text-muted); font-size: 16px !important; line-height: 1.7; margin: 0; }
.footer-nav { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: 0.5em; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 16px !important; transition: color 0.2s; }
.footer-nav a:hover { color: #ffffff; opacity: 1; }
#footer .copyright {
  color: var(--text-muted);
  font-size: 15px !important;
  text-align: center;
  margin: 2.5em auto 0;
  padding-top: 1.5em;
  border-top: 1px solid var(--border);
  max-width: 1100px;
}

/* --- Legal Pages --- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.legal-content h1 { color: var(--text); margin-bottom: 2rem; }
.legal-content h2 { color: var(--text); font-size: 24px !important; margin: 2rem 0 0.8rem; }
.legal-content h3 { color: var(--text); font-size: 18px !important; margin: 1.5rem 0 0.6rem; }
.legal-content p, .legal-content li { line-height: 1.75; margin-bottom: 0.9rem; }
.legal-content ul { padding-left: 1.4rem; }
.legal-content a { color: var(--accent); }

/* --- Insights shell --- */
.coming-soon-section {
  padding: 120px 5%;
  text-align: center;
}
.coming-soon-section h2 { color: var(--text); margin-bottom: 1rem; }
.coming-soon-section p  { color: var(--text-muted); }

/* --- Utilities --- */
.text-accent { color: var(--accent) !important; }
.text-muted  { color: var(--text-muted) !important; }
.text-white  { color: #ffffff !important; }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* --- CTA Section --- */
.cta-section {
  background: var(--accent-dark);
  padding: 80px 5%;
  text-align: center;
}
.cta-section h2 { color: #ffffff; margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,0.9); margin-bottom: 2rem; font-size: 18px !important; }

/* --- Responsive --- */
@media (max-width: 940px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem 5%;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
  .nav-mobile-btn { display: flex; }
  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .spotlight-section { grid-template-columns: 1fr; gap: 2em; }
}

@media (max-width: 768px) {
  h1 { font-size: 42px !important; }
  h2 { font-size: 32px !important; }
  h3 { font-size: 22px !important; }
  .hero { padding: 80px 5% 60px; min-height: 520px; }
  .hero-sub { font-size: 17px !important; }
  #footer .inner { grid-template-columns: 1fr 1fr; padding: 0 2em; gap: 2em; }
  .section-pad { padding: 60px 0; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  #footer .inner { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
}
