/* ================================================
   VERTICAL SELECTOR PAGE STYLES
   Styles for main landing page with 3 vertical cards
   ================================================ */

/* Vertical Hero Section */
.vertical-hero {
    background: linear-gradient(135deg, var(--tfm-primary) 0%, var(--tfm-secondary) 100%);
    padding: 120px 0 80px 0;
    text-align: center;
    color: white;
}

.vertical-hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.vertical-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.vertical-hero .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.98);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Vertical Cards Section */
.vertical-cards-section {
    padding: 80px 0;
}

.vertical-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual Vertical Card */
.vertical-card {
    background: white;
    border: 2px solid var(--tfm-border);
    border-radius: var(--tfm-radius-lg);
    padding: 40px;
    text-decoration: none;
    color: var(--tfm-text);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Vertical-specific subtle backgrounds - matching industry page colors */
.vertical-card.accounting-card {
    background: linear-gradient(135deg, #f7f5ff 0%, #f0edff 100%);
}

.vertical-card.legal-card {
    background: linear-gradient(135deg, #f0f5ff 0%, #e6f0ff 100%);
}

.vertical-card.realestate-card {
    background: linear-gradient(135deg, #f5f0f9 0%, #e5dbed 100%);
}

.vertical-card.medical-card {
    background: linear-gradient(135deg, #f0f8f9 0%, #e8f4f6 100%);
}

.vertical-card.insurance-card {
    background: linear-gradient(135deg, #fff8f3 0%, #fef3eb 100%);
}

.vertical-card.education-card {
    background: linear-gradient(135deg, #f5f6fb 0%, #eff1f9 100%);
}

.vertical-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tfm-primary), var(--tfm-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vertical-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--tfm-primary);
}

.vertical-card:hover::before {
    opacity: 1;
}

/* Vertical-specific color accents */
.vertical-card.accounting-card:hover {
    border-color: var(--tfm-primary);
}

.vertical-card.accounting-card::before {
    background: linear-gradient(90deg, var(--tfm-primary), var(--tfm-secondary));
}

.vertical-card.legal-card:hover {
    border-color: #1e3a5f;
}

.vertical-card.legal-card::before {
    background: linear-gradient(90deg, #1e3a5f, #2563eb);
}

.vertical-card.realestate-card:hover {
    border-color: #0f766e;
}

.vertical-card.realestate-card::before {
    background: linear-gradient(90deg, #0f766e, #14b8a6);
}

.vertical-card.medical-card:hover {
    border-color: #0c7489;
}

.vertical-card.medical-card::before {
    background: linear-gradient(90deg, #0c7489, #10a0bb);
}

.vertical-card.insurance-card:hover {
    border-color: #c05621;
}

.vertical-card.insurance-card::before {
    background: linear-gradient(90deg, #c05621, #e67e22);
}

.vertical-card.education-card:hover {
    border-color: #3b51a3;
}

.vertical-card.education-card::before {
    background: linear-gradient(90deg, #3b51a3, #5c6bc0);
}

/* Card Icon */
.vertical-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: block;
    transition: transform 0.3s ease;
}

.vertical-card:hover .vertical-icon {
    transform: scale(1.1);
}

.vertical-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--tfm-primary-dark);
}

.vertical-card > p {
    color: var(--tfm-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Vertical Features List */
.vertical-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.vertical-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--tfm-text);
    font-size: 0.95rem;
}

.vertical-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--tfm-primary);
    font-weight: 700;
}

/* Vertical CTA */
.vertical-cta {
    color: var(--tfm-primary);
    font-weight: 600;
    font-size: 1rem;
    padding-top: 16px;
    border-top: 1px solid var(--tfm-border);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vertical-cta::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.vertical-card:hover .vertical-cta {
    transform: translateX(4px);
}

.vertical-card:hover .vertical-cta::after {
    transform: translateX(4px);
}

.vertical-card.accounting-card .vertical-cta {
    color: var(--tfm-primary);
}

.vertical-card.legal-card .vertical-cta {
    color: #1e3a5f;
}

.vertical-card.realestate-card .vertical-cta {
    color: #0f766e;
}

.vertical-card.medical-card .vertical-cta {
    color: #0c7489;
}

.vertical-card.insurance-card .vertical-cta {
    color: #c05621;
}

.vertical-card.education-card .vertical-cta {
    color: #3b51a3;
}

/* Responsive Design */
@media (max-width: 900px) {
    .vertical-hero {
        padding: 80px 0 60px 0;
    }

    .vertical-hero h1 {
        font-size: 2.25rem;
    }

    .vertical-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .vertical-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vertical-card {
        padding: 32px;
    }
}

@media (max-width: 600px) {
    .vertical-hero {
        padding: 60px 0 40px 0;
    }

    .vertical-hero h1 {
        font-size: 1.75rem;
    }

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

    .vertical-card {
        padding: 24px;
    }

    .vertical-icon {
        font-size: 2.5rem;
    }
}
