/* ─── Ginfomatics – Main Stylesheet ─────────────────────────── */
:root {
    --gf-dark: #0a0e1a;
    --gf-navy: #0d1b3e;
    --gf-blue: #0066ff;
    --gf-cyan: #00d4ff;
    --gf-accent: #7c3aed;
    --gf-light: #f0f4ff;
    --gf-text: #94a3b8;
    --gf-text-light: #cbd5e1;
    --gf-white: #ffffff;
    --gf-border: rgba(255, 255, 255, 0.08);
    --gf-card: rgba(255, 255, 255, 0.04);
    --gf-font: 'Inter', sans-serif;
    --gf-heading: 'Space Grotesk', sans-serif;
}

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

body {
    font-family: var(--gf-font);
    background: var(--gf-dark);
    color: var(--gf-text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--gf-heading);
    color: var(--gf-white);
}

a {
    color: var(--gf-blue);
    text-decoration: none;
}

a:hover {
    color: var(--gf-cyan);
}

/* ── Navbar ── */
.gf-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gf-border);
    padding: 16px 0;
    transition: background 0.3s, padding 0.3s;
}

.gf-navbar.scrolled {
    padding: 10px 0;
    background: rgba(10, 14, 26, 0.97);
}

.navbar-brand {
    font-family: var(--gf-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff !important;
}

.brand-g {
    color: var(--gf-cyan);
    font-weight: 900;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
    padding: 6px 12px !important;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
    background: var(--gf-card);
}

/* ── Buttons ── */
.gf-btn-primary {
    background: linear-gradient(135deg, var(--gf-blue), var(--gf-accent));
    color: #fff !important;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.35);
}

.gf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.5);
    color: #fff !important;
}

.gf-btn-outline {
    background: transparent;
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 10px 24px;
    transition: all 0.2s;
}

.gf-btn-outline:hover {
    background: var(--gf-card);
    border-color: var(--gf-cyan);
    color: var(--gf-cyan) !important;
}

/* ── Hero ── */
.gf-hero {
    min-height: 100vh;
    background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 102, 255, 0.25), transparent),
        radial-gradient(ellipse 50% 50% at 80% 50%, rgba(124, 58, 237, 0.15), transparent),
        var(--gf-dark);
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.gf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

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

.gf-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 102, 255, 0.3);
    color: var(--gf-cyan);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.gf-hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.gf-gradient-text {
    background: linear-gradient(135deg, var(--gf-blue) 0%, var(--gf-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gf-hero p.lead {
    font-size: 1.15rem;
    color: var(--gf-text);
    max-width: 560px;
    margin-bottom: 36px;
}

.gf-hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.gf-hero-visual {
    position: relative;
}

.gf-code-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gf-border);
    border-radius: 16px;
    padding: 24px;
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.gf-code-card .cc-header {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.gf-code-card .cc-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.cc-dot.red {
    background: #ff5f57;
}

.cc-dot.yellow {
    background: #ffbd2e;
}

.cc-dot.green {
    background: #28ca40;
}

.gf-code-card .line {
    margin: 4px 0;
}

.gf-code-card .kw {
    color: #c792ea;
}

.gf-code-card .fn {
    color: #82aaff;
}

.gf-code-card .str {
    color: #c3e88d;
}

.gf-code-card .cm {
    color: #546e7a;
    font-style: italic;
}

.gf-code-card .num {
    color: #f78c6c;
}

/* ── Section ── */
section {
    padding: 100px 0;
}

.gf-section-label {
    display: inline-block;
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.25);
    color: var(--gf-cyan);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.gf-section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* ── Service Cards ── */
.gf-service-card {
    background: var(--gf-card);
    border: 1px solid var(--gf-border);
    border-radius: 20px;
    padding: 36px 28px;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    height: 100%;
}

.gf-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 102, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.15);
}

.gf-service-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2), rgba(124, 58, 237, 0.2));
}

.gf-service-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.gf-service-card p {
    font-size: 0.9rem;
    margin: 0;
}

/* ── Stats ── */
.gf-stats {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--gf-border);
    border-bottom: 1px solid var(--gf-border);
}

.gf-stat-item {
    text-align: center;
    padding: 40px 20px;
}

.gf-stat-num {
    font-family: var(--gf-heading);
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gf-blue), var(--gf-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gf-stat-label {
    font-size: 0.85rem;
    color: var(--gf-text);
    font-weight: 500;
}

/* ── CTA ── */
.gf-cta {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15), rgba(124, 58, 237, 0.15));
    border: 1px solid var(--gf-border);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
}

.gf-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

/* ── Footer ── */
.gf-footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--gf-border);
    padding: 80px 0 0;
}

.gf-footer-brand {
    font-family: var(--gf-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
}

.gf-footer-desc {
    font-size: 0.875rem;
    opacity: 0.7;
    max-width: 300px;
}

.gf-footer-heading {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gf-cyan);
    margin-bottom: 16px;
}

.gf-footer-links {
    list-style: none;
    padding: 0;
}

.gf-footer-links li {
    margin-bottom: 8px;
}

.gf-footer-links a {
    color: var(--gf-text);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.gf-footer-links a:hover {
    color: #fff;
}

.gf-footer-contact {
    list-style: none;
    padding: 0;
}

.gf-footer-contact li {
    display: flex;
    gap: 10px;
    font-size: 0.875rem;
    margin-bottom: 10px;
    color: var(--gf-text);
}

.gf-footer-contact li i {
    color: var(--gf-blue);
    margin-top: 3px;
}

.gf-social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.gf-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gf-card);
    border: 1px solid var(--gf-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gf-text);
    font-size: 0.85rem;
    transition: all 0.2s;
}

.gf-social-links a:hover {
    background: var(--gf-blue);
    border-color: var(--gf-blue);
    color: #fff;
}

