/* ==========================================================================
   NEXTRON CLOUD & HOSTING PLATFORM — PRODUCTION STYLESHEET (LARAVEL 13)
   Clean, High-Density, Anti-Slop Enterprise & Public UI
   ========================================================================== */

:root {
    --nx-navy-950: #020716;
    --nx-navy-900: #05102b;
    --nx-navy-800: #091c47;
    --nx-navy-700: #0f2c6c;
    --nx-blue-600: #0066ff;
    --nx-blue-500: #0088ff;
    --nx-cyan-400: #00c4ff;
    --nx-cyan-300: #2ce0ff;
    --nx-slate-900: #0f172a;
    --nx-slate-800: #1e293b;
    --nx-slate-700: #334155;
    --nx-slate-600: #475569;
    --nx-slate-500: #64748b;
    --nx-slate-400: #94a3b8;
    --nx-slate-300: #cbd5e1;
    --nx-slate-200: #e2e8f0;
    --nx-slate-100: #f1f5f9;
    --nx-slate-50: #f8fafc;
    --nx-success: #059669;
    --nx-success-bg: #ecfdf5;
    --nx-warning: #d97706;
    --nx-warning-bg: #fffbeb;
    --nx-danger: #dc2626;
    --nx-danger-bg: #fef2f2;
    --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    color: var(--nx-slate-900);
    background-color: var(--nx-slate-50);
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    font-size: 14.5px;
}

a {
    color: inherit;
    text-decoration: none;
}

.tabular-nums {
    font-variant-numeric: tabular-nums;
}

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

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

/* ==========================================================================
   1. PUBLIC HERO & NAVBAR (MATCHING NEXTRON REFERENCE IMAGE)
   ========================================================================== */

.nx-hero-wrapper {
    position: relative;
    background:
        radial-gradient(circle at 74% 46%, rgba(0, 174, 255, 0.34) 0%, rgba(7, 36, 95, 0.45) 36%, rgba(3, 10, 29, 0.98) 72%),
        linear-gradient(135deg, #020818 0%, #051334 48%, #071e4e 100%);
    color: #ffffff;
    overflow: hidden;
}

/* Subtle network grid / horizon glow */
.nx-hero-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(0, 195, 255, 0.14) 1px, transparent 1px),
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 36px 36px, 72px 72px, 72px 72px;
    pointer-events: none;
    z-index: 1;
}

.nx-navbar {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(2, 8, 24, 0.55);
    backdrop-filter: blur(10px);
}

.nx-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 82px;
    gap: 20px;
}

.nx-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nx-brand-icon {
    width: 48px;
    height: 44px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(0, 180, 255, 0.45));
}

.nx-brand-text {
    display: flex;
    flex-direction: column;
}

.nx-brand-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.05;
    color: #ffffff;
}

.nx-brand-sub {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.02em;
    margin-top: 2px;
}

.nx-nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
}

.nx-nav-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(180deg, #1d6bff 0%, #0b46d0 100%);
    box-shadow: 0 0 16px rgba(29, 107, 255, 0.65);
    color: #ffffff;
    transition: transform 0.15s ease;
}

.nx-nav-home-btn:hover {
    transform: translateY(-1px);
}

.nx-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    transition: color 0.15s ease;
    cursor: pointer;
}

.nx-nav-item:hover {
    color: var(--nx-cyan-400);
}

.nx-nav-item svg {
    width: 13px;
    height: 13px;
    opacity: 0.75;
}

.nx-nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nx-search-trigger {
    background: transparent;
    border: none;
    color: #ffffff;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.15s;
}

.nx-search-trigger:hover {
    opacity: 1;
    color: var(--nx-cyan-400);
}

.nx-client-area-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nx-client-area-btn:hover {
    background: rgba(0, 180, 255, 0.18);
    border-color: var(--nx-cyan-400);
    box-shadow: 0 0 18px rgba(0, 196, 255, 0.35);
}

/* Hero Main Stage */
.nx-hero-stage {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 24px;
    padding: 54px 0 38px;
}

