/* Product Page Specific Styles */

/* Override with grocery-themed colors */
:root {
    --primary-color: #34c759;
    --primary-dark: #248a3d;
    --primary-light: #5ed77a;
    --accent-color: #30d158;
    --accent-purple: #32ade6;
    --accent-pink: #ff9f0a;
    --accent-orange: #ff9500;

    /* Product-specific glass overlays */
    --glass-blue: rgba(52, 199, 89, 0.15);
    --glass-purple: rgba(48, 209, 88, 0.15);
    --glass-pink: rgba(255, 159, 10, 0.15);

    /* Product shadows with green tint */
    --shadow-glass-blue: 0 6px 24px rgba(52, 199, 89, 0.12), 0 2px 8px rgba(52, 199, 89, 0.08);
    --shadow-glass-purple: 0 6px 24px rgba(48, 209, 88, 0.12), 0 2px 8px rgba(48, 209, 88, 0.08);
}

/* Compact Hero Section */
.hero {
    padding: calc(var(--spacing-xl) + 5rem) 0 var(--spacing-lg);
    background: linear-gradient(135deg,
        rgba(52, 199, 89, 0.03) 0%,
        rgba(48, 209, 88, 0.04) 50%,
        rgba(255, 159, 10, 0.02) 100%);
}

.hero::before {
    background: radial-gradient(ellipse at center,
        rgba(52, 199, 89, 0.08) 0%,
        rgba(48, 209, 88, 0.05) 40%,
        transparent 70%);
}

.hero::after {
    background: radial-gradient(ellipse at center,
        rgba(255, 159, 10, 0.06) 0%,
        transparent 60%);
}

.hero h1 {
    background: linear-gradient(135deg, #1d1d1f 0%, #34c759 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
}

/* Product Icon Badge */
.product-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
    border-radius: 28px;
    box-shadow: 0 12px 48px rgba(52, 199, 89, 0.3), 0 4px 16px rgba(52, 199, 89, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.product-icon img {
    width: 2.5em;
    height: 2.5em;
    object-fit: contain;
}

/* Green-themed Buttons */
.btn-primary {
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
    box-shadow: var(--shadow-glass-blue);
}

.btn-primary:hover {
    box-shadow: 0 12px 48px rgba(52, 199, 89, 0.35), 0 4px 16px rgba(52, 199, 89, 0.25);
}

/* Active Navigation */
.nav-menu a.active {
    color: #34c759;
    background: rgba(52, 199, 89, 0.1);
}

.nav-menu a.active::before {
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.1), rgba(48, 209, 88, 0.1));
}

/* Product Tagline */
.product-tagline {
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Product Cards */
.product-card::after {
    background: linear-gradient(135deg,
        rgba(52, 199, 89, 0.03) 0%,
        rgba(48, 209, 88, 0.05) 50%,
        rgba(255, 159, 10, 0.03) 100%);
}

.product-card:hover {
    box-shadow: 0 32px 96px rgba(0, 0, 0, 0.18), 0 12px 32px rgba(52, 199, 89, 0.15);
}

.product-card:hover::after {
    opacity: 0;
}

/* Feature Highlights */
.feature-highlights li::before {
    background: transparent;
}

.feature-highlights li:hover {
    border-color: var(--border-glass);
}

/* Screenshots Grid - Prominent Layout */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.screenshot-placeholder {
    aspect-ratio: 9 / 16;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0.6) 100%);
    backdrop-filter: saturate(180%) blur(40px);
    -webkit-backdrop-filter: saturate(180%) blur(40px);
    border-radius: 24px;
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.screenshot-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(52, 199, 89, 0.05) 0%,
        rgba(48, 209, 88, 0.08) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.screenshot-placeholder:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.screenshot-placeholder:hover::before {
    opacity: 1;
}

.screenshot-placeholder p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-tertiary);
    position: relative;
    z-index: 1;
}

/* Download Section */
.download-section {
    text-align: center;
    padding: var(--spacing-md) 0;
}

.download-section h2 {
    margin-bottom: 2rem;
}

.store-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.store-badges img {
    height: 60px;
    width: auto;
    transition: transform var(--transition-base);
}

.store-badges img:hover {
    transform: scale(1.05);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero {
        padding: calc(var(--spacing-xl) + 3rem) 0 var(--spacing-lg);
    }

    .product-icon {
        width: 90px;
        height: 90px;
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .product-icon img {
        width: 52px;
        height: 52px;
    }

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

    .screenshot-placeholder {
        max-width: 320px;
        margin: 0 auto;
    }

    .store-badges img {
        height: 50px;
    }
}
