/* =====================================================
   AiHub - Original CloudHub Token Overrides (Dark Mode)
===================================================== */
:root {
  --ch-primary:    #0098ef;
  --ch-primary-d:  #007acc;
  --ch-accent:     #ffcc33;
  --ch-accent-d:   #e6b800;

  /* Dark mode mappings for CloudHub's original colors */
  --ch-dark:       #ffffff;       /* Overrides #4a5669 */
  --ch-muted:      #94a3b8;       /* Overrides #a0abbc */
  --ch-border:     rgba(255, 255, 255, 0.08); /* Overrides #e6e9ee */
  --ch-bg:         #091321;       /* Overrides #ffffff body */
  --ch-bg-card:    #0d1b2e;       /* Overrides panels */
  --ch-bg-hover:   #152844;
  --ch-success:    #00b75a;
  --ch-error:      #cd3100;
  --ch-radius:     14px;
}

body {
  background-color: var(--ch-bg) !important;
  color: var(--ch-dark) !important;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ch-dark) !important;
}

p, span, div {
  color: inherit;
}

/* CloudHub Cards & Panels */
.card, .panel, .well, .logincontainer, .form-container, .client-home-panels .panel {
  background-color: var(--ch-bg-card) !important;
  border: 1px solid var(--ch-border) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4) !important;
}

.panel-heading, .card-header {
  background-color: rgba(255,255,255,0.02) !important;
  border-bottom: 1px solid var(--ch-border) !important;
  color: var(--ch-dark) !important;
}

.panel-footer, .card-footer {
  background-color: rgba(255,255,255,0.02) !important;
  border-top: 1px solid var(--ch-border) !important;
}

/* Tables */
table.table {
  background-color: transparent !important;
  color: var(--ch-dark) !important;
}
table.table > thead > tr > th {
  border-bottom-color: var(--ch-border) !important;
  color: var(--ch-muted) !important;
}
table.table > tbody > tr > td {
  border-top-color: var(--ch-border) !important;
}
table.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: rgba(255,255,255,0.02) !important;
}
table.table-hover > tbody > tr:hover {
  background-color: rgba(255,255,255,0.05) !important;
}

/* Inputs & Forms */
.form-control, input[type="text"], input[type="password"], input[type="email"], select, textarea {
  background-color: rgba(0,0,0,0.3) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  color: var(--ch-dark) !important;
}
.form-control:focus {
  border-color: var(--ch-primary) !important;
  box-shadow: 0 0 0 3px rgba(0,152,239,0.2) !important;
}

/* Buttons */
.btn-default, .button-secondary {
  background-color: rgba(255,255,255,0.05) !important;
  border: 1px solid var(--ch-border) !important;
  color: var(--ch-dark) !important;
}
.btn-default:hover, .button-secondary:hover {
  background-color: rgba(255,255,255,0.1) !important;
  color: #fff !important;
}

/* Base CloudHub specific overrides */
.text-color-dark { color: var(--ch-dark) !important; }
.text-color-gray { color: var(--ch-muted) !important; }
hr { border-top-color: var(--ch-border) !important; }

/* =====================================================
   AiHub - Order Forms & Checkout Dark Mode Extensions
===================================================== */
#order-standard_cart .product,
.cart-body .product,
div.product,
.products .product,
.cart-sidebar .panel,
.invoice-summary,
.store-domain-search,
.domain-checker-result-box,
.order-summary {
  background-color: var(--ch-bg-card) !important;
  border: 1px solid var(--ch-border) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4) !important;
}

/* Fix text colors inside the boxes */
#order-standard_cart .product header,
#order-standard_cart .product .product-pricing,
.product .pricing,
.product .price,
.product-desc,
.product .name,
.product .description,
.cart-sidebar .panel-body,
.cart-sidebar .panel-heading {
  color: var(--ch-dark) !important;
}

.product .pricing span.pricing {
  color: var(--ch-accent) !important;
}

/* Fix missing icons colors in buttons */
.btn-success i.fas, .btn-success i.fa, .btn-success, .btn {
  color: #fff !important;
}
.btn-default, .button-secondary {
  color: var(--ch-dark) !important;
}
.btn-success {
  background-color: var(--ch-success) !important;
  border-color: var(--ch-success) !important;
  color: #fff !important;
}
.btn-success:hover {
  background-color: #00994a !important;
}

