/*
 * Glassmorphism Components
 */

/* Service Card - Samsung Clean Style */
.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gray-400);
}

.service-card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-lg);
    background: var(--color-gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--samsung-blue);
}

.service-card-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-black);
}

.service-card-description {
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--samsung-blue);
    font-weight: 600;
    transition: gap var(--transition-fast);
}

.service-card-link:hover {
    gap: var(--space-md);
    color: var(--samsung-blue-dark);
}

/* Product Card - Samsung Style */
.product-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gray-400);
}

.product-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--color-gray-100);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-card-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: var(--samsung-blue);
    color: white;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 600;
}

.product-card-content {
    padding: var(--space-xl);
}

.product-card-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-black);
}

.product-card-price {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: var(--space-md);
}

.product-card-description {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    line-height: 1.5;
    margin-bottom: var(--space-lg);
}

/* Info Box */
.info-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--color-neon-blue);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
}

.info-box.success {
    border-left-color: #0ba360;
}

.info-box.warning {
    border-left-color: #f5576c;
}

.info-box-title {
    font-weight: 600;
    color: var(--color-text-bright);
    margin-bottom: var(--space-sm);
}

.info-box-content {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

/* Testimonial Card */
.testimonial-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-blur);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    font-size: 80px;
    color: var(--color-neon-purple);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card-content {
    font-size: var(--text-lg);
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    position: relative;
    z-index: 1;
}

.testimonial-card-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--glass-border);
}

.testimonial-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card-author-info {
    flex: 1;
}

.testimonial-card-author-name {
    font-weight: 600;
    color: var(--color-text-bright);
    margin-bottom: 2px;
}

.testimonial-card-author-role {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* Feature Card - Samsung Clean Style */
.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
    opacity: 1 !important; /* Always visible, even if JS fails */
    visibility: visible !important;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--samsung-blue);
}

.feature-card-icon {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: var(--color-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-card-icon {
    background: var(--samsung-blue);
}

.feature-card-icon svg {
    width: 36px;
    height: 36px;
    color: var(--samsung-blue);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-card-icon svg {
    color: white;
    transform: scale(1.1);
}

.feature-card-content h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--color-black);
}

.feature-card-content p {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .service-card,
    .testimonial-card {
        padding: var(--space-xl);
    }

    .product-card-content {
        padding: var(--space-lg);
    }

    .feature-card {
        flex-direction: column;
    }
}
