/* ==========================================================================
   Nexus Panel Development - High Converting Meta Ads Landing Page Stylesheet
   ========================================================================== */

:root {
    --bg-dark: #07090e;
    --bg-card: #0f172a;
    --bg-card-hover: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-emerald: #10b981;
    --accent-wa: #25d366;
    --accent-gold: #f59e0b;
    --accent-gold-glow: rgba(245, 158, 11, 0.25);
    --accent-blue: #3b82f6;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(15, 23, 42, 0.75);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 70px; /* Space for sticky mobile CTA */
}

a {
    color: inherit;
    text-decoration: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #d97706, #b45309, #d97706);
    background-size: 200% 100%;
    animation: gradientShift 5s ease infinite;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 15px;
    text-align: center;
    position: relative;
    z-index: 100;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header & Navbar */
.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 90;
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 0 15px var(--accent-gold-glow);
}

.brand-text {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #000;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 30px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    background: #20bd5a;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 60px;
    background: radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.12) 0%, rgba(7, 9, 14, 0) 70%);
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-badge i {
    color: #25d366;
    font-size: 10px;
    animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 36px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-primary-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    padding: 16px 36px;
    border-radius: 40px;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.btn-primary-wa:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.btn-secondary-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 40px;
    transition: var(--transition);
}

.btn-secondary-demo:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: var(--bg-card-hover);
}

/* Stats Counter Grid */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 24px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-4px);
}

.stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #fbbf24;
    margin-bottom: 4px;
}

.stat-desc {
    font-size: 14px;
    color: var(--text-muted);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    color: var(--accent-gold);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

/* Live Panels Showcase Grid */
.panel-showcase {
    padding: 70px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0b1120 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}

.panel-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.panel-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-6px);
}

.panel-img-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

.panel-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.panel-card:hover .panel-img-wrap img {
    transform: scale(1.05);
}

.panel-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--accent-gold);
    color: #fbbf24;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.view-demo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.panel-img-wrap:hover .view-demo-overlay {
    opacity: 1;
}

.btn-zoom {
    background: #fbbf24;
    color: #000;
    font-weight: 800;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
}

.panel-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.panel-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}

.panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag-pill {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-card-cta {
    margin-top: auto;
    display: flex;
    gap: 10px;
}

.btn-card-wa {
    flex: 1;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.4);
    color: #25d366;
    font-weight: 700;
    font-size: 14px;
    padding: 10px;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: var(--transition);
}

.btn-card-wa:hover {
    background: #25d366;
    color: #000;
}

/* Services Grid */
.services-section {
    padding: 70px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 15px;
}

/* Feature Highlights */
.features-section {
    padding: 70px 0;
    background: rgba(15, 23, 42, 0.4);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: var(--radius-md);
}

.feature-check {
    width: 28px;
    height: 28px;
    background: rgba(37, 211, 102, 0.2);
    color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Pricing / Package Cards */
.pricing-section {
    padding: 70px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pricing-card.popular {
    border-color: var(--accent-gold);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.15);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    padding: 4px 16px;
    border-radius: 20px;
    text-transform: uppercase;
}

.plan-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.plan-sub {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-features li {
    font-size: 15px;
    color: #e2e8f0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i {
    color: #25d366;
}

.btn-plan-wa {
    display: block;
    width: 100%;
    text-align: center;
    background: #25d366;
    color: #000;
    font-weight: 800;
    font-size: 16px;
    padding: 14px;
    border-radius: 30px;
    transition: var(--transition);
}

.btn-plan-wa:hover {
    background: #20bd5a;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

/* FAQ Accordion */
.faq-section {
    padding: 70px 0;
    background: rgba(15, 23, 42, 0.3);
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 24px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--text-muted);
    font-size: 15px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-gold);
}

/* Footer */
footer {
    background: #04060a;
    border-top: 1px solid var(--border-color);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.footer-links {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-disclaimer {
    margin-top: 24px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Floating WhatsApp Button */
.floating-wa-btn {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-circle {
    width: 62px;
    height: 62px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    cursor: pointer;
    transition: var(--transition);
    animation: waPulse 2s infinite;
}

.wa-circle:hover {
    transform: scale(1.1);
}

.wa-tooltip {
    background: #0f172a;
    border: 1px solid #25d366;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    display: none;
}
@media (min-width: 768px) {
    .wa-tooltip {
        display: block;
    }
}

@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile Sticky Bottom CTA */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--accent-wa);
    padding: 12px 16px;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sticky-wa-btn {
    width: 100%;
    background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    padding: 12px;
    border-radius: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* Lightbox Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.active {
    display: flex;
}
.modal-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    position: relative;
}
.modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
}
.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: var(--accent-gold);
    color: #000;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    font-weight: 800;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title { font-size: 32px; }
    .hero-subtitle { font-size: 15px; }
    .section-title { font-size: 28px; }
    .floating-wa-btn { bottom: 80px; right: 16px; }
}
