/* =================================================================
   Xophia.ai - Content Updates CSS
   Priority 1 Implementation: Hero, Solutions Tiers, 4 Pillars, Dual CTA
   ================================================================= */

/* =================================================================
   0. NAVIGATION UPDATES
   ================================================================= */

/* Align nav-container with content sections */
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Contact button in navigation - exact same height as ES/EN buttons */
.nav-links .btn-secondary {
    /* Use outline instead of border to maintain exact same height */
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 22px;
    display: inline-block;
    line-height: 1;
    background: transparent;
    border: none;  /* No border - use outline instead */
    outline: 1px solid rgba(160, 169, 184, 0.3);  /* Doesn't affect height */
    outline-offset: -1px;  /* Keep outline inside */
    color: #a0a9b8;
    transition: all 0.3s ease;
}

.nav-links .btn-secondary:hover {
    transform: none;
    background: rgba(0, 245, 255, 0.05);
    outline-color: rgba(0, 245, 255, 0.5);
    color: #e1e5e9;
}

/* =================================================================
   1. HERO SECTION UPDATES
   ================================================================= */

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: #14b8a6;
    margin: 0.5rem 0 1rem 0;
    letter-spacing: 0.5px;
}

/* =================================================================
   2. SOLUTIONS TIERS SECTION
   ================================================================= */

.solutions-tiers {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.solutions-tiers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #06b6d4, transparent);
}

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

.tier-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #06b6d4, #14b8a6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.tier-card.featured {
    border-color: rgba(20, 184, 166, 0.4);
    background: rgba(20, 184, 166, 0.05);
    transform: scale(1.02);
}

.tier-card.featured::before {
    background: linear-gradient(90deg, #14b8a6, #2dd4bf);
}

.tier-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid #06b6d4;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #06b6d4;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.tier-badge.enterprise {
    background: rgba(20, 184, 166, 0.2);
    border-color: #14b8a6;
    color: #14b8a6;
}

.tier-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.tier-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: rgba(6, 182, 212, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06b6d4;
    font-size: 0.875rem;
    font-weight: bold;
}

.tier-card.featured .feature-icon {
    background: rgba(20, 184, 166, 0.2);
    color: #14b8a6;
}

.feature-text {
    flex: 1;
    color: #cbd5e1;
    line-height: 1.6;
}

.feature-text strong {
    color: #ffffff;
    font-weight: 600;
}

.tier-tagline {
    font-size: 0.95rem;
    color: #94a3b8;
    font-style: italic;
    margin: 1.5rem 0;
    text-align: center;
}

.btn-tier-primary {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 1.5rem 0;
}

.btn-tier-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
}

.btn-tier-primary.featured {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.btn-tier-primary.featured:hover {
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.4);
}

.tier-ideal-for {
    font-size: 0.875rem;
    color: #94a3b8;
    padding: 1rem;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 8px;
    border-left: 3px solid #06b6d4;
    margin-top: 1.5rem;
}

.tier-card.featured .tier-ideal-for {
    border-left-color: #14b8a6;
    background: rgba(20, 184, 166, 0.05);
}

.tiers-comparison {
    margin-top: 4rem;
    text-align: center;
    padding: 2.5rem;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(6, 182, 212, 0.1);
}

.comparison-note {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.comparison-note strong {
    color: #06b6d4;
    font-weight: 600;
}

.comparison-cta {
    margin-top: 1rem;
}

/* =================================================================
   3. VALUE PILLARS (4 PILLARS) SECTION
   ================================================================= */

.value-pillars {
    padding: 6rem 0;
    background: #0a0f1e;
    position: relative;
}

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

.pillar-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #06b6d4, #14b8a6);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.pillar-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.2);
}

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

.pillar-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #06b6d4, #14b8a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pillar-icon {
    color: #06b6d4;
    opacity: 0.8;
}