/* Order container bg */
#order-standard_cart {
  color: var(--ch-dark) !important;
}
        /* =====================================================
       AIHUB — Full Dark Mode + AI Aesthetic
    ===================================================== */
        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        :root {
            --ch-primary: #0098ef;
            --ch-primary-d: #007acc;
            --ch-accent: #ffcc33;
            --ch-accent-d: #e6b800;
            /* Dark mode inverted tokens */
            --ch-dark: #ffffff;
            --ch-muted: #94a3b8;
            --ch-border: rgba(255, 255, 255, 0.08);
            --ch-bg: #091321;
            --ch-bg-soft: #0d1b2e;
            --ch-success: #00b75a;
            --ch-error: #cd3100;

            /* AI Design Enhancements */
            --ch-glow: rgba(0, 152, 239, 0.22);
            --ch-primary-g: linear-gradient(135deg, #0098ef 0%, #00c8ff 100%);
            --ch-accent-g: linear-gradient(135deg, #ffcc33 0%, #ffea8c 100%);
            --ch-hero-bg: #060d17;
            --ch-header-h: 80px;
            --ch-radius: 14px;
            --ch-shadow: 0 8px 32px rgba(0, 0, 0, .4);
            --ch-shadow-glow: 0 12px 48px rgba(0, 152, 239, 0.15);
            --ch-font-body: "Open Sans", sans-serif;
            --ch-font-head: "Montserrat", sans-serif;
        }

        /* ── Base ───────────────────────────────────────── */
        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--ch-font-body);
            font-size: 16px;
            line-height: 1;
            color: var(--ch-dark);
            background: var(--ch-bg);
            padding-top: var(--ch-header-h);
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        h1,
        h2,
        h3,
        h4,
        h5 {
            font-family: var(--ch-font-head);
            font-weight: 700;
            line-height: 1.2;
        }

        h1 {
            font-size: 48px;
        }

        h2 {
            font-size: 36px;
        }

        h3 {
            font-size: 26px;
        }

        h4 {
            font-size: 20px;
        }

        h5 {
            font-size: 16px;
        }

        p {
            line-height: 1.75;
        }

        a {
            color: var(--ch-primary);
            text-decoration: none;
            transition: color .2s;
        }

        a:hover {
            text-decoration: underline;
            color: #00c8ff;
        }

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

        ul {
            list-style: none;
        }

        .container {
            max-width: 1160px;
            margin: 0 auto;
            padding: 0 24px;
        }

        .section {
            padding: 100px 0;
        }

        .text-gradient {
            background: var(--ch-primary-g);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
        }

        .text-gradient-accent {
            background: var(--ch-accent-g);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
        }

        /* ── Animations ─────────────────────────────────── */
        @keyframes pulse-glow {
            0% {
                box-shadow: 0 0 0 0 rgba(0, 152, 239, 0.4);
            }

            70% {
                box-shadow: 0 0 0 10px rgba(0, 152, 239, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(0, 152, 239, 0);
            }
        }

        @keyframes float {
            0% {
                transform: translateY(0px);
            }

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

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

        @keyframes grid-pan {
            from {
                transform: translateY(0) rotateX(60deg);
            }

            to {
                transform: translateY(40px) rotateX(60deg);
            }
        }

        /* Scroll Reveal */
        .reveal {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        .reveal-delay-1 {
            transition-delay: 0.1s;
        }

        .reveal-delay-2 {
            transition-delay: 0.2s;
        }

        .reveal-delay-3 {
            transition-delay: 0.3s;
        }

        /* ── Buttons ────────────────────────────────────── */
        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-family: var(--ch-font-head);
            font-size: 14px;
            font-weight: 700;
            padding: 13px 28px;
            border-radius: 8px;
            border: 2px solid transparent;
            cursor: pointer;
            text-decoration: none;
            transition: all .3s;
            white-space: nowrap;
        }

        .btn-primary {
            background: var(--ch-primary-g);
            color: #fff;
            box-shadow: 0 4px 14px rgba(0, 152, 239, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 152, 239, 0.5);
            text-decoration: none;
            color: #fff;
        }

        .btn-accent {
            background: var(--ch-accent);
            color: #000;
            box-shadow: 0 4px 14px rgba(255, 204, 51, 0.3);
        }

        .btn-accent:hover {
            transform: translateY(-2px);
            background: var(--ch-accent-d);
            box-shadow: 0 6px 20px rgba(255, 204, 51, 0.5);
            text-decoration: none;
            color: #000;
        }

        .btn-outline {
            background: rgba(255, 255, 255, 0.05);
            color: #fff;
            border-color: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(4px);
        }

        .btn-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: #fff;
            text-decoration: none;
            color: #fff;
            transform: translateY(-2px);
        }

        .btn-lg {
            padding: 16px 34px;
            font-size: 15px;
        }

        /* ── Header ─────────────────────────────────────── */
        #ah-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            height: var(--ch-header-h);
            background: rgba(6, 13, 23, 0.6);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            align-items: center;
            transition: all .3s ease;
        }

        #ah-header.scrolled {
            height: 64px;
            background: rgba(6, 13, 23, 0.9);
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
            border-bottom-color: rgba(255, 255, 255, 0.1);
        }

        .ah-header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
        }

        .ah-logo {
            font-family: var(--ch-font-head);
            font-size: 24px;
            font-weight: 800;
            color: #fff;
            letter-spacing: -0.5px;
            text-decoration: none;
        }

        .ah-logo span.ai {
            background: var(--ch-primary-g);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .ah-logo span.hub {
            color: #fff;
        }

        .ah-logo span.dot {
            color: var(--ch-accent);
        }

        .ah-nav {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .ah-nav a {
            font-family: var(--ch-font-head);
            font-size: 13px;
            font-weight: 600;
            color: rgba(255, 255, 255, .7);
            padding: 8px 14px;
            border-radius: 6px;
            transition: color .2s, background .2s;
            text-decoration: none;
        }

        .ah-nav a:hover {
            color: #fff;
            background: rgba(255, 255, 255, .08);
        }

        .ah-nav .btn {
            margin-left: 12px;
        }

        /* ── Hero ───────────────────────────────────────── */
        #ah-hero {
            background: var(--ch-hero-bg);
            min-height: 700px;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            padding: 100px 0 80px;
        }

        /* Animated Perspective Grid */
        #ah-hero::before {
            content: '';
            position: absolute;
            bottom: -20%;
            left: -50%;
            right: -50%;
            height: 60%;
            background-image: linear-gradient(rgba(0, 152, 239, 0.2) 1px, transparent 1px),
                linear-gradient(90deg, rgba(0, 152, 239, 0.2) 1px, transparent 1px);
            background-size: 40px 40px;
            transform: perspective(600px) rotateX(60deg);
            animation: grid-pan 3s linear infinite;
            z-index: 0;
            mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
            -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
        }

        /* Glowing Orbs */
        .hero-orb {
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            z-index: 0;
            pointer-events: none;
        }

        .orb-1 {
            width: 500px;
            height: 500px;
            background: rgba(0, 152, 239, 0.15);
            top: -100px;
            right: -100px;
        }

        .orb-2 {
            width: 400px;
            height: 400px;
            background: rgba(255, 204, 51, 0.1);
            bottom: 100px;
            left: -100px;
        }

        .ah-hero-inner {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
            position: relative;
            z-index: 1;
        }

        .ah-hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(0, 152, 239, .1);
            border: 1px solid rgba(0, 152, 239, .3);
            color: #6dd4ff;
            font-size: 12px;
            font-weight: 700;
            font-family: var(--ch-font-head);
            padding: 8px 16px;
            border-radius: 50px;
            margin-bottom: 24px;
            text-transform: uppercase;
            letter-spacing: 1px;
            animation: pulse-glow 2s infinite;
            box-shadow: 0 0 10px rgba(0, 152, 239, 0.2);
        }

        .ah-hero h1 {
            color: #fff;
            line-height: 1.1;
            margin-bottom: 22px;
            font-size: 56px;
        }

        .ah-hero p {
            color: var(--ch-muted);
            font-size: 18px;
            line-height: 1.7;
            margin-bottom: 40px;
        }

        .ah-hero-actions {
            display: flex;
            gap: 16px;
            flex-wrap: wrap;
        }

        /* Premium Glassmorphism Card */
        .ah-hero-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 40px;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            animation: float 6s ease-in-out infinite;
            position: relative;
        }

        .ah-hero-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        }

        .ah-hero-card h4 {
            color: #fff;
            margin-bottom: 8px;
            font-size: 22px;
        }

        .ah-hero-card p {
            color: var(--ch-muted);
            font-size: 15px;
            margin-bottom: 24px;
        }

        .ah-domain-form {
            display: flex;
            gap: 0;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
            border-radius: 10px;
        }

        .ah-domain-form input {
            flex: 1;
            padding: 16px 20px;
            background: rgba(0, 0, 0, 0.4);
            border: 1px solid rgba(255, 255, 255, .15);
            border-right: none;
            border-radius: 10px 0 0 10px;
            color: #fff;
            font-size: 15px;
            outline: none;
            font-family: var(--ch-font-body);
            transition: border-color 0.3s;
        }

        .ah-domain-form input:focus {
            border-color: var(--ch-primary);
        }

        .ah-domain-form button {
            padding: 16px 24px;
            background: var(--ch-primary-g);
            border: none;
            border-radius: 0 10px 10px 0;
            color: #fff;
            font-weight: 700;
            font-family: var(--ch-font-head);
            cursor: pointer;
            font-size: 15px;
            transition: transform .2s;
        }

        .ah-domain-form button:hover {
            opacity: 0.9;
        }

        .ah-tlds {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 20px;
        }

        .ah-tld {
            font-size: 12px;
            font-weight: 700;
            font-family: var(--ch-font-head);
            color: var(--ch-muted);
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, .05);
            padding: 6px 12px;
            border-radius: 6px;
        }

        .ah-feature-pills {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-top: 32px;
        }

        .ah-feature-pill {
            display: flex;
            align-items: center;
            gap: 12px;
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            padding: 12px 16px;
            transition: background 0.3s;
        }

        .ah-feature-pill:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        .ah-feature-pill i {
            color: var(--ch-primary);
            font-size: 16px;
            width: 20px;
            text-shadow: 0 0 8px var(--ch-primary);
        }

        .ah-feature-pill span {
            color: #fff;
            font-size: 14px;
        }

        /* ── Trust bar ──────────────────────────────────── */
        .ah-trust-bar {
            background: rgba(255, 255, 255, 0.01);
            border-top: 1px solid var(--ch-border);
            border-bottom: 1px solid var(--ch-border);
            padding: 24px 0;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        }

        .ah-trust-inner {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 50px;
            flex-wrap: wrap;
        }

        .ah-trust-item {
            display: flex;
            align-items: center;
            gap: 10px;
            color: var(--ch-muted);
            font-size: 14px;
            font-weight: 600;
        }

        .ah-trust-item i {
            color: var(--ch-success);
            font-size: 18px;
            filter: drop-shadow(0 0 4px rgba(0, 183, 90, 0.4));
        }

        /* ── Features grid ──────────────────────────────── */
        .ah-features {
            background: var(--ch-bg);
            position: relative;
        }

        .ah-section-label {
            display: inline-block;
            font-family: var(--ch-font-head);
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--ch-primary);
            margin-bottom: 16px;
            background: rgba(0, 152, 239, 0.1);
            padding: 6px 14px;
            border-radius: 50px;
        }

        .ah-section-title {
            font-size: 38px;
            color: #fff;
            margin-bottom: 16px;
        }

        .ah-section-sub {
            color: var(--ch-muted);
            font-size: 18px;
            max-width: 650px;
            margin: 0 auto 60px;
            line-height: 1.6;
        }

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

        .ah-grid-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .ah-card {
            background: var(--ch-bg-soft);
            border: 1px solid var(--ch-border);
            border-radius: var(--ch-radius);
            padding: 40px 32px;
            transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            position: relative;
            overflow: hidden;
        }

        .ah-card::after {
            content: '';
            position: absolute;
            inset: 0;
            border-radius: inherit;
            box-shadow: inset 0 0 0 2px var(--ch-primary);
            opacity: 0;
            transition: opacity 0.4s;
        }

        .ah-card:hover {
            transform: translateY(-8px) scale(1.01);
            box-shadow: var(--ch-shadow-glow);
            background: rgba(13, 27, 46, 0.8);
        }

        .ah-card:hover::after {
            opacity: 0.5;
        }

        .ah-card-icon {
            width: 56px;
            height: 56px;
            border-radius: 14px;
            background: rgba(0, 152, 239, .1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 24px;
            border: 1px solid rgba(0, 152, 239, 0.2);
            transition: all 0.3s;
        }

        .ah-card:hover .ah-card-icon {
            background: var(--ch-primary);
        }

        .ah-card:hover .ah-card-icon i {
            color: #fff;
        }

        .ah-card-icon i {
            color: var(--ch-primary);
            font-size: 24px;
            transition: color 0.3s;
        }

        .ah-card h4 {
            color: #fff;
            margin-bottom: 12px;
            font-size: 19px;
        }

        .ah-card p {
            color: var(--ch-muted);
            font-size: 15px;
            line-height: 1.7;
        }

        /* ── Dashboard Graphic Section ───────────────────── */
        .ah-dashboard-preview {
            background: var(--ch-bg-soft);
            overflow: hidden;
            position: relative;
        }

        .ah-dashboard-preview::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: rgba(255, 255, 255, 0.05);
        }

        .ah-dash-grid {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 60px;
            align-items: center;
        }

        .ah-browser {
            background: #060d17;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
            overflow: hidden;
            transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
            transition: transform 0.5s ease;
        }

        .ah-browser:hover {
            transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
        }

        .ah-browser-top {
            background: #0b1524;
            padding: 12px 16px;
            display: flex;
            gap: 8px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .ah-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .ah-dot.r {
            background: #ff5f56;
        }

        .ah-dot.y {
            background: #ffbd2e;
        }

        .ah-dot.g {
            background: #27c93f;
        }

        .ah-browser-body {
            padding: 24px;
        }

        .ah-fake-chart {
            height: 120px;
            background: linear-gradient(to top, rgba(0, 152, 239, 0.2), transparent);
            border-bottom: 2px solid var(--ch-primary);
            margin-bottom: 20px;
            position: relative;
        }

        .ah-fake-line {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0,100 L20,60 L40,80 L60,40 L80,50 L100,20 L100,100 Z" fill="rgba(0,152,239,0.15)" stroke="%230098ef" stroke-width="2"/></svg>') no-repeat center bottom;
            background-size: 100% 100%;
        }

        .ah-fake-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
        }

        .ah-fake-stat {
            background: rgba(255, 255, 255, 0.03);
            padding: 16px;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .ah-fake-stat div:first-child {
            width: 40%;
            height: 8px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            margin-bottom: 12px;
        }

        .ah-fake-stat div:last-child {
            width: 70%;
            height: 16px;
            background: rgba(255, 204, 51, 0.8);
            border-radius: 4px;
        }

        /* ── Hosting Plans ──────────────────────────────── */
        .ah-plans {
            background: var(--ch-bg);
        }

        .ah-plans-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 32px;
        }

        .ah-plan {
            background: rgba(255, 255, 255, 0.02);
            border: 1px solid var(--ch-border);
            border-radius: 16px;
            padding: 40px 32px;
            position: relative;
            transition: all 0.4s;
            backdrop-filter: blur(10px);
        }

        .ah-plan:hover {
            transform: translateY(-10px);
            background: rgba(255, 255, 255, 0.04);
            border-color: rgba(255, 255, 255, 0.2);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        }

        .ah-plan.ah-plan-popular {
            border-color: var(--ch-primary);
            background: linear-gradient(180deg, rgba(0, 152, 239, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
            box-shadow: 0 0 20px rgba(0, 152, 239, 0.15), inset 0 0 0 1px rgba(0, 152, 239, 0.3);
        }

        .ah-plan-badge {
            position: absolute;
            top: -14px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--ch-primary-g);
            color: #fff;
            font-size: 12px;
            font-weight: 800;
            font-family: var(--ch-font-head);
            padding: 6px 20px;
            border-radius: 50px;
            letter-spacing: 1px;
            text-transform: uppercase;
            white-space: nowrap;
            box-shadow: 0 4px 12px rgba(0, 152, 239, 0.4);
            animation: pulse-glow 2s infinite;
        }

        .ah-plan-name {
            font-family: var(--ch-font-head);
            font-size: 14px;
            font-weight: 700;
            color: var(--ch-primary);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 12px;
        }

        .ah-plan-price {
            display: flex;
            align-items: flex-end;
            gap: 4px;
            margin-bottom: 12px;
            color: #fff;
        }

        .ah-plan-price strong {
            font-family: var(--ch-font-head);
            font-size: 52px;
            font-weight: 800;
            line-height: 1;
        }

        .ah-plan-price sup {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--ch-muted);
        }

        .ah-plan-price span {
            color: var(--ch-muted);
            font-size: 15px;
            margin-bottom: 6px;
        }

        .ah-plan-desc {
            color: var(--ch-muted);
            font-size: 14px;
            margin-bottom: 28px;
            line-height: 1.6;
        }

        .ah-plan-features {
            border-top: 1px solid var(--ch-border);
            padding-top: 24px;
            margin-bottom: 32px;
        }

        .ah-plan-features li {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 0;
            font-size: 15px;
            color: #fff;
            border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        }

        .ah-plan-features li:last-child {
            border-bottom: none;
        }

        .ah-plan-features li i {
            color: var(--ch-success);
            font-size: 14px;
            width: 16px;
            filter: drop-shadow(0 0 4px rgba(0, 183, 90, 0.5));
        }

        .ah-plan-features li.ah-missing {
            color: var(--ch-muted);
            text-decoration: line-through;
            opacity: 0.5;
        }

        .ah-plan-features li.ah-missing i {
            color: var(--ch-muted);
            filter: none;
        }

        .ah-plan .btn {
            width: 100%;
            justify-content: center;
        }

        /* ── Testimonials ───────────────────────────────── */
        .ah-testimonials {
            background: var(--ch-hero-bg);
            position: relative;
        }

        .ah-testimonials::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, rgba(255, 204, 51, 0.05) 0%, transparent 60%);
            pointer-events: none;
        }

        .ah-testi-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .ah-testi-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--ch-border);
            border-radius: 16px;
            padding: 32px;
            backdrop-filter: blur(10px);
        }

        .ah-stars {
            color: var(--ch-accent);
            font-size: 14px;
            margin-bottom: 16px;
            letter-spacing: 2px;
        }

        .ah-testi-text {
            font-size: 16px;
            color: #fff;
            line-height: 1.7;
            font-style: italic;
            margin-bottom: 24px;
        }

        .ah-user {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .ah-user-av {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background: var(--ch-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-family: var(--ch-font-head);
            color: #fff;
        }

        .ah-user-info h6 {
            font-size: 15px;
            color: #fff;
            margin-bottom: 4px;
        }

        .ah-user-info span {
            font-size: 13px;
            color: var(--ch-muted);
        }

        /* ── CTA Banner ─────────────────────────────────── */
        .ah-cta-banner {
            background: var(--ch-primary-g);
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }

        .ah-cta-banner::before {
            content: '';
            position: absolute;
            inset: 0;
            background: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
        }

        .ah-cta-banner h2 {
            color: #fff;
            font-size: 42px;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }

        .ah-cta-banner p {
            color: rgba(255, 255, 255, .9);
            font-size: 18px;
            margin-bottom: 36px;
            line-height: 1.7;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            position: relative;
            z-index: 1;
        }

        /* ── Footer ─────────────────────────────────────── */
        #ah-footer {
            background: #040914;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .ah-footer-top {
            padding: 80px 0 60px;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr;
            gap: 50px;
            border-bottom: 1px solid rgba(255, 255, 255, .05);
        }

        .ah-footer-brand .ah-logo {
            font-size: 26px;
            display: inline-block;
            margin-bottom: 20px;
        }

        .ah-footer-brand p {
            color: var(--ch-muted);
            font-size: 15px;
            line-height: 1.8;
            margin-bottom: 24px;
            max-width: 300px;
        }

        .ah-footer-social {
            display: flex;
            gap: 12px;
        }

        .ah-footer-social a {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            background: rgba(255, 255, 255, .05);
            border: 1px solid rgba(255, 255, 255, .1);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 16px;
            transition: all .3s;
        }

        .ah-footer-social a:hover {
            background: var(--ch-primary);
            border-color: var(--ch-primary);
            transform: translateY(-3px);
            box-shadow: 0 4px 12px rgba(0, 152, 239, 0.3);
        }

        .ah-footer-col h5 {
            color: #fff;
            font-size: 15px;
            font-weight: 700;
            font-family: var(--ch-font-head);
            margin-bottom: 24px;
        }

        .ah-footer-col ul li {
            margin-bottom: 12px;
        }

        .ah-footer-col ul li a {
            color: var(--ch-muted);
            font-size: 15px;
            transition: color .2s;
        }

        .ah-footer-col ul li a:hover {
            color: var(--ch-primary);
            text-decoration: none;
        }

        .ah-footer-bottom {
            padding: 24px 0;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 16px;
        }

        .ah-footer-bottom p {
            color: rgba(255, 255, 255, .3);
            font-size: 14px;
        }

        .ah-footer-links {
            display: flex;
            gap: 24px;
        }

        .ah-footer-links a {
            color: rgba(255, 255, 255, .5);
            font-size: 14px;
        }

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

        /* ── Floating AI Agent ──────────────────────────── */
        .ah-floating-agent {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 9999;
            display: flex;
            align-items: center;
            gap: 16px;
            cursor: pointer;
            group: hover;
        }

        .ah-agent-bubble {
            background: var(--ch-bg-soft);
            border: 1px solid var(--ch-border);
            padding: 12px 20px;
            border-radius: 12px;
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            font-family: var(--ch-font-head);
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
            opacity: 0;
            transform: translateX(20px);
            transition: all 0.3s;
        }

        .ah-floating-agent:hover .ah-agent-bubble {
            opacity: 1;
            transform: translateX(0);
        }

        .ah-agent-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--ch-primary-g);
            border: none;
            color: #fff;
            font-size: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 24px rgba(0, 152, 239, 0.4);
            animation: pulse-glow 2s infinite;
            transition: transform 0.3s;
        }

        .ah-floating-agent:hover .ah-agent-btn {
            transform: scale(1.1);
        }

        /* ── Responsive ─────────────────────────────────── */
        @media (max-width: 1024px) {

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

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

            .ah-footer-top {
                grid-template-columns: 1fr 1fr;
                gap: 40px;
            }
        }

        @media (max-width: 768px) {
            .ah-hero h1 {
                font-size: 40px;
            }

            .ah-hero-inner,
            .ah-grid-3,
            .ah-plans-grid,
            .ah-dash-grid,
            .ah-testi-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .ah-footer-top {
                grid-template-columns: 1fr;
            }

            .ah-nav {
                display: none;
            }

            ::-webkit-scrollbar {
                width: 6px;
            }

            ::-webkit-scrollbar-thumb {
                background: rgba(255, 255, 255, 0.2);
            }
        }

