/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Hildens Consulting Brand Colors */
    --primary-color: #00004b;
    --primary-hover: #0000c4;
    --secondary-color: #0088cc;
    --accent-color: #0000c4;
    --text-dark: #121217;
    --text-light: #64748b;
    --bg-light: #f7f7f8;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --gradient: linear-gradient(135deg, #00004b 0%, #0000c4 50%, #0088cc 100%);
    --gradient-radial: radial-gradient(circle at top right, #0088cc, #00004b);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

.container-small {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.nav {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-playbook {
    position: relative;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    width: 120px;
    height: 120px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: white;
    padding-top: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Buttons */
.btn-primary, .btn-primary-large {
    background: var(--bg-white);
    color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary:hover, .btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--border-color);
    transition: all 0.2s;
}

.btn-outline, .btn-outline-large {
    background: transparent;
    color: var(--bg-white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--bg-white);
    transition: all 0.2s;
    display: inline-block;
}

.btn-outline-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-outline:hover, .btn-outline-large:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

/* Problem Section */
.problem {
    padding: 5rem 0;
    background: var(--bg-light);
}

.problem h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.problem-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-light);
}

/* Features Section */
.features {
    padding: 5rem 0;
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 1.5rem;
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: var(--bg-light);
}

.benefits h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.benefit-card ul {
    list-style: none;
}

.benefit-card li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

/* Use Cases Section */
.use-cases {
    padding: 5rem 0;
}

.use-cases h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.use-case {
    background: var(--bg-light);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.use-case h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.use-case-meta {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.use-case-challenge, .use-case-solution, .use-case-results {
    margin: 2rem 0;
}

.use-case h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 1.5rem 0;
}

.result {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.result-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonial {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-dark);
}

.testimonial cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-color);
}

/* SDK Alignment Section */
.sdk-alignment {
    padding: 5rem 0;
    background: var(--bg-light);
}

.sdk-alignment h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.alignment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.alignment-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.alignment-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.alignment-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.alignment-card p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: var(--gradient);
    color: white;
    text-align: center;
}

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

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.cta-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

.cta-note code {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
}

/* Playbook Access Page */
.playbook-access {
    padding: 2rem 0 5rem;
    min-height: 100vh;
}

.signup-container {
    margin-top: 2rem;
}

.playbook-header {
    text-align: center;
    margin-bottom: 3rem;
}

.playbook-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.playbook-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.playbook-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.8;
}

.playbook-value {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
    margin: 0 auto 2rem;
    max-width: 900px;
}

.playbook-value h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.value-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.value-list li {
    color: var(--text-dark);
    padding: 0.5rem 0;
}

.signup-form-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    max-width: 600px;
    margin: 0 auto;
}

.signup-form-card h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    text-align: center;
}

/* Playbook Page Button Overrides */
.playbook-access .btn-primary-large,
.signup-form-card .btn-primary-large {
    background: var(--primary-color);
    color: white;
    border: none;
}

.playbook-access .btn-primary-large:hover,
.signup-form-card .btn-primary-large:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.form-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.privacy-note {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Playbook Content */
.playbook-content {
    margin-top: 3rem;
}

.playbook-welcome {
    background: var(--gradient);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.playbook-welcome h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.playbook-document {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.playbook-document h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.playbook-document h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.playbook-document h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--text-dark);
}

.playbook-document h4 {
    font-size: 1.25rem;
    margin: 1rem 0 0.5rem;
    color: var(--secondary-color);
}

.playbook-document p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.playbook-document ul,
.playbook-document ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.playbook-document li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.playbook-document code {
    background: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.playbook-document pre {
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1rem;
}

.playbook-document table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.playbook-document th,
.playbook-document td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.playbook-document th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
}

.playbook-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-section .version {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 0.75rem 1.5rem;
    }

    .logo-img {
        width: 100px;
        height: 100px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .problem-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .alignment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0.5rem 1rem;
        flex-wrap: wrap;
    }

    .logo-img {
        width: 90px;
        height: 90px;
    }

    .nav-links {
        gap: 0.75rem;
        font-size: 0.875rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin-top: 0.5rem;
    }

    .nav-links a {
        padding: 0.25rem 0.5rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .stat {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .features-grid,
    .alignment-grid {
        grid-template-columns: 1fr;
    }

    .problem-grid,
    .benefits-grid {
        gap: 1rem;
    }

    .problem-card,
    .benefit-card,
    .feature-card {
        padding: 1.5rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-primary-large,
    .btn-outline-large {
        width: 100%;
        text-align: center;
    }

    .cta-note {
        font-size: 0.75rem;
        overflow-x: auto;
    }

    .signup-form-card {
        padding: 1.5rem 1rem;
    }

    .playbook-document {
        padding: 1.5rem 1rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}

/* Email Confirmation */
.email-confirmation {
    margin-top: 3rem;
}

.confirmation-message {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.confirmation-details {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.confirmation-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