.pillar-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.pillar-card p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.pillar-card p em {
    color: #14b8a6;
    font-style: normal;
    font-weight: 600;
}

.pillar-metric {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
}

.metric-highlight {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 6px;
    color: #06b6d4;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* =================================================================
   4. APPROACH SECTION (UPDATED HOW WE WORK)
   ================================================================= */

.approach {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

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

.approach-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.15);
}

.approach-icon {
    margin-bottom: 1.5rem;
    color: #06b6d4;
}

.approach-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.approach-card p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.approach-highlight {
    padding: 0.75rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    border-left: 3px solid #06b6d4;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #06b6d4;
    font-weight: 600;
    font-style: italic;
}

/* =================================================================
   5. TIER TAGS (FOR USE CASES)
   ================================================================= */

.tier-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 0.5rem;
}

.tier-tag.quick-start {
    background: rgba(6, 182, 212, 0.2);
    color: #06b6d4;
    border: 1px solid #06b6d4;
}

.tier-tag.custom {
    background: rgba(20, 184, 166, 0.2);
    color: #14b8a6;
    border: 1px solid #14b8a6;
}

.industry-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

/* =================================================================
   6. DUAL CTA SECTION
   ================================================================= */

.cta-dual {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0a0f1e 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.cta-dual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cta-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-intro {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-paths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.cta-card {
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-radius: 16px;
    padding: 3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #06b6d4, #0891b2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.cta-card.featured {
    border-color: rgba(20, 184, 166, 0.5);
    background: rgba(20, 184, 166, 0.08);
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.2);
}

.cta-card.featured::before {
    background: linear-gradient(90deg, #14b8a6, #2dd4bf);
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(6, 182, 212, 0.25);
}

.cta-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.cta-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.cta-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
}

.cta-description {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.cta-benefits {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.cta-benefits li {
    color: #e2e8f0;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
    font-size: 1rem;
}

.cta-benefits li:last-child {
    border-bottom: none;
}

.cta-card .btn-primary {
    width: 100%;
    margin: 1.5rem 0;
}

.cta-subtext {
    text-align: center;
    font-size: 0.875rem;
    color: #94a3b8;
    font-style: italic;
}

.cta-footer {
    margin-top: 4rem;
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(6, 182, 212, 0.2);
}

.contact-label {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.contact-info {
    font-size: 1.25rem;
    color: #ffffff;
}

.contact-link {
    color: #06b6d4;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #14b8a6;
    text-decoration: underline;
}

.contact-divider {
    margin: 0 1rem;
    color: #475569;
}

/* =================================================================
   7. RESPONSIVE DESIGN
   ================================================================= */

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

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

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

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

    .cta-card.featured {
        transform: scale(1);
    }

    .cta-card.featured:hover {
        transform: translateY(-5px);
    }

    .cta-header h2 {
        font-size: 2rem;
    }

    .contact-divider {
        display: block;
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .tier-card,
    .pillar-card,
    .approach-card,
    .cta-card {
        padding: 1.5rem;
    }

    .tier-card h3,
    .pillar-card h3,
    .approach-card h3,
    .cta-card h3 {
        font-size: 1.25rem;
    }

    .cta-icon {
        font-size: 2rem;
    }
}

/* =================================================================
   8. ACCESSIBILITY & ANIMATIONS
   ================================================================= */

@media (prefers-reduced-motion: reduce) {
    .tier-card,
    .pillar-card,
    .approach-card,
    .cta-card {
        transition: none;
    }

    .tier-card:hover,
    .pillar-card:hover,
    .approach-card:hover,
    .cta-card:hover {
        transform: none;
    }
}

/* Focus states for accessibility */
.btn-tier-primary:focus,
.comparison-cta:focus,
.cta-card .btn-primary:focus {
    outline: 2px solid #06b6d4;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .solutions-tiers,
    .value-pillars,
    .approach,
    .cta-dual {
        page-break-inside: avoid;
    }
}
