/* Product Features Section Styling */
.product-features-section {
    margin-top: var(--spacing-6x);
    padding: var(--spacing-6x) 0;
    background: transparent;
}

.product-features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-3x);
}

.product-features-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-heading-color);
    margin-bottom: var(--spacing-6x);
}

.product-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-4x);
    margin-bottom: var(--spacing-4x);
}

.feature-item {
    background: var(--ui-block-bg);
    padding: var(--spacing-4x);
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--box-shadow-sm);
    border: var(--ui-block-border);
    text-align: center;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 12px;
    color: white;
}

.feature-icon svg {
    width: 56px;
    height: 56px;
}


.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-heading-color);
    margin-bottom: var(--spacing-2x);
    line-height: 1.3;
}


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

/* Hero Section Styles */
.hero-section {
    padding: var(--spacing-6x) 0;
    text-align: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-4x);
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-3x);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 0;
}

.hero-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-img {
    max-width: 200px;
    max-height: 120px;
    width: auto;
    height: auto;
}

/* Platform styles moved to nextcloud-specific CSS - only used in one template */

.hero-cta-btn {
    display: inline-block;
    padding: var(--spacing-3x) var(--spacing-5x);
    background: white;
    color: var(--brand-primary);
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    transition: var(--transition-base);
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
    color: var(--brand-primary);
    text-decoration: none;
}

.hero-icon {
    flex-shrink: 0;
    width: 240px;
    height: 240px;
    color: var(--brand-primary);
}

.hero-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Contact Section Styling */
.contact-section {
    background: transparent;
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-heading-color);
    margin-bottom: var(--spacing-3x);
}

.contact-description {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: var(--spacing-5x);
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-8x);
    margin-bottom: var(--spacing-5x);
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--spacing-2x);
    white-space: nowrap;
}

.contact-icon {
    width: 40px;
    height: 40px;
    color: var(--brand-primary);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-icon.email::before {
    content: "";
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4H20C21.1 4 22 4.9 22 6V18C22 19.1 21.1 20 20 20H4C2.9 20 2 19.1 2 18V6C2 4.9 2.9 4 4 4Z' stroke='%23007bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpolyline points='22,6 12,13 2,6' stroke='%23007bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.contact-icon.phone::before {
    content: "";
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92V19.92C22.0011 20.1985 21.9441 20.4742 21.8325 20.7293C21.7209 20.9845 21.5573 21.2136 21.3521 21.4019C21.1468 21.5901 20.9046 21.7335 20.6407 21.8227C20.3769 21.9119 20.0974 21.9451 19.82 21.92C16.7428 21.5856 13.787 20.5341 11.19 18.85C8.77382 17.3147 6.72533 15.2662 5.18999 12.85C3.49997 10.2412 2.44824 7.27099 2.11999 4.18C2.095 3.90347 2.12787 3.62476 2.21649 3.36162C2.30512 3.09849 2.44756 2.85669 2.63476 2.65162C2.82196 2.44655 3.0498 2.28271 3.30379 2.17052C3.55777 2.05833 3.83233 2.00026 4.10999 2H7.10999C7.59531 1.99522 8.06579 2.16708 8.43376 2.48353C8.80173 2.79999 9.04207 3.23945 9.10999 3.72C9.23662 4.68007 9.47144 5.62273 9.80999 6.53C9.94454 6.88792 9.97366 7.27691 9.8939 7.65088C9.81415 8.02485 9.62886 8.36811 9.35999 8.64L8.08999 9.91C9.51355 12.4135 11.5865 14.4864 14.09 15.91L15.36 14.64C15.6319 14.3711 15.9751 14.1858 16.3491 14.1061C16.7231 14.0263 17.1121 14.0555 17.47 14.19C18.3773 14.5286 19.3199 14.7634 20.28 14.89C20.7658 14.9585 21.2094 15.2032 21.5265 15.5775C21.8437 15.9518 22.0122 16.4296 22 16.92Z' stroke='%23007bff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.contact-link {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--brand-primary);
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
    color: var(--brand-primary);
}

.contact-cta-btn {
    display: inline-block;
    padding: var(--spacing-3x) var(--spacing-5x);
    background: var(--brand-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    transition: var(--transition-base);
}

.contact-cta-btn:hover {
    background: var(--brand-primary-dark, var(--brand-primary));
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-lg);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .product-features-section {
        padding: 3rem 0;
    }
    
    .product-features-section .section-title {
        font-size: 2rem;
    }
    
    .feature-item {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }
    
    .feature-icon svg {
        width: 40px;
        height: 40px;
    }
    
    /* Hero Section Responsive */
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-4x);
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-icon {
        width: 180px;
        height: 180px;
    }
    
    /* Contact Section Responsive */
    .contact-methods {
        flex-direction: column;
        gap: var(--spacing-4x);
        align-items: center;
    }
    
    .contact-method {
        justify-content: center;
        flex-direction: row;
        align-items: center;
    }
    
    .contact-title {
        font-size: 1.75rem;
    }
    
    .contact-description {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .product-features-section {
        padding: 2rem 0;
    }
    
    .product-features-section .section-title {
        font-size: 1.75rem;
    }
    
    .product-features-section .section-desc {
        font-size: 1rem;
    }
    
    .feature-item {
        padding: 1.25rem 0.75rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    /* Hero Section Mobile */
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .hero-icon {
        width: 160px;
        height: 160px;
    }
    
    .hero-cta-btn {
        padding: var(--spacing-2x) var(--spacing-4x);
        font-size: 0.95rem;
    }
    
    /* Contact Section Mobile */
    .contact-title {
        font-size: 1.5rem;
        margin-bottom: var(--spacing-2x);
    }
    
    .contact-description {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-4x);
        padding: 0 var(--spacing-2x);
    }
    
    .contact-methods {
        gap: var(--spacing-3x);
        margin-bottom: var(--spacing-4x);
    }
    
    .contact-method {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .contact-link {
        font-size: 1rem;
        text-align: center;
    }
    
    .contact-cta-btn {
        padding: var(--spacing-3x) var(--spacing-5x);
        font-size: 1rem;
        margin-top: var(--spacing-2x);
    }
}
