:root {
    --primary: #F26522; /* GHN Orange */
    --primary-light: #FF8547;
    --primary-dark: #C94C11;
    --bg-dark: #0A0A0A;
    --bg-surface: rgba(30, 30, 35, 0.7);
    --bg-card: rgba(45, 45, 50, 0.4);
    --text-main: #FFFFFF;
    --text-muted: #A0A0A5;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(16px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Be Vietnam Pro', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Background Blobs for Visual Aesthetics */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    border-radius: 50%;
    opacity: 0.5;
    animation: float 10s infinite alternate;
}

.blob-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.blob-2 {
    bottom: 20%;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #8B5CF6 0%, transparent 70%);
    opacity: 0.3;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -50px) scale(1.1); }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-brand .brand-text {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Typography & Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-orange { color: var(--primary); }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.gradient-text {
    background: linear-gradient(135deg, #FFF, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(242, 101, 34, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(242, 101, 34, 0.3);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.8rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero .description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 10px 20px rgba(242, 101, 34, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(242, 101, 34, 0.4);
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
    position: relative;
}

.section-number {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.15);
    position: absolute;
    top: -40px;
    left: -20px;
    z-index: -1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Cards */
.card {
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-muted);
}

/* Pricing/Status Cards */
.pricing-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pricing-card .card-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.status-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success .status-icon { color: var(--success); }
.warning .status-icon { color: var(--warning); }
.danger .status-icon { color: var(--danger); }

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.sub-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
}

.success .sub-badge { background: rgba(16, 185, 129, 0.2); color: #34D399; }
.warning .sub-badge { background: rgba(245, 158, 11, 0.2); color: #FBBF24; }
.danger .sub-badge { background: rgba(239, 68, 68, 0.2); color: #F87171; }

.pricing-card .card-body {
    padding: 2rem;
    flex-grow: 1;
}

.card-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed var(--border);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--text-main);
    font-size: 0.95rem;
}

.success .feature-list i { color: var(--success); }
.warning .feature-list i { color: var(--warning); }
.danger .feature-list i { color: var(--danger); }

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Financial Boxes */
.financial-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-box {
    display: flex;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
}

.left-border {
    border-left: 4px solid var(--success);
}

.accent-border {
    border-left-color: var(--primary);
}

.box-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    flex-shrink: 0;
}

.accent-border .box-icon {
    color: var(--primary);
    background: rgba(242, 101, 34, 0.1);
}

.box-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.box-content ul {
    list-style-type: none;
}

.box-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.box-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

.box-content li strong {
    color: var(--text-main);
}

/* Table */
.table-container {
    overflow-x: auto;
    border-radius: 16px;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.modern-table th {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.modern-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
}

.modern-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0.2rem;
}

/* Comparison */
.comparison-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.compare-card {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.compare-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.compare-header.temp h3 { color: #3B82F6; }
.compare-header.perm h3 { color: var(--success); }

.compare-list {
    padding: 2rem;
    list-style: none;
    flex-grow: 1;
}

.compare-list li {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    text-align: justify;
}

.compare-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.compare-list strong {
    color: var(--text-main);
}

.vs-circle {
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--text-muted);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* Mermaid Container */
.mermaid-container {
    padding: 2rem;
    display: flex;
    justify-content: center;
    overflow-x: auto;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding: 2rem;
    padding-left: 80px;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: 10px;
    top: 2rem;
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
    z-index: 2;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.timeline-content p {
    color: var(--text-muted);
}

/* Alerts */
.glass-alert {
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-radius: 12px;
}

.alert-icon {
    font-size: 2rem;
}

.warning-alert {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.warning-alert .alert-icon { color: var(--warning); }

.danger-alert {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.danger-alert .alert-icon { color: var(--danger); }

.alert-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.alert-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.observe-me {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.observe-me.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2.8rem; }
    .comparison-wrapper { flex-direction: column; }
    .vs-circle { 
        position: relative; 
        left: 0; top: 0; 
        transform: none; 
        margin: 1rem auto; 
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .hero .subtitle { font-size: 1.4rem; }
    .info-box { flex-direction: column; text-align: center; gap: 1rem; }
}

/* Light Mode Overrides */
body.light-mode {
    --bg-dark: #F8FAFC;
    --bg-surface: rgba(255, 255, 255, 0.7);
    --bg-card: rgba(255, 255, 255, 0.8);
    --text-main: #0F172A;
    --text-muted: #475569;
    --border: rgba(0, 0, 0, 0.1);
}

body.light-mode .blob-1 { background: radial-gradient(circle, rgba(242, 101, 34, 0.5) 0%, transparent 70%); }
body.light-mode .blob-2 { background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%); }
body.light-mode .blob-3 { background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%); }

body.light-mode nav { background: rgba(248, 250, 252, 0.8); border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
body.light-mode nav.scrolled { background: rgba(255, 255, 255, 0.95); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); }

body.light-mode .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .icon-btn { color: var(--text-main); }
body.light-mode .section-number { color: rgba(0, 0, 0, 0.15); }
body.light-mode .glass-alert p { color: rgba(0, 0, 0, 0.7); }
body.light-mode .box-icon { background: rgba(0, 0, 0, 0.05); color: rgba(0, 0, 0, 0.3); }
body.light-mode .accent-border .box-icon { background: rgba(242, 101, 34, 0.1); color: var(--primary); }

/* Force Mermaid Edge Label Backgrounds to be Transparent */
.edgeLabel, 
.edgeLabel rect, 
.edgeLabel span,
.edgeLabel div,
.edgeLabel foreignObject {
    background-color: transparent !important;
    fill: transparent !important;
}
.edgeLabel span, .edgeLabel div {
    color: var(--text-main) !important;
}
