/* --- CSS Variables (Amidot Palette) --- */
:root {
    /* Fonts */
    --font-primary: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-headings: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-logo: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    /* Color Palette */
    --color-primary-blue: #1a7f9f; /* Amidot/GCP inspired Blue */
    --color-background: #ffffff; 
    --color-background-alt: #f8f9fa; /* Light Gray */
    --color-text-primary: #343a40; /* Dark Gray for text */
    --color-text-secondary: #6c757d; /* Medium Gray */
    --color-border: #e9ecef; /* Lighter Gray Border */
    --color-white: #ffffff;

    --shadow-none: none;
    --border-radius: 4px; 
}

/* --- Global Resets & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.7;
    color: var(--color-text-primary);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- Headings & Text --- */
h1, h2, h3 {
    font-family: var(--font-headings);
    font-weight: 600; 
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
    line-height: 1.3;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
}

a {
    color: var(--color-primary-blue); 
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

a:hover {
    color: #135e75; /* Darker blue on hover */
}

/* --- Header & Navigation --- */
header {
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

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

.logo {
    font-family: var(--font-logo);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary-blue); /* Use primary color for logo */
}

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

nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease, color 0.2s ease;
}

nav a:hover,
nav a.active {
    color: var(--color-text-primary);
    border-bottom-color: var(--color-primary-blue);
}

/* --- Hero Section --- */
.hero-section {
    background-color: var(--color-primary-blue); 
    color: var(--color-white); 
    padding: 6rem 0; /* Slightly more padding */
    text-align: center;
}

.hero-content h1 {
    font-size: 2.8rem; /* Slightly larger heading */
    margin-bottom: 1rem;
    color: var(--color-white); 
    font-weight: 700; 
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9); 
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- CTA Button --- */
.cta-button {
    display: inline-block;
    background-color: transparent; 
    color: var(--color-white); 
    padding: 0.8rem 2rem; /* Larger button */
    border-radius: var(--border-radius);
    font-weight: 600;
    font-family: var(--font-primary);
    transition: background-color 0.2s ease, color 0.2s ease;
    border: 2px solid var(--color-white); /* Thicker border */
}

.cta-button:hover {
    background-color: var(--color-white); 
    color: var(--color-primary-blue); 
    border-color: var(--color-white); 
}

/* --- Features Section --- */
.features-section {
    padding: 5rem 0;
    background-color: var(--color-background); 
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Slightly wider cards */
    gap: 3rem; 
}

.feature-card {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: var(--shadow-none);
    text-align: left;
    border: none;
}

.feature-icon {
    font-family: 'Material Icons Outlined';
    font-size: 2.5rem; /* Larger icons */
    color: var(--color-primary-blue); 
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.feature-card p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* --- Architecture Section (re-using how-to-use-section styling) --- */
.how-to-use-section {
    background-color: var(--color-background-alt); 
    padding: 5rem 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.how-to-use-section h2 {
    color: var(--color-text-primary);
}

.steps-list {
    list-style: none;
    counter-reset: steps-counter;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 0;
}

.steps-list li {
    counter-increment: steps-counter;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 45px; /* More space for numbering */
    font-size: 1.1rem;
}

.steps-list li::before {
    content: counter(steps-counter); /* Removed the dot */
    position: absolute;
    left: 0;
    top: -5px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: var(--color-primary-blue); /* Solid blue circle */
    color: var(--color-white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
}

.steps-list li strong {
    font-weight: 700;
    color: var(--color-text-primary);
    display: block;
    margin-bottom: 0.2rem;
}

/* --- About Section --- */
.about-section {
    padding: 5rem 0;
    background-color: var(--color-background); 
}

.about-section h2 {
    margin-bottom: 2rem;
}

.about-section p {
     max-width: 900px;
     margin-left: auto;
     margin-right: auto;
     text-align: center; /* Center the text for the overview */
     line-height: 1.8;
     font-size: 1.1rem;
}

.about-section code {
    background-color: var(--color-background-alt);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
    color: var(--color-text-primary);
    font-family: monospace;
    border: 1px solid var(--color-border);
}

/* --- Footer --- */
footer {
    background-color: var(--color-background-alt);
    color: var(--color-text-secondary);
    padding: 2rem 0;
    text-align: center;
    margin-top: 0;
    font-size: 0.9rem;
    border-top: 1px solid var(--color-border);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    nav ul {
        gap: 1rem;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .steps-list li {
        padding-left: 35px;
        font-size: 1rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}
