/*
Theme Name: MM Child
Theme URI: https://neongurulab.com
Description: Astra child theme for NeonGuruLab
Author: NeonGuruLab
Template: astra
Version: 1.0
Text Domain: mm-child
*/

/* ===============================
   NeonGuruLab Brand Theme
================================ */

:root {
    --ng-bg: #071B14;
    --ng-bg-soft: #0D2A20;
    --ng-bg-warm: #1A120D;

    --ng-text: #F9EFD9;
    --ng-muted: #CBB996;
    --ng-white: #FFFFFF;

    --ng-primary: #48F0BD;
    --ng-primary-soft: #77D6A5;
    --ng-primary-dark: #2E8B68;

    --ng-lotus: #F6B98F;
    --ng-orange: #FF9F43;

    --ng-card-bg: rgba(42, 26, 16, 0.88);
    --ng-card-bg-soft: rgba(13, 42, 32, 0.82);
    --ng-card-border: rgba(119, 214, 165, 0.22);

    --ng-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

/* ===============================
   Astra cleanup
================================ */

.site-header,
.site-footer {
    display: none;
}

.site-content .ast-container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
    padding: 0;
}

.entry-content {
    margin: 0;
}

/* ===============================
   Base
================================ */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(72, 240, 189, 0.12), transparent 34%),
        linear-gradient(180deg, var(--ng-bg) 0%, var(--ng-bg-warm) 100%);
    color: var(--ng-text);
    font-family: Arial, Helvetica, sans-serif;
}

body,
button,
input,
textarea {
    font-family: Arial, Helvetica, sans-serif;
}

a {
    transition: all 0.22s ease;
}

.ng-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(246, 185, 143, 0.10), transparent 32%),
        linear-gradient(180deg, var(--ng-bg) 0%, var(--ng-bg-warm) 100%);
    color: var(--ng-text);
}

.ng-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* ===============================
   Navigation
================================ */

.ng-nav {
    background: rgba(7, 27, 20, 0.92);
    border-bottom: 1px solid rgba(72, 240, 189, 0.18);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.ng-nav-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ng-logo-image {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.ng-logo-image img {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
}

.ng-menu {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.ng-menu a {
    color: var(--ng-muted);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
}

.ng-menu a:hover {
    color: var(--ng-primary);
}

/* ===============================
   Hero
================================ */

.ng-hero {
    padding: 105px 0 95px;
    background:
        radial-gradient(circle at top left, rgba(72, 240, 189, 0.16), transparent 32%),
        radial-gradient(circle at bottom right, rgba(246, 185, 143, 0.13), transparent 34%),
        linear-gradient(135deg, var(--ng-bg) 0%, var(--ng-bg-warm) 100%);
}

.ng-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 58px;
    align-items: center;
}

.ng-kicker {
    display: inline-flex;
    align-items: center;
    padding: 9px 15px;
    border-radius: 999px;
    background: rgba(42, 26, 16, 0.82);
    color: var(--ng-primary);
    border: 1px solid rgba(72, 240, 189, 0.34);
    font-weight: 900;
    font-size: 14px;
    margin-bottom: 22px;
}

.ng-hero h1 {
    font-size: clamp(44px, 7vw, 84px);
    line-height: 0.96;
    margin: 0 0 26px;
    letter-spacing: -3px;
    font-weight: 900;
    color: var(--ng-text);
}

.ng-hero p {
    font-size: 21px;
    color: var(--ng-muted);
    line-height: 1.65;
    margin: 0 0 34px;
    max-width: 680px;
}

.ng-hero-brand {
    min-height: 485px;
    border-radius: 36px;
    background:
        radial-gradient(circle at center, rgba(72, 240, 189, 0.14), transparent 48%),
        linear-gradient(145deg, rgba(42, 26, 16, 0.94), rgba(7, 27, 20, 0.94));
    border: 1px solid rgba(119, 214, 165, 0.24);
    box-shadow: var(--ng-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px;
    overflow: hidden;
}

.ng-hero-brand img {
    width: min(420px, 92%);
    height: auto;
    filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.38));
}

/* fallback vanhalle hero-kuvalle, jos jokin alasivu käyttää sitä */
.ng-hero-image {
    min-height: 485px;
    border-radius: 34px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--ng-shadow);
    overflow: hidden;
}

