/* ==========================================================
   GradeSkill Landing — Full HTML (WP-ready, scoped, responsive)
   - Paste into a WP page template or HTML block
   - All styles scoped under .gs to avoid theme collisions
   ========================================================== */

.gs {
    --r: 16px;
    --r2: 22px;
    --max: 1160px;

    /* Brand */
    --pri: #3b82f6;
    /* blue */
    --acc: #2bd4b7;
    /* mint */

    /* Default Tokens (Light Mode - Default) */
    --bg: #f6f8fc;
    --bg2: #ffffff;
    --text: #0b1220;
    --muted: rgba(11, 18, 32, .72);
    --line: rgba(11, 18, 32, .10);
    --card: rgba(255, 255, 255, .72);
    --card2: rgba(255, 255, 255, .52);
    --chip: rgba(11, 18, 32, .06);
    --input: rgba(255, 255, 255, .86);
    --shadow: 0 18px 55px rgba(11, 18, 32, .12);
    --focus: rgba(59, 130, 246, .22);
    --blue: #1666B5;
    --teal: #3FB9A8;

    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    /* Light mode background with gradient */
    background:
        radial-gradient(1200px 700px at 10% 10%, rgba(63, 185, 168, 0.25), transparent 60%),
        radial-gradient(1100px 650px at 90% 15%, rgba(22, 102, 181, 0.28), transparent 55%),
        radial-gradient(900px 600px at 50% 120%, rgba(63, 185, 168, 0.18), transparent 55%),
        var(--bg);
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Dark Mode Override */
.gs[data-theme="dark"] {
    --bg: #070b14;
    --bg2: #0b1220;
    --text: #eaf0ff;
    --muted: rgba(234, 240, 255, .74);
    --line: rgba(234, 240, 255, .12);
    --card: rgba(255, 255, 255, .04);
    --card2: rgba(255, 255, 255, .03);
    --chip: rgba(255, 255, 255, .06);
    --input: rgba(0, 0, 0, .18);
    --shadow: 0 18px 55px rgba(0, 0, 0, .38);
    --focus: rgba(59, 130, 246, .25);

    /* Dark Mode Background */
    background:
        radial-gradient(1200px 700px at 10% 10%, rgba(63, 185, 168, 0.25), transparent 60%),
        radial-gradient(1100px 650px at 90% 15%, rgba(22, 102, 181, 0.28), transparent 55%),
        radial-gradient(900px 600px at 50% 120%, rgba(63, 185, 168, 0.18), transparent 55%),
        var(--bg);
    background-attachment: fixed;
    background-size: cover;
}

/* Theme Toggle Button */
.gs .toggle {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px 10px;
    background: var(--card);
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    color: var(--text);
    transition: background 0.2s ease;
}

.gs .toggle:hover {
    background: var(--chip);
}

.gs .toggle .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pri), var(--acc));
}

.gs * {
    box-sizing: border-box;
}

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

.gs img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Prevent sticky header overlap on anchor links */
:target,
section[id],
div[id] {
    scroll-margin-top: 60px;
}

.gs .container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 18px;
}

/* Topbar */
.gs .topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    /* Ensure topbar stays ON TOP of the mobile menu */
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.85);
    /* 1. Fallback for older browsers */
    background: color-mix(in srgb, var(--bg2) 70%, transparent);
    /* 2. Modern */
    border-bottom: 1px solid var(--line);
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.gs .topbar.transparent-start:not(.scrolled) {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
}

.gs .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    flex-wrap: nowrap;
}

.gs .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex-shrink: 0;
}

.gs .logo-box {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--pri), var(--acc));
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* Fallback */
    border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
    box-shadow: 0 16px 42px rgba(59, 130, 246, .14);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.gs .logo-box span {
    font-weight: 950;
    letter-spacing: .2px;
    color: #07101e;
    font-size: 14px;
}

.gs .brand-title {
    font-weight: 950;
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.gs .brand-sub {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.1;
    margin-top: 2px;
}

.gs .nav {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.gs .nav a {
    font-size: 13px;
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid transparent;
}

.gs .nav a:hover {
    color: var(--text);
    border-color: var(--line);
    background: var(--chip);
}

.gs .topbar-linkedin {
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    transition: color .2s;
    flex-shrink: 0;
}

.gs .topbar-linkedin:hover {
    color: var(--pri);
}

.gs .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(22, 102, 181, .18), rgba(63, 185, 168, .12));
    box-shadow: var(--shadow);
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: transform .12s ease, background .12s ease, border-color .12s ease;
    white-space: nowrap;
}

.gs .btn:hover {
    transform: translateY(-1px);
}

