.g4d-landing {
    --g4d-navy: #071329;
    --g4d-navy2: #0b1d3b;
    --g4d-blue: #1677ff;
    --g4d-cyan: #35d8ff;
    --g4d-gold: #fbbf24;
    --g4d-white: #f4f8ff;
    --g4d-muted: #aab9d0;
    --g4d-line: rgba(255,255,255,.12);
    color: var(--g4d-white);
    min-height: 70vh;
    overflow-x: clip;
}

.g4d-container {
    width: min(1160px, calc(100% - 40px));
    margin-left: auto;
    margin-right: auto;
}

/* Breadcrumbs */
.g4d-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--g4d-muted);
}

.g4d-breadcrumbs a {
    color: var(--g4d-cyan);
}

.g4d-breadcrumbs a:hover {
    text-decoration: underline;
}

.g4d-bc-sep {
    opacity: 0.55;
}

.g4d-bc-current {
    color: var(--g4d-white);
    font-weight: 600;
}

/* Shared Hero Typography & Buttons */
.g4d-landing .g4d-eyebrow {
    display: inline-block;
    color: var(--g4d-cyan);
    border: 1px solid rgba(53,216,255,.35);
    border-radius: 30px;
    padding: 7px 14px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.g4d-eyebrow-gold {
    color: var(--g4d-gold) !important;
    border-color: rgba(251,191,36,.4) !important;
    background: rgba(251,191,36,.07);
}

.g4d-landing h1 {
    color: #fff;
    font-size: clamp(34px, 5.5vw, 64px);
    line-height: 1.09;
    letter-spacing: -1.5px;
    margin: 18px 0;
    overflow-wrap: anywhere;
}

.g4d-hero-sub {
    color: #dce8fa;
    font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 600;
    margin: 0 0 12px;
    max-width: 720px;
}

.g4d-landing .g4d-lead {
    color: var(--g4d-muted);
    font-size: clamp(16px, 2vw, 18px);
    max-width: 680px;
    margin: 0;
}

.g4d-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.g4d-landing .g4d-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 13px 23px;
    border-radius: 9px;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(110deg, #1267ed, #159bff);
    box-shadow: 0 10px 35px rgba(22,119,255,.25);
    transition: transform .2s ease;
}

.g4d-landing .g4d-button:hover {
    transform: translateY(-2px);
}

.g4d-landing .g4d-button-outline {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: none;
}

.g4d-btn-full {
    width: 100%;
    margin-top: 14px;
}

.g4d-hero-media {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(53,216,255,.25);
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.g4d-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
}

/* 01 Technology, 02 Promo, 03 Corporate */
.g4d-hero,
.g4d-promo-hero,
.g4d-corporate-hero,
.g4d-product-hero,
.g4d-service-hero,
.g4d-seo-hero,
.g4d-premium-hero,
.g4d-news-hero,
.g4d-custom-hero {
    position: relative;
    padding: clamp(64px, 8vw, 110px) 0;
    background:
        radial-gradient(ellipse at 85% 25%, rgba(22,119,255,.26), transparent 44%),
        radial-gradient(ellipse at 10% 90%, rgba(53,216,255,.12), transparent 40%),
        linear-gradient(135deg, #071329, #0b1d3b);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.g4d-tech-grid,
.g4d-promo-grid,
.g4d-service-grid,
.g4d-premium-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 48px;
}

.g4d-tech-visual {
    display: grid;
    place-items: center;
}

.g4d-orb {
    width: clamp(170px, 24vw, 300px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: clamp(42px, 7vw, 84px);
    font-weight: 900;
    background: radial-gradient(circle at 35% 25%, #42dfff, #1767d9 42%, #071329 75%);
    border: 1px solid rgba(255,255,255,.3);
    box-shadow: 0 0 90px rgba(22,119,255,.35), inset 0 0 35px rgba(255,255,255,.2);
}

.g4d-promo-art {
    min-height: 290px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(53,216,255,.3);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(53,216,255,.13), rgba(22,119,255,.04));
    box-shadow: 0 25px 80px rgba(0,0,0,.25);
}

.g4d-promo-art span { color: var(--g4d-cyan); font-weight: 800; letter-spacing: 7px; }
.g4d-promo-art strong { font-size: clamp(84px, 13vw, 150px); line-height: 1.1; text-shadow: 0 0 45px rgba(53,216,255,.4); }
.g4d-promo-art small { color: var(--g4d-muted); letter-spacing: 4px; }

.g4d-corp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
    font-size: 13px;
    color: var(--g4d-muted);
}

.g4d-corp-banner {
    margin-top: 32px;
}

.g4d-corp-banner img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid var(--g4d-line);
}

/* 04 Product */
.g4d-product-center {
    text-align: center;
}

.g4d-product-center .g4d-breadcrumbs,
.g4d-product-center .g4d-hero-actions {
    justify-content: center;
}

.g4d-product-center .g4d-lead,
.g4d-product-center .g4d-hero-sub {
    margin-left: auto;
    margin-right: auto;
}

.g4d-product-stage {
    max-width: 820px;
    margin: 40px auto 0;
}

.g4d-product-frame {
    border: 1px solid rgba(53,216,255,.3);
    border-radius: 18px;
    background: rgba(11,29,59,.85);
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0,0,0,.4);
}

