/*
Theme Name: SaaS Dark App
Author: BeebNet
Version: 1.0
*/

:root {
    --bg: #0f172a;
    --card: #1e293b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --border: #334155;
    --nav-height: 60px;
}

* { box-sizing: border-box; margin: 0; padding: 0; outline: none; -webkit-tap-highlight-color: transparent; }
body { background-color: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; padding-bottom: 80px; line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }

/* App Header */
.app-header { background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 20px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.desktop-nav { display: none; gap: 20px; }
.desktop-nav a { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.desktop-nav a:hover, .desktop-nav a.active { color: var(--primary); }

/* Mobile Bottom Nav */
.mobile-nav { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--card); border-top: 1px solid var(--border); padding: 10px 0; display: flex; justify-content: space-around; z-index: 999; padding-bottom: env(safe-area-inset-bottom); }
.nav-item { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--text-muted); gap: 4px; }
.nav-item svg { width: 24px; height: 24px; fill: currentColor; }
.nav-item.active { color: var(--primary); }

/* Hero Section */
.hero { text-align: center; padding: 60px 20px; max-width: 800px; margin: 0 auto; }
.badge { background: rgba(59, 130, 246, 0.1); color: var(--primary); padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; display: inline-block; margin-bottom: 20px; border: 1px solid rgba(59, 130, 246, 0.2); }
.hero h1 { font-size: 40px; line-height: 1.1; margin-bottom: 20px; background: linear-gradient(to right, #fff, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--text-muted); font-size: 18px; margin-bottom: 30px; }
.cta-btn { background: var(--primary); color: #fff; padding: 12px 30px; border-radius: 8px; font-weight: bold; display: inline-block; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4); }
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6); }

/* Features Grid */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; padding: 20px; max-width: 1000px; margin: 0 auto; }
.feat-card { background: var(--card); border: 1px solid var(--border); padding: 25px; border-radius: 12px; transition: 0.3s; }
.feat-card:hover { border-color: var(--primary); }
.feat-icon { width: 40px; height: 40px; background: rgba(59, 130, 246, 0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary); margin-bottom: 15px; font-size: 20px; }
.feat-card h3 { font-size: 18px; margin-bottom: 10px; }
.feat-card p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* Plugin Overrides (Dark Mode Support) */
.wop-dash, .wop-box, .wop-login-box { max-width: 800px; margin: 20px auto; }
.wop-box, .wop-login-box { background: var(--card) !important; border: 1px solid var(--border) !important; color: var(--text); }
.wop-inp { background: #0f172a !important; border: 1px solid var(--border) !important; color: #fff !important; }
.wop-stat { background: #0f172a !important; border: 1px solid var(--border) !important; }
.wop-stat span { color: var(--text-muted) !important; }
.wop-head { border-bottom-color: var(--border) !important; }
.wop-head h2 { color: var(--text) !important; }
.wop-tbl th { background: #0f172a !important; border-bottom-color: var(--border) !important; color: var(--text-muted) !important; }
.wop-tbl tr { background: var(--card) !important; border-color: var(--border) !important; }
.wop-tbl td { border-bottom-color: var(--border) !important; color: var(--text) !important; }
.wop-label { color: var(--text-muted) !important; }

@media (min-width: 768px) {
    .mobile-nav { display: none; }
    .desktop-nav { display: flex; }
    body { padding-bottom: 0; }
    .hero h1 { font-size: 60px; }
}

