/* Home Page Styles */
@import url('./style.css');

/* Hero Details Section */
.hero-details { 
    border-radius: var(--radius-3xl);
    margin: 0 var(--space-lg);
    padding: var(--space-3xl) 0;
}

.content-with-image {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

.content-with-image > .content-text p {
    margin-bottom: 0;
}

.content-image.home-intro-media {
    max-height: none;
    height: auto;
    width: 100%;
}

.home-intro-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: #000;
    box-shadow: var(--glassmorphism-shadow);
}

.home-intro-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.content-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--space-lg);
    font-family: var(--font-heading);
}

.content-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.feature-item {
    padding: var(--space-md);
    background: var(--glassmorphism-background);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--glassmorphism-border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--glassmorphism-shadow);
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.hero-detail-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--glassmorphism-shadow);
    transition: transform 0.3s ease;
}

.hero-detail-image:hover {
    transform: scale(1.02);
}

/* Hero tagline styling */
.hero-tagline {
    font-size: 1.1rem;
    color: var(--primary-text-color);
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Homepage hero */
.hero-home .hero-title,
.hero-home .hero-subtitle,
.hero-home .home-tagline,
.hero-home .hero-secondary-link {
    font-family: var(--font-heading, 'Red Hat Display', sans-serif);
}

.hero-home .hero-title {
    margin-bottom: var(--space-md);
}

.hero-home .hero-subtitle {
    font-size: 1.25rem;
    max-width: 42rem;
    margin: 0 auto var(--space-xl);
    color: var(--subtitle-color);
    text-wrap: balance;
}

.hero-home .hero-subtitle p {
    margin: 0;
}

.hero-home .hero-subtitle p + p {
    margin-top: 0.65rem;
}

.hero-home .home-tagline-link--atomos {
    color: var(--atomos-color, #007bff);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-home .home-tagline-link--atomos:hover {
    color: var(--blue-dark, #006ac9);
    text-decoration: underline;
}

.hero-home .home-tagline-link--electros {
    color: var(--primary-color, #ffa600);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-home .home-tagline-link--electros:hover {
    color: var(--accent-color-dark, #f28e00);
    text-decoration: underline;
}

.hero-home .quick-contact-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    margin-top: 0;
    width: 100%;
}

.hero-home .hero-container.hero-home__cta .hero-content {
    max-width: min(100%, 44rem);
}

.hero-home .quick-contact-options .btn {
    width: auto;
    min-width: 0;
    flex: 0 1 auto;
    padding: 0.625rem 1.125rem;
    font-size: 0.9rem;
    gap: 0.45rem;
}

.hero-home .quick-contact-options .rocket-btn {
    overflow: visible;
    box-shadow: 0 4px 14px rgba(255, 166, 0, 0.28);
}

.hero-home .quick-contact-options .rocket-btn:hover {
    box-shadow: 0 6px 18px rgba(255, 166, 0, 0.36);
}

@media (min-width: 769px) {
    .hero-home .quick-contact-options {
        flex-wrap: nowrap;
    }
}

.hero-secondary-link {
    margin: var(--space-lg) 0 0;
    font-size: 0.95rem;
}

.hero-secondary-link a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero-secondary-link a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero-home .quick-contact-options {
        flex-direction: column;
        align-items: stretch;
        gap: 0.625rem;
    }

    .hero-home .quick-contact-options .btn {
        width: 100%;
        padding: 0.8125rem 1rem;
        font-size: 0.875rem;
    }

    .hero-home .hero-subtitle {
        font-size: 0.9375rem;
    }
}

.hero-cta .rocket-btn {
    background: var(--primary-color);
    color: var(--button-text-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 22px rgba(255, 166, 0, 0.35);
}

.hero-cta .rocket-btn:hover {
    background: var(--accent-color-dark);
    border-color: var(--accent-color-dark);
    color: var(--button-text-color);
    box-shadow: 0 10px 26px rgba(255, 166, 0, 0.45);
}

/* Product Cards - Enhanced Styling */
.product-card {
    background: var(--glassmorphism-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glassmorphism-border);
    border-radius: var(--card-border-radius);
    padding: var(--space-xl);
    box-shadow: var(--glassmorphism-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--glassmorphism-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border-color: var(--glassmorphism-border);
}

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

.product-card .product-icon-medium {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.product-card:hover .product-icon-medium {
    transform: scale(1.02);
}

.product-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.product-card h4 {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.product-card .btn {
    align-self: center;
    margin-top: auto;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
    justify-content: center;
}

.feature-tag {
    background: rgba(255, 166, 0, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-2xl);
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 166, 0, 0.2);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(255, 166, 0, 0.2);
    transform: translateY(-1px);
}

/* Benefit Cards */
.benefit-card {
    background: var(--glassmorphism-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glassmorphism-border);
    border-radius: var(--card-border-radius);
    padding: var(--space-xl);
    box-shadow: var(--glassmorphism-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    display: block;
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--space-md);
    font-family: var(--font-heading);
}

.benefit-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Technical Specifications */
.specs-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.spec-item {
    flex: 1 1 320px;
    max-width: calc((100% - 2 * var(--space-xl)) / 3);
    background: var(--glassmorphism-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glassmorphism-border);
    border-radius: var(--card-border-radius);
    padding: var(--space-xl);
    box-shadow: var(--glassmorphism-shadow);
    transition: all 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.spec-item-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.spec-item-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 166, 0, 0.12);
    color: var(--primary-color);
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.spec-item:hover .spec-item-icon {
    transform: scale(1.06);
    background: rgba(255, 166, 0, 0.2);
}

.spec-item-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-color);
    line-height: 1.25;
}

.spec-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    font-family: var(--font-heading);
    text-align: center;
}

.spec-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spec-item li {
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
}

.spec-item li:last-child {
    border-bottom: none;
}

.spec-item li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: var(--space-sm);
}

@media (max-width: 1000px) {
    .specs-grid {
        gap: var(--space-lg);
    }

    .spec-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Use Case Cards */
.use-case-card {
    background: var(--glassmorphism-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glassmorphism-border);
    border-radius: var(--card-border-radius);
    padding: var(--space-xl);
    box-shadow: var(--glassmorphism-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.use-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.use-case-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    display: block;
}

.use-case-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--space-md);
    font-family: var(--font-heading);
}

.use-case-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    flex-grow: 1;
}

.use-case-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: auto;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glassmorphism-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glassmorphism-border);
    border-radius: var(--card-border-radius);
    margin-bottom: var(--space-lg);
    box-shadow: var(--glassmorphism-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border-color: var(--glassmorphism-border);
}

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

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

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

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

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