.g4d-pf-bar {
    display: flex;
    gap: 8px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.03);
}

.g4d-pf-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(53,216,255,.45);
}

.g4d-pf-body {
    padding: 56px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.g4d-pf-tag {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--g4d-cyan);
    font-weight: 700;
}

.g4d-pf-body strong { font-size: clamp(24px, 3vw, 34px); }
.g4d-pf-body small { color: var(--g4d-muted); }

/* 05 Service */
.g4d-service-card {
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(53,216,255,.28);
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(12px);
}

.g4d-service-media {
    margin-bottom: 18px;
}

.g4d-sc-kicker {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--g4d-cyan);
    margin-bottom: 8px;
}

.g4d-service-card h2 {
    margin: 0 0 12px;
    font-size: 21px;
}

.g4d-sc-list {
    margin: 0;
    padding-left: 18px;
    color: var(--g4d-muted);
    display: grid;
    gap: 8px;
}

/* 06 SEO Content + TOC */
.g4d-seo-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 40px;
    align-items: start;
}

.g4d-toc-panel {
    position: sticky;
    top: 96px;
    padding: 20px;
    border: 1px solid var(--g4d-line);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
}

.g4d-toc-panel strong {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--g4d-cyan);
}

.g4d-toc-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.g4d-toc-nav a {
    font-size: 14px;
    color: var(--g4d-muted);
    text-decoration: none;
    padding: 4px 0;
}

.g4d-toc-nav a.is-h3 {
    padding-left: 12px;
    font-size: 13px;
}

.g4d-toc-nav a:hover {
    color: var(--g4d-cyan);
}

.g4d-seo-banner {
    margin-bottom: 26px;
}

/* 07 Minimalist */
.g4d-min-hero {
    padding: clamp(70px, 9vw, 120px) 0 48px;
    background: var(--g4d-navy);
    border-bottom: 1px solid var(--g4d-line);
}

.g4d-min-wrap {
    max-width: 780px;
}

.g4d-min-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--g4d-muted);
    text-transform: uppercase;
}

/* 08 Premium Brand */
.g4d-premium-hero {
    background:
        radial-gradient(ellipse at 85% 20%, rgba(251,191,36,.16), transparent 45%),
        linear-gradient(135deg, #060f22, #0d1f42);
}

.g4d-luxury-card {
    min-height: 290px;
    border-radius: 24px;
    border: 1px solid rgba(251,191,36,.35);
    background: linear-gradient(155deg, rgba(251,191,36,.08), rgba(7,19,41,.85));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 24px;
    box-shadow: 0 25px 75px rgba(0,0,0,.4);
}

.g4d-luxury-card span { color: var(--g4d-gold); letter-spacing: 5px; font-weight: 700; font-size: 13px; }
.g4d-luxury-card strong { font-size: clamp(34px, 5vw, 48px); letter-spacing: 3px; }
.g4d-luxury-card small { color: var(--g4d-muted); letter-spacing: 2px; font-size: 11px; }

/* 09 News & Info */
.g4d-news-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    align-items: start;
}

.g4d-sidebar-card {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--g4d-line);
    background: rgba(255,255,255,.04);
}

.g4d-sidebar-card h3 {
    margin-top: 0;
}

/* 10 Custom */
.g4d-custom-banner {
    margin-top: 32px;
}

/* Main WordPress Content Area */
.g4d-content {
    padding-top: 56px;
    padding-bottom: 70px;
    color: #dce8fa;
    font-size: 16px;
}

.g4d-content h2,
.g4d-content h3 {
    color: #fff;
    line-height: 1.25;
}

.g4d-content p {
    max-width: 850px;
}

.g4d-content a {
    color: var(--g4d-cyan);
    text-decoration: underline;
}

.g4d-article {
    max-width: 880px;
    margin: auto;
}

.g4d-seo-layout .g4d-article,
.g4d-news-grid .g4d-article {
    margin: 0;
    max-width: 100%;
}

.g4d-default-page {
    min-height: 60vh;
}

/* Dynamic Sections */
.g4d-dyn-section {
    padding: 72px 0;
    border-top: 1px solid rgba(255,255,255,.07);
}

