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

html {
    margin: 0;
    padding: 0;
}

:root {
    /* Brand Colors - "Trustworthy Technology for Real-World Businesses" */
    --primary-blue: #2563EB;        /* Trust / Tech - Core CTA and gradient */
    --primary-hover: #1d4ed8;       /* Darker blue for hover states */
    --secondary-green: #16A34A;     /* Energy / Call Action - CTAs only */
    --secondary-hover: #15803d;     /* Darker green for hover */
    --background-neutral: #F9FAFB;  /* Very light gray - contrast behind blue */
    --text-primary: #1E293B;        /* Slate gray - easier on eyes */
    --text-secondary: #64748b;      /* Lighter gray for secondary text */
    --border-color: #e2e8f0;        /* Light border */
    --card-bg: #ffffff;             /* Pure white for cards */
    --error-red: #EF4444;           /* Error/validation */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', 'Manrope', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.5;
    color: var(--text-primary);
    background: linear-gradient(135deg, #1e40af 0%, var(--primary-blue) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Top Banner - Only use green for free trial messaging */
.top-banner {
    background: var(--secondary-green);
    color: white;
    padding: 0.875rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.top-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.banner-text {
    font-weight: 600;
    font-size: 0.95rem;
}

.banner-cta {
    background: white;
    color: var(--secondary-green);
    padding: 0.625rem 1.75rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.banner-cta:hover {
    background: #f0fdf4;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Landing Container */
.landing-container {
    max-width: 100%;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Combined Hero + Form Section */
.hero-with-form-section {
    color: white;
    padding: 5rem 2rem;
    flex: 1;
    display: flex;
    align-items: center;
}

.hero-form-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Hero Content (Left Side) */
.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 1.75rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.35rem;
    opacity: 0.95;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 1.25rem;
}

.hero-supporting {
    font-size: 1.125rem;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 400;
}

/* Demo Selector Module (Right Side) - White card with shadow */
.demo-selector-module {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 520px;
}

.demo-selector-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 0.875rem;
    text-align: center;
}

.demo-icon {
    display: inline-block;
    margin-right: 0.5rem;
}

.demo-selector-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.5;
    text-align: center;
    margin-bottom: 2rem;
}

/* Industry Button Grid */
.industry-button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.industry-button {
    background: var(--background-neutral);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.industry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
    background: white;
}

.industry-button.selected {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.industry-icon {
    font-size: 2rem;
    display: block;
}

.industry-name {
    font-size: 1rem;
    font-weight: 700;
}

.demo-selector-helper {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Selected State Styles */
.demo-selector-selected {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.selected-industry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.selected-industry-badge {
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
}

.change-industry-link {
    background: none;
    border: none;
    color: var(--primary-blue);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.change-industry-link:hover {
    color: var(--primary-hover);
}

/* Phone Number Section */
.phone-number-section {
    text-align: center;
}

.phone-cta-text {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.phone-number-display {
    display: block;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    margin: 1.25rem 0;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.phone-number-display:hover {
    color: var(--primary-hover);
    transform: scale(1.05);
}

/* Experience List */
.experience-list h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.experience-list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.experience-list li {
    padding: 0.5rem 0;
    color: var(--text-primary);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.experience-list li::before {
    content: "✓ ";
    color: var(--secondary-green);
    font-weight: 700;
    margin-right: 0.5rem;
}

.experience-footer {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-top: 0.75rem;
    font-weight: 500;
}

/* Trial CTA Section */
.trial-cta-section {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.trial-cta-text {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

/* Section Title & Subtitle (for demo sections) */
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    text-align: center;
    line-height: 1.6;
}

/* Buttons */
.btn {
    padding: 1.125rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.0625rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.btn-primary:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.btn-secondary {
    background: var(--text-secondary);
    color: white;
}

.btn-secondary:hover {
    background: #475569;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(100, 116, 139, 0.3);
}

.btn-demo {
    background: white;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-demo:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.btn-large {
    width: 100%;
    padding: 1.375rem 2rem;
    font-size: 1.125rem;
}

.btn-cta {
    background: var(--secondary-green);
    color: white;
    font-size: 1.25rem;
    padding: 1.5rem 3rem;
}

.btn-cta:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.3);
}

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

.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.demo-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.demo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-blue);
}

.demo-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.875rem;
    letter-spacing: -0.01em;
}

.demo-description {
    color: var(--text-secondary);
    margin-bottom: 1.75rem;
    min-height: 3rem;
    line-height: 1.5;
}

.demo-icon {
    font-size: 1.5rem;
}

/* Demo Detail Section */
.demo-detail-section {
    max-width: 800px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.demo-detail-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.detail-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

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

.phone-display h3 {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.phone-number {
    display: block;
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    margin: 1.25rem 0;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.phone-number:hover {
    color: var(--primary-hover);
    transform: scale(1.05);
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid var(--border-color);
}

.divider span {
    padding: 0 1.25rem;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.875rem;
}

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

.cta-section h3 {
    font-size: 1.375rem;
    color: var(--text-primary);
    margin-bottom: 1.75rem;
    font-weight: 700;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.875rem 0;
    text-align: center;
    font-size: 0.9375rem;
    flex-shrink: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.footer p {
    margin: 0;
    padding: 0 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-form-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .demo-selector-module {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }

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

    .hero-with-form-section {
        padding: 3.5rem 1.5rem;
        /* On mobile, allow scrolling if content is taller than viewport */
        flex: 0 1 auto;
        min-height: calc(100vh - 120px);
    }

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

    .demo-selector-module {
        padding: 2rem;
    }

    .phone-number-display {
        font-size: 2rem;
    }

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

    .demo-detail-card {
        padding: 2.5rem 1.75rem;
    }

    .phone-number {
        font-size: 2rem;
    }

    .top-banner-content {
        flex-direction: column;
        gap: 0.875rem;
        text-align: center;
    }

    .banner-text {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .phone-number-display {
        font-size: 1.75rem;
    }

    .demo-selector-module {
        padding: 1.75rem;
    }

    .industry-button {
        padding: 1.25rem 0.75rem;
    }

    .industry-icon {
        font-size: 1.5rem;
    }

    .hero-with-form-section {
        /* Tighter padding on very small screens */
        padding: 2.5rem 1.25rem;
    }
}
