/* Butler Landing Page - Clean & Bold */
/* Primary: #a11b3d | Font: Figtree */

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

:root {
    --primary: #a11b3d;
    --primary-dark: #7d1530;
    --primary-light: #d4365a;
    --primary-lighter: #f9e8ec;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --background: #ffffff;
    --background-alt: #faf7f8;
    --background-dark: #1a1a1a;
    --font-primary: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

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

::selection {
    background-color: var(--primary);
    color: #ffffff;
}

/* Logo */
.logo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem 1rem 2rem;
}

.logo-image {
    height: 45px;
    width: auto;
    display: block;
}

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

/* Section Title */
.section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    min-height: 55vh;
    display: flex;
    align-items: center;
    padding: 2rem 0 4rem 0;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--background) 100%);
}

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

.hero-title {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
}

.hero-underline {
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

.hero-description {
    max-width: 500px;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

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

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: var(--primary);
    color: #ffffff;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 100px;
    border: 2px solid var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Problem Section */
.problem-section {
    padding: 4rem 0;
    background-color: var(--background);
}

.problem-content {
    max-width: 700px;
}

.problem-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.problem-text:last-child {
    margin-bottom: 0;
}

/* Ecosystem Section */
.ecosystem-section {
    padding: 4rem 0;
    background-color: var(--primary-lighter);
}

.ecosystem-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

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

.ecosystem-card {
    padding: 1.75rem;
    background: var(--background);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ecosystem-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.ecosystem-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.ecosystem-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* How Section */
.how-section {
    padding: 4rem 0;
    background-color: var(--background-dark);
    color: #ffffff;
}

.how-section .section-title {
    color: #ffffff;
}

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

.step {
    position: relative;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.75rem;
    display: block;
}

.step h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background-color: var(--primary);
}

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

.benefit h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.benefit p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Waitlist Section */
.waitlist-section {
    padding: 4rem 0;
    background-color: var(--background-alt);
}

.waitlist-content {
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
}

.waitlist-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: var(--background);
    transition: border-color 0.3s ease;
}

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

.form-input::placeholder {
    color: var(--text-light);
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    cursor: pointer;
}

.cta-submit {
    margin-top: 0.5rem;
    width: 100%;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(161, 27, 61, 0.3);
    z-index: 1000;
}

.scroll-to-top svg {
    width: 20px;
    height: 20px;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(161, 27, 61, 0.4);
}

/* Footer */
.footer {
    padding: 3rem 0 2rem 0;
    background-color: var(--background-dark);
    color: #ffffff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 35px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

/* Responsive - Tablet */
@media (max-width: 900px) {
    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .hero-section {
        min-height: auto;
        padding: 1.5rem 0 3rem 0;
    }

    .problem-section,
    .ecosystem-section,
    .how-section,
    .benefits-section,
    .waitlist-section {
        padding: 3.5rem 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .scroll-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 44px;
        height: 44px;
    }

    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
    .logo-container {
        padding: 1.25rem 1.25rem 0.75rem 1.25rem;
    }

    .logo-image {
        height: 38px;
    }

    .hero-container,
    .section-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .hero-section {
        padding: 1rem 0 2.5rem 0;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.35;
    }

    .hero-underline {
        text-decoration-thickness: 2px;
        text-underline-offset: 3px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .problem-section,
    .ecosystem-section,
    .how-section,
    .benefits-section,
    .waitlist-section {
        padding: 3rem 0;
    }

    .problem-text {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }

    .ecosystem-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .ecosystem-card {
        padding: 1.5rem;
    }

    .ecosystem-card h3 {
        font-size: 1.2rem;
    }

    .ecosystem-card p {
        font-size: 0.9rem;
    }

    .step-number {
        font-size: 2.5rem;
    }

    .step h4 {
        font-size: 1.1rem;
    }

    .step p {
        font-size: 0.9rem;
    }

    .benefit h3 {
        font-size: 1.1rem;
    }

    .benefit p {
        font-size: 0.9rem;
    }

    .waitlist-content {
        max-width: 100%;
    }

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

    .form-input {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }

    .footer {
        padding: 2.5rem 0 1.5rem 0;
    }

    .footer-logo {
        height: 30px;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .scroll-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 42px;
        height: 42px;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.35rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .ecosystem-card {
        padding: 1.25rem;
    }
}
