/**
 * VVP AutoPlan Landing - Enhancements
 * Modern design matching the application design system
 */

/* ============================================
   UPDATED COLOR PALETTE
   ============================================ */
:root {
    /* Primary brand gradient (matching app) */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-color: #667eea;
    --primary-hover: #5568d3;
    --secondary-color: #764ba2;
    
    /* Updated accent */
    --accent: #667eea;
    --accent-hover: #5568d3;
}

/* ============================================
   NAVIGATION ENHANCEMENTS
   ============================================ */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-login:hover {
    background: #667eea;
    color: white;
}

.btn-dashboard {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.btn-dashboard:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* ============================================
   HERO SECTION ENHANCEMENTS
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
    font-size: 14px;
    color: #6b7280;
}

.hero-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ============================================
   FEATURE CARDS - NEW BADGE
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    position: relative;
    padding: 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-card.featured-new {
    border: 2px solid #667eea;
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
}

.badge-new {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0B0C0F;
}

.feature-card p {
    color: #64748B;
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   QUICK ACCESS SECTION (NEW)
   ============================================ */
.quick-access-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.access-card {
    text-align: center;
    padding: 48px 32px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.access-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.access-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.access-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0B0C0F;
}

.access-card p {
    color: #64748B;
    font-size: 16px;
    margin-bottom: 24px;
}

.btn-block {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
}

.btn-secondary {
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* ============================================
   PRICING ENHANCEMENTS
   ============================================ */
.pricing-card.featured {
    border: 3px solid #667eea;
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
}

.pricing-card .badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    position: absolute;
    top: -12px;
    right: 24px;
}

.pricing-card .btn-primary {
    width: 100%;
}

/* ============================================
   STATS & PROOF
   ============================================ */
.stat-card {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    color: #64748B;
    font-size: 14px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonial {
    padding: 32px;
    background: white;
    border-left: 4px solid #667eea;
}

.testimonial p {
    font-size: 18px;
    line-height: 1.6;
    color: #1e293b;
    margin-bottom: 16px;
}

.testimonial cite {
    color: #64748B;
    font-style: normal;
    font-weight: 600;
}

/* ============================================
   SECURITY SECTION
   ============================================ */
.security-content {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 40px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 4px solid #22c55e;
}

.security-icon {
    font-size: 64px;
    flex-shrink: 0;
}

.security-content h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.security-link {
    color: #166534;
    font-weight: 600;
    text-decoration: underline;
}

/* ============================================
   FAQ ENHANCEMENTS
   ============================================ */
.faq-item {
    cursor: pointer;
    transition: all 0.3s;
}

.faq-item:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    transition: transform 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 40px;
    margin-bottom: 16px;
    color: white;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-primary {
    background: white;
    color: #667eea;
    border: none;
}

.cta-section .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.4s;
}

/* ============================================
   USP SECTION (AI & Lovdata)
   ============================================ */
.unique-features-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .nav-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-login,
    .btn-dashboard {
        width: 100%;
    }
    
    /* USP Section - Mobil */
    .unique-features-section .section-title {
        font-size: 28px !important;
    }
    
    .unique-features-section .section-subtitle {
        font-size: 16px !important;
    }
    
    /* USP Cards - Mobil optimalisering */
    .unique-features-section [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    .unique-features-section [style*="transform: scale(1.05)"] {
        transform: none !important;
    }
    
    /* Sammenligning tabell - Mobil */
    .unique-features-section [style*="grid-template-columns: 2fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .unique-features-section [style*="grid-template-columns: 2fr 1fr 1fr 1fr"] > div {
        text-align: left !important;
        padding: 12px !important;
    }
    
    .unique-features-section [style*="grid-template-columns: 2fr 1fr 1fr 1fr"] > div:nth-child(4n+1) {
        font-weight: 700;
        background: rgba(255,255,255,0.05);
        border-radius: 8px;
        margin-top: 8px;
    }
    
    .unique-features-section [style*="grid-template-columns: 2fr 1fr 1fr 1fr"] > div:nth-child(4n+2)::before {
        content: "VVP: ";
        font-weight: 600;
        margin-right: 8px;
    }
    
    .unique-features-section [style*="grid-template-columns: 2fr 1fr 1fr 1fr"] > div:nth-child(4n+3)::before {
        content: "Planday: ";
        font-weight: 600;
        margin-right: 8px;
    }
    
    .unique-features-section [style*="grid-template-columns: 2fr 1fr 1fr 1fr"] > div:nth-child(4n+4)::before {
        content: "Quinyx: ";
        font-weight: 600;
        margin-right: 8px;
    }
}

