/* Products Page Styles */

/* Products Section */
.products-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-card.featured {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
}

.product-card.coming-soon {
    opacity: 0.8;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.product-image {
    text-align: center;
    margin-bottom: 1.5rem;
}

.app-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.coming-soon-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ccc 0%, #999 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto;
}

.product-badge {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-card.coming-soon .product-badge {
    background: #999;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.product-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Custom Development CTA */
.custom-development-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.cta-feature {
    text-align: center;
}

.cta-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-feature h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.cta-feature p {
    opacity: 0.8;
}

/* App-specific styles */
.app-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.app-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.app-icon-hero {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.app-icon-hero img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.app-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.app-hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 1rem;
    opacity: 0.95;
}

.app-hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.app-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.2rem;
}

/* Privacy Highlight */
.privacy-highlight {
    padding: 40px 0;
    background: white;
}

.highlight-box {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.highlight-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* App Features */
.app-features {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* App Preview */
.app-preview {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.preview-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.preview-features {
    margin-bottom: 2rem;
}

.preview-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #555;
}

.check-icon {
    flex-shrink: 0;
    font-size: 1.2rem;
}

.preview-image {
    text-align: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #333;
    border-radius: 30px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 260px;
    height: 520px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    position: absolute;
    top: 40px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.phone-content {
    text-align: center;
    padding: 2rem;
}

.phone-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.conversion-demo {
    margin: 2rem 0;
}

.conversion-box {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.phone-features {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* App Download */
.app-download {
    padding: 80px 0;
    background: #333;
    color: white;
    text-align: center;
}

.download-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-button {
    margin: 2rem 0;
}

.google-play-btn {
    display: inline-block;
    background: #000;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #000;
}

.google-play-btn:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-2px);
}

.download-stats {
    margin: 2rem 0;
    opacity: 0.8;
}

.privacy-link {
    margin-top: 2rem;
}

.privacy-link a {
    color: #667eea;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.privacy-link a:hover {
    opacity: 1;
}

/* Privacy Page Styles */
.privacy-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.privacy-header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.breadcrumb {
    margin-top: 1rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

.breadcrumb a:hover {
    opacity: 1;
}

.privacy-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.privacy-main {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.privacy-intro h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    background: #e3f2fd;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #2196f3;
    margin-bottom: 2rem;
    font-weight: 500;
}

.privacy-highlight {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
}

.privacy-highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section {
    margin: 2.5rem 0;
}

.privacy-section h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #667eea;
}

.privacy-section p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.6;
}

.privacy-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    color: #555;
}

.compliance-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.badge {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.badge:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.badge h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.badge p {
    color: #666;
    font-size: 0.9rem;
}

.contact-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
}

.contact-section h3 {
    color: #333;
    margin-bottom: 1rem;
}

.contact-section p {
    color: #666;
    margin-bottom: 1rem;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Responsive Design */
/* DailySpark specific tweaks */
#daily-spark-page .app-screens {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
#daily-spark-page .app-screen {
    max-width: 200px;
    text-align: center;
}
#daily-spark-page .app-screen img {
    width: 90px; /* smaller logo thumbnails */
    height: 90px;
    border-radius: 15px;
    object-fit: cover;
    margin: 0 auto; /* center image */
}
#conversion-app-page .privacy-link a {
    color: #ffcc00; /* gold for better contrast */
    opacity: 1;
    font-weight: 600;
}
#conversion-app-page .privacy-link a:hover {
    color: #ffffff;
}

/* Policy page styles for DailySpark */
.policy-container {
    max-width: 800px;
    margin: 100px auto 50px;
    padding: 0 2rem;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.policy-container h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 2rem;
    text-align: center;
}

.policy-container h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #2d3748;
    margin: 2rem 0 1rem;
}

.policy-container p,
.policy-container ul {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.policy-container ul {
    padding-left: 2rem;
}

.policy-container li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .preview-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .app-cta-buttons,
    .product-actions,
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .phone-screen {
        width: 210px;
        height: 420px;
    }
    
    .privacy-main {
        padding: 2rem 1rem;
        margin: 1rem;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
    }
}

#app-privacy-page .btn.btn-secondary,
#products-page .btn.btn-secondary {
    color: #1f2937;
    border-color: #1f2937;
}
#app-privacy-page .btn.btn-secondary:hover,
#products-page .btn.btn-secondary:hover {
    background: #1f2937;
    color: #ffffff;
}