:root {
    /* Colors - Clean Performance Palette */
    --bg-color: #ffffff;
    --bg-surface: #f8fafc;
    /* Slate 50 */
    --bg-surface-hover: #f1f5f9;
    /* Slate 100 */

    --text-primary: #0f172a;
    /* Slate 900 */
    --text-secondary: #475569;
    /* Slate 600 */
    --text-tertiary: #94a3b8;
    /* Slate 400 */

    --accent-primary: #2563eb;
    /* Blue 600 */
    --accent-hover: #1d4ed8;
    /* Blue 700 */
    --accent-light: #eff6ff;
    /* Blue 50 */

    --success-color: #16a34a;
    /* Green 600 */
    --border-color: #e2e8f0;
    /* Slate 200 */

    /* Typography */
    --font-family: 'Inter', sans-serif;
    --h1-size: 3.5rem;
    --h2-size: 2.5rem;
    --h3-size: 1.5rem;
    --body-size: 1.125rem;
    /* Large readable text */

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 6rem 0;

    /* Transitions */
    --transition: 0.2s ease;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: var(--body-size);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-accent {
    color: var(--accent-primary);
}

.align-left {
    text-align: left !important;
}

/* Typography */
.section-title {
    font-size: var(--h2-size);
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-subtitle {
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    text-align: center;
    transition: var(--transition);
    justify-content: center;
    align-items: center;
}

.btn--primary {
    background-color: var(--accent-primary);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--secondary {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn--secondary:hover {
    border-color: var(--text-primary);
    background-color: var(--bg-surface);
}

.btn--text {
    background: none;
    padding: 0;
    color: var(--accent-primary);
    font-weight: 600;
}

.btn--text:hover {
    text-decoration: underline;
}

.btn--full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.nav__list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav__link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
}

.nav__link:hover {
    color: var(--text-primary);
}

.nav__link--cta {
    background-color: var(--text-primary);
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
}

.nav__link--cta:hover {
    background-color: var(--accent-primary);
    color: #ffffff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    background: linear-gradient(to bottom, #ffffff, var(--bg-surface));
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero__title {
    font-size: var(--h1-size);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    font-weight: 800;
}

.hero__subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 550px;
    line-height: 1.5;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Visual - Growth Card */
.hero__visual {
    display: flex;
    justify-content: center;
}

.growth-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.growth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.growth-title {
    font-weight: 600;
    color: var(--text-secondary);
}

.growth-badge {
    background: #dcfce7;
    color: #166534;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
}

.growth-chart {
    height: 200px;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.bar {
    flex: 1;
    background: var(--bg-surface-hover);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease;
}

.bar.active {
    background: var(--accent-primary);
}

.growth-stat {
    display: flex;
    justify-content: space-between;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 0.25rem;
}

.stat-item .value {
    font-weight: 700;
    font-size: 1.1rem;
}

.value.down {
    color: var(--success-color);
    /* Good for cost */
}

.value.up {
    color: var(--success-color);
    /* Good for revenue */
}

/* Social Proof */
.social-proof {
    padding: 3rem 0;
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
}

.social-proof__label {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    opacity: 0.6;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-tertiary);
}

.mini-testimonials {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.mini-testi {
    background: var(--bg-surface);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.mini-testi .quote {
    font-weight: 600;
    color: var(--text-primary);
}

.mini-testi .author {
    color: var(--text-secondary);
}

/* Services */
.services {
    background: #ffffff;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ICP */
.icp {
    background: var(--bg-surface);
}

.icp__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.icp-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.icp-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.icp-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Cases */
.cases__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.case-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.case-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.case-badge {
    background: var(--accent-light);
    color: var(--accent-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.case-metrics {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background: var(--bg-surface);
    padding: 1.5rem;
    border-radius: 8px;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric .label {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    margin-bottom: 0.25rem;
}

.metric .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.metric .value.highlight {
    color: var(--accent-primary);
}

.metric-arrow {
    font-size: 1.5rem;
    color: var(--text-tertiary);
}

.case-quote {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* About */
.about__container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about__text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.trust-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.about__image {
    display: flex;
    justify-content: center;
}

.photo-placeholder {
    width: 100%;
    max-width: 400px;
    height: 400px;
    background: var(--bg-surface);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-tertiary);
    font-weight: 600;
    border: 2px dashed var(--border-color);
}

/* Lead Magnet */
.lead-magnet {
    padding: 4rem 0;
}

.magnet-box {
    background: var(--text-primary);
    /* Dark background */
    color: #ffffff;
    border-radius: 16px;
    padding: 4rem;
    text-align: center;
    background-image: linear-gradient(135deg, var(--text-primary) 0%, #1e293b 100%);
}

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

.magnet-content p {
    font-size: 1.25rem;
    color: var(--text-tertiary);
    margin-bottom: 2.5rem;
}

.magnet-content strong {
    color: #ffffff;
}

/* Contact */
.contact__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.calendly-embed {
    width: 100%;
    min-height: 600px;
    background: var(--bg-surface);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.calendly-inline-widget {
    width: 100%;
    height: 600px;
}

@media (max-width: 768px) {
    .calendly-embed {
        min-height: 700px;
    }

    .calendly-inline-widget {
        height: 700px;
    }
}

.calendly-placeholder {
    text-align: center;
    color: var(--text-secondary);
}

.contact__form-wrapper h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact__form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    display: none;
    font-size: 0.95rem;
    text-align: center;
}

.form-message.success {
    background: #dcfce7;
    color: #166534;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
}

/* Footer */
.footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    color: var(--text-secondary);
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__col a {
    color: var(--text-secondary);
}

.footer__col a:hover {
    color: var(--accent-primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    :root {
        --h1-size: 2.5rem;
        --h2-size: 2rem;
        --section-padding: 4rem 0;
    }

    .hero__container,
    .about__container,
    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero__visual {
        order: -1;
    }

    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        transform: translateY(0);
    }

    .nav__list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

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