.gf-footer-bottom {
    margin-top: 60px;
    padding: 24px 0;
    border-top: 1px solid var(--gf-border);
    text-align: center;
    font-size: 0.8rem;
    color: var(--gf-text);
}

/* ── Admin Panel ── */
body.admin-body {
    background: #0f1117;
    font-family: var(--gf-font);
}

.gf-admin-sidebar {
    width: 250px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid var(--gf-border);
    position: fixed;
    top: 0;
    left: 0;
    padding: 0;
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
    transition: width 0.25s ease;
}

/* Sidebar header: brand + toggle button side by side */
.gf-admin-sidebar .sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px 20px 20px;
    border-bottom: 1px solid var(--gf-border);
    min-height: 64px;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    background: rgba(15, 17, 23, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.gf-admin-sidebar .brand {
    font-family: var(--gf-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.2s, width 0.25s;
}

/* Toggle button */
.sidebar-toggle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #94a3b8;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s;
    font-size: 0.7rem;
}

.sidebar-toggle:hover {
    background: rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 102, 255, 0.4);
    color: #fff;
}

.gf-admin-sidebar ul {
    list-style: none;
    padding: 12px 0;
    margin: 0;
}

.gf-admin-sidebar ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--gf-text);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s;
    border-left: 3px solid transparent;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
}

/* Hover state */
.gf-admin-sidebar ul li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    border-left-color: rgba(0, 102, 255, 0.5);
}

/* Active state — stronger highlight */
.gf-admin-sidebar ul li a.active {
    color: #fff;
    background: rgba(0, 102, 255, 0.12);
    border-left-color: #0066ff;
    font-weight: 600;
}

.gf-admin-sidebar ul li a.active i {
    color: #60a5fa;
}

.gf-admin-sidebar ul li a i {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.95rem;
    transition: color 0.15s;
}

/* Footer divider item */
.sidebar-footer-divider {
    border-top: 1px solid var(--gf-border);
    margin-top: 8px;
    padding-top: 4px;
}

.gf-admin-content {
    margin-left: 250px;
    padding: 32px;
    min-height: 100vh;
    transition: margin-left 0.25s ease;
}

.gf-admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.gf-admin-topbar h1 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
}

.gf-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--gf-border);
    border-radius: 16px;
    padding: 24px;
}

.gf-stat-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.gf-stat-card .value {
    font-family: var(--gf-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.gf-stat-card .label {
    font-size: 0.8rem;
    color: var(--gf-text);
}

.gf-table {
    background: transparent;
    color: var(--gf-text);
}

.gf-table thead th {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-color: var(--gf-border);
    padding: 12px 16px;
}

.gf-table tbody td {
    border-color: var(--gf-border);
    padding: 14px 16px;
    font-size: 0.875rem;
    vertical-align: middle;
}

.gf-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.gf-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--gf-border);
    border-radius: 16px;
}

.gf-badge-active {
    background: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.gf-badge-inactive {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.gf-key-code {
    font-family: monospace;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--gf-cyan);
    letter-spacing: 0.5px;
}

.gf-form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gf-border);
    color: #fff;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 0.9rem;
}

.gf-form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gf-blue);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
    outline: none;
}

.gf-form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* ── Page Hero (inner pages) ── */
.gf-page-hero {
    padding: 140px 0 80px;
    background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0, 102, 255, 0.2), transparent);
}

.gf-page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
}

/* ── Contact Form ── */
.gf-contact-card {
    background: var(--gf-card);
    border: 1px solid var(--gf-border);
    border-radius: 24px;
    padding: 48px;
}

/* ── Animations ── */
@keyframes gf-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.gf-float {
    animation: gf-float 4s ease-in-out infinite;
}

@keyframes gf-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 102, 255, 0.6);
    }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .gf-hero {
        padding: 120px 0 60px;
    }

    .gf-hero h1 {
        font-size: 2.2rem;
    }

    .gf-admin-sidebar {
        display: none;
    }

    .gf-admin-content {
        margin-left: 0;
        padding: 20px;
    }

    .gf-contact-card {
        padding: 28px;
    }

    .gf-page-hero {
        padding: 110px 0 60px;
    }
}

/* ─── Additional Styles for New Pages ─── */

/* Text helper */
.gf-text-light {
    color: var(--gf-text-light);
}

/* Blog / Service content prose */
.gf-prose {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1rem;
}

.gf-prose h1,
.gf-prose h2,
.gf-prose h3,
.gf-prose h4 {
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.gf-prose p {
    margin-bottom: 1.2rem;
}

.gf-prose a {
    color: var(--gf-cyan);
}

.gf-prose ul,
.gf-prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.gf-prose li {
    margin-bottom: 0.5rem;
}

.gf-prose img {
    max-width: 100%;
    border-radius: 12px;
    margin: 1rem 0;
}

.gf-prose code {
    background: rgba(0, 102, 255, 0.1);
    color: var(--gf-cyan);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.875rem;
}

.gf-prose pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin-bottom: 1.2rem;
}

.gf-prose blockquote {
    border-left: 4px solid var(--gf-blue);
    padding-left: 20px;
    color: var(--gf-text);
    font-style: italic;
    margin: 1.5rem 0;
}

/* Admin form label */
.gf-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

/* Inquiry selected state */
.gf-inq-selected {
    border-color: rgba(0, 102, 255, 0.5) !important;
    background: rgba(0, 102, 255, 0.08) !important;
}

/* Footer bottom — flex for admin link */
.gf-footer-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

/* Client portal stats layout */
.gf-stat-card {
    text-align: center;
}

/* Admin sidebar section dividers */
.gf-admin-sidebar .sidebar-divider {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.2);
    padding: 16px 20px 6px;
}