@media (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
        padding: var(--space-lg);
    }
}



/* Grid adjustments for product cards */
.grid-3 .product-card {
    margin-bottom: 2rem;
}

/* Highlighted product card for starting point */
.product-card.highlighted {
    border: 2px solid var(--primary-color);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.15),
        0 0 0 1px var(--primary-color),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, 
        rgba(var(--primary-color-rgb), 0.05) 0%, 
        var(--glassmorphism-background) 100%);
    position: relative;
    transform: translateY(-1.5vh);
}

.product-card.highlighted:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.2),
        0 0 0 2px var(--primary-color),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.product-card.highlighted .product-icon-medium {
    filter: drop-shadow(0 4px 12px rgba(var(--primary-color-rgb), 0.3));
}

.product-card.highlighted h3 {
    color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 1000px) {
    .content-with-image {
        gap: var(--space-2xl);
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .content-text h2 {
        font-size: 2rem;
    }
    
    .hero-details {
        margin: 0 var(--space-md);
        padding: var(--space-2xl) 0;
    }

    .product-card {
        padding: 2rem 1.5rem;
    }
    
    .product-card h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .content-text h2 {
        font-size: 1.75rem;
    }
    
    .content-text p {
        font-size: 1rem;
    }
    
    .feature-item h4 {
        font-size: 1rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .hero-details {
        margin: 0 var(--space-sm);
        padding: var(--space-xl) 0;
    }

    .product-card {
        padding: 1.5rem 1rem;
    }
    
    .product-card h3 {
        font-size: 1.25rem;
    }
    
    .product-card .product-icon-medium {
        width: 64px;
        height: 64px;
    }
}

/* Enhanced Use Cases Section */
.use-cases-enhanced {
    border-radius: var(--radius-3xl);
    margin: 0 var(--space-lg);
    padding: var(--space-3xl) 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

/* Enhanced Use Case Cards */
.use-cases-enhanced .use-case-card {
    background: var(--glassmorphism-background);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glassmorphism-border);
    border-radius: var(--card-border-radius);
    padding: var(--space-2xl);
    box-shadow: var(--glassmorphism-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
    height: auto;
    display: block;
}

.use-cases-enhanced .use-case-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;
}

.use-cases-enhanced .use-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.use-cases-enhanced .use-case-card:hover::before {
    transform: scaleX(1);
}

.use-cases-enhanced .use-case-icon {
    font-size: 2.5rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--glassmorphism-background);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--glassmorphism-border);
}

