/*
Theme Name: NetSlim Hosting
Theme URI: https://netslim.nl
Author: NetSlim
Author URI: https://netslim.nl
Description: Een modern, krachtig webhosting thema voor NetSlim. Grote fonts, snel, en volledig geintegreerd met de NetSlim CRM plugin.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License: GPL v2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: netslim
Domain Path: /languages
Tags: hosting, webhosting, domain, crm, responsive, large-fonts, modern
*/

/* ============================================
   NETSLIM HOSTING THEME - STYLE.CSS
   GROTE FONTS - MOOIE GOOGLE FONTS
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* CSS Custom Properties */
:root {
    --ns-primary: #6366F1;
    --ns-primary-dark: #4F46E5;
    --ns-primary-light: #818CF8;
    --ns-primary-10: rgba(99, 102, 241, 0.1);
    --ns-primary-20: rgba(99, 102, 241, 0.2);
    --ns-secondary: #EC4899;
    --ns-secondary-dark: #DB2777;
    --ns-dark: #0F0F23;
    --ns-dark-card: #1A1A2E;
    --ns-dark-border: #2D2D44;
    --ns-light: #F8FAFC;
    --ns-white: #FFFFFF;
    --ns-text-dark: #0F172A;
    --ns-text-light: #E2E8F0;
    --ns-text-muted: #94A3B8;
    --ns-success: #22C55E;
    --ns-success-light: #DCFCE7;
    --ns-warning: #F59E0B;
    --ns-warning-light: #FEF3C7;
    --ns-danger: #EF4444;
    --ns-danger-light: #FEE2E2;
    --ns-info: #3B82F6;
    --ns-info-light: #DBEAFE;

    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 40px rgba(0,0,0,0.16);
    --shadow-primary: 0 4px 16px rgba(99, 102, 241, 0.35);
    --shadow-primary-lg: 0 8px 32px rgba(99, 102, 241, 0.35);

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--ns-text-dark);
    background: var(--ns-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--ns-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--ns-primary-dark);
}

/* ============================================
   TYPOGRAFIE - GROTE FONTS
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--ns-text-dark);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 700;
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 700;
}

h5 {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--ns-text-dark);
}

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

.text-light {
    color: var(--ns-text-light);
}

.font-display {
    font-family: var(--font-display);
}

.font-mono {
    font-family: var(--font-mono);
}

.font-body {
    font-family: var(--font-body);
}

/* ============================================
   LAYOUT
   ============================================ */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-wide {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-lg {
    padding: 7rem 0;
}

.section-dark {
    background: var(--ns-dark);
    color: var(--ns-text-light);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5 {
    color: var(--ns-white);
}

.section-dark p {
    color: var(--ns-text-muted);
}

.section-light {
    background: var(--ns-light);
}

.section-white {
    background: var(--ns-white);
}

.section-gradient {
    background: linear-gradient(135deg, var(--ns-primary) 0%, var(--ns-secondary) 100%);
    color: white;
}

.section-gradient h1,
.section-gradient h2,
.section-gradient h3 {
    color: white;
}

.section-gradient p {
    color: rgba(255,255,255,0.85);
}

/* Grid */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

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

/* Flex */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ============================================
   NAVIGATIE
   ============================================ */

.ns-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ns-dark-border);
    height: 80px;
    display: flex;
    align-items: center;
}

.ns-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.ns-navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ns-navbar-brand img {
    height: 40px;
    width: auto;
}

.ns-navbar-brand-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
}

.ns-navbar-nav {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.ns-navbar-nav a {
    display: block;
    padding: 0.625rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--ns-text-muted);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.ns-navbar-nav a:hover,
.ns-navbar-nav a.active {
    color: white;
    background: rgba(255,255,255,0.06);
}

.ns-navbar-nav a.active {
    color: var(--ns-primary-light);
}

.ns-navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Mobile Nav Toggle */
.ns-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
}

.ns-nav-toggle svg {
    width: 28px;
    height: 28px;
}