.g4d-bg-dark { background: #071329; }
.g4d-bg-navy { background: #0b1d3b; }
.g4d-bg-glass { background: rgba(255,255,255,.025); }
.g4d-bg-gradient { background: linear-gradient(135deg, #071329, #0f2954); }
.g4d-bg-accent { background: radial-gradient(circle at 80% 20%, rgba(53,216,255,.12), transparent 55%), #091834; }

.g4d-sec-head {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.g4d-sec-head h2 {
    margin: 0 0 10px;
    font-size: clamp(26px, 3.6vw, 38px);
    color: #fff;
}

.g4d-sec-head p {
    margin: 0;
    color: var(--g4d-muted);
}

.g4d-sec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.g4d-sec-card {
    padding: 26px;
    border-radius: 16px;
    border: 1px solid var(--g4d-line);
    background: rgba(255,255,255,.04);
}

.g4d-sec-badge {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(22,119,255,.18);
    color: var(--g4d-cyan);
    font-size: 20px;
    margin-bottom: 14px;
}

.g4d-sec-card h3 { margin: 0 0 8px; color: #fff; }
.g4d-sec-card p { margin: 0; color: var(--g4d-muted); }

.g4d-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.g4d-split-media {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--g4d-line);
}

.g4d-split-media img {
    width: 100%;
    height: auto;
    display: block;
}

.g4d-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
}

.g4d-stat-card {
    padding: 26px 20px;
    border-radius: 16px;
    border: 1px solid var(--g4d-line);
    background: rgba(255,255,255,.04);
    text-align: center;
}

.g4d-stat-val {
    display: block;
    font-size: clamp(30px, 4vw, 44px);
    color: var(--g4d-cyan);
    line-height: 1.15;
}

.g4d-stat-lbl {
    font-weight: 700;
    margin-top: 6px;
}

.g4d-stat-note {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--g4d-muted);
}

.g4d-cta-box {
    padding: 44px 28px;
    border-radius: 20px;
    border: 1px solid rgba(53,216,255,.3);
    background: radial-gradient(circle at 85% 15%, rgba(22,119,255,.22), transparent 45%), #0b1d3b;
    text-align: center;
}

.g4d-cta-box h2 { margin: 0 0 10px; font-size: clamp(26px, 3.5vw, 36px); }
.g4d-cta-box p { max-width: 640px; margin: 0 auto 22px; color: var(--g4d-muted); }

.g4d-faq-list {
    max-width: 820px;
    margin: auto;
    display: grid;
    gap: 12px;
}

.g4d-faq-item {
    border: 1px solid var(--g4d-line);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
    padding: 14px 18px;
}

.g4d-faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: #fff;
}

.g4d-faq-answer {
    margin-top: 10px;
    color: var(--g4d-muted);
}

.g4d-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.g4d-link-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--g4d-line);
    background: rgba(255,255,255,.04);
    transition: border-color .2s ease, transform .2s ease;
}

.g4d-link-card:hover {
    border-color: var(--g4d-cyan);
    transform: translateY(-2px);
}

.g4d-link-card span {
    color: var(--g4d-muted);
    font-size: 14px;
}

.g4d-rich-box {
    max-width: 860px;
    margin: auto;
}

/* Internal Links Bar & Footer Note */
.g4d-internal-links {
    padding: 24px 0;
    border-top: 1px solid var(--g4d-line);
    background: rgba(255,255,255,.02);
}

.g4d-il-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.g4d-il-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--g4d-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.g4d-il-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.g4d-il-pill {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 6px 14px;
    border-radius: 99px;
    border: 1px solid rgba(53,216,255,.3);
    background: rgba(22,119,255,.1);
    color: var(--g4d-cyan);
    font-size: 13px;
    font-weight: 600;
}

.g4d-footer-note {
    padding: 18px 0 32px;
}

.g4d-fn-box {
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--g4d-line);
    background: rgba(255,255,255,.03);
    color: var(--g4d-muted);
    font-size: 14px;
    text-align: center;
}

.g4d-404-box {
    text-align: center;
    padding: 40px 0;
}

.g4d-404-box .g4d-lead,
.g4d-404-box .g4d-hero-actions {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

@media (max-width: 900px) {
    .g4d-tech-grid,
    .g4d-promo-grid,
    .g4d-service-grid,
    .g4d-premium-grid,
    .g4d-seo-layout,
    .g4d-news-grid,
    .g4d-split {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .g4d-toc-panel {
        position: static;
    }
}

@media (max-width: 760px) {
    .g4d-container {
        width: min(100% - 28px, 1160px);
    }

    .g4d-hero,
    .g4d-promo-hero,
    .g4d-corporate-hero,
    .g4d-product-hero,
    .g4d-service-hero,
    .g4d-seo-hero,
    .g4d-premium-hero,
    .g4d-news-hero,
    .g4d-custom-hero {
        padding: 56px 0;
    }

    .g4d-promo-art,
    .g4d-luxury-card {
        min-height: 220px;
    }

    .g4d-dyn-section {
        padding: 52px 0;
    }
}

/* V8 Image Gallery Section */
.g4d-gallery-sec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.g4d-gallery-sec-card {
    margin: 0;
    border-radius: 16px;
    border: 1px solid var(--g4d-line);
    background: rgba(255, 255, 255, .04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.g4d-gallery-sec-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.g4d-gallery-sec-card figcaption {
    padding: 12px 14px;
    font-size: 13.5px;
    color: var(--g4d-muted);
    line-height: 1.5;
}