.nx-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 999px;
    background: rgba(12, 54, 138, 0.65);
    border: 1px solid rgba(0, 180, 255, 0.45);
    box-shadow: 0 0 20px rgba(0, 140, 255, 0.25);
    font-size: 13.5px;
    font-weight: 600;
    color: #f0f9ff;
    margin-bottom: 22px;
}

.nx-hero-pill span.bolt {
    color: #38bdf8;
    display: inline-flex;
}

.nx-hero-title {
    font-size: clamp(34px, 4.3vw, 54px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 20px;
}

.nx-hero-title .highlight-cyan {
    display: block;
    background: linear-gradient(90deg, #00a8ff 0%, #00e1ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 18px rgba(0, 195, 255, 0.22));
}

.nx-hero-desc {
    font-size: 16.5px;
    line-height: 1.6;
    color: rgba(226, 238, 255, 0.88);
    max-width: 560px;
    margin-bottom: 32px;
}

.nx-hero-cta-group {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.nx-btn-primary-glow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 30px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0072ff 0%, #00b4ff 100%);
    color: #ffffff;
    font-size: 15.5px;
    font-weight: 700;
    border: 1px solid rgba(125, 226, 255, 0.55);
    box-shadow: 0 8px 28px rgba(0, 140, 255, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.35);
    transition: all 0.2s ease;
    cursor: pointer;
}

.nx-btn-primary-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 34px rgba(0, 174, 255, 0.72);
}

.nx-btn-demo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 15.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 10px;
    transition: color 0.2s;
}

.nx-btn-demo-circle {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1.5px solid rgba(56, 189, 248, 0.65);
    background: rgba(8, 47, 118, 0.55);
    box-shadow: 0 0 16px rgba(0, 168, 255, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.nx-btn-demo:hover .nx-btn-demo-circle {
    background: rgba(0, 174, 255, 0.25);
    border-color: #38bdf8;
    transform: scale(1.05);
}

/* Right Hero Visual Artwork */
.nx-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nx-hero-visual-img {
    width: 100%;
    max-width: 610px;
    height: auto;
    border-radius: 16px;
    filter: drop-shadow(0 18px 40px rgba(0, 162, 255, 0.28));
}

/* 5-Column Feature Bar at Bottom of Hero */
.nx-hero-features-bar {
    position: relative;
    z-index: 15;
    padding: 20px 0 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(3, 12, 36, 0.35) 0%, rgba(2, 9, 28, 0.82) 100%);
}

.nx-hero-features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
}

.nx-hero-feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.nx-hero-feature-item:last-child {
    border-right: none;
}

.nx-hero-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #00c8ff;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(0, 196, 255, 0.45));
}

.nx-hero-feature-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.nx-hero-feature-sub {
    font-size: 12px;
    color: rgba(203, 224, 255, 0.78);
    margin-top: 1px;
}

/* Bottom Wave Transition */
.nx-hero-wave {
    position: relative;
    z-index: 12;
    line-height: 0;
    margin-top: -12px;
}

.nx-hero-wave svg {
    width: 100%;
    height: 56px;
    display: block;
}

/* ==========================================================================
   2. PUBLIC SECTIONS BELOW THE FOLD (DOMAIN CHECKER, PRICING, SPECS)
   ========================================================================== */

.nx-domain-box {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--nx-slate-200);
    box-shadow: 0 14px 35px -10px rgba(15, 23, 42, 0.08);
    padding: 28px 32px;
    margin-top: -22px;
    position: relative;
    z-index: 25;
}

.nx-domain-form {
    display: grid;
    grid-template-columns: 1fr 160px 190px;
    gap: 12px;
    margin-top: 14px;
}

.nx-input, .nx-select, .nx-textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--nx-slate-300);
    background-color: #ffffff;
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--nx-slate-900);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.nx-input:focus, .nx-select:focus, .nx-textarea:focus {
    outline: none;
    border-color: var(--nx-blue-600);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.nx-domain-tld-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.nx-tld-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    border-radius: 8px;
    background: var(--nx-slate-50);
    border: 1px solid var(--nx-slate-200);
    font-size: 13px;
}

.nx-tld-pill strong {
    color: var(--nx-navy-800);
    font-weight: 800;
}