/* ============================================
   KNOPPEN - GROOT EN MOOI
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-decoration: none;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
}

.btn-md {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
}

.btn-xl {
    padding: 1.5rem 3rem;
    font-size: 1.35rem;
    font-weight: 800;
    border-radius: var(--radius-xl);
}

.btn-primary {
    background: var(--ns-primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--ns-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-lg);
}

.btn-secondary {
    background: var(--ns-secondary);
    color: white;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.35);
}

.btn-secondary:hover {
    background: var(--ns-secondary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(236, 72, 153, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--ns-primary);
    border: 2px solid var(--ns-primary);
}

.btn-outline:hover {
    background: var(--ns-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
    background: white;
    color: var(--ns-dark);
    border-color: white;
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: var(--ns-text-muted);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.06);
    color: white;
}

.btn-success {
    background: var(--ns-success);
    color: white;
}

.btn-success:hover {
    background: #16a34a;
    color: white;
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--ns-danger);
    color: white;
}

.btn-danger:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   KAARTEN
   ============================================ */

.card {
    background: var(--ns-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-dark {
    background: var(--ns-dark-card);
    border: 1px solid var(--ns-dark-border);
    color: var(--ns-text-light);
}

.card-dark h1,
.card-dark h2,
.card-dark h3,
.card-dark h4 {
    color: white;
}

.card-featured {
    border: 2px solid var(--ns-primary);
    position: relative;
    box-shadow: 0 0 0 4px var(--ns-primary-20), var(--shadow-lg);
}

.card-featured::before {
    content: 'POPULAIR';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--ns-primary), var(--ns-secondary));
    color: white;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.35rem 1.5rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* ============================================
   BADGES
   ============================================ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 600;
}

.badge-success {
    background: var(--ns-success-light);
    color: #166534;
}

.badge-warning {
    background: var(--ns-warning-light);
    color: #92400e;
}

.badge-danger {
    background: var(--ns-danger-light);
    color: #991b1b;
}

.badge-info {
    background: var(--ns-info-light);
    color: #1e40af;
}

.badge-primary {
    background: var(--ns-primary-10);
    color: var(--ns-primary-dark);
}

/* ============================================
   FORMULIEREN
   ============================================ */

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--ns-text-dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    height: 58px;
    padding: 0 1.25rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--ns-text-dark);
    background: var(--ns-white);
    border: 2px solid #cbd5e1;
    border-radius: var(--radius-lg);
    outline: none;
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--ns-primary);
    box-shadow: 0 0 0 4px var(--ns-primary-10);
}

.form-input::placeholder {
    color: var(--ns-text-muted);
}

.form-textarea {
    height: auto;
    min-height: 140px;
    padding: 1rem 1.25rem;
    resize: vertical;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

/* Checkbox & Radio */
.form-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.form-check-input {
    width: 22px;
    height: 22px;
    accent-color: var(--ns-primary);
    cursor: pointer;
}

/* ============================================
   TABELLEN
   ============================================ */

.ns-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1rem;
}

.ns-table thead th {
    padding: 1rem 1.25rem;
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ns-text-muted);
    background: var(--ns-light);
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
    white-space: nowrap;
}

.ns-table thead th:first-child {
    border-radius: var(--radius-md) 0 0 0;
}

.ns-table thead th:last-child {
    border-radius: 0 var(--radius-md) 0 0;
}

.ns-table tbody td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.ns-table tbody tr:hover td {
    background: #f8fafc;
}

.ns-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 var(--radius-md);
}

.ns-table tbody tr:last-child td:last-child {
    border-radius: 0 0 var(--radius-md) 0;
}

/* ============================================
   PRIJS WEERGAVE
   ============================================ */

.price-tag {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.price-tag .currency {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ns-primary);
}

.price-tag .amount {
    font-family: var(--font-mono);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--ns-primary);
    line-height: 1;
}

.price-tag .period {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--ns-text-muted);
    font-weight: 500;
}

.price-tag-lg .amount {
    font-size: 5rem;
}

.price-tag-lg .currency {
    font-size: 2rem;
}