.use-cases-enhanced .use-case-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--space-md);
    font-family: var(--font-heading);
}

.use-cases-enhanced .use-case-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    font-size: 1rem;
}

.use-cases-enhanced .use-case-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    justify-content: flex-start;
}

.use-case-benefits {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.benefit-item i {
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

/* Success Stories Section */
.success-stories-section {
    background: linear-gradient(135deg, var(--background-color) 0%, var(--glassmorphism-background) 100%);
    padding: var(--space-4xl) 0;
}

/* Responsive adjustments for enhanced use cases */
@media (max-width: 1000px) {
    .use-cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--space-xl);
    }
    
    .use-cases-enhanced .use-case-card {
        padding: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .use-cases-enhanced {
        margin: 0 var(--space-md);
        padding: var(--space-2xl) 0;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .use-cases-enhanced .use-case-card h3 {
        font-size: 1.2rem;
    }
    
    .use-cases-enhanced .use-case-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .use-cases-enhanced .use-case-card {
        padding: var(--space-lg);
    }
    
    .use-cases-enhanced .use-case-features {
        flex-direction: column;
    }
    
    .benefit-item {
        font-size: 0.85rem;
    }
} 

/* Homepage comparison table enhancements */
.home-why-choose .comparison-table-container {
    background: var(--card-bg-color);
    border: 1px solid var(--glassmorphism-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glassmorphism-shadow);
    overflow-x: auto;
}

.home-why-choose .comparison-table {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.home-why-choose .comparison-table-header {
    background: var(--background-color);
}

.home-why-choose .comparison-table-header th {
    color: var(--text-color);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-bottom: 1px solid var(--glassmorphism-border);
    background: var(--background-color);
}

.home-why-choose .comparison-table-row {
    background: rgba(var(--background-color-rgb), 0.26);
}

.home-why-choose .comparison-table-row-alt {
    background: rgba(var(--background-color-rgb), 0.4);
}

.home-why-choose .comparison-table-row:hover,
.home-why-choose .comparison-table-row-alt:hover {
    background: rgba(var(--yellow-rgb), 0.1);
}

.home-why-choose .comparison-table td,
.home-why-choose .comparison-table th {
    border-bottom: 1px solid var(--glassmorphism-border);
}

.home-why-choose .comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.home-why-choose .comparison-table-row .comparison-table-cell-primary,
.home-why-choose .comparison-table-row-alt .comparison-table-cell-primary,
.home-why-choose .comparison-table-header .comparison-table-cell-primary {
    background: rgba(var(--yellow-rgb), 0.22);
    color: var(--text-color);
    font-weight: 600;
    border-left: 1px solid rgba(var(--yellow-rgb), 0.45);
    border-right: none;
}

.home-why-choose .comparison-table-header .comparison-table-cell-primary {
    background: rgba(var(--yellow-rgb), 0.32);
}

.home-why-choose .comparison-table-cell {
    color: var(--text-color);
    font-weight: 700;
}

.home-why-choose .comparison-table-cell-secondary {
    color: var(--text-secondary);
    font-weight: 600;
}

.home-why-choose .comparison-table-cell,
.home-why-choose .comparison-table-cell-secondary,
.home-why-choose .comparison-table-cell-primary {
    padding: 1.1rem 1rem;
}

@media (max-width: 768px) {
    .home-why-choose .comparison-table {
        min-width: 680px;
    }
}

/* Final CTA stats — scoped under .cta-stats so carousel .stat-label rules do not override */
.cta-stats {
    margin: var(--space-2xl) 0;
}

.cta-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
}

.cta-stats .stat-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
}

@media (max-width: 1000px) {
    .cta-stats .grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .cta-stats .stat-number {
        font-size: 2rem;
    }
}