/* PREMIUM WEB STYLE FOR FLIQX ERP WEBSITE */
:root {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Segoe UI', Tahoma, sans-serif;
}

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.15) 0px, transparent 50%);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Nav */
header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.btn-download-nav {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    transition: all 0.2s;
}

.btn-download-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 60px auto 40px;
    padding: 0 20px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 30px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.2s;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.45);
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.1);
}

/* Pricing Grid */
.pricing-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 40px;
}

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

.price-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.price-card.popular {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.price-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.price {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.price span {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
}

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

.features-list li {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
}

/* Downloads Section */
.downloads-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.downloads-box, .instructions-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.downloads-box h2, .instructions-box h2 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 800;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.file-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
}

.file-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.file-info h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

.file-info p {
    font-size: 11px;
    color: var(--text-muted);
}

.btn-download {
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-download:hover {
    background: #1d4ed8;
}

/* Steps list */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-card {
    display: flex;
    gap: 15px;
}

.step-num {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 15px;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 12px;
    color: var(--text-muted);
}

/* Admin Styles */
.admin-container {
    max-width: 600px;
    margin: 80px auto;
    padding: 0 20px;
}

.admin-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.admin-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input, .form-group select {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 10px;
    border-radius: 8px;
    outline: none;
    font-size: 13px;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--accent);
}

.btn-submit {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    margin-top: 10px;
}

.btn-submit:hover {
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Footer styling */
footer {
    text-align: center;
    padding: 30px 20px;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    margin-top: 80px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 15px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .downloads-section {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none; /* In production, you can expand a mobile menu, but for simple layouts we hide links */
    }
}

/* Modal Background */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
}

/* Modal Content Box */
.modal-content {
    background-color: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    margin: 8% auto;
    padding: 30px;
    width: 90%;
    max-width: 480px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Modal Close Button */
.modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-main);
}

