/*
Theme Name: Brightline Capital
Theme URI: https://brightlinecap.com
Author: Brightline Capital
Author URI: https://brightlinecap.com
Description: Custom WordPress theme for Brightline Capital - Real Economy Investment Experts
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brightline-capital
*/

/* ============================================
   Brightline Capital - Main Stylesheet
   ============================================ */

/* CSS Variables */
:root {
  --color-bg: #f9f9f8;
  --color-bg-alt: #f1f1ef;
  --color-card: #ffffff;
  --color-slate: #1d285c;
  --color-accent: #c41e3a;
  --color-accent-light: #a91830;
  --color-text: #1e293b;
  --color-logo: #002060;
  --color-text-subtitle: #313841;
  --color-text-muted: #4b5563;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-glass: rgba(0, 0, 0, 0.02);
  --gradient-accent: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
  --gradient-blue: linear-gradient(135deg, #1d285c 0%, #0f1a3d 100%);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================
   Background Effects
   ============================================ */
.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      ellipse 80% 50% at 20% -20%,
      rgba(29, 40, 92, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse 60% 40% at 80% 100%,
      rgba(196, 30, 58, 0.04) 0%,
      transparent 50%
    ),
    var(--color-bg);
  z-index: -1;
}

.grid-pattern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 0%,
    transparent 70%
  );
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* ============================================
   Navigation
   ============================================ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
  background: rgba(249, 249, 248, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.logo-text {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-logo);
  white-space: nowrap;
}

.logo-text .initial {
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-blue);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links li:last-child a::after {
  display: none;
}

.nav-links li:last-child a:hover {
  color: inherit;
}

.cta-button {
  background: var(--gradient-accent);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 30, 58, 0.4);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  background: linear-gradient(
    180deg,
    var(--color-bg) 0%,
    var(--color-bg-alt) 100%
  );
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-border);
}

.hero-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 3rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-slate);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--color-slate);
}

.hero-headline {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--color-text);
  max-width: 900px;
  margin-bottom: 2rem;
}

.hero-headline .accent {
  color: #1d4598;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 3rem;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: #a91830;
  transform: translateY(-2px);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-secondary {
  background: var(--color-card);
  color: var(--color-slate);
  padding: 1rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--color-slate);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(29, 40, 92, 0.1);
}

.btn-secondary:hover {
  background: var(--color-slate);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(29, 40, 92, 0.25);
  transform: translateY(-2px);
}

/* ============================================
   Sections - Common Styles
   ============================================ */
section {
  padding: 8rem 0;
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-label-line {
  width: 40px;
  height: 2px;
  background: var(--gradient-blue);
  border-radius: 2px;
}

.section-label-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-slate);
  font-weight: 600;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.section-title .highlight {
  color: #1d4598;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-subtitle);
  max-width: 600px;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 4rem;
}

/* ============================================
   Philosophy Section
   ============================================ */
.philosophy {
  background: linear-gradient(180deg, transparent 0%, var(--color-bg-alt) 100%);
}

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

.philosophy-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.philosophy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-blue);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.philosophy-card:hover {
  border-color: rgba(29, 40, 92, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.philosophy-icon {
  width: 48px;
  height: 48px;
  background: rgba(196, 30, 58, 0.08);
  border: 1px solid rgba(196, 30, 58, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.philosophy-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
}

.philosophy-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.philosophy-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   Sectors Section
   ============================================ */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.sector-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sector-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(29, 40, 92, 0.03) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.sector-card:hover {
  border-color: rgba(29, 40, 92, 0.3);
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.sector-card:hover::after {
  opacity: 1;
}

.sector-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(
    135deg,
    rgba(196, 30, 58, 0.1) 0%,
    rgba(196, 30, 58, 0.04) 100%
  );
  border: 1px solid rgba(196, 30, 58, 0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 1;
}

.sector-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
}

.sector-tag {
  display: inline-block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: rgba(196, 30, 58, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.sector-card h4 {
  font-size: 1.35rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.sector-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ============================================
   Process Section
   ============================================ */
.process {
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, transparent 100%);
}

.process-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
  max-width: 340px;
}

.process-circle-container {
  position: relative;
  width: 280px;
  height: 280px;
  margin-bottom: 2rem;
}

.process-circle {
  width: 215px;
  height: 215px;
  background: var(--gradient-blue);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 2;
  box-shadow: 0 8px 30px rgba(29, 40, 92, 0.3);
}

.process-circle-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 0.5rem;
}

.process-circle-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
}

.process-circle h4 {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  padding: 0 0.75rem;
}

.process-arc {
  position: absolute;
  width: 280px;
  height: 280px;
  top: 0;
  left: 0;
  border: 3px solid transparent;
  border-radius: 50%;
  border-top-color: var(--color-accent);
  border-right-color: var(--color-accent);
  transform: rotate(-45deg);
}

.process-arrow {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: 3px;
  background: var(--color-accent);
  z-index: 1;
}

.process-arrow::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid var(--color-accent);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.process-step:last-child .process-arrow {
  display: none;
}

.process-list {
  list-style: none;
  padding: 0;
  width: fit-content;
  margin: 0 auto;
}

.process-list li {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.process-list li:last-child {
  margin-bottom: 0;
}

.process-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* ============================================
   Team Section
   ============================================ */
.team {
  background: linear-gradient(180deg, transparent 0%, var(--color-bg-alt) 100%);
}

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

.team-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(29, 40, 92, 0.5),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover {
  border-color: rgba(29, 40, 92, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

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

.team-avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--color-slate) 0%, #0f1a3d 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  border: 2px solid rgba(29, 40, 92, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-card h4 {
  color: var(--color-text);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.team-role {
  color: var(--color-slate);
  font-size: 0.75rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.team-card p {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 5rem 0;
  margin: 0;
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.cta-text h2 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-text h2 .highlight {
  color: #1d4598;
}

.cta-text p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 480px;
  line-height: 1.7;
}

.cta-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cta-contact-link:hover {
  color: var(--color-slate);
}

.cta-contact-link svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-slate);
  flex-shrink: 0;
}

/* ============================================
   Footer
   ============================================ */
footer,
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: 5rem 0 3rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: center;
}

.footer-section {
  padding-left: 2rem;
  border-left: 1px solid var(--color-border);
  min-height: 120px;
}

.footer-section .contact-info {
  margin-top: 0;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
  margin-top: 1rem;
}

.footer-section h4 {
  color: var(--color-text);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.footer-section p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  line-height: 1.6;
  min-height: 1.4em;
}

.address-line {
  display: block;
  white-space: nowrap;
}

.footer-section a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--color-text);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 3rem 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.footer-bottom p:first-child {
  margin-bottom: 1rem;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1200px) {
  .hero-headline {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .nav-container {
    padding: 0 2rem;
  }

  .hero-container,
  .container {
    padding: 0 2rem;
  }

  .sectors-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 2rem;
  }

  .footer-section {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
  }

  .footer-bottom {
    padding: 2rem 2rem 0;
  }

  .cta-section {
    margin: 0 1.5rem;
  }
}

@media (max-width: 768px) {
  nav {
    position: relative;
    background: rgba(249, 249, 248, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
  }

  nav.scrolled {
    box-shadow: none;
  }

  .nav-container {
    padding: 0 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 4rem 0 4rem;
  }

  .hero-container {
    padding: 0 1.5rem;
  }

  .hero-headline {
    font-size: 2.5rem;
  }

  .hero-subheadline {
    font-size: 1.1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  section {
    padding: 5rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-grid {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .process-step {
    max-width: 100%;
  }

  .process-arrow {
    display: none;
  }

  .process-circle-container {
    margin-bottom: 1.5rem;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 0 1.5rem;
  }

  .cta-text p {
    margin: 0 auto;
  }

  .cta-text h2 {
    font-size: 1.75rem;
  }

  .footer-content {
    padding: 0 1.5rem;
  }

  .footer-bottom {
    padding: 2rem 1.5rem 0;
  }
}