/* ===============================
   Buttons
================================ */

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

.ng-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 15px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    border: 2px solid transparent;
    transition: all 0.22s ease;
}

.ng-btn-primary {
    background: linear-gradient(135deg, var(--ng-primary-dark), var(--ng-primary));
    color: var(--ng-bg-warm);
    border-color: rgba(72, 240, 189, 0.55);
    box-shadow: 0 0 24px rgba(72, 240, 189, 0.22);
}

.ng-btn-primary:hover {
    background: linear-gradient(135deg, var(--ng-primary), var(--ng-primary-soft));
    color: var(--ng-bg-warm);
    transform: translateY(-2px);
}

.ng-btn-secondary {
    background: rgba(42, 26, 16, 0.72);
    color: var(--ng-primary);
    border-color: rgba(72, 240, 189, 0.38);
}

.ng-btn-secondary:hover {
    color: var(--ng-bg-warm);
    background: var(--ng-primary);
    transform: translateY(-2px);
}

/* ===============================
   Sections
================================ */

.ng-section {
    padding: 90px 0;
    background: transparent;
}

.ng-section-light {
    background:
        radial-gradient(circle at top, rgba(119, 214, 165, 0.08), transparent 34%),
        rgba(13, 42, 32, 0.72);
}

.ng-section-header {
    max-width: 780px;
    margin: 0 auto 48px;
    text-align: center;
}

.ng-section-header h2 {
    font-size: clamp(32px, 4vw, 50px);
    margin: 0 0 16px;
    letter-spacing: -1.5px;
    font-weight: 900;
    color: var(--ng-text);
}

.ng-section-header p {
    color: var(--ng-muted);
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
}

/* ===============================
   Cards
================================ */

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

.ng-card {
    background: var(--ng-card-bg);
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--ng-card-border);
    box-shadow: var(--ng-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ng-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.44);
}

.ng-card-image {
    height: 230px;
    background-size: cover;
    background-position: center;
    background-color: var(--ng-bg-soft);
}

.ng-card-content {
    padding: 28px;
}

.ng-card h3 {
    margin: 0 0 12px;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--ng-text);
}

.ng-card p {
    margin: 0 0 22px;
    color: var(--ng-muted);
    line-height: 1.65;
}

.ng-card-link {
    color: var(--ng-primary);
    text-decoration: none;
    font-weight: 900;
}

.ng-card-link:hover {
    color: var(--ng-lotus);
    text-decoration: underline;
}

/* ===============================
   Video placeholder
================================ */

.ng-video-box {
    margin: 22px 0;
    min-height: 132px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(72, 240, 189, 0.14), rgba(246, 185, 143, 0.12));
    border: 1px solid rgba(72, 240, 189, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ng-primary);
    font-weight: 900;
    text-align: center;
    padding: 14px;
}

.ng-video-box span {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    background: rgba(7, 27, 20, 0.92);
    color: var(--ng-primary);
    border: 1px solid rgba(72, 240, 189, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

/* ===============================
   CTA
================================ */

.ng-cta {
    background:
        radial-gradient(circle at top right, rgba(72, 240, 189, 0.13), transparent 32%),
        linear-gradient(135deg, var(--ng-bg-soft) 0%, var(--ng-bg-warm) 100%);
    text-align: center;
}

.ng-cta .ng-actions {
    justify-content: center;
    margin-top: 30px;
}

/* ===============================
   Sub pages
================================ */

.ng-subhero {
    padding: 92px 0;
    background:
        radial-gradient(circle at top right, rgba(72, 240, 189, 0.16), transparent 34%),
        linear-gradient(135deg, var(--ng-bg) 0%, var(--ng-bg-warm) 100%);
    text-align: center;
}

.ng-subhero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1;
    margin: 0 0 20px;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--ng-text);
}

.ng-subhero p {
    margin: 0 auto;
    max-width: 760px;
    color: var(--ng-muted);
    font-size: 20px;
    line-height: 1.7;
}

.ng-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: center;
}

.ng-feature-image {
    min-height: 430px;
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    box-shadow: var(--ng-shadow);
    border: 1px solid var(--ng-card-border);
}

