/* ==========================================================
   FrevoLabs — Landing Page Styles
   Includes: Hero, 3D Lead Slider, Features, Pricing, FAQ
   ========================================================== */

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}
.hero-glow.glow-1 { background: #6C63FF; top: -200px; left: -150px; }
.hero-glow.glow-2 { background: #10B981; bottom: -200px; right: -150px; opacity: 0.25; }

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(108, 99, 255, 0.12);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 999px;
    font-size: 13px;
    color: #A5B4FC;
    font-weight: 500;
    margin-bottom: 28px;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

.hero h1 {
    font-size: clamp(38px, 6vw, 72px);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #6C63FF, #A5B4FC, #10B981);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.hero-sub {
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.65;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 22px;
    opacity: 0.85;
}
.hero-trust .flag {
    animation: float 3s ease-in-out infinite;
}
.hero-trust .flag:nth-child(2) { animation-delay: 0.2s; }
.hero-trust .flag:nth-child(3) { animation-delay: 0.4s; }
.hero-trust .flag:nth-child(4) { animation-delay: 0.6s; }
.hero-trust .flag:nth-child(5) { animation-delay: 0.8s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-trust-text {
    display: block;
    width: 100%;
    font-size: 13px;
    color: var(--muted);
    margin-top: 6px;
    letter-spacing: 0.3px;
}

/* ==================== 3D LEAD SLIDER ==================== */
.slider-section {
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.slider-header {
    text-align: center;
    margin-bottom: 60px;
}

.slider-header .live-dot {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 999px;
    font-size: 12px;
    color: #34D399;
    margin-bottom: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.live-dot::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 12px #10B981;
    animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.slider-header h2 {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 14px;
}
.slider-header p {
    color: var(--muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* 3D PERSPECTIVE STAGE */
.slider-stage {
    perspective: 1500px;
    perspective-origin: 50% 50%;
    height: 340px;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    gap: 24px;
    will-change: transform;
}

.lead-card-3d {
    flex: 0 0 360px;
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.95), rgba(15, 23, 42, 0.85));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
    transform-style: preserve-3d;
    transform: rotateY(-8deg) translateZ(0);
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.lead-card-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 20px 0 0 20px;
}
.lead-card-3d.hot::before   { background: linear-gradient(180deg, #EF4444, #F87171); box-shadow: 0 0 24px rgba(239, 68, 68, 0.6); }
.lead-card-3d.warm::before  { background: linear-gradient(180deg, #F59E0B, #FBBF24); box-shadow: 0 0 24px rgba(245, 158, 11, 0.5); }
.lead-card-3d.cold::before  { background: linear-gradient(180deg, #6B7280, #9CA3AF); }

.lead-card-3d:hover {
    transform: rotateY(0deg) translateZ(40px) scale(1.03);
    border-color: rgba(108, 99, 255, 0.4);
    box-shadow: 0 30px 60px rgba(108, 99, 255, 0.3);
    z-index: 10;
}

.lead-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 12px;
}

.lead-company {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.lead-country {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.lead-score-ring {
    position: relative;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.lead-score-ring svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.lead-score-ring .ring-bg { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 4; }
.lead-score-ring .ring-fg {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s ease;
}
.lead-score-ring.hot .ring-fg  { stroke: #EF4444; filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.7)); }
.lead-score-ring.warm .ring-fg { stroke: #F59E0B; filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.6)); }
.lead-score-ring.cold .ring-fg { stroke: #9CA3AF; }

.lead-score-num {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.lead-need {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(108, 99, 255, 0.12);
    border: 1px solid rgba(108, 99, 255, 0.25);
    border-radius: 8px;
    font-size: 12.5px;
    color: #A5B4FC;
    font-weight: 500;
    margin-bottom: 14px;
}

.lead-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.lead-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lead-badge-top {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ==================== MOTIVATION ==================== */
.motivation {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(108, 99, 255, 0.04), transparent);
    text-align: center;
}

.motivation h2 {
    font-size: clamp(28px, 4vw, 46px);
    max-width: 800px;
    margin: 0 auto 24px;
}

.motivation p {
    max-width: 720px;
    margin: 0 auto 48px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 700px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    background: linear-gradient(135deg, #6C63FF, #10B981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.3px;
}

/* ==================== HOW IT WORKS ==================== */
.how-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 14px;
}
.section-title p {
    color: var(--muted);
    font-size: 17px;
    max-width: 620px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .steps-grid { grid-template-columns: 1fr; }
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px 28px;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 99, 255, 0.4);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.15);
}

.step-num {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: grid;
    place-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(108, 99, 255, 0.4);
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
}

/* ==================== FEATURES ==================== */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.03), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1000px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px 22px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(108, 99, 255, 0.35);
    background: var(--surface-2);
}
.feature-card:hover::after { transform: scaleX(1); }

.feature-icon {
    font-size: 32px;
    margin-bottom: 14px;
    display: block;
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.65;
}

/* ==================== SKILLS PILLS ==================== */
.skills-section {
    padding: 100px 0;
    text-align: center;
}

.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 1000px;
    margin: 40px auto 0;
}

.skill-pill {
    padding: 10px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13.5px;
    color: var(--text);
    transition: var(--transition);
    cursor: default;
    font-weight: 500;
}
.skill-pill:hover {
    background: var(--primary-light);
    border-color: rgba(108, 99, 255, 0.4);
    transform: translateY(-2px);
    color: #A5B4FC;
}

.skill-pill.ai {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.15), rgba(16, 185, 129, 0.1));
    border-color: rgba(108, 99, 255, 0.35);
    font-weight: 600;
}

/* ==================== AI INDUSTRIES ==================== */
.ai-industries {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent, rgba(108, 99, 255, 0.05), transparent);
}

.ai-industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
}

@media (max-width: 900px) { .ai-industries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ai-industries-grid { grid-template-columns: 1fr; } }

.ai-industry-card {
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.9), rgba(15, 23, 42, 0.7));
    border: 1px solid rgba(108, 99, 255, 0.15);
    border-radius: 20px;
    padding: 28px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.ai-industry-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
}

.ai-industry-card:hover::before { opacity: 1; }
.ai-industry-card:hover {
    transform: translateY(-6px);
    border-color: rgba(108, 99, 255, 0.5);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.2);
}

.ai-industry-card .icon {
    font-size: 36px;
    margin-bottom: 14px;
    display: block;
}
.ai-industry-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text);
}
.ai-industry-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}
.ai-industry-card .stat {
    display: inline-block;
    margin-top: 14px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 999px;
    font-size: 12px;
    color: #34D399;
    font-weight: 600;
}

/* ==================== COUNTRIES ==================== */
.countries-section {
    padding: 80px 0;
    text-align: center;
}

.countries-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    max-width: 900px;
    margin: 40px auto 0;
    font-size: 15px;
}

.country-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 13.5px;
    transition: var(--transition);
}
.country-chip:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* ==================== PRICING ==================== */
.pricing-section {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; } }

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 36px 28px;
    position: relative;
    transition: var(--transition);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(145deg, rgba(108, 99, 255, 0.08), rgba(17, 24, 39, 0.95));
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(108, 99, 255, 0.25);
}

