/*
   MONTI INVESTORS TECH
   Main Styles
*/

/* Variables */
:root {
  --color-primary: #141110;
  --color-primary-light: #231914;
  --color-accent: #F5894A;
  --color-accent-hover: #E07535;
  --color-accent-glow: rgba(245, 137, 74, 0.15);
  --color-amber: #FFB347;
  --color-amber-light: rgba(255, 179, 71, 0.12);
  --color-green: #2DD4AA;
  --color-green-light: rgba(45, 212, 170, 0.12);
  --color-white: #ffffff;
  --color-off-white: #FBF8F5;
  --color-gray-100: #F4F0EC;
  --color-gray-200: #EDE8E3;
  --color-gray-300: #D4CCC6;
  --color-gray-500: #7A6B63;
  --color-gray-700: #3D2E26;
  --color-gray-900: #141110;
  --color-text: #2A1A10;
  --color-text-muted: #7A6B63;

  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-accent: 0 8px 32px rgba(245, 137, 74, 0.3);

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Container */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/*
   BUTTONS
*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(245, 137, 74, 0.4);
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

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

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/*
  SECTION HEADER
*/
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--color-accent-glow);
  color: var(--color-accent);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #FFB347, #F5894A, #E07535);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/*
   INTRO STATEMENT
*/
.intro-statement {
  background: var(--color-off-white);
  padding: 5rem 0;
  border-top: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
}

.statement-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.7;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

/*
   PILLARS
*/
.pillars {
  padding: 7rem 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--color-gray-200);
  background: var(--color-white);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-accent-glow), transparent);
  opacity: 0;
  transition: var(--transition-slow);
}

.pillar-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-card--featured {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.pillar-card--featured::before {
  background: linear-gradient(135deg, rgba(245, 137, 74, 0.15), transparent);
}

.pillar-card--featured .pillar-num,
.pillar-card--featured .pillar-desc,
.pillar-card--featured .pillar-link {
  color: rgba(255, 255, 255, 0.7);
}

.pillar-card--featured .pillar-title {
  color: var(--color-white);
}

.pillar-card--featured .pillar-icon {
  color: var(--color-accent);
}

.pillar-card--featured:hover {
  border-color: var(--color-accent);
  box-shadow: 0 12px 40px rgba(245, 137, 74, 0.3);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.pillar-icon svg {
  width: 100%;
  height: 100%;
}

.pillar-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gray-300);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.pillar-desc {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}

.pillar-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
  position: relative;
  z-index: 1;
}

.pillar-featured-badge {
  display: inline-block;
  margin-top: 1rem;
  padding: 5px 12px;
  background: rgba(245, 137, 74, 0.2);
  border: 1px solid rgba(245, 137, 74, 0.4);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #FFB347;
}

/*
   STATS
*/
.stats-section {
  background: linear-gradient(135deg, #141110, #231914);
  padding: 5rem 0;
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  max-width: 160px;
  margin: 0 auto;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/*
   WHY SECTION
*/
.why-section {
  padding: 7rem 0;
  background: var(--color-off-white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.why-content .section-tag {
  text-align: left;
}

.why-content .section-title {
  text-align: left;
  margin-bottom: 1.5rem;
}

.why-desc {
  font-size: 1.02rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-text);
}

.why-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: var(--color-green-light);
  color: var(--color-green);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

.why-visual {
  position: relative;
}

.why-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.why-card--mid {
  margin-left: 1.5rem;
  border-color: var(--color-accent);
  box-shadow: var(--shadow-accent);
}

.why-card-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.why-card-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.why-card-text span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/*
   CTA SECTION
*/
.cta-section {
  padding: 7rem 0;
  background: linear-gradient(135deg, #E07535, #C85E20);
}

.cta-content {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.cta-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta-section .btn-primary {
  background: var(--color-white);
  color: #C85E20;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-section .btn-primary:hover {
  background: var(--color-off-white);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

/*
  FOOTER
*/
.footer {
  background: #0E0C0B;
  padding: 5rem 0 2rem;
}

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

.footer-brand .nav-logo {
  margin-bottom: 1.25rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 320px;
}

.footer-partner-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(245, 137, 74, 0.12);
  border: 1px solid rgba(245, 137, 74, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-partner-tag strong {
  color: rgba(255, 255, 255, 0.9);
}

.footer-nav h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav ul a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

/*
   PAGE INNER LAYOUT
*/
.page-hero {
  background: linear-gradient(135deg, #141110, #231914);
  padding: 7rem 0 5rem;
  text-align: center;
}

.page-hero .page-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(245, 137, 74, 0.2);
  color: #FFB347;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.page-hero .page-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}

.page-content {
  padding: 6rem 0;
}

/* Content Blocks */
.content-block {
  max-width: 820px;
  margin: 0 auto 5rem;
}

.content-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.content-block p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}

.feature-item {
  padding: 2rem;
  background: var(--color-off-white);
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-green));
}

.timeline-item {
  position: relative;
  padding: 0 0 2.5rem 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.timeline-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Context Quote (shared across pages) */
.context-quote {
  border-left: 3px solid var(--color-accent);
  padding: 1.25rem 1.75rem;
  background: var(--color-off-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

.context-quote p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-primary);
  font-weight: 500;
  line-height: 1.65;
}

/* Info Card */
.info-card {
  padding: 2.5rem;
  background: #141110;
  border-radius: var(--radius-xl);
  color: var(--color-white);
  margin: 3rem 0;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.info-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
}

/* Shared page utilities */
.cta-wrap {
  text-align: center;
  margin-top: 3rem;
}

.btn-why {
  margin-top: 2rem;
}

/*
   SHARED COMPONENTS
   Reusable across all pages
*/

/* Base card — bordered, rounded, animated */
.card {
  background: var(--color-white);
  border: 1.5px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

/* Card with lift on hover */
.card--lift:hover {
  transform: translateY(-3px);
}

/* Card icon (emoji/text icon above card content) */
.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Small accent badge/pill */
.badge {
  display: inline-block;
  padding: 4px 11px;
  background: var(--color-accent-glow);
  color: var(--color-accent);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* Sticky sidebar positioning */
.sticky-sidebar {
  position: sticky;
  top: 100px;
}

/*
   ANIMATIONS
*/
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/*
   RESPONSIVE
*/
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar-card:last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .pillar-card:last-child {
    grid-column: unset;
    max-width: unset;
  }

  .stats-grid {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.9rem;
  }
}