.ng-content-box {
    background: var(--ng-card-bg);
    border-radius: 30px;
    padding: 38px;
    box-shadow: var(--ng-shadow);
    border: 1px solid var(--ng-card-border);
}

.ng-content-box h2 {
    margin-top: 0;
    font-size: 36px;
    letter-spacing: -1px;
    color: var(--ng-text);
}

.ng-content-box p,
.ng-content-box li {
    color: var(--ng-muted);
    line-height: 1.7;
    font-size: 17px;
}

.ng-list {
    margin: 20px 0 0;
    padding-left: 20px;
}

/* ===============================
   Contact form
================================ */

.ng-form {
    display: grid;
    gap: 16px;
}

.ng-form input,
.ng-form textarea {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid rgba(72, 240, 189, 0.25);
    background: rgba(7, 27, 20, 0.64);
    color: var(--ng-text);
}

.ng-form input::placeholder,
.ng-form textarea::placeholder {
    color: rgba(249, 239, 217, 0.60);
}

.ng-form textarea {
    min-height: 150px;
}

.ng-form button {
    cursor: pointer;
}

/* ===============================
   Footer
================================ */

.ng-footer {
    background: var(--ng-bg-warm);
    border-top: 1px solid rgba(72, 240, 189, 0.18);
    color: var(--ng-text);
    padding: 42px 0;
}

.ng-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    align-items: center;
}

.ng-footer p {
    margin: 0;
    color: var(--ng-muted);
}

.ng-footer a {
    color: var(--ng-primary);
    text-decoration: none;
    font-weight: 800;
}

.ng-footer a:hover {
    color: var(--ng-lotus);
}

/* ===============================
   Responsive
================================ */

@media (max-width: 980px) {
    .ng-hero-grid,
    .ng-two-col {
        grid-template-columns: 1fr;
    }

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

    .ng-hero-brand,
    .ng-hero-image {
        min-height: 360px;
    }

    .ng-feature-image {
        min-height: 340px;
    }
}

@media (max-width: 700px) {
    .ng-nav-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 0;
    }

    .ng-logo-image img {
        width: 170px;
    }

    .ng-menu {
        gap: 12px;
    }

    .ng-menu a {
        font-size: 14px;
    }

    .ng-grid {
        grid-template-columns: 1fr;
    }

    .ng-hero {
        padding: 70px 0;
    }

    .ng-hero h1 {
        letter-spacing: -1.5px;
    }

    .ng-hero-brand {
        min-height: 330px;
        padding: 28px;
    }

    .ng-section {
        padding: 64px 0;
    }

    .ng-actions {
        flex-direction: column;
    }

    .ng-btn {
        width: 100%;
    }

    .ng-footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ng-video-box {
        flex-direction: column;
        gap: 10px;
    }

    .ng-video-box span {
        margin-right: 0;
    }
}

/* ===============================
   Mobile responsive refinement
   NeonGuruLab
================================ */

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

    .ng-container {
        width: min(94%, 920px);
    }

    .ng-hero {
        padding: 80px 0 72px;
    }

    .ng-hero-grid,
    .ng-two-col {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .ng-hero-content {
        text-align: center;
    }

    .ng-hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .ng-actions {
        justify-content: center;
    }

    .ng-hero-brand,
    .ng-hero-image,
    .ng-feature-image {
        min-height: 360px;
    }

    .ng-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .ng-section {
        padding: 72px 0;
    }
}