.pricing-card.popular::before {
    content: '⭐ MOST POPULAR';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.pricing-desc {
    color: var(--muted);
    font-size: 13.5px;
    margin-bottom: 24px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}
.pricing-price .price-now {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--text);
}
.pricing-price .price-period {
    color: var(--muted);
    font-size: 15px;
}
.pricing-was {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 24px;
}
.pricing-was s { opacity: 0.6; }
.pricing-save {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
}

.pricing-features {
    list-style: none;
    margin: 24px 0;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
}
.pricing-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

/* ==================== FAQ ==================== */
.faq-section {
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open {
    border-color: rgba(108, 99, 255, 0.4);
}

.faq-question {
    padding: 20px 24px;
    font-size: 15.5px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
}
.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.7;
    padding: 0 24px;
}
.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 22px;
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
    padding: 80px 0;
}

.cta-inner {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.15), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(108, 99, 255, 0.25);
    border-radius: 32px;
    padding: 64px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(108, 99, 255, 0.15), transparent 40%),
                radial-gradient(circle at 70% 70%, rgba(16, 185, 129, 0.1), transparent 40%);
    animation: rotate 20s linear infinite;
}
@keyframes rotate {
    to { transform: rotate(360deg); }
}

.cta-inner > * { position: relative; z-index: 1; }

.cta-inner h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 16px;
}

.cta-inner p {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 600px) {
    .lead-card-3d { flex: 0 0 300px; padding: 20px; }
    .slider-stage { height: 320px; }
    .hero { padding: 80px 0 40px; }
}