:root {
    --bg: #0b0c0f;
    --bg-2: #13151a;
    --card: rgba(255, 255, 255, 0.04);
    --card-border: rgba(255, 255, 255, 0.08);
    --text: #f5f5f5;
    --muted: #a0a4ab;
    --accent: #f5f5f5;
    --accent-2: #cfd2d8;
    --success: #10b981;
    --danger: #ef4444;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    --radius: 18px;
}

* { box-sizing: border-box; }

html { background: var(--bg); min-height: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Space Grotesk', 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(120% 140% at 20% 20%, rgba(255,255,255,0.04), transparent 40%),
                radial-gradient(120% 140% at 80% 0%, rgba(255,255,255,0.03), transparent 45%),
                linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
    color: var(--text);
    line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

.container {
    width: min(1180px, 92vw);
    margin: 0 auto;
}

header.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11, 12, 15, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--card-border);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: grid;
    place-items: center;
    color: #0b0c0f;
    font-weight: 900;
}

.nav-wrap { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }

nav ul {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    padding: 8px 10px;
    color: var(--muted);
    font-weight: 600;
    transition: color 0.2s ease;
}

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

.nav-cta {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #0b0c0f;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.btn.secondary {
    background: transparent;
    color: var(--text);
    box-shadow: none;
}

.hero {
    padding: 82px 0 56px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    align-items: center;
}

.kicker { color: var(--accent-2); font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; font-size: 0.85rem; }

h1 { font-size: clamp(2.2rem, 3vw, 3rem); margin: 12px 0 8px; }

.hero p.lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 18px; }

.hero-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 16px; }

.card {
    background: var(--card);
    border: 1px solid var(--card-border);
    padding: 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.stat-value { font-size: 1.4rem; font-weight: 700; }

.section {
    padding: 40px 0;
}

.section h2 { margin-bottom: 10px; }

.muted { color: var(--muted); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }

.plan-card {
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid var(--card-border);
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(11,12,15,0.65));
    display: grid;
    gap: 12px;
}

.plan-header { display: flex; align-items: center; justify-content: space-between; }

.price { font-size: 1.6rem; font-weight: 700; }

.badge { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); color: var(--text); font-weight: 700; font-size: 0.85rem; }

.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }

.list li { display: flex; gap: 10px; align-items: start; color: var(--muted); }

.list .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); margin-top: 8px; }

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.footer {
    padding: 30px 0;
    border-top: 1px solid var(--card-border);
    margin-top: 32px;
    color: var(--muted);
}

.table-lite { width: 100%; border-collapse: collapse; }

.table-lite th, .table-lite td { padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,0.06); text-align: left; }

.table-lite th { color: var(--muted); font-weight: 600; }

.alert { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); }

/* Dashboard nav */
.ss-dash-nav {display:flex;gap:12px;flex-wrap:wrap;margin-bottom:14px;overflow-x:auto;padding-bottom:4px;}
.ss-dash-nav a {padding:8px 12px;border:1px solid var(--card-border);border-radius:10px;background:rgba(255,255,255,0.02);color:var(--text);white-space:nowrap;}
.ss-dash-nav a:hover {background:rgba(255,255,255,0.06);}
.page-content {line-height:1.7; color: var(--text);} 
.page-content p {margin-bottom: 1em;}

@media (max-width: 980px) {
    .hero-grid, .split { grid-template-columns: 1fr; }
    .navbar { flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; }
    .brand { flex: 1; }
    .nav-wrap { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 12px; order: 3; }
    .nav-toggle { display: inline-flex; background: transparent; border: 1px solid var(--card-border); color: var(--text); padding: 8px 12px; border-radius: 10px; }
    body.nav-open .nav-wrap { display: flex; }
    body.nav-open header.site-header { background: rgba(11, 12, 15, 0.96); }
    nav ul { flex-direction: column; width: 100%; gap: 8px; }
    nav a { display: block; width: 100%; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,0.02); }
    .nav-cta { width: 100%; justify-content: stretch; }
    .nav-cta .btn { flex: 1; text-align: center; }
}

@media (min-width: 981px) {
    .nav-toggle { display: none; }
    .nav-wrap { display: flex !important; }
}

/* WooCommerce Styles */
.woocommerce .woocommerce-products-header {
    margin-bottom: 2rem;
}

.woocommerce .woocommerce-products-header__title.page-title {
    color: var(--text);
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.product-card a {
    color: var(--text);
    text-decoration: none;
}

.product-card .woocommerce-loop-product__title {
    color: var(--text);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1rem 0;
    line-height: 1.3;
}

.product-card .price {
    color: var(--accent-2);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
}

.product-card .amount {
    color: var(--accent-2);
}

.product-card .button {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--bg);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.product-card .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 245, 245, 0.3);
}

.product-card .attachment-woocommerce_thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.woocommerce .woocommerce-result-count {
    color: var(--muted);
    margin-bottom: 1rem;
}

.woocommerce .woocommerce-ordering {
    margin-bottom: 2rem;
}

.woocommerce .woocommerce-ordering select {
    background: var(--card);
    border: 1px solid var(--card-border);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 8px;
}

.woocommerce-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.woocommerce-pagination .page-numbers {
    display: flex;
    gap: 0.5rem;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
    padding: 8px 12px;
    background: var(--card);
    border: 1px solid var(--card-border);
    color: var(--text);
    text-decoration: none;
    border-radius: 8px;
}

.woocommerce-pagination .page-numbers a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.woocommerce-pagination .page-numbers span.current {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--bg);
    border-color: transparent;
}

/* WooCommerce Notices */
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error {
    background: var(--card);
    border: 1px solid var(--card-border);
    color: var(--text);
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.woocommerce .woocommerce-message {
    border-color: var(--success);
}

.woocommerce .woocommerce-error {
    border-color: var(--danger);
}

.woocommerce .woocommerce-info::before,
.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-error::before {
    color: var(--text);
}

/* Single Product */
.single-product .product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.single-product .summary {
    color: var(--text);
}

.single-product .product_title {
    color: var(--text);
    font-size: clamp(1.8rem, 3vw, 2.2rem);
}

.single-product .price {
    color: var(--accent-2);
    font-size: 1.8rem;
    font-weight: 700;
}

.single-product .single_add_to_cart_button {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: var(--bg);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.single-product .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 245, 245, 0.3);
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .single-product .product {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
