:root {
    /* Dark SaaS theme palette */
    --primary-color: #ffb74d; /* warm gold accent */
    --primary-color-hover: #ffa726;
    --text-color: #f4f4f5;   /* near-white for primary text */
    --secondary-text-color: #b0b0b5; /* muted gray */
    --background-color: #1b1a1f; /* espresso dark */
    --section-background-color: #222126; /* slightly lighter panels */
    --card-background-color: #25242a;
    --border-color: #38373d;
    --font-family: 'Inter', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.main-header {
    background: rgba(27, 26, 31, 0.9);
    backdrop-filter: saturate(180%) blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 52px;
}

.main-nav .logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 60px; /* offset for lang toggle */
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--secondary-text-color);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    text-align: center;
    padding: 120px 20px 60px;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--secondary-text-color);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #1b1a1f;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.15s ease;
}

.cta-button:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-1px);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

/* General Section Styling */
section {
    padding: 80px 0;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

section > .container > p {
    font-size: 1.1rem;
    color: var(--secondary-text-color);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Benchmark Section */
.benchmark-section {
    background-color: var(--section-background-color);
}

.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    margin: 40px 0;
}

.stat-item .stat-number {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-color);
}

.stat-item .stat-label {
    font-size: 1rem;
    color: var(--secondary-text-color);
}

.stat-comparison {
    font-size: 2rem;
    font-weight: 300;
    color: var(--border-color);
}

.source-note {
    font-size: 0.8rem;
    color: var(--secondary-text-color);
    margin-top: 20px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    text-align: left;
    margin-top: 60px;
}

.feature-card {
    background: var(--card-background-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--secondary-text-color);
}

.features-grid.orchestrator-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Case Study Section */
.case-study-section {
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: var(--section-background-color);
}

.case-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.case-item {
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    border: 1px solid var(--border-color);
}

.case-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.case-item p {
    color: var(--secondary-text-color);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.case-result {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.case-inefficient h4 {
    color: #bf470a;
}

.case-efficient h4 {
    color: #288f68;
}

/* Framework Section */
.framework-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Content Page Specific Styles */
.page-title-section {
    background-color: var(--section-background-color);
    padding: 60px 0;
    text-align: center;
}

.page-title-section h1 {
    font-size: 3rem;
    font-weight: 700;
}

.page-title-section .subtitle {
    font-size: 1.3rem;
    color: var(--secondary-text-color);
    margin-top: 0.5rem;
}

.content-section {
    padding: 60px 0;
}

.content-container {
    max-width: 800px;
    text-align: left;
}

.content-container h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}
.content-container h2:first-of-type {
    margin-top: 0;
}

.content-container p, .content-container ul {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--secondary-text-color);
    margin-bottom: 1.5rem;
}

.content-container ul {
    list-style-position: inside;
    padding-left: 1rem;
}

.content-container li {
    margin-bottom: 1rem;
    color: var(--secondary-text-color);
}

.content-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    margin: 3rem 0;
}

/* Chart / Diagram Images */
.chart-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}


/* Perspectives Section */
.perspectives-section {
    background-color: var(--section-background-color);
}

.perspectives-section blockquote {
    max-width: 750px;
    margin: 40px auto;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    text-align: left;
}

.perspectives-section blockquote p {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-color);
    margin: 0;
}

.perspectives-section blockquote footer {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--secondary-text-color);
    text-align: right;
}

.context-box {
    max-width: 750px;
    margin: 40px auto 0;
    padding: 25px;
    background-color: var(--section-background-color);
    border-radius: 12px;
    text-align: left;
}

.context-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.context-box p {
    color: var(--secondary-text-color);
    font-size: 1rem;
    line-height: 1.7;
}


/* Demo Section */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Vision Section */
.vision-section {
    background-color: var(--section-background-color);
}

.vision-section blockquote {
    max-width: 800px;
    margin: 0 auto 40px;
    border: none;
    padding: 0;
}

.vision-section blockquote p {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
}

.vision-section blockquote footer {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: var(--secondary-text-color);
    text-align: center;
}

.vision-section > .container > p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-top: 2rem;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
}

.main-footer p {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav ul {
        display: none; /* Simple hiding for demo, can be replaced with a hamburger menu */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.2rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-item .stat-number {
        font-size: 4rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .case-comparison-grid {
        grid-template-columns: 1fr;
    }

    .perspectives-section blockquote p {
        font-size: 1.1rem;
    }

    .vision-section blockquote p {
        font-size: 1.2rem;
    }
} 

/* --- Mouse Ripple Effect --- */
.cursor-ripple {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    pointer-events: none;
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.6s ease-out forwards;
    z-index: 10000;
}
@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(8);
        opacity: 0;
    }
} 

/* Language toggle */
.lang-toggle{
  position:absolute;
  left:20px;
  top:14px;
  font-size:0.9rem;
  color:var(--secondary-text-color);
  cursor:pointer;
  transition:color 0.3s;
}
.lang-toggle:hover{color:var(--primary-color);} 