/* ==========================================================================
   Fixora ERP - Sales Landing Page Stylesheet (Ultra Premium Dark/Glow Design)
   ========================================================================== */

:root {
    --bg-main: #0b0f19;
    --bg-secondary: #131b2e;
    --bg-card: #1c273e;
    --primary: #6c5ce7;
    --primary-glow: rgba(108, 92, 231, 0.4);
    --secondary: #00b894;
    --accent: #fd79a8;
    --text-main: #f1f2f6;
    --text-muted: #a4b0be;
    --border-color: rgba(255, 255, 255, 0.08);
    --radius-lg: 16px;
    --radius-md: 10px;
    --font-family: 'Cairo', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 800;
}

.brand-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    gap: 22px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #6c5ce7, #8e44ad);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 140px 0 80px 0;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -100px;
    right: 50%;
    transform: translateX(50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(11, 15, 25, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(108, 92, 231, 0.15);
    color: var(--primary);
    border: 1px solid rgba(108, 92, 231, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 20px;
}

.hero-title span {
    background: linear-gradient(135deg, #a29bfe, #fd79a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 16.5px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.hero-features-strip {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Mockup Window & Showcase Media */
.hero-mockup-container {
    perspective: 1000px;
}

.mockup-window {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.mockup-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border-color);
}

.dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-title {
    font-size: 12px;
    color: var(--text-muted);
    direction: ltr;
}

.mockup-img-wrapper {
    width: 100%;
    overflow: hidden;
}

.real-showcase-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Showcase Section Styles */
.showcase-section {
    padding: 90px 0;
}

.showcase-section.alt-bg {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.showcase-container.reverse {
    grid-template-columns: 1fr 1fr;
}

.showcase-title {
    font-size: 32px;
    font-weight: 800;
    margin: 12px 0;
    line-height: 1.3;
}

.showcase-desc {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 25px;
}

.showcase-list {
    list-style: none;
}

.showcase-list li {
    font-size: 15px;
    margin-bottom: 14px;
    color: var(--text-main);
    line-height: 1.5;
}

.image-frame {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.glow-box {
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.25);
}

.glow-box-green {
    box-shadow: 0 10px 40px rgba(0, 184, 148, 0.25);
}

.glow-box-purple {
    box-shadow: 0 10px 40px rgba(142, 68, 173, 0.25);
}

.showcase-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
    object-fit: cover;
}

.image-caption {
    font-size: 12.5px;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
    font-weight: 600;
}

/* Sections Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-tag {
    color: var(--secondary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    margin: 10px 0;
}

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

/* Features Grid */
.features-section {
    padding: 90px 0;
    background: var(--bg-secondary);
}

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

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 36px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

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

/* Pricing Grid */
.pricing-section {
    padding: 90px 0;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.price-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border-color: var(--primary);
    box-shadow: 0 10px 40px var(--primary-glow);
    background: linear-gradient(180deg, rgba(108, 92, 231, 0.15) 0%, var(--bg-card) 100%);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    background: var(--primary);
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.p-header h3 { font-size: 22px; margin-bottom: 5px; }
.p-header p { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.p-price { font-size: 32px; font-weight: 900; margin-bottom: 25px; }
.p-price span { font-size: 14px; color: var(--text-muted); }

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

.p-features li {
    font-size: 14px;
    margin-bottom: 12px;
    color: var(--text-main);
}

/* FAQ Accordion */
.faq-section {
    padding: 90px 0;
    background: var(--bg-secondary);
}

.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: 15px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 16px;
    text-align: right;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

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

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

/* Footer & Floating WhatsApp */
.footer {
    background: #070a12;
    padding: 40px 0 20px 0;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-bottom {
    font-size: 13px;
    color: var(--text-muted);
}

.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #25d366;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: transform 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.05);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-cta-group { justify-content: center; }
    .hero-features-strip { justify-content: center; flex-wrap: wrap; }
    .nav-links { display: none; }
    .showcase-container, .showcase-container.reverse { grid-template-columns: 1fr; text-align: center; }
    .pricing-grid { flex-direction: column; }
}


/* ==========================================================================
   Sticky Floating Download Button & Mobile Responsive Enhancements
   ========================================================================== */

.floating-download-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 10000;
    background: linear-gradient(135deg, #6c5ce7 0%, #00b894 100%);
    color: #ffffff;
    padding: 14px 26px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.5), 0 0 20px rgba(0, 184, 148, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    animation: floatingPulse 3s infinite;
}

.floating-download-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.7), 0 0 25px rgba(0, 184, 148, 0.5);
    color: #ffffff;
}

.floating-download-btn .dl-icon {
    font-size: 18px;
    animation: bounceIcon 2s infinite;
}

@keyframes floatingPulse {
    0% { box-shadow: 0 10px 30px rgba(108, 92, 231, 0.5), 0 0 15px rgba(0, 184, 148, 0.3); }
    50% { box-shadow: 0 12px 40px rgba(108, 92, 231, 0.8), 0 0 25px rgba(0, 184, 148, 0.6); }
    100% { box-shadow: 0 10px 30px rgba(108, 92, 231, 0.5), 0 0 15px rgba(0, 184, 148, 0.3); }
}

@keyframes bounceIcon {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-4px); }
    60% { transform: translateY(-2px); }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(108, 92, 231, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-rating {
    color: #f1c40f;
    font-size: 16px;
    margin-bottom: 12px;
}

.testimonial-text {
    font-size: 14.5px;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c5ce7, #00b894);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: white;
}

.author-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
}

.author-shop {
    font-size: 12px;
    color: var(--text-muted);
}

/* Comprehensive Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .showcase-container, .showcase-container.reverse {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }
    .nav-container {
        justify-content: center;
    }
    .nav-links {
        display: none;
    }
    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.35;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
        line-height: 1.5;
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
    }
    .hero-features-strip {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .strip-item {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
    .showcase-section {
        padding: 50px 0;
    }
    .showcase-title {
        font-size: 1.45rem;
    }
    .showcase-desc {
        font-size: 0.95rem;
    }
    .showcase-list li {
        font-size: 0.9rem;
    }
    .image-frame {
        border-radius: 12px;
        padding: 6px;
    }
    .showcase-img, .real-showcase-img {
        border-radius: 8px;
    }
    .floating-download-btn {
        left: 50%;
        transform: translateX(-50%);
        bottom: 15px;
        width: 92%;
        max-width: 390px;
        justify-content: center;
        padding: 14px 18px;
        font-size: 14px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 25px rgba(108, 92, 231, 0.8);
    }
    .floating-download-btn:hover {
        transform: translateX(-50%) translateY(-2px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.55rem;
    }
    .showcase-title {
        font-size: 1.3rem;
    }
    .floating-download-btn {
        font-size: 13px;
        padding: 12px 14px;
    }
}