.gs .btn.primary {
    border: none;
    background: linear-gradient(135deg, rgba(22, 102, 181, .95), rgba(63, 185, 168, .85));
    color: white;
    box-shadow: 0 18px 50px rgba(22, 102, 181, .22);
}

/* Hero */
.gs .hero {
    padding: 56px 0 26px;
}

.gs .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 22px;
    align-items: start;
}

.gs .kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--chip);
    color: var(--muted);
    font-size: 13px;
}

.gs .dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--acc);
    box-shadow: 0 0 0 6px rgba(43, 212, 183, .16);
}

.gs h1 {
    margin: 14px 0 10px;
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.7px;
}

.gs .subhead {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.58;
    margin: 0 0 16px;
    max-width: 65ch;
}

.gs .cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 18px 0 10px;
}

.gs .micro {
    font-size: 12px;
    color: var(--muted);
    margin-top: 10px;
}

/* Sections */
.gs section {
    padding: 34px 0;
    border-top: 1px solid var(--line);
}

.gs .section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.gs .section-title h2 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -.2px;
}

.gs .section-title p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    max-width: 70ch;
}

.gs .grid {
    display: grid;
    gap: 14px;
}

.gs .grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

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

.gs .card {
    background: var(--card2);
    border: 1px solid var(--line);
    border-radius: var(--r2);
    padding: 18px;
}

.gs .card h3 {
    margin: 0 0 8px;
    font-size: 15px;
}

.gs .card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

/* Hero side card */
.gs .hero-card {
    border-radius: var(--r2);
    padding: 18px;
    background: var(--card);
    border: 1px solid var(--line);
}

.gs .hero-card h3 {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--text);
    letter-spacing: .2px;
}

/* Image placeholders */
.gs .imgph {
    width: 100%;
    border-radius: 16px;
    border: 1px dashed var(--line);
    background:
        radial-gradient(420px 260px at 30% 30%, rgba(59, 130, 246, .16), transparent 60%),
        radial-gradient(380px 260px at 70% 50%, rgba(43, 212, 183, .14), transparent 60%),
        rgba(0, 0, 0, .04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 12px;
    text-align: center;
    padding: 14px;
}

/* Checklist */
.gs .checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.gs .checklist li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.gs .check {
    width: 18px;
    height: 18px;
    border-radius: 8px;
    background: rgba(43, 212, 183, .14);
    border: 1px solid rgba(43, 212, 183, .28);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    margin-top: 2px;
}

.gs .check svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    color: var(--text);
}

/* Steps */
.gs .steps {
    display: grid;
    gap: 12px;
}

.gs .step {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: var(--r2);
    background: var(--card2);
    border: 1px solid var(--line);
}

.gs .badge {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    flex: 0 0 auto;
    background: linear-gradient(135deg, rgba(59, 130, 246, .20), rgba(43, 212, 183, .14));
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
    color: var(--text);
}

/* Pricing */
.gs .pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.gs .price-card {
    border-radius: var(--r2);
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--card);
}

.gs .price-card.featured {
    border: 1px solid rgba(59, 130, 246, .25);
    background: linear-gradient(135deg, rgba(59, 130, 246, .16), rgba(43, 212, 183, .12));
}

.gs .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--chip);
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.gs .price {
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -0.6px;
    margin: 10px 0 4px;
}

.gs .note {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.gs .bullets {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.gs .bullets li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.gs .fineprint {
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

/* Blog */
.gs .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.gs .blog-card {
    border-radius: var(--r2);
    padding: 16px;
    border: 1px solid var(--line);
    background: var(--card2);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 240px;
}

.gs .blog-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    border: 1px dashed var(--line);
    background: rgba(0, 0, 0, .04);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    padding: 12px;
}

.gs .meta {
    font-size: 12px;
    color: var(--muted);
}

.gs .blog-card h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
}

.gs .blog-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.gs .link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 900;
    font-size: 13px;
}

.gs .link:hover {
    text-decoration: underline;
}

/* FAQ */
.gs details {
    border: 1px solid var(--line);
    background: var(--card2);
    border-radius: var(--r2);
    padding: 14px 16px;
}