.price-old {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--ns-text-muted);
    text-decoration: line-through;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--ns-dark);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--ns-primary);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(100px);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--ns-secondary);
    opacity: 0.06;
    border-radius: 50%;
    filter: blur(100px);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--ns-primary-10);
    border: 1px solid var(--ns-primary-20);
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ns-primary-light);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-weight: 900;
    color: white;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--ns-primary-light) 0%, var(--ns-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    color: var(--ns-text-muted);
    max-width: 560px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ns-text-muted);
}

.hero-trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--ns-success);
}

/* ============================================
   DOMEIN ZOEKER
   ============================================ */

.domain-search {
    position: relative;
    max-width: 720px;
}

.domain-search-input-group {
    display: flex;
    gap: 0.5rem;
    background: white;
    border: 3px solid var(--ns-primary-20);
    border-radius: var(--radius-xl);
    padding: 0.5rem;
    transition: all var(--transition-fast);
}

.domain-search-input-group:focus-within {
    border-color: var(--ns-primary);
    box-shadow: 0 0 0 6px var(--ns-primary-10);
}

.domain-search-input {
    flex: 1;
    height: 56px;
    padding: 0 1rem;
    font-family: var(--font-body);
    font-size: 1.15rem;
    border: none;
    outline: none;
    color: var(--ns-text-dark);
    background: transparent;
}

.domain-search-input::placeholder {
    color: var(--ns-text-muted);
}

.domain-search-select {
    height: 56px;
    padding: 0 2.5rem 0 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    outline: none;
    color: var(--ns-text-dark);
    background: var(--ns-light);
    border-radius: var(--radius-lg);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236366F1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.domain-search-btn {
    height: 56px;
    padding: 0 2rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    background: var(--ns-primary);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.domain-search-btn:hover {
    background: var(--ns-primary-dark);
    transform: scale(1.02);
}

/* ============================================
   FEATURE GRID
   ============================================ */

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.feature-card-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ns-primary-10);
    border-radius: var(--radius-lg);
    color: var(--ns-primary);
}

.feature-card-icon svg {
    width: 36px;
    height: 36px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 1.05rem;
    color: var(--ns-text-muted);
    line-height: 1.7;
}

/* ============================================
   STATISTIEKEN
   ============================================ */

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}

/* ============================================
   ACCORDION
   ============================================ */

.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: var(--ns-white);
    border: none;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ns-text-dark);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.accordion-header:hover {
    background: var(--ns-light);
}

.accordion-body {
    padding: 0 1.5rem 1.25rem;
    font-size: 1.05rem;
    color: var(--ns-text-muted);
    display: none;
}

.accordion-item.active .accordion-body {
    display: block;
}

.accordion-item.active .accordion-header svg {
    transform: rotate(180deg);
}

/* ============================================
   TABS
   ============================================ */

.tabs-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.875rem 1.5rem;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ns-text-muted);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--ns-text-dark);
}

.tab-btn.active {
    color: var(--ns-primary);
    border-bottom-color: var(--ns-primary);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ============================================
   ALERTS / NOTICES
   ============================================ */

.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-lg);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: var(--ns-success-light);
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-warning {
    background: var(--ns-warning-light);
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-danger {
    background: var(--ns-danger-light);
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-info {
    background: var(--ns-info-light);
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ============================================
   PROGRESS BARS
   ============================================ */

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e2e8f0;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--ns-primary), var(--ns-primary-light));
    transition: width 0.6s ease;
}

