/* ============================================
   CATALYSTIA - Modern Landing Page CSS
   ============================================ */

/* --- Hero Section --- */
.hero-modern {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary, #cc3819) 100%);
}
.hero-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}
.hero-modern::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.hero-modern .hero-inner {
    position: relative;
    z-index: 2;
    padding: 100px 0 80px;
}
.hero-modern .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}
.hero-modern .hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-modern h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.hero-modern .hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    max-width: 550px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.hero-modern .search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
.hero-modern .search-box input {
    width: 100%;
    height: 60px;
    border-radius: 16px;
    border: 2px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    padding: 0 60px 0 24px;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s;
    outline: none;
}
.hero-modern .search-box input::placeholder {
    color: rgba(255,255,255,0.55);
}
.hero-modern .search-box input:focus {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.hero-modern .search-box .search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    border: none;
    color: var(--primary);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-modern .search-box .search-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hero-modern .search-results-wrap {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    max-height: 350px;
    overflow-y: auto;
}
.hero-modern .hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
}
.hero-modern .hero-stat {
    text-align: center;
    color: rgba(255,255,255,0.9);
}
.hero-modern .hero-stat .stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}
.hero-modern .hero-stat .stat-label {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 2px;
}

/* --- Feature Cards --- */
.features-modern {
    padding: 80px 0;
    background: #f8f9fc;
}
.section-heading {
    text-align: center;
    margin-bottom: 50px;
}
.section-heading .section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    background: rgba(255,71,33,0.08);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.section-heading h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.section-heading p {
    font-size: 1.05rem;
    color: #6b7280;
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.7;
}
.feature-card-modern {
    background: #fff;
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #e5e7eb;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.feature-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary, #cc3819));
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border-color: transparent;
}
.feature-card-modern:hover::before {
    opacity: 1;
}
.feature-card-modern .feature-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,71,33,0.1), rgba(255,71,33,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s;
}
.feature-card-modern:hover .feature-icon-wrap {
    background: linear-gradient(135deg, var(--primary), var(--secondary, #cc3819));
}
.feature-card-modern .feature-icon-wrap img {
    width: 36px;
    height: 36px;
    transition: all 0.3s;
}
.feature-card-modern:hover .feature-icon-wrap img {
    filter: brightness(0) invert(1);
}
.feature-card-modern h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}
.feature-card-modern p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0;
}
.feature-card-modern .feature-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* --- CTA Section --- */
.cta-modern {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}
.cta-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.06;
    transform: translateY(-50%);
}
.cta-modern h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}
.cta-modern p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 28px;
    line-height: 1.7;
}
.cta-modern .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
}
.cta-modern .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,71,33,0.35);
    color: #fff;
}
.cta-modern .cta-img {
    max-width: 100%;
    border-radius: 16px;
}

/* --- Articles Section --- */
.articles-modern {
    padding: 80px 0;
    background: #fff;
}
.article-card-modern {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}
.article-card-modern:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    border-color: transparent;
}
.article-card-modern .article-card-header {
    padding: 20px 24px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.article-card-modern .article-card-header .card-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
}
.article-card-modern .article-card-header h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}
.article-card-modern .article-list {
    list-style: none;
    padding: 16px 24px 24px;
    margin: 0;
}
.article-card-modern .article-list li {
    border-bottom: 1px solid #f3f4f6;
    padding: 12px 0;
}
.article-card-modern .article-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.article-card-modern .article-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #374151;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
    line-height: 1.5;
}
.article-card-modern .article-list li a:hover {
    color: var(--primary);
}
.article-card-modern .article-list li a .art-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    transition: all 0.2s;
}
.article-card-modern .article-list li a:hover .art-icon {
    background: var(--primary);
    color: #fff;
}
.article-card-modern .article-list li a small {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* --- Testimonials --- */
.testimonials-modern {
    padding: 80px 0;
    background: #f8f9fc;
}
.testimonial-card-modern {
    background: #fff;
    border-radius: 20px;
    padding: 36px;
    text-align: center;
    border: 1px solid #e5e7eb;
}
.testimonial-card-modern .testi-stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px;
    color: #fbbf24;
    font-size: 16px;
}
.testimonial-card-modern .testi-text {
    font-size: 1.05rem;
    color: #374151;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
    position: relative;
}
.testimonial-card-modern .testi-text::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.15;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia;
    line-height: 1;
}
.testimonial-card-modern .testi-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f3f4f6;
    margin: 0 auto 12px;
}
.testimonial-card-modern .testi-name {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 1rem;
    margin-bottom: 2px;
}
.testimonial-card-modern .testi-role {
    font-size: 0.85rem;
    color: #9ca3af;
}

/* --- FAQ Section --- */
.faq-modern {
    padding: 80px 0;
    background: #fff;
}
.faq-card-modern {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.faq-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    border-color: var(--primary);
    color: inherit;
}
.faq-card-modern .faq-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,71,33,0.1), rgba(255,71,33,0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    transition: all 0.3s;
}
.faq-card-modern:hover .faq-icon {
    background: var(--primary);
    color: #fff;
}
.faq-card-modern .faq-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
}
.faq-card-modern .faq-arrow {
    margin-left: auto;
    color: #d1d5db;
    transition: all 0.3s;
}
.faq-card-modern:hover .faq-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

/* --- Footer --- */
section.footer-modern {
    background: #1a1a2e !important;
    color: rgba(255,255,255,0.7) !important;
    padding: 50px 0 !important;
    margin: 0 !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}
section.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #ff8a65, var(--primary));
}
section.footer-modern .footer-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}
section.footer-modern .footer-copy {
    color: rgba(255,255,255,0.7) !important;
}
section.footer-modern .footer-copy p {
    margin: 0 !important;
    font-size: 0.9rem !important;
    color: rgba(255,255,255,0.7) !important;
}
section.footer-modern .footer-copy a {
    color: var(--primary) !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.3s ease;
}
section.footer-modern .footer-copy a:hover {
    color: #fff !important;
}
section.footer-modern .footer-links {
    display: flex !important;
    gap: 8px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: wrap;
    align-items: center;
}
section.footer-modern .footer-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
section.footer-modern .footer-links li a {
    display: inline-block !important;
    color: rgba(255,255,255,0.65) !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 500;
    padding: 6px 16px !important;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    transition: all 0.3s ease !important;
    background: transparent;
}
section.footer-modern .footer-links li a:hover {
    color: #fff !important;
    border-color: var(--primary);
    background: rgba(255,71,33,0.15);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-modern h1 { font-size: 2rem; }
    .hero-modern .hero-inner { padding: 80px 0 60px; }
    .hero-modern .hero-stats { gap: 24px; flex-wrap: wrap; }
    .section-heading h2 { font-size: 1.7rem; }
    .features-modern, .articles-modern, .testimonials-modern, .faq-modern { padding: 50px 0; }
    .cta-modern h2 { font-size: 1.6rem; }
    .footer-modern .footer-inner { flex-direction: column !important; text-align: center !important; }
    .footer-modern .footer-links { justify-content: center !important; }
}