.nx-section {
    padding: 72px 0;
}

.nx-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 44px;
}

.nx-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--nx-blue-600);
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.nx-section-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--nx-slate-900);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.nx-section-subtitle {
    font-size: 15.5px;
    color: var(--nx-slate-600);
    margin-top: 10px;
}

/* Billing Cycle Switcher */
.nx-cycle-switcher {
    display: inline-flex;
    align-items: center;
    background: var(--nx-slate-200);
    padding: 5px;
    border-radius: 12px;
    gap: 4px;
}

.nx-cycle-btn {
    border: none;
    background: transparent;
    padding: 9px 18px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--nx-slate-700);
    cursor: pointer;
    transition: all 0.15s;
}

.nx-cycle-btn.active {
    background: #ffffff;
    color: var(--nx-navy-900);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

/* Product Cards */
.nx-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.nx-plan-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid var(--nx-slate-200);
    padding: 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nx-plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px -12px rgba(15, 23, 42, 0.1);
}

.nx-plan-card.featured {
    border: 2px solid var(--nx-blue-600);
    box-shadow: 0 16px 38px -10px rgba(0, 102, 255, 0.16);
}

.nx-plan-badge {
    position: absolute;
    top: -12px;
    right: 22px;
    background: linear-gradient(90deg, #0052d4, #0088ff);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 999px;
    text-transform: uppercase;
}

.nx-spec-list {
    list-style: none;
    margin: 20px 0;
    padding-top: 18px;
    border-top: 1px solid var(--nx-slate-100);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.nx-spec-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--nx-slate-700);
}

.nx-spec-list li svg {
    width: 16px;
    height: 16px;
    color: var(--nx-blue-600);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==========================================================================
   3. ENTERPRISE PANEL LAYOUT (SIDEBAR + TOPBAR + HIGH-DENSITY TABLES)
   ========================================================================== */

.nx-panel-shell {
    display: grid;
    grid-template-columns: 268px 1fr;
    min-height: 100vh;
    background: var(--nx-slate-50);
}

.nx-sidebar {
    background: #060f24;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.nx-sidebar-brand {
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
}

.nx-sidebar-section {
    padding: 18px 14px 6px;
}

.nx-sidebar-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    padding: 0 10px 8px;
}

.nx-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 3px;
    transition: all 0.15s;
}

.nx-sidebar-link-left {
    display: flex;
    align-items: center;
    gap: 11px;
}

.nx-sidebar-link svg {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.nx-sidebar-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.nx-sidebar-link.active {
    background: linear-gradient(90deg, #0066ff 0%, #0088ff 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.35);
}

.nx-sidebar-link.active svg {
    opacity: 1;
}

.nx-main-area {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nx-topbar {
    height: 66px;
    background: #ffffff;
    border-bottom: 1px solid var(--nx-slate-200);
    padding: 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 30;
}

.nx-content {
    padding: 28px;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

/* Cards, Tables, Badges, Buttons */
.nx-card {
    background: #ffffff;
    border: 1px solid var(--nx-slate-200);
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    overflow: hidden;
}

.nx-card-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--nx-slate-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.nx-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--nx-slate-900);
}

.nx-card-subtitle {
    font-size: 13px;
    color: var(--nx-slate-500);
    margin-top: 2px;
}

.nx-card-body {
    padding: 22px;
}

.nx-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.nx-stat-card {
    background: #ffffff;
    border: 1px solid var(--nx-slate-200);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nx-stat-label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--nx-slate-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nx-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--nx-slate-900);
    font-variant-numeric: tabular-nums;
}

.nx-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.nx-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.nx-table th {
    background: var(--nx-slate-50);
    padding: 11px 16px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nx-slate-600);
    border-bottom: 1px solid var(--nx-slate-200);
    white-space: nowrap;
}

.nx-table td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--nx-slate-100);
    font-size: 13.5px;
    color: var(--nx-slate-800);
    vertical-align: middle;
}

.nx-table tr:last-child td {
    border-bottom: none;
}

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

/* Badges */
.nx-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}

.nx-badge-success {
    background: #dcfce7;
    color: #166534;
}