.gs details summary {
    cursor: pointer;
    font-weight: 950;
    font-size: 14px;
    color: var(--text);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.gs details summary::-webkit-details-marker {
    display: none;
}

/* FAQ */
.gs details {
    border: 1px solid var(--line);
    background: var(--card2);
    border-radius: var(--r2);
    padding: 14px 16px;
}

.gs details summary {
    cursor: pointer;
    font-weight: 950;
    font-size: 14px;
    color: var(--text);
    list-style: none;
    display: flex;
    cursor: pointer;
    font-weight: 950;
    font-size: 14px;
    color: var(--text);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.gs details summary::-webkit-details-marker {
    display: none;
}

.gs details summary::after {
    content: '';
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--text);
    border-bottom: 2px solid var(--text);
    transform: rotate(45deg);
    /* Points Down */
    transition: transform 0.2s ease;
    opacity: 0.7;
    flex-shrink: 0;
}

.gs details[open] summary::after {
    transform: rotate(225deg);
    /* Points Up */
}




.gs details p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

/* Contact */
.gs .contact {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 14px;
    align-items: stretch;
    /* Match heights */
}

.gs .form {
    display: grid;
    gap: 10px;
}

.gs .field {
    display: grid;
    gap: 6px;
}

.gs label {
    font-size: 12px;
    color: var(--muted);
}

.gs input,
.gs select,
.gs textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--input);
    color: var(--text);
    outline: none;
    font-size: 14px;
    font-family: inherit;
}

.gs select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

.gs select option {
    background: var(--bg2, #0b1220);
    color: var(--text);
}

.gs textarea {
    min-height: 120px;
    resize: vertical;
}

.gs input:focus,
.gs select:focus,
.gs textarea:focus {
    border-color: rgba(59, 130, 246, .55);
    box-shadow: 0 0 0 4px var(--focus);
}

/* Footer */
.gs .footer {
    padding: 18px 0 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    margin-top: auto;
}

.gs .footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

/* Mobile Menu */
.gs .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    margin-left: 10px;
    flex-shrink: 0;
}

.gs .hamburger span {
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
}

/* Strict Desktop Hide */
@media (min-width: 1025px) {
    .gs .mobile-menu {
        display: none !important;
    }
}

/* Mobile Menu Backdrop */
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 9998;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.menu-backdrop.active {
    visibility: visible;
    opacity: 1;
}

.gs .mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--bg2);
    border-left: 1px solid var(--line);
    padding: 80px 24px 24px;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    will-change: transform;
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.3s,
        opacity 0.3s;
}



.gs .mobile-menu.active {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    display: flex;
}

.gs .mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--chip);
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    color: var(--text);
    transition: background 0.2s;
    z-index: 1;
}

.gs .mobile-menu-close:hover {
    background: var(--line);
}

.gs .mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gs .mobile-menu nav a:not(.btn) {
    display: block;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    border-radius: 12px;
    border: 1px solid transparent;
}

.gs .mobile-menu nav a:not(.btn):hover {
    background: var(--chip);
    border-color: var(--line);
}

.gs .mobile-menu-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

.gs .mobile-menu-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--chip);
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    transition: color 0.2s, background 0.2s;
    text-decoration: none;
}

.gs .mobile-menu-linkedin:hover {
    color: var(--pri);
    background: var(--card);
}

/* Responsive */
@media (max-width: 1024px) {
    .gs .nav {
        display: none;
    }

    .gs .topbar .btn.primary {
        display: none;
    }

    .gs .topbar .toggle:not(.mobile-theme-toggle) {
        display: none;
    }

    .gs .topbar-linkedin {
        display: none;
    }

    .gs .hamburger {
        display: flex;
    }

    .gs .section-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .gs .hero {
        padding-top: 24px;
    }

    .gs .hero-grid {
        grid-template-columns: 1fr;
    }

    .gs .grid.cols-3 {
        grid-template-columns: 1fr;
    }

    .gs .grid.cols-2 {
        grid-template-columns: 1fr;
    }

    .gs .pricing {
        grid-template-columns: 1fr;
    }

    .gs .blog-grid {
        grid-template-columns: 1fr;
    }

    .gs .contact {
        grid-template-columns: 1fr;
    }
}

/* Toast Notification */
.gs-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    background: var(--bg2, #ffffff);
    color: var(--text, #1f2937);
    border: 1px solid var(--line, rgba(0, 0, 0, 0.08));
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    max-width: 420px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.gs-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.gs-toast .toast-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 1px;
}

.gs-toast.success {
    border-left: 4px solid var(--acc);
}

.gs-toast.success .toast-icon {
    color: var(--acc);
}

.gs-toast.error {
    border-left: 4px solid #ef4444;
}

.gs-toast.error .toast-icon {
    color: #ef4444;
}

/* List Styling — match paragraph text */
.gs ul,
.gs ol {
    margin: 0 0 24px 0;
    padding-left: 24px;
    color: var(--muted);
    font-size: 14px;
    font-family: inherit;
    line-height: 1.6;
}

.gs li {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 14px;
    font-family: inherit;
    line-height: 1.6;
}

.gs li::marker {
    color: var(--muted);
}