/* Map AiHub Pricing Grid Structure to WHMCS Standard Cart Products */
#order-standard_cart .products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 30px !important;
    margin-top: 50px !important;
}

#order-standard_cart .product, #order-standard_cart .product-box {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid var(--ch-border) !important;
    border-radius: 16px !important;
    padding: 40px 32px !important;
    position: relative !important;
    transition: all 0.4s !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: none !important;
    width: auto !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

#order-standard_cart .product:hover {
    transform: translateY(-10px) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}

#order-standard_cart .product .name {
    font-family: var(--ch-font-head, 'Montserrat', sans-serif) !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: var(--ch-dark) !important;
    margin-bottom: 10px !important;
    letter-spacing: -0.5px !important;
}

#order-standard_cart .product .pricing {
    font-size: 42px !important;
    font-weight: 800 !important;
    color: var(--ch-primary) !important;
    display: flex !important;
    flex-direction: column;
    margin: 20px 0 !important;
    background: var(--ch-primary-g) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    line-height: 1.1 !important;
}

#order-standard_cart .product .pricing span.pricing {
    font-size: 42px !important;
    background: none !important;
    -webkit-text-fill-color: var(--ch-primary) !important;
    color: var(--ch-primary) !important;
}

#order-standard_cart .btn-order-now, #order-standard_cart button.btn-success {
    background: var(--ch-primary-g) !important;
    border: none !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 15px 30px !important;
    border-radius: 50px !important;
    margin-top: auto !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(0, 152, 239, 0.3) !important;
    transition: all 0.3s !important;
}

#order-standard_cart .btn-order-now:hover, #order-standard_cart button.btn-success:hover {
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 15px 30px rgba(0, 152, 239, 0.5) !important;
}

/* Fix WHMCS Default Main Body White Space on Homepage */
body.page-homepage #main-body {
    padding: 0 !important;
    min-height: 0 !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
}
body.page-homepage #main-body .container {
    display: none !important; /* Hides the empty container creating the white gap */
}

/* ============================================================
   Order Form — Product Info & Title Dark Overrides
============================================================ */
.product-info {
    background-color: #0a0a0a !important;
    border-color: #333 !important;
    color: #ededed !important;
}
.product-info .product-title,
.product-title {
    background-color: #0a0a0a !important;
    color: #fff !important;
    border-bottom: 1px solid #333 !important;
}
.product-info p {
    color: #888 !important;
}
.product-info p small {
    color: #666 !important;
}
