/* ============================================
   VeriSite.fr — Premium Design Overrides
   Améliorations visuelles avancées
   ============================================ */

/* --- Animated Background Shapes in Hero --- */
.hero {
    background: linear-gradient(160deg, #0a1628 0%, #122744 30%, #1e3a5f 60%, #1a4a7a 100%);
    min-height: 640px;
}

.hero::before {
    background:
        radial-gradient(ellipse at 10% 40%, rgba(34,197,94,0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 30%, rgba(59,130,246,0.15) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 80%, rgba(139,92,246,0.08) 0%, transparent 40%);
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34,197,94,0.06) 0%, transparent 70%);
    pointer-events: none;
    animation: float-slow 20s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 20px) scale(1.05); }
    66% { transform: translate(20px, -15px) scale(0.95); }
}

/* --- Hero Title Enhancement --- */
.hero h1 {
    font-size: 3.25rem;
    letter-spacing: -0.04em;
    text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.hero h1 span {
    background: linear-gradient(135deg, #22c55e 0%, #4ade80 50%, #86efac 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(34,197,94,0.3));
}

.hero-subtitle {
    font-size: 1.2rem;
    text-shadow: 0 1px 20px rgba(0,0,0,0.2);
}

/* --- Glassmorphism Scan Form --- */
.scan-form {
    border-radius: 16px;
    box-shadow:
        0 25px 50px rgba(0,0,0,0.25),
        0 0 0 1px rgba(255,255,255,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.scan-form:focus-within {
    box-shadow:
        0 25px 60px rgba(0,0,0,0.3),
        0 0 0 2px rgba(34,197,94,0.5),
        0 0 30px rgba(34,197,94,0.15);
}

.scan-form input {
    padding: 18px 24px;
    font-size: 1.05rem;
}

.scan-form button {
    padding: 18px 32px;
    font-size: 1.05rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    letter-spacing: 0.01em;
}

.scan-form button:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 4px 15px rgba(34,197,94,0.4);
}

/* --- Social Proof Enhancement --- */
.hero-social-proof {
    font-size: 0.9rem;
}

.hero-social-proof strong {
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(34,197,94,0.5);
}

/* --- Section Titles with Gradient --- */
.section-title {
    font-size: 2.25rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* --- Risk Cards Premium --- */
.risk-card {
    padding: 36px 28px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.risk-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: transparent;
}

.risk-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.risk-icon svg {
    width: 32px;
    height: 32px;
}

.risk-amount {
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

/* --- Steps Premium --- */
.step-number {
    width: 88px;
    height: 88px;
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #22c55e, #3b82f6);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 8px 25px rgba(34,197,94,0.2);
}

.step-number svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.steps-grid::before {
    height: 3px;
    background: linear-gradient(90deg, #22c55e, #3b82f6, #8b5cf6);
    border-radius: 2px;
}

/* --- Check Cards Premium --- */
.check-card {
    padding: 32px 28px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.check-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: var(--accent-green);
}

.check-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin-bottom: 20px;
}

.check-icon svg {
    width: 28px;
    height: 28px;
}

.check-count {
    display: inline-block;
    padding: 2px 10px;
    background: #f0fdf4;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 10px;
    border: 1px solid #bbf7d0;
}

/* --- Pricing Cards Premium --- */
.pricing-card {
    padding: 40px 32px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.06);
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.pricing-card.popular {
    border: none;
    background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
    box-shadow: 0 10px 40px rgba(34,197,94,0.15), 0 0 0 2px var(--accent-green);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-6px);
    box-shadow: 0 20px 60px rgba(34,197,94,0.2), 0 0 0 2px var(--accent-green);
}

.pricing-badge {
    top: -14px;
    padding: 6px 20px;
    font-size: 0.8rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 4px 12px rgba(34,197,94,0.3);
    letter-spacing: 0.08em;
}

.pricing-price .amount {
    font-size: 3rem;
    letter-spacing: -0.03em;
}

/* Green CTA for popular card */
.pricing-card.popular .btn-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 4px 15px rgba(34,197,94,0.3);
    padding: 14px 32px;
    font-size: 1rem;
}

.pricing-card.popular .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(34,197,94,0.4);
}

/* --- FAQ Premium --- */
.faq-item {
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    margin-bottom: 10px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.faq-item.active {
    border-color: var(--accent-green);
    box-shadow: 0 4px 15px rgba(34,197,94,0.08);
}

.faq-question {
    padding: 20px 24px;
    font-size: 0.95rem;
}

.faq-answer-inner {
    padding: 0 24px 20px;
}

/* --- Footer Premium --- */
.footer {
    background: linear-gradient(180deg, #0a1628 0%, #0d1d33 100%);
    padding: 56px 0 28px;
}

/* --- Scroll Animations --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Score Circle Enhancement --- */
.score-circle {
    filter: drop-shadow(0 8px 25px rgba(34,197,94,0.2));
}

.score-number {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
}

/* --- Improved Button Styles --- */
.btn-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    box-shadow: 0 2px 8px rgba(34,197,94,0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    box-shadow: 0 8px 20px rgba(34,197,94,0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid var(--gray-200);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.btn-secondary:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(30,58,95,0.1);
    transform: translateY(-2px);
}

/* --- Loading Bar Enhancement --- */
.loading-bar-fill {
    background: linear-gradient(90deg, #22c55e, #4ade80, #22c55e);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* --- Category Score Cards Enhancement --- */
.category-score-card {
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-score-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* --- Issue Items Enhancement --- */
.issue-item {
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.issue-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* --- Navbar Enhancement --- */
.navbar {
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar-cta {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    box-shadow: 0 2px 10px rgba(34,197,94,0.3);
    border-radius: 8px !important;
    padding: 9px 22px !important;
}

.navbar-cta:hover {
    box-shadow: 0 4px 15px rgba(34,197,94,0.4) !important;
    transform: translateY(-1px) !important;
}

/* --- Decorative Elements --- */
.risk-section::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), #3b82f6);
    border-radius: 2px;
    margin: 0 auto 2rem;
}

.how-section::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 2px;
    margin: 0 auto 2rem;
}

.checks-section::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-orange));
    border-radius: 2px;
    margin: 0 auto 2rem;
}

.pricing-section::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), #22c55e);
    border-radius: 2px;
    margin: 0 auto 2rem;
}

.faq-section::before {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    margin: 0 auto 2rem;
}

/* --- Responsive Fixes for Premium --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.1rem; }
    .section-title { font-size: 1.75rem; }
    .pricing-card.popular { transform: scale(1); }
    .pricing-card.popular:hover { transform: translateY(-4px); }
    .pricing-price .amount { font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }
    .scan-form input { padding: 14px 16px; }
    .scan-form button { padding: 14px 20px; }
}
