/**
 * Landing Pages - Base Styles
 * Shared styles for all persona-specific landing pages
 */

/* ============================================
   ICON CENTERING
   ============================================ */

/* Override base use-case-icon styles for landing pages */
.product-card .use-case-icon.centered {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto var(--space-lg) !important;
    width: 80px !important;
    height: 80px !important;
    background: var(--glassmorphism-background) !important;
    border-radius: var(--radius-2xl) !important;
    border: 1px solid var(--glassmorphism-border) !important;
    backdrop-filter: blur(10px) !important;
    font-size: inherit !important;
}

.product-card .use-case-icon.centered img {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
    filter: none !important;
}

/* Font Awesome icon colors */
.product-card .use-case-icon.centered i {
    color: white !important;
    font-size: 1.5rem !important;
}

/* Specific colors for different Font Awesome icons */
.product-card .use-case-icon.centered i.fa-shield-alt {
    color: #4CAF50 !important;
}

.product-card .use-case-icon.centered i.fa-lock {
    color: #FF5722 !important;
}

.product-card .use-case-icon.centered i.fa-cogs {
    color: #2196F3 !important;
}

.product-card .use-case-icon.centered i.fa-chart-line {
    color: #9C27B0 !important;
}

.product-card .use-case-icon.centered i.fa-microchip {
    color: #FF9800 !important;
}

.product-card .use-case-icon.centered i.fa-database {
    color: #00BCD4 !important;
}

.product-card .use-case-icon.centered i.fa-dollar-sign {
    color: #4CAF50 !important;
}

.product-card .use-case-icon.centered i.fa-brain {
    color: #E91E63 !important;
}

.product-card .use-case-icon.centered i.fa-expand-arrows-alt {
    color: #673AB7 !important;
}

.product-card .use-case-icon.centered i.fa-landmark {
    color: #795548 !important;
}

.product-card .use-case-icon.centered i.fa-city {
    color: #607D8B !important;
}

.product-card .use-case-icon.centered i.fa-users {
    color: #3F51B5 !important;
}

.product-card .use-case-icon.centered i.fa-handshake {
    color: #FFC107 !important;
}

.product-card .use-case-icon.centered i.fa-certificate {
    color: #FF5722 !important;
}

.product-card .use-case-icon.centered i.fa-clipboard-check {
    color: #4CAF50 !important;
}

.product-card .use-case-icon.centered i.fa-user-shield {
    color: #9C27B0 !important;
}

.product-card .use-case-icon.centered i.fa-cloud {
    color: #00BCD4 !important;
}

.product-card .use-case-icon.centered i.fa-rocket {
    color: #FF5722 !important;
}

.product-card .use-case-icon.centered i.fa-chart-bar {
    color: #4CAF50 !important;
}

.product-card .use-case-icon.centered i.fa-calendar-check {
    color: #2196F3 !important;
}

.product-card .use-case-icon.centered i.fa-exclamation-triangle {
    color: #FF9800 !important;
}

.product-card .use-case-icon.centered i.fa-clock {
    color: #607D8B !important;
}

@media (max-width: 768px) {
    .product-card .use-case-icon.centered {
        width: 60px !important;
        height: 60px !important;
    }
    
    .product-card .use-case-icon.centered img {
        width: 36px !important;
        height: 36px !important;
    }
}

/* ============================================
   HERO SECTIONS
   ============================================ */

.hero-technical,
.hero-industry,
.hero-business {
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--space-4xl) 0;
}

.hero-technical {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05) 0%, rgba(138, 43, 226, 0.05) 100%);
}

.hero-industry {
    background: linear-gradient(135deg, rgba(255, 166, 0, 0.05) 0%, rgba(0, 200, 83, 0.05) 100%);
}

.hero-business {
    background: linear-gradient(135deg, rgba(255, 87, 51, 0.05) 0%, rgba(255, 166, 0, 0.05) 100%);
}

/* ============================================
   PAIN POINTS SECTION
   ============================================ */

.pain-points {
    background: var(--bg-secondary);
    padding: var(--space-4xl) 0;
}

.pain-points__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.pain-points__item {
    background: var(--background-color);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.pain-points__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.pain-points__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    color: var(--red);
}

.pain-points__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-color);
}

.pain-points__description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   SOLUTION OVERVIEW
   ============================================ */

.solution-overview {
    padding: var(--space-4xl) 0;
}

.solution-overview__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.solution-overview__products {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin: var(--space-3xl) 0;
    flex-wrap: wrap;
}

.solution-overview__product {
    background: var(--bg-secondary);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    flex: 0 1 240px;
}