/* Mobile */
@media (max-width: 760px) {

    body {
        overflow-x: hidden;
    }

    .ng-container {
        width: 92%;
    }

    /* Header / navigation */
    .ng-nav {
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .ng-nav-inner {
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 14px;
        padding: 14px 0 12px;
    }

    .ng-logo-image {
        justify-content: center;
    }

    .ng-logo-image img {
        width: 178px;
        max-width: 80vw;
        height: auto;
        margin: 0 auto;
    }

    /* Mobile menu becomes horizontal scroll */
    .ng-menu {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 4px 0 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .ng-menu a {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 14px;
        padding: 8px 12px;
        border-radius: 999px;
        border: 1px solid rgba(72, 240, 189, 0.20);
        background: rgba(42, 26, 16, 0.46);
    }

    .ng-menu a:hover {
        background: rgba(72, 240, 189, 0.14);
    }

    /* Hero */
    .ng-hero {
        padding: 58px 0 56px;
    }

    .ng-hero-grid {
        gap: 34px;
    }

    .ng-kicker {
        font-size: 13px;
        padding: 8px 12px;
        margin-bottom: 18px;
    }

    .ng-hero h1 {
        font-size: clamp(38px, 13vw, 56px);
        line-height: 1.02;
        letter-spacing: -1.6px;
        margin-bottom: 20px;
    }

    .ng-hero p {
        font-size: 17px;
        line-height: 1.65;
        margin-bottom: 28px;
    }

    .ng-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .ng-btn {
        width: 100%;
        min-height: 50px;
        padding: 14px 22px;
        text-align: center;
    }

    .ng-hero-brand {
        min-height: 300px;
        padding: 26px;
        border-radius: 26px;
    }

    .ng-hero-brand img {
        width: min(300px, 88%);
    }

    .ng-hero-image,
    .ng-feature-image {
        min-height: 300px;
        border-radius: 24px;
    }

    /* Sections */
    .ng-section {
        padding: 58px 0;
    }

    .ng-section-header {
        margin-bottom: 34px;
    }

    .ng-section-header h2 {
        font-size: clamp(28px, 9vw, 38px);
        letter-spacing: -1px;
    }

    .ng-section-header p {
        font-size: 16px;
    }

    /* Cards */
    .ng-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .ng-card {
        border-radius: 24px;
    }

    .ng-card-image {
        height: 210px;
    }

    .ng-card-content {
        padding: 24px;
    }

    .ng-card h3 {
        font-size: 24px;
    }

    .ng-card p {
        font-size: 16px;
    }

    .ng-video-box {
        min-height: 112px;
        flex-direction: column;
        gap: 10px;
        padding: 16px;
    }

    .ng-video-box span {
        margin-right: 0;
    }

    /* Sub pages */
    .ng-subhero {
        padding: 58px 0;
    }

    .ng-subhero h1 {
        font-size: clamp(34px, 11vw, 50px);
        line-height: 1.05;
        letter-spacing: -1.4px;
    }

    .ng-subhero p {
        font-size: 17px;
    }

    .ng-content-box {
        padding: 26px;
        border-radius: 24px;
    }

    .ng-content-box h2 {
        font-size: 29px;
    }

    .ng-content-box p,
    .ng-content-box li {
        font-size: 16px;
    }

    /* Contact form */
    .ng-cf7-wrap input[type="text"],
    .ng-cf7-wrap input[type="email"],
    .ng-cf7-wrap textarea,
    .ng-form input,
    .ng-form textarea {
        font-size: 16px;
        padding: 14px 15px;
        border-radius: 14px;
    }

    .ng-cf7-wrap input[type="submit"] {
        width: 100%;
    }

    /* Footer */
    .ng-footer {
        padding: 34px 0;
    }

    .ng-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Small mobile */
@media (max-width: 420px) {

    .ng-container {
        width: 90%;
    }

    .ng-logo-image img {
        width: 156px;
    }

    .ng-menu a {
        font-size: 13px;
        padding: 7px 10px;
    }

    .ng-hero {
        padding: 48px 0 50px;
    }

    .ng-hero h1 {
        font-size: 38px;
    }

    .ng-hero p {
        font-size: 16px;
    }

    .ng-hero-brand {
        min-height: 260px;
        padding: 22px;
    }

    .ng-card-image {
        height: 190px;
    }

    .ng-card-content {
        padding: 22px;
    }

    .ng-content-box {
        padding: 22px;
    }

    .ng-subhero h1 {
        font-size: 34px;
    }
}

/* ===============================
   Disabled / Coming soon links
================================ */

.ng-card-link-disabled {
    display: inline-flex;
    color: var(--ng-muted);
    cursor: default;
    text-decoration: none;
    opacity: 0.78;
}

.ng-card-link-disabled:hover {
    color: var(--ng-muted);
    text-decoration: none;
}

.ng-card:has(.ng-card-link-disabled) .ng-video-box {
    opacity: 0.85;
}

/* ===============================
   Two card grid for launch version
================================ */

.ng-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 760px) {
    .ng-grid-two {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}