/* 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;
}

/* 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;
}

/* 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;
}