/* Book Demo page-specific styles */

/* Section override - less vertical padding since hero has its own padding */
.section {
    padding: 60px 40px 100px;
}

/* Hero section - override main.css flex to block */
.hero {
    display: block;
    min-height: auto;
    background: linear-gradient(135deg, #1a1f35 0%, #0a0e1a 100%);
    padding: 80px 40px;
    text-align: center;
}

.hero::before {
    display: none;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #f5f5f5;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.hero .subtitle {
    font-size: 28px;
    color: #00d4ff;
    margin-bottom: 30px;
}

.hero .subtext {
    font-size: 20px;
    color: #a0aec0;
    max-width: 800px;
    margin: 0 auto;
}

/* Main Content Layout */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: stretch;
}

/* Desktop layout: side-by-side */
@media (min-width: 1024px) {
    .main-content {
        display: grid;
        grid-template-columns: 1fr 500px;
        gap: 50px;
    }

    .content-left {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .content-right {
        display: flex;
        flex-direction: column;
        gap: 40px;
        position: sticky;
        top: 92px; /* adjust to your header height */
        align-self: start; /* important in grid so it can stick */
    }
}

.benefits {
    padding-right: 40px;
}
.benefits.demo-benefits {
    padding: 0;
}

/* Section Titles */
.section-title {
    font-size: 36px;
    color: #00ff88;
    margin-bottom: 30px;
}

/* Benefit Cards */
.benefit-card {
    background: linear-gradient(135deg, #1a1f35 0%, #0f1419 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 12px;
}

.benefit-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-card .icon {
    font-size: 32px;
}

.benefit-card p {
    font-size: 18px;
    color: #a0aec0;
    line-height: 1.8;
}

/* Form Container - page-specific overrides */
.form-container {
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Form row uses flex instead of grid on this page */
.form-row {
    display: flex;
    gap: 15px;
}

.form-group label {
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
}

.submit-btn {
    border-radius: 8px;
}

/* Trust Signals */
.trust-signals {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #a0aec0;
}

.trust-item .check {
    color: #00ff88;
    font-size: 18px;
    font-weight: 700;
}

/* Footer override */
footer {
    padding: 60px 40px 40px;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    margin-top: 80px;
}

footer .logo {
    justify-content: center;
    margin-bottom: 20px;
}

footer p {
    font-size: 16px;
    line-height: 1.6;
}

footer p:first-of-type {
    margin-top: 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .form-container {
        position: relative;
        top: 0;
    }

    .benefits {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .logo-hex {
        width: 80px;
        height: 80px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero .subtitle {
        font-size: 22px;
    }

    .hero .subtext {
        font-size: 18px;
    }

    .section {
        padding: 40px 20px 60px;
    }

    .form-container {
        padding: 25px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: 20px;
    }

    footer {
        padding: 40px 20px;
    }
}

/* Mid desktop / small laptop (e.g. 1159px) */
@media (min-width: 1024px) and (max-width: 1200px) {
    .main-content {
        display: grid;
        grid-template-columns: 1fr 420px; /* was 500px */
        gap: 36px; /* was 50px */
        align-items: start;
    }

    .benefits {
        padding-right: 0; /* avoid squeezing left column */
    }

    .benefit-card {
        padding: 24px;
    }

    .benefit-card p {
        font-size: 16px; /* slightly smaller for tighter screens */
        line-height: 1.7;
    }
}

@media (max-width: 1023px) {
    .main-content {
        display: flex;
        flex-direction: column;
    }

    .benefits {
        padding-right: 0;
    }
}