.progress-bar-fill.success {
    background: linear-gradient(90deg, var(--ns-success), #4ade80);
}

.progress-bar-fill.warning {
    background: linear-gradient(90deg, var(--ns-warning), #fbbf24);
}

.progress-bar-fill.danger {
    background: linear-gradient(90deg, var(--ns-danger), #f87171);
}

/* ============================================
   TOOLTIP
   ============================================ */

[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    padding: 0.5rem 1rem;
    background: var(--ns-dark);
    color: white;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

[data-tooltip]:hover::after {
    opacity: 1;
}

/* ============================================
   MODAL
   ============================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 35, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--ns-white);
    border-radius: var(--radius-xl);
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: scale(0.95);
    transition: transform var(--transition-base);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
    font-size: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    border-top: 1px solid #e2e8f0;
    background: var(--ns-light);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* ============================================
   DASHBOARD LAYOUT (Plugin)
   ============================================ */

.ns-dashboard {
    display: flex;
    min-height: 100vh;
    background: var(--ns-light);
}

.ns-sidebar {
    width: 280px;
    min-width: 280px;
    background: var(--ns-dark);
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.ns-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--ns-dark-border);
}

.ns-sidebar-header a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ns-sidebar-header img {
    height: 36px;
}

.ns-sidebar-header span {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
}

.ns-sidebar-nav {
    list-style: none;
    padding: 1rem;
    flex: 1;
}

.ns-sidebar-nav li {
    margin-bottom: 0.25rem;
}

.ns-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ns-text-muted);
    transition: all var(--transition-fast);
}

.ns-sidebar-nav a:hover {
    color: white;
    background: rgba(255,255,255,0.05);
}

.ns-sidebar-nav a.active {
    color: var(--ns-primary-light);
    background: var(--ns-primary-10);
}

.ns-sidebar-nav a svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.ns-sidebar-footer {
    padding: 1rem;
    border-top: 1px solid var(--ns-dark-border);
}

.ns-main {
    flex: 1;
    margin-left: 280px;
    min-height: 100vh;
}

.ns-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: var(--ns-white);
    border-bottom: 1px solid #e2e8f0;
}

.ns-topbar-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.ns-topbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ns-content {
    padding: 2rem;
}

/* Dashboard Cards */
.ns-widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ns-widget {
    background: var(--ns-white);
    border-radius: var(--radius-xl);
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
}

.ns-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.ns-widget-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
}

.ns-widget-value {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ns-primary);
}

.ns-widget-subtitle {
    font-size: 0.9375rem;
    color: var(--ns-text-muted);
}

/* ============================================
   FOOTER
   ============================================ */

.ns-footer {
    background: var(--ns-dark);
    color: var(--ns-text-muted);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--ns-dark-border);
}

.ns-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.ns-footer-brand img {
    height: 36px;
    margin-bottom: 1rem;
}

.ns-footer-brand p {
    font-size: 1rem;
    color: var(--ns-text-muted);
    max-width: 320px;
    line-height: 1.7;
}

.ns-footer h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
}

.ns-footer-links {
    list-style: none;
}

.ns-footer-links li {
    margin-bottom: 0.75rem;
}

.ns-footer-links a {
    font-size: 1rem;
    color: var(--ns-text-muted);
    transition: color var(--transition-fast);
}

.ns-footer-links a:hover {
    color: white;
}

.ns-footer-bottom {
    border-top: 1px solid var(--ns-dark-border);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9375rem;
    color: var(--ns-text-muted);
}

/* ============================================
   ANIMATIES
   ============================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.5s ease forwards;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ============================================
   UTILITIES
   ============================================ */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.max-w-md { max-width: 448px; }
.max-w-lg { max-width: 512px; }
.max-w-xl { max-width: 640px; }
.max-w-2xl { max-width: 768px; }
.max-w-3xl { max-width: 896px; }

.hidden { display: none; }

.w-full { width: 100%; }

.relative { position: relative; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .ns-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ns-sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition-base);
    }

    .ns-sidebar.open {
        transform: translateX(0);
    }

    .ns-main {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .ns-navbar-nav,
    .ns-navbar-actions .btn-ghost {
        display: none;
    }

    .ns-nav-toggle {
        display: block;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .ns-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ns-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trust {
        flex-direction: column;
        gap: 1rem;
    }

    .section { padding: 3rem 0; }
    .section-lg { padding: 4rem 0; }

    .ns-content {
        padding: 1rem;
    }

    .ns-widget-grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 1.5rem;
    }

    .tabs-nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }

    .price-tag .amount {
        font-size: 2.5rem;
    }
}

/* WordPress Core Compatibility */
.wp-caption {
    max-width: 100%;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
