/* Guidal Website Stylesheet */

/* 1. CSS Variables (from Brand Identity) */
:root {
    --guidal-blue: #2D7FF9;
    --activation-cyan: #12D6E4;
    --charcoal: #1C1C1E;
    --slate-gray: #3A3A40;
    --light-gray: #E5E5EA;
    --white: #FFFFFF;
    --success-green: #28C76F;

    --font-display: 'Inter Tight', sans-serif;
    --font-body: 'Inter', sans-serif;

    --spacing-unit: 4px;
    --border-radius: 8px;
    --transition-speed: 250ms;
}

/* 2. CSS Reset & General Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

section {
    padding: calc(var(--spacing-unit) * 20) 0; /* 80px */
}

.text-center {
    text-align: center;
}

/* 3. Typography */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: calc(var(--spacing-unit) * 4); /* 16px */
}

h1 {
    font-size: 3rem; /* 48px */
    max-width: 18ch;
    margin-left: auto;
    margin-right: auto;
}

h2 {
    font-size: 2.5rem; /* 40px */
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 8); /* 32px */
}

h3 {
    font-size: 1.5rem; /* 24px */
}

p {
    margin-bottom: calc(var(--spacing-unit) * 4); /* 16px */
    color: var(--slate-gray);
    max-width: 65ch;
}

a {
    color: var(--guidal-blue);
    text-decoration: none;
    font-weight: 500;
}

strong {
    font-weight: 700;
    color: var(--charcoal);
}

/* 4. Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: calc(var(--spacing-unit) * 4) 0; /* 16px */
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: background-color var(--transition-speed) ease-out, box-shadow var(--transition-speed) ease-out;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem; /* This will no longer affect the SVG */
    font-weight: 700;
    color: var(--charcoal);
    display: flex; /* Add this */
    align-items: center; /* Add this */
}

/* Add this new rule to style the SVG logo */
.logo svg {
    height: 60px; /* Adjust this value as needed */
    width: auto;
    transition: opacity 0.3s ease;
}

.logo:hover svg {
    opacity: 0.7; /* Example hover effect */
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: calc(var(--spacing-unit) * 8); /* 32px */
}

.nav-menu a {
    color: var(--slate-gray);
    font-weight: 500;
    transition: color var(--transition-speed) ease-out;
}

.nav-menu a:hover {
    color: var(--guidal-blue);
}

/* 5. Buttons & CTAs */
.btn {
    display: inline-block;
    padding: calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 6); /* 12px 24px */
    border-radius: var(--border-radius);
    font-weight: 700;
    font-family: var(--font-body);
    transition: background-color var(--transition-speed) ease-out, transform var(--transition-speed) ease-out;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--guidal-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--activation-cyan);
    color: var(--charcoal);
}

.btn-secondary {
    background-color: transparent;
    color: var(--guidal-blue);
    border-color: var(--light-gray);
}

.btn-secondary:hover {
    background-color: var(--light-gray);
    border-color: var(--light-gray);
}

.cta-group {
    margin-top: calc(var(--spacing-unit) * 8); /* 32px */
    display: flex;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 4); /* 16px */
}

/* 6. Section Specific Styling */

/* Hero Section */
.hero-section {
    padding-top: 160px;
    padding-bottom: 120px;
    background-color: #f8f9fa;
}
.hero-section .sub-headline {
    font-size: 1.25rem; /* 20px */
    margin-top: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 4);
    max-width: 50ch;
    margin-left: auto;
    margin-right: auto;
}

/* Problem Section */
.problem-section ul {
    list-style: none;
    max-width: 65ch;
    margin: 0 auto calc(var(--spacing-unit) * 8) auto;
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 4);
}
.problem-section li {
    padding-left: 32px;
    position: relative;
    color: var(--slate-gray);
}
.problem-section li::before {
    content: '✓';
    color: var(--success-green);
    position: absolute;
    left: 0;
    font-weight: 700;
}
.icp-context {
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
    padding: calc(var(--spacing-unit) * 8); /* 32px */
    max-width: 800px;
    margin: 0 auto;
}
.icp-context p:last-child {
    margin-bottom: 0;
}

/* Solution Section */
.solution-section {
    text-align: center;
}
.solution-section p {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
}

/* How We Help Section */
.how-we-help-section {
    background-color: #f8f9fa;
}
.card-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 8); /* 32px */
}
.card {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: calc(var(--spacing-unit) * 8);
    transition: box-shadow var(--transition-speed) ease-out, transform var(--transition-speed) ease-out;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.07);
}
.card-cta {
    display: inline-block;
    margin-top: calc(var(--spacing-unit) * 4);
}

/* Outcomes Section */
.value-buckets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--spacing-unit) * 8);
    text-align: center;
}
.bucket h3 {
    color: var(--guidal-blue);
}

/* Final CTA Section */
.final-cta-section {
    background-color: var(--charcoal);
}
.final-cta-section h2 {
    color: var(--white);
}

/* 7. Footer */
.site-footer {
    padding: calc(var(--spacing-unit) * 8) 0;
    background-color: var(--white);
    border-top: 1px solid var(--light-gray);
}
.footer-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: calc(var(--spacing-unit) * 6);
}
.footer-menu a {
    color: var(--slate-gray);
}
.footer-menu a:hover {
    color: var(--guidal-blue);
}

/* 8. Responsive Design */

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .value-buckets {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 10);
    }
}

/* Mobile (<= 640px) */
@media (max-width: 640px) {
    .nav-menu, .nav-cta {
        display: none; /* Simple hiding for this example; a burger menu would be the next step */
    }

    h1 { font-size: 2rem; }
    
    .cta-group {
        flex-direction: column;
    }

    .card-container {
        grid-template-columns: 1fr;
    }

    .value-buckets {
        grid-template-columns: 1fr;
    }
}