/* ========================================
   Shared Page Styles - Hero, CTA, Cards
   Used by: features.php, gdpr.php, prices.php, index.php
   ======================================== */

/* CSS Variables for gradients */
:root {
    --gradient-hero: linear-gradient(135deg, #0a3d62 0%, #1e6091 50%, #3498db 100%);
    --gradient-icon: linear-gradient(135deg, #0a3d62 0%, #1e6091 100%);
    --bg-alt: #f8f6f4;
}

/* ===== HERO SECTION ===== */
.page-hero {
    background: var(--gradient-hero);
    padding: 80px 20px;
    text-align: center;
    color: white;
    margin: -20px -20px 0 -20px;
}
.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.page-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}
.page-badge i { margin-right: 8px; }
.page-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px 0;
    color: white;
    line-height: 1.2;
    background: none;
    -webkit-text-fill-color: white;
}
.page-hero-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

/* ===== QUICK NAVIGATION ===== */
.page-nav {
    background: white;
    padding: 40px 20px;
    border-bottom: 1px solid #eee;
}
.page-nav-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.page-nav h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: var(--color-key);
    margin: 0 0 25px 0;
}
.page-nav-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f8f6f4;
    border-radius: 25px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.nav-item:hover {
    background: var(--color-key);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}
.nav-item i { font-size: 16px; }

/* ===== CATEGORY HEADERS ===== */
.category-header-modern {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}
.category-header-modern i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #683411 0%, #9a5c32 100%);
    border-radius: 15px;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}
.category-header-modern h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-key);
    margin: 0 0 10px 0;
}
.category-header-modern p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* ===== FEATURE CARDS ===== */
.page-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.page-card.reverse { flex-direction: row-reverse; }
.page-card-content {
    flex: 1;
    min-width: 0;
}
.page-card-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
}
.page-card-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 15px 0;
}
.page-card-image {
    flex: 1.2;
    min-width: 0;
}
.page-card-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.page-card-image .screenshot-dropshadow { margin: 0; }
.page-card-image a.fancybox {
    display: block;
    cursor: zoom-in;
    transition: transform 0.3s ease;
    border-radius: 10px;
}
.page-card-image a.fancybox:hover { transform: scale(1.02); }
.page-card-image a.fancybox:hover img {
    box-shadow: 0 25px 80px rgba(0,0,0,0.35);
}

/* ===== CTA SECTION ===== */
.page-cta {
    background: var(--gradient-hero);
    padding: 60px 40px;
    color: white;
}
.page-cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto 40px;
    gap: 40px;
}
.cta-illustration {
    width: 250px;
    height: auto;
    flex-shrink: 0;
}
.cta-text { text-align: left; }
.cta-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    color: white;
    margin: 0 0 15px 0;
}
.cta-text p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0 0 25px 0;
    line-height: 1.6;
    color: white;
}
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.btn-cta-primary {
    display: inline-block;
    background: white;
    color: #0a3d62;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
}
.btn-cta-primary:hover {
    background: #f5f5f5;
    transform: scale(1.02);
    text-decoration: none;
    color: #0a3d62;
}
.btn-cta-primary i { margin-right: 10px; }
.cta-secondary-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.cta-secondary-links a {
    color: white;
    opacity: 0.85;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}
.cta-secondary-links a:hover {
    opacity: 1;
    text-decoration: underline;
}
.cta-secondary-links a i { margin-right: 6px; }

/* ===== TRUST BADGES ===== */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    opacity: 0.9;
    font-size: 14px;
}
.trust-badge i { font-size: 18px; }

/* ===== ICON BACKGROUNDS ===== */
.icon-gradient {
    background: var(--gradient-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* ===== ALT BACKGROUND ===== */
.section-alt-bg { background: var(--bg-alt); }

/* ===== BACK TO TOP LINK ===== */
.back-to-top {
    display: inline-block;
    margin-top: 15px;
    color: var(--color-key);
    font-size: 14px;
    text-decoration: none;
}
.back-to-top:hover { text-decoration: underline; }
.back-to-top i { margin-right: 5px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .page-card {
        flex-direction: column !important;
        gap: 30px;
        padding: 30px;
    }
    .page-card-content, .page-card-image {
        flex: none;
        width: 100%;
    }
}
@media (max-width: 768px) {
    .page-hero { padding: 50px 20px; }
    .page-hero h1 { font-size: 28px; }
    .page-hero-subtitle { font-size: 16px; }
    .category-header-modern h2 { font-size: 26px; }
    .page-card-content h3 { font-size: 20px; }
    .page-cta-content {
        flex-direction: column;
        text-align: center;
    }
    .cta-text { text-align: center; }
    .cta-illustration { width: 140px; }
    .cta-secondary-links { justify-content: center; }
    .trust-badges { gap: 20px; }
}
@media (max-width: 480px) {
    .page-hero h1 { font-size: 24px; }
    .nav-item { padding: 8px 15px; font-size: 13px; }
    .page-card { padding: 25px; }
    .category-header-modern h2 { font-size: 22px; }
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}
