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

:root {
  --bg-color: #030303;
  --bg-panel: rgba(15, 15, 15, 0.85);
  --bg-panel-hover: rgba(25, 25, 25, 0.95);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-main: #f0f0f0;
  --text-muted: #888888;
  --text-dark: #555555;
  --red-primary: #d31010;
  --red-primary-dark: #8b0000;
  --red-glow: rgba(211, 16, 16, 0.15);
  --red-glow-strong: rgba(211, 16, 16, 0.4);
  
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'Space Grotesk', monospace;
}

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

body {
  background-color: var(--bg-color);
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: bgScroll 40s linear infinite;
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@keyframes bgScroll {
  0% { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, var(--red-glow) 0%, transparent 40%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-mono);
  font-weight: 600;
  line-height: 1.2;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--red-primary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  background: rgba(3, 3, 3, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: all 0.3s ease;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 4px;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--red-primary);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

nav a:hover, nav a.active {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: transparent;
  border: 1px solid var(--red-primary);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--red-primary);
  transition: all 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  color: #ffffff;
  box-shadow: 0 0 20px var(--red-glow-strong);
  transform: translateY(-2px);
}

.btn-secondary {
  border-color: var(--text-dark);
}

.btn-secondary::before {
  background: var(--text-dark);
}

.btn-secondary:hover {
  box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(160, 10, 15, 0.08) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  animation: pulseGlow 8s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.hero-content {
  max-width: 900px;
}

.hero .firm-location {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  display: block;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
  color: #fff;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 700px;
}

/* Trust Strip */
.trust-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
  background: rgba(0,0,0,0.3);
  overflow: hidden;
  white-space: nowrap;
}

.trust-strip p {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.trust-logos {
  opacity: 0.4;
  filter: grayscale(100%);
}

.marquee-content {
  display: inline-flex;
  gap: 4rem;
  animation: marqueeScroll 25s linear infinite;
  padding-right: 4rem;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trust-logos span {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
}

/* Base Page Title */
.page-header {
  padding: 150px 0 50px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 4rem;
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Glass Panels */
.glass-panel {
  position: relative;
  top: 0;
  overflow: hidden;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem;
  border-radius: 4px;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  --mouse-x: 50%;
  --mouse-y: 50%;
  animation: floatPanel 8s ease-in-out infinite;
}

.glass-panel:nth-child(even) {
  animation-delay: -4s;
}

@keyframes floatPanel {
  0%, 100% { top: 0; }
  50% { top: -6px; }
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle closest-side, var(--red-glow) 0%, transparent 100%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.glass-panel > * {
  position: relative;
  z-index: 1;
}

.glass-panel:hover::before {
  opacity: 1;
}

.glass-panel:hover {
  background: var(--bg-panel-hover);
  border-color: var(--red-primary-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--red-glow);
  transform: translateY(-5px);
}

/* Sections */
section {
  padding: 6rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-title::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--red-primary);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 700px;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #fff;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.metric-box {
  text-align: left;
  border-left: 2px solid var(--red-primary);
  padding-left: 1.5rem;
}

.metric-box h2 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.metric-box p {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* Research List */
.research-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.research-item {
  display: block;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem;
  border-radius: 4px;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.research-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--red-primary);
  transform: scaleY(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: bottom;
}

.research-item:hover {
  transform: translateX(10px);
  background: var(--bg-panel-hover);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.research-item:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.research-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.research-title {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.research-item:hover .research-title {
  color: var(--text-main);
  text-shadow: 0 0 15px rgba(255,255,255,0.2);
}

.research-abstract {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Process Timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.process-step {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.process-step::before {
  content: attr(data-step);
  position: absolute;
  top: -15px;
  left: 0;
  background: var(--bg-color);
  color: var(--red-primary);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  padding-right: 1rem;
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  font-style: italic;
  color: #f0f0f0;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-card .author {
  font-family: var(--font-mono);
  color: var(--red-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.testimonial-card .role {
  color: var(--text-muted);
  font-size: 0.85rem;
  display: block;
}

/* Research List */
.research-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.research-item {
  display: block;
  border: 1px solid var(--border-subtle);
  padding: 2rem;
  border-left: 3px solid var(--text-dark);
  transition: all 0.3s ease;
  background: var(--bg-panel);
}

.research-item:hover {
  border-left-color: var(--red-primary);
  background: rgba(255,255,255,0.02);
  transform: translateX(5px);
}

.research-meta {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--red-primary);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.research-title {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 1rem;
}

.research-abstract {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Founder / Team Section */
.founder-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.founder-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background-color: var(--bg-panel);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  position: relative;
  box-shadow: 0 15px 40px rgba(0,0,0,0.8);
  border: 1px solid rgba(255, 255, 255, 0.05); /* very subtle, no harsh lines */
}

.founder-image-placeholder::after {
  display: none; /* remove cheap inset shadow */
}

.founder-info {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 50%, transparent 100%);
}

.founder-info h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.founder-info p {
  font-family: var(--font-mono);
  color: var(--red-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.founder-bio h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.founder-bio p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* Forms */
.inquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.contact-info-block p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-options {
  list-style: none;
}

.contact-options li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #fff;
}

.contact-options li span {
  color: var(--text-muted);
  display: block;
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.contact-form {
  width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  color: var(--text-main);
  font-family: var(--font-sans);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

select.form-control {
  appearance: none;
  cursor: pointer;
}

.form-control:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 10px var(--red-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 8rem 0;
  background: linear-gradient(to top, rgba(15,0,0,0.3) 0%, transparent 100%);
  border-top: 1px solid var(--border-subtle);
}

.cta-section h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.cta-section p {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
footer {
  margin-top: 6rem;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  background: rgba(0, 0, 0, 0.8);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-brand img {
  border-radius: 4px;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 300px;
}

.footer-links h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--red-primary);
}

.copyright {
  text-align: center;
  color: var(--text-dark);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

/* Responsive */
@media (max-width: 900px) {
  .founder-section, .inquiry-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
}

.premium-divider {
  width: 100%;
  max-width: 400px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-glow-strong), transparent);
  margin: 6rem auto;
  opacity: 0.6;
}

/* Scroll Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}