.solution-overview__product:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.solution-overview__product-logo {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.features-grid__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.features-grid__card {
    background: var(--background-color);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.features-grid__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.features-grid__icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
}

.features-grid__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.features-grid__description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.features-grid__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.features-grid__tag {
    background: rgba(255, 166, 0, 0.1);
    color: var(--primary-color);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ============================================
   USE CASE WALKTHROUGH
   ============================================ */

.use-case-walkthrough {
    padding: var(--space-4xl) 0;
}

.use-case-walkthrough__steps {
    display: grid;
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.use-case-walkthrough__step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.use-case-walkthrough__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
}

.use-case-walkthrough__content h4 {
    margin-bottom: var(--space-sm);
    color: var(--text-color);
}

/* ============================================
   TECHNICAL SPECS
   ============================================ */

.technical-specs {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.technical-specs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.technical-specs__item {
    background: var(--background-color);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
}

.technical-specs__label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.technical-specs__value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* ============================================
   CODE EXAMPLES
   ============================================ */

.code-example {
    padding: var(--space-4xl) 0;
}

.code-example__container {
    background: #1e1e1e;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-2xl);
    overflow-x: auto;
}

.code-example__code {
    color: #d4d4d4;
    font-family: 'Red Hat Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   STATS & METRICS
   ============================================ */

.stats-metrics {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, rgba(255, 166, 0, 0.08) 0%, rgba(0, 123, 255, 0.08) 100%);
}

.stats-metrics__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.stats-metrics__item {
    text-align: center;
}

.stats-metrics__value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stats-metrics__label {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* ============================================
   COMPARISON TABLE
   ============================================ */

.comparison-section {
    padding: var(--space-4xl) 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: var(--space-3xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-landing {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.faq-landing__container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-landing__item {
    background: var(--background-color);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    padding: var(--space-lg);
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question.active {
    color: var(--primary-color);
}

.faq-arrow {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-question.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 var(--space-lg);
}

.faq-answer-content {
    padding-bottom: var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */

.cta-final {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(255, 166, 0, 0.8) 100%);
    color: white;
    text-align: center;
}

.cta-final h2 {
    color: white;
    margin-bottom: var(--space-lg);
}

.cta-final p {
    font-size: 1.2rem;
    margin-bottom: var(--space-2xl);
    opacity: 0.95;
}

.cta-final__buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.cta-final .btn {
    min-width: 200px;
}

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

.cta-final .btn-primary:hover {
    background: var(--background-color);
}

.cta-final .btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cta-final .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .hero-technical,
    .hero-industry,
    .hero-business {
        min-height: 500px;
        padding: var(--space-3xl) 0;
    }

    .pain-points__grid,
    .features-grid__container,
    .technical-specs__grid {
        grid-template-columns: 1fr;
    }

    .use-case-walkthrough__step {
        grid-template-columns: 1fr;
    }

    .stats-metrics__value {
        font-size: 2.5rem;
    }

    .cta-final__buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

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

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }

.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }

/* ============================================
   BLOG CARD IMAGES
   ============================================ */

/* Blog card image styling for Related Resources sections */
.product-card .blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    /* margin: -2rem -2rem 1.5rem -2rem;s */
    position: relative;
}

.product-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.product-card:hover .blog-image img {
    transform: scale(1.05);
}

/* Responsive blog image sizing */
@media (max-width: 768px) {
    .product-card .blog-image {
        height: 160px;
        margin: -1.5rem -1.5rem 1rem -1.5rem;
    }
}

@media (max-width: 480px) {
    .product-card .blog-image {
        height: 140px;
        margin: -1rem -1rem 0.75rem -1rem;
    }
}

/* ============================================
   SOLUTIONS INDEX PAGE STYLES
   ============================================ */

/* Hero Section */
.hero-section {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, var(--background-color) 0%, var(--surface-color) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 166, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 123, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

/* Solutions Grid */
.solutions-grid-section {
    padding: 6rem 0;
    background: var(--background-color);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.solution-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: var(--glassmorphism-background);
    border: 1px solid var(--glassmorphism-border);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.solution-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.solution-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.solution-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    background: var(--primary-color);
    color: var(--black);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.solution-link:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

/* Product Overview */
.product-overview-section {
    padding: 6rem 0;
    background: var(--surface-color);
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.product-icon {
    margin-bottom: 1.5rem;
}

.product-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-link:hover {
    color: var(--accent-color);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Footer */
.footer {
    background: var(--surface-color);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    text-align: center;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .solution-card {
        padding: 1.5rem;
    }
    
    .product-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 6rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .solutions-grid-section,
    .product-overview-section,
    .cta-section {
        padding: 4rem 0;
    }
}