.nx-badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.nx-badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.nx-badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.nx-badge-neutral {
    background: var(--nx-slate-100);
    color: var(--nx-slate-700);
}

/* Buttons */
.nx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 13.5px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.nx-btn-sm {
    padding: 6px 12px;
    font-size: 12.5px;
    border-radius: 6px;
}

.nx-btn-primary {
    background: var(--nx-blue-600);
    color: #ffffff;
}

.nx-btn-primary:hover {
    background: #0052cc;
}

.nx-btn-success {
    background: var(--nx-success);
    color: #ffffff;
}

.nx-btn-success:hover {
    background: #047857;
}

.nx-btn-outline {
    background: #ffffff;
    border-color: var(--nx-slate-300);
    color: var(--nx-slate-700);
}

.nx-btn-outline:hover {
    background: var(--nx-slate-50);
    border-color: var(--nx-slate-400);
    color: var(--nx-slate-900);
}

.nx-btn-danger-outline {
    background: #ffffff;
    border-color: #fecaca;
    color: var(--nx-danger);
}

.nx-btn-danger-outline:hover {
    background: #fef2f2;
}

/* Forms & Grids */
.nx-form-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
}

.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }

.nx-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--nx-slate-700);
    margin-bottom: 6px;
}

.nx-help {
    font-size: 12px;
    color: var(--nx-slate-500);
    margin-top: 4px;
}

/* Alerts */
.nx-alert {
    padding: 13px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 13.5px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nx-alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.nx-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* ==========================================================================
   4. PRINTABLE OFFICIAL KUITANSI & INVOICE PAPER STYLES
   ========================================================================== */

.nx-paper-invoice {
    background: #ffffff;
    border: 1px solid var(--nx-slate-200);
    border-radius: 12px;
    padding: 44px;
    max-width: 960px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    position: relative;
}

.nx-kuitansi-frame {
    background: #ffffff;
    border: 3px double #0f2c6c;
    border-radius: 8px;
    padding: 36px 40px;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
    background-image: radial-gradient(rgba(0, 102, 255, 0.03) 1px, transparent 1px);
    background-size: 16px 16px;
}

.nx-terbilang-box {
    background: linear-gradient(90deg, #eff6ff 0%, #e0f2fe 100%);
    border-left: 4px solid #0066ff;
    border-top: 1px solid #bfdbfe;
    border-right: 1px solid #bfdbfe;
    border-bottom: 1px solid #bfdbfe;
    padding: 12px 18px;
    font-weight: 700;
    font-style: italic;
    color: #0f2c6c;
    transform: skewX(-6deg);
}

.nx-terbilang-box span {
    display: block;
    transform: skewX(6deg);
}

.nx-stamp-paid {
    display: inline-block;
    border: 3px solid #059669;
    color: #059669;
    padding: 6px 18px;
    font-weight: 900;
    font-size: 15px;
    letter-spacing: 0.1em;
    border-radius: 6px;
    text-transform: uppercase;
    transform: rotate(-6deg);
    background: rgba(236, 253, 245, 0.82);
}

.nx-meterai-box {
    width: 118px;
    height: 76px;
    border: 1.5px dashed #0284c7;
    background: rgba(240, 249, 255, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6px;
    border-radius: 6px;
    font-size: 10px;
    color: #0369a1;
}

@media (max-width: 1024px) {
    .nx-hero-stage {
        grid-template-columns: 1fr;
        padding: 36px 0;
    }
    .nx-hero-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .nx-panel-shell {
        grid-template-columns: 1fr;
    }
    .nx-sidebar {
        height: auto;
        position: relative;
    }
    .nx-domain-form {
        grid-template-columns: 1fr;
    }
    .col-8, .col-6, .col-4, .col-3 {
        grid-column: span 12;
    }
}

@media print {
    .no-print, .nx-sidebar, .nx-topbar {
        display: none !important;
    }
    .nx-panel-shell {
        display: block !important;
        background: #ffffff !important;
    }
    .nx-content {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
    }
    .nx-paper-invoice, .nx-kuitansi-frame {
        box-shadow: none !important;
        margin: 0 !important;
        max-width: 100% !important;
    }
}
