/* Base Reset & Typography */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --font-main: 'Outfit', sans-serif;
    --color-bg: #f8fafc; /* Slightly off-white for premium feel */
    --color-text: #0f172a;
    --color-accent: #15803d; /* Forest Green */
    --color-accent-hover: #166534;
    --color-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    /* Subtle premium background gradient */
    background-image:
        radial-gradient(at 0% 0%, #ffffff 0, transparent 50%),
        radial-gradient(at 50% 100%, #dcfce7 0, transparent 50%),
        radial-gradient(at 100% 0%, #f0fdf4 0, transparent 50%);
    background-size: cover;
    background-attachment: fixed;
    color: var(--color-text);
    min-height: 100vh;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-bottom: 4rem;
}

.logo img {
    height: 80px; /* Adjusted size */
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: 1.5rem;
    }
    
    .desktop-nav a {
        text-decoration: none;
        color: var(--color-text);
        font-weight: 500;
        transition: color 0.3s;
    }

    .desktop-nav a:hover {
        color: var(--color-accent);
    }
}

.contact-email {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.contact-email:hover {
    opacity: 0.8;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 6px rgba(21, 128, 61, 0.2);
}

.cta-button.primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(21, 128, 61, 0.25);
}

.cta-button.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background-color: white;
    border: 1px solid var(--glass-border);
    color: var(--color-text);
}

.cta-button.small:hover {
    background-color: #f1f5f9;
}

.cta-button.big {
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
}


/* Hamburger Menu */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

.menu-bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: transform 0.3s, opacity 0.3s;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 5rem 2rem;
    z-index: 1000;
    border-left: 1px solid var(--glass-border);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu nav ul {
    list-style: none;
}

.mobile-menu nav ul li {
    margin-bottom: 1.5rem;
}

.mobile-menu nav ul li a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s;
}

.mobile-menu nav ul li a:hover {
    color: var(--color-accent);
}

/* Menu toggle animation when active */
.menu-toggle.active .menu-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 6rem;
    padding-top: 2rem;
}

.hero-headline {
    font-size: 3rem;
    font-weight: 700;
    max-width: 900px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(to right, #0f172a, #334155);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-subheadline {
    font-size: 1.25rem;
    color: var(--color-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.hero-list {
    list-style: none;
    max-width: 550px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
    font-size: 1.1rem;
    color: var(--color-text);
    font-weight: 500;
}

.hero-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.hero-list li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.hero-inline-link {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.2s;
}
.hero-inline-link:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

.hero-two-ways {
    text-align: center;
}

.hero-pill {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    margin: 0.25rem 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-accent);
    background: rgba(21, 128, 61, 0.12);
    border: 1px solid rgba(21, 128, 61, 0.3);
    border-radius: 9999px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.hero-pill:hover {
    background: rgba(21, 128, 61, 0.2);
    color: var(--color-accent-hover);
    border-color: var(--color-accent);
}

.hero-pill-caption {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-muted);
}

/* Sections General */
section {
    margin-bottom: 6rem;
}

/* Problem Framing */
.problem-framing .content-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
}

.problem-list {
    list-style: none;
    margin: 2rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
}

.problem-list li {
    margin-bottom: 1rem;
}

.insight-text {
    font-style: italic;
    color: var(--color-muted);
}

/* Product Definition */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.text-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.highlight-text {
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 1rem;
    font-size: 1.1rem;
}

.visual-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.system-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.card-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* The Model - Process Steps */
.the-model {
    text-align: center;
}

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

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.step {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.step-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.step h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

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

/* Data & AI */
.data-ai .glass-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
}

.feature-list {
    text-align: left;
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--color-text);
}

.feature-list li {
    margin-bottom: 0.5rem;
}

/* What is Not */
.what-is-not {
    text-align: center;
    background: #f1f5f9;
    padding: 4rem 2rem;
    border-radius: 16px;
}

.not-list {
    list-style: none;
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.not-list li {
    background: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: var(--color-muted);
    font-size: 0.95rem;
    text-decoration: line-through;
    opacity: 0.8;
}

.closing-statement {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
}

/* Disclaimer */
.disclaimer-section {
    max-width: 700px;
    margin: 0 auto 6rem;
    padding: 2rem;
    background: rgba(255, 250, 240, 0.5); /* Subtle warning tint */
    border: 1px solid rgba(220, 200, 150, 0.3);
    border-radius: 8px;
    text-align: center;
    font-size: 0.95rem;
    color: #7c2d12;
}

/* Final CTA */
.final-cta {
    text-align: center;
    margin-bottom: 8rem;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Glass Box helper */
.glass-box {
    background: var(--glass-bg);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: var(--color-muted);
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
}

/* Team section (single-page) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.team-member {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.team-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid #f8fafc;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
    margin-bottom: 0.25rem;
    color: var(--color-text);
    font-size: 1.5rem;
}

.team-role {
    display: block;
    margin-bottom: 1.25rem;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-bio {
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.interesting-facts {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.interesting-facts h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.interesting-facts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.interesting-facts li {
    font-size: 0.9rem;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.25rem;
    line-height: 1.4;
}

.interesting-facts li::before {
    content: "→";
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: #0077b5;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.linkedin-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.linkedin-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.team-contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.team-contact-links .linkedin-link {
    margin-top: 0;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0077b5;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}
.email-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.email-icon {
    font-size: 18px;
    line-height: 1;
}

/* Content cards (e.g. Commercial Advisory areas) – same look as team cards, no image */
.content-card {
    min-height: auto;
}
.content-card h3 {
    color: var(--color-text);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}
.content-card .team-bio {
    margin-bottom: 0;
}
.content-card .team-bio + .team-bio {
    margin-top: 1rem;
}

/* Animation classes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero, .process-steps {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Early Access Form */
.ea-wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.ea-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e5e5e5;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-family: monospace;
  color: #666;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

.ea-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #639922;
  animation: ea-pulse 2.5s ease-in-out infinite;
}

@keyframes ea-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.ea-headline {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.ea-headline em { font-style: italic; color: #666; }

.ea-sub {
  font-size: 15px;
  line-height: 1.65;
  color: #555;
  margin: 0 0 2rem;
  max-width: 480px;
}

.ea-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 0 0 2rem;
}

.ea-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 500px) {
  .ea-row { grid-template-columns: 1fr; }
}

.ea-field { margin-bottom: 1.25rem; }

.ea-label {
  display: block;
  font-size: 11px;
  font-family: monospace;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
}

.ea-optional {
  font-family: inherit;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  color: #aaa;
}

.ea-input,
.ea-select,
.ea-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 14px;
  font-family: var(--font-main);
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
  color: #111;
}

.ea-input:focus,
.ea-select:focus,
.ea-textarea:focus { border-color: #999; }

.ea-input--error { border-color: #e24b4a !important; }

.ea-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.ea-textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

.ea-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.ea-note {
  font-size: 12px;
  color: #aaa;
  line-height: 1.5;
  max-width: 260px;
  margin: 0;
}

.ea-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 22px;
  font-size: 14px;
  font-family: var(--font-main);
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.ea-btn:hover { opacity: 0.8; }
.ea-btn:disabled { opacity: 0.5; cursor: default; }

.ea-error-msg {
  font-size: 13px;
  color: #e24b4a;
  margin-top: 1rem;
}

.ea-error-msg a { color: #e24b4a; }

.ea-success {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.ea-success-icon {
  font-size: 24px;
  margin-bottom: 1rem;
}

.ea-success h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
}

.ea-success p {
  font-size: 14px;
  color: #666;
  line-height: 1.65;
}