﻿/* ============================================================
   Square Golf — main.css
   Design tokens from Figma analysis
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    /* Colors */
    --color-bg:       #0a0c0a;
    --color-bg-light: #ffffff;
    --color-surface:  #030a0c;
    --color-card:     #1a2a1a;
    --color-card-xswing: #2D3631;
    --color-primary:  #0c813f;
    --color-accent:   #6beca4;
    --color-text:     #ffffff;
    --color-muted:    #b0b0b0;
    --color-border:   #2a3a2a;
    --color-required: #e53e3e;

    /* Typography */
    --font-main:        'Noto Sans JP', system-ui, sans-serif;
    --font-Hind:        'Hind Vadodara', sans-serif;
    --font-corporate:   'corporate-logo-ver2', 'Arial Black', sans-serif;
    --font-size-hero:   clamp(32px, 5vw, 52px);
    --font-size-h2:     clamp(24px, 3vw, 36px);
    --font-size-h3:     clamp(18px, 2vw, 22px);
    --font-size-body:   14px;
    --font-size-small:  12px;

    /* Spacing */
    --space-section:  96px;
    --container-px:   120px;
    --container-small-px:   30px;
    --container-max:  1280px;
    --gap-grid:       24px;

    /* Components */
    --radius-card:   16px;
    --radius-btn:    4px;
    --radius-input:  4px;
    --nav-height:    68px;
}

/* ── Bootstrap overrides — loaded after Bootstrap CSS ───────── */
/* Reset Bootstrap's link color to match our design */
a { --bs-link-color: inherit; --bs-link-hover-color: var(--color-primary); }
/* Prevent Bootstrap from overriding our body font */
body { --bs-body-font-family: var(--font-main); --bs-body-font-size: var(--font-size-body); --bs-body-color: var(--color-text); }
/* Our container overrides Bootstrap's container */
.container { max-width: var(--container-max); padding-left: var(--container-px); padding-right: var(--container-px); }

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-main);
    font-size: var(--font-size-body);
    background: var(--color-bg-light);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    min-width: 300px;
    overflow-x: hidden;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; padding: 0;}
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ─────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--color-accent);
    color: var(--color-surface);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 28px;
    border-radius: var(--radius-btn);
    border: 1.5px solid transparent;
    transition: transform .35s cubic-bezier(.4,0,.2,1),
                box-shadow .35s cubic-bezier(.4,0,.2,1),
                background .35s cubic-bezier(.4,0,.2,1);
    min-width: 180px;
}
.btn-primary:hover {
    background: #1ad97a;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(107,236,164,.45), 0 0 0 3px rgba(107,236,164,.15);
    color: var(--color-text);
}
.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 3px 12px rgba(107,236,164,.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1.5px solid #fff;
    color: #111;
    font-weight: 600;
    font-size: 14px;
    padding: 11px 27px;
    border-radius: var(--radius-btn);
    background: #fff;
    transition: transform .35s cubic-bezier(.4,0,.2,1),
                box-shadow .35s cubic-bezier(.4,0,.2,1),
                border-color .35s cubic-bezier(.4,0,.2,1),
                background .35s cubic-bezier(.4,0,.2,1),
                color .35s cubic-bezier(.4,0,.2,1);
    min-width: 180px;
}
.btn-outline:hover {
    border-color: var(--color-accent);
    color: #0b7a42;
    background: #edfdf4;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(107,236,164,.3);
}
.btn-outline:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 12px 28px;
    border-radius: var(--radius-btn);
    transition: opacity .2s;
}
.btn-dark:hover { opacity: .85; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: #fff;
    height: var(--nav-height);
}

.navbar-inner {
    width: 100%;
    padding: 0 var(--container-px);
    padding: 0 var(--container-px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.navbar-logo img {
    height: 36px;
    width: auto;
}

/* Desktop menu */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: clamp(0px, 0.3vw, 4px);
    margin: 0 auto;
}

.nav-item > a,
.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px clamp(6px, 0.9vw, 14px);
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 600;
    color: #333;
    letter-spacing: .5px;
    white-space: nowrap;
    transition: color .2s;
}
.nav-item > a:hover,
.nav-dropdown-trigger:hover { color: var(--color-primary); }
.nav-item.active > a { color: var(--color-primary); border-bottom: 2px solid var(--color-primary); }

.nav-plus { font-size: 11px; color: var(--color-primary); }

/* Dropdown */
.nav-item.has-dropdown { position: relative; }

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 8px;
    padding-top: 8px;
    min-width: max-content;
    transform-origin: top left;
    transform-origin: top left;
    z-index: 200;
}
.nav-dropdown::before {
    /* invisible bridge that fills the 8px gap so :hover never drops */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 8px;
}
/* .nav-item.has-dropdown hover is handled by GSAP in main.js */
/* .nav-item.has-dropdown hover is handled by GSAP in main.js */
.nav-dropdown > li {
    background: #fff;
}
.nav-dropdown > li:first-child { border-radius: 6px 6px 0 0; }
.nav-dropdown > li:last-child  { border-radius: 0 0 6px 6px; }
.nav-dropdown {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    padding: 14px 0 6px; /* 14 = 8 gap + 6 top padding */
}
.nav-dropdown li a {
    display: block;
    padding: 10px 18px;
    font-size: clamp(11px, 1vw, 13px);
    color: #333;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.nav-dropdown li a:hover  { background: #f5faf7; color: var(--color-primary); }
.nav-dropdown li a.active {
    color: var(--color-primary);
    font-weight: 700;
    background: #f0faf5;
}

/* Navbar actions */
.navbar-actions { display: flex; align-items: center; gap: 12px; }

/* Lang switcher */
.lang-switcher { position: relative; }
.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: #fff;
}
.lang-arrow { font-size: 10px; }
.lang-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0px);
    top: calc(100% + 0px);
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    min-width: 120px;
    padding: 4px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.lang-switcher:hover .lang-dropdown { display: block; }
.lang-opt {
    display: block;
    padding: 8px 14px;
    font-size: 12px;
    color: #333;
    transition: background .15s;
}
.lang-opt:hover { background: #f5f5f5; }
.lang-opt.active { color: var(--color-primary); font-weight: 700; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Menu ─────────────────────────────────────────────── */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0; bottom: 0;
    background: #fff;
    z-index: 999;
    flex-direction: column;  /* active when display:flex set by media query */
    flex-direction: column;  /* active when display:flex set by media query */
    transform: translateX(100%);
    transition: transform .3s ease;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-inner {
    padding: 24px 24px 24px;
    flex: 1;
    overflow-y: auto;
}
.mobile-menu-inner {
    padding: 24px 24px 24px;
    flex: 1;
    overflow-y: auto;
}

.mobile-nav li { border-bottom: 1px solid #f0f0f0; }
.mobile-nav li a,
.mobile-sub-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 4px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    width: 100%;
    text-align: left;
}

.mobile-sub { display: none; padding-left: 16px; overflow: hidden; }
/* .mobile-sub open/close handled by GSAP in main.js */
.mobile-sub { display: none; padding-left: 16px; overflow: hidden; }
/* .mobile-sub open/close handled by GSAP in main.js */
.mobile-sub li a { font-size: 13px; font-weight: 400; color: #555; }

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 998;
}
.mobile-overlay.show { display: block; }

.mobile-menu-cta { margin-top: 24px; }
.mobile-menu-cta .btn-primary { width: 100%; justify-content: center; }

/* ── Main content offset ─────────────────────────────────────── */
.main-content { padding-top: var(--nav-height); background: #fff; }

/* ── Section common ─────────────────────────────────────────── */
.section { padding: var(--space-section) 0; }
.section-light { background: #fff; color: #111; }
.section-dark  { background: var(--color-bg); }
.section-surface { background: var(--color-surface); }

/* Section header pattern: icon + EN title + JP subtitle */
.section-header { text-align: center; margin-bottom: 56px; }
.section-icon {
    display: inline-block;
    width: 36px; height: 36px;
    border: 2px solid var(--color-accent);
    margin-bottom: 16px;
}
.section-title {
    font-size: var(--font-size-h2);
    font-weight: 900;
    letter-spacing: .05em;
    line-height: 1.2;
}
.section-subtitle {
    margin-top: 8px;
    font-size: 14px;
    color: var(--color-muted);
    font-weight: 900;
}
.section-light .section-title  { color: #111; }
.section-light .section-subtitle { color: #111; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-bg);
}
.hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%; height: 100%;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.3) 0%, rgba(0,0,0,.7) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero-title {
    font-size: var(--font-size-hero);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
}
.hero-subtitle {
    margin-top: 12px;
    font-size: 16px;
    color: #ccc;
}
.hero-actions { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Ticker / Marquee ─────────────────────────────────────────── */
.ticker-strip {
    background: var(--color-primary);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}
.ticker-inner {
    display: inline-flex;
    gap: 40px;
    animation: ticker 20s linear infinite;
}
.ticker-item {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .1em;
}
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── Dark card ─────────────────────────────────────────────── */
.card-dark {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 32px;
}

/* ── Grid utilities ─────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-grid); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-grid); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-grid); }

/* ── FAQ Accordion ──────────────────────────────────────────── */
.faq-item {
    border-bottom: 1px solid var(--color-border);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: var(--color-text);
    transition: color .2s;
}
.faq-question:hover { color: var(--color-accent); }
.faq-icon {
    font-size: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: transform .25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
}
.faq-answer-inner {
    padding-bottom: 20px;
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* Light theme FAQ */
.section-light .faq-question { color: #111; }
.section-light .faq-item     { border-color: #e8e8e8; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
    background: var(--color-surface);
    padding-top: 56px;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
}

/* Left half */
.footer-half--left {
    display: flex;
    align-items: end;
    gap: 16px;
    flex: 1;
}
.footer-logo img { height: 140px; width: auto; }
.footer-company { display: flex; flex-direction: column; gap: 4px; }
.footer-company-name { font-size: 1.2rem; font-weight: 700; color: var(--color-text); margin-bottom: 0 !important;}
.footer-company-sub  { font-size: 1rem; color: var(--color-text); margin-bottom: 0 !important;}

/* Right half */
.footer-half--right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}
.footer-cols {
    display: flex;
    gap: 40px;
}

.footer-col-title {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--color-accent);
    margin-bottom: 14px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    position: relative;
    display: inline-block;
    font-size: .88rem;
    color: var(--color-text);
    padding-left: 0;
    transition: color .22s ease, transform .22s ease, padding-left .22s ease;
}
.footer-links a::before {
    content: '';
    position: absolute;
    left: -14px; top: 50%;
    transform: translateY(-50%) scale(0);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 6px var(--color-accent);
    transition: transform .22s cubic-bezier(.4, 0, .2, 1), opacity .22s;
    opacity: 0;
}
.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 100%; height: 1px;
    background: var(--color-accent);
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}
.footer-links a:hover {
    color: var(--color-accent);
    transform: translateX(14px);
    padding-left: 0;
}
.footer-links a:hover::before {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}
.footer-links a:hover::after { transform: scaleX(1); }

.footer-cta-wrap { display: flex; justify-content: flex-end; width: 100%; }
.footer-cta-btn {
    white-space: nowrap;
    box-shadow: 0 15px 40px rgba(98, 245, 167, .55), 0 15px 48px rgba(98, 245, 167, .4), 0 45px 100px rgba(98, 245, 167, .52);
    border-radius: 50px;
    padding: 6px 20px;
    width: 25%;
    justify-content: space-around;
}

.footer-bottom {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 20px 24px;
    font-size: 12px;
    color: var(--color-muted);
    text-align: center;
}

/* ── Back to top ─────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid var(--color-accent);
    border-radius: 6px;
    color: var(--color-accent);
    font-size: .9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(107, 236, 164, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--color-accent);
    color: #111;
    box-shadow: 0 0 30px rgba(107, 236, 164, 0.55);
}

/* ── Forms (Contact page — light theme) ─────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #111;
    margin-bottom: 6px;
}
.required-badge {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: var(--color-required);
    padding: 1px 5px;
    border-radius: 2px;
}
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-main);
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: var(--radius-input);
    background: #fff;
    color: #111;
    transition: border-color .2s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.form-checkbox { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #333; cursor: pointer; }
.form-checkbox input { accent-color: var(--color-primary); }

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 36px 28px;
    text-align: center;
}
.pricing-card.featured { border-color: var(--color-accent); }
.pricing-plan { font-size: 13px; font-weight: 700; color: var(--color-accent); margin-bottom: 12px; }
.pricing-price { font-size: 32px; font-weight: 700; color: #fff; }
.pricing-features { margin-top: 20px; text-align: left; }
.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--color-muted);
    border-bottom: 1px solid var(--color-border);
}
.pricing-feature-check { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }

/* ── Comparison table ───────────────────────────────────────── */
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th,
.compare-table td {
    padding: 12px 16px;
    font-size: 13px;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}
.compare-table th { font-weight: 700; color: var(--color-muted); font-size: 12px; text-transform: uppercase; }
.compare-table td:first-child { text-align: left; color: var(--color-muted); }
.compare-check { color: var(--color-accent); font-weight: 700; font-size: 16px; }

/* ══════════════════════════════════════════════════════════════
   HOME PAGE SPECIFIC
   ══════════════════════════════════════════════════════════════ */

/* ── Home Hero ──────────────────────────────────────────────── */
.home-hero {
    position: relative;
    z-index: 0;
    z-index: 0;
    height: calc(100vh - var(--nav-height));
    min-height: 560px;
    max-height: 1000px;
    background: #060b06;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    margin: 0 var(--container-px);
    border-radius: 20px 20px 0 0;
}

@media (max-width: 768px) {
    .home-hero {
        margin: 0;
        border-radius: 0;
        height: calc(100vh - var(--nav-height));
        min-height: 420px;
    }
    .home-hero--full .home-hero__text { width: 100% !important; }
    .home-hero__inner {
        justify-content: space-between !important;
        padding-top: 0;
        gap: 20px;
    }
    .home-hero__products {
        flex: none;
    }
    .home-hero__title {
        white-space: normal;
        font-size: clamp(22px, 7vw, 36px);
    }
    .home-hero--full .home-hero__title {
        white-space: nowrap;
        font-size: clamp(13px, 5vw, 22px);
    }
}

.home-hero--full {
    margin: 0;
    border-radius: 0;
}
.home-hero--full .home-hero__inner {
    justify-content: center;
    padding-bottom: 64px;
}
.home-hero--full .home-hero__text {
    width: 72%;
}
.home-hero--full .home-hero__title {
    font-size: clamp(15px, 3.2vw, 40px);
}

/* Background image/video layer (used on software page hero) */
.home-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    pointer-events: none;
    filter: brightness(0.8);
    overflow: hidden;
}
.home-hero__bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.home-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,11,6,.88) 0%, rgba(6,11,6,.2) 35%, transparent 60%);
}

/* Radial green glow at bottom-center */
.home-hero__bg-grad {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 110%, rgba(26,107,58,.55) 0%, transparent 70%),
        #060b06;
}

.home-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    padding-top: 52px;
    padding-bottom: 0;
    width: 100%;
    height: 100%;
}

/* Text block */
.home-hero__text {
    text-align: center;
    position: relative;
    z-index: 2;
}
.home-hero__title {
    font-family: var(--font-Hind);
    font-size: clamp(16px, 4.5vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .05em;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
}
.home-hero__sub {
    margin-top: 14px;
    font-size: clamp(13px, 2vw, 16px);
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: .07em;
}
.home-hero__actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: nowrap;
}
.home-hero__actions .btn-primary,
.home-hero__actions .btn-outline {
    min-width: 0;
    font-size: clamp(12px, 3vw, 14px);
    padding: clamp(9px, 2vw, 12px) clamp(14px, 4vw, 28px);
}

/* Products image row */
.home-hero__products {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    bottom: 0;
    gap: 0;
    width: 100%;
    max-width: clamp(480px, 44vw, 680px);
    flex: none;
    min-height: 0;
    overflow: visible;
}
.home-hero__prod-img {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.home-hero__prod-img picture {
    display: block;
    width: 100%;
}
.home-hero__prod-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: bottom center;
    max-height: 56vh;
}

/* Bottom green glow line */
.home-hero__glow {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 180px;
    /* thin bright line at bottom + radial halo spreading upward */
    background:
        linear-gradient(to right, transparent 8%, var(--color-accent) 50%, transparent 92%)
            bottom / 100% 4px no-repeat,
        radial-gradient(ellipse 72% 100% at 50% 100%,
            rgba(107,236,164,.48)  0%,
            rgba(107,236,164,.18) 45%,
            transparent           72%);
    z-index: 1;          /* behind .home-hero__inner (z-index: 2) */
    pointer-events: none;
}

/* ── Section icon (logo image) ──────────────────────────────── */
.section-icon-img {
    display: inline-block;
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-bottom: 16px;
    /*filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(118%) contrast(119%);*/
}

/* ── Product Cards (Which SQG) ──────────────────────────────── */
.which-section {
    padding-top: 72px;
    padding-bottom: 80px;
    background: #fff;
    overflow: hidden;
    overflow: hidden;
}
.which-section .section-title  { color: #111; font-family: var(--font-Hind);}
.which-section .section-subtitle { color: #111; font-family: var(--font-Hind); }

/* Product cards — Bootstrap row handles columns; keep padding wrapper */
.product-cards {
    padding: 0 40px;
}
.product-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 440px;
    height: 100%;          /* fill Bootstrap col height */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid #e0e0e0;
}
.product-card__bg {
    position: absolute;
    inset: 0;
}
.product-card__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
}
/* No overlay — image shows naturally, gradient only at bottom for text readability */
.product-card__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    /*background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(0,8,0,.82) 100%
    );*/
}
.product-card__body {
    position: relative;
    z-index: 2;
    padding: 28px 28px 72px;
}
.product-card__name {
    font-family: var(--font-corporate);
    font-size: clamp(1.6rem, 4.5vw, 3rem); /* fallback — JS overrides via inline style */
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 4px;
    line-height: 1.2;
    white-space: nowrap;
}
.product-card__tagline {
    font-size: .88rem;
    color: var(--color-text);
    margin-bottom: 16px;
    font-weight: 600;
}
.product-card__features {
    margin-bottom: 20px;
}
.product-card__features li {
    font-size: .88rem;
    color: var(--color-text);
    padding: 3px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 600;
}
.check { color: var(--color-accent); font-weight: 700; flex-shrink: 0; }

.product-card__btn {
    font-size: 1rem;
    padding: 10px 22px;
    width: 40%;
    justify-content: center;
}

.product-card__arrow {
    position: absolute;
    bottom: 40px;
    right: 50px;
    width: 55px;
    height: 55px;
    border: 1.5px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 35px;
    z-index: 2;
    transition: background .2s, color .2s;
    background: radial-gradient(#00000042, transparent);
}
.product-card__arrow:hover { background: var(--color-accent); color: #111; }

/* ── Software Block ──────────────────────────────────────────── */
.software-block { padding: 0 0 0; padding-bottom: 80px; }

.software-card {
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "title title"
        "left  right";
    align-items: start;
    gap: 0;
    position: relative;
    min-height: 500px;
}

/* Background image layer — brightness only affects this element */
.software-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    background-image: var(--bg-desktop);
    filter: brightness(1.5);
    z-index: 0;
}

/* Dark overlay — above bg image, below content */
.software-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(5,15,5,.55) 0%,
        rgba(5,15,5,.35) 45%,
        rgba(5,15,5,.1) 100%
    );
    z-index: 1;
}
/* Animatable properties for the glow — inherits: true so GSAP can drive from parent */
@property --glow-x {
    syntax: '<percentage>';
    inherits: true;
    initial-value: 115%;
}
@property --glow-y {
    syntax: '<percentage>';
    inherits: true;
    initial-value: 115%;
}
@property --glow-r {
    syntax: '<length>';
    inherits: true;
    initial-value: 160px;
}

/* Glow blob — position/size driven by GSAP ScrollTrigger via parent custom props */
.software-card {
    --glow-x: 115%;
    --glow-y: 115%;
    --glow-r: 160px;
}
.software-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle var(--glow-r) at var(--glow-x) var(--glow-y),
        rgba(107,236,164,.80)  0%,
        rgba(107,236,164,.42) 35%,
        rgba(107,236,164,.14) 65%,
        transparent           100%
    );
    filter: blur(28px);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 2;
}

/* Title row spans both columns */
.software-card__title-row {
    grid-area: title;
    position: relative;
    z-index: 2;
    padding: 52px 52px 20px 52px;
}

.software-card__left {
    grid-area: left;
    position: relative;
    z-index: 2;
    padding: 4px 40px 52px 52px;
}
.software-card__right {
    grid-area: right;
    position: relative;
    z-index: 1;
    display: none;
}

.software-card__title {
    font-family: var(--font-corporate);
    font-size: clamp(35px, 4vw, 66px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}
.software-card__list {
    margin-bottom: 28px;
}
.software-card__list li {
    font-size: clamp(.88rem, 2vw, 14px);
    font-weight: 600;
    color: var(--color-text);
    padding: 5px 0;
    padding-left: 14px;
    position: relative;
    line-height: 1.65;
}
.software-card__list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    transition: color .25s ease, text-shadow .25s ease;
}
.software-card__list li:hover::before {
    color: #fff;
    text-shadow:
        0 0 6px var(--color-accent),
        0 0 14px var(--color-accent),
        0 0 28px rgba(107,236,164,.6);
}
.muted-sm { font-size: 11.5px; color: #888; }
.software-card__btns { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #fff;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: var(--radius-btn);
    background: transparent;
    transition: background .2s, color .2s;
}
.btn-outline-white:hover { background: #fff; color: #111; }

/* ── Ticker ─────────────────────────────────────────────────── */
.ticker-wrap {
    overflow: hidden;
    display: flex;
    align-items: stretch;
}
.ticker-track {
    display: flex;
    flex-shrink: 0;
    animation: tickerMove 22s linear infinite;
    will-change: transform;
}
.ticker-word {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: .06em;
    padding: 18px 36px;
    border-right: 2px solid #222;
    line-height: 1;
    border-bottom: 3px solid var(--color-accent);
}
.ticker-word:nth-child(odd)  { background: var(--color-surface); color: var(--color-text); border-left: 1px solid var(--color-accent);border-right: 1px solid var(--color-accent);}
.ticker-word:nth-child(even) { background: var(--color-surface); color: var(--color-accent); border-left: 1px solid var(--color-accent);border-right: 1px solid var(--color-accent);}
.ticker-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}
.ticker-word:nth-child(odd)  .ticker-logo { filter: invert(0) brightness(3); }
.ticker-word:nth-child(even) .ticker-logo { filter: none; }
@keyframes tickerMove {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── FAQ Section ─────────────────────────────────────────────── */
.faq-section {
    position: relative;
    padding: 80px 0 96px;
    overflow: hidden;
}
.faq-section__bg {
    position: absolute;
    inset: 0;
}
.faq-section__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}
.faq-section__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
}
.faq-section__body { position: relative; z-index: 2; }
.faq-section__title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 900;
    color: #fff;
    margin-bottom: 4px;
}
.faq-section__sub {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .12em;
    margin-bottom: 40px;
}
.faq-section .section-header { margin-bottom: 0; }

/* FAQ cards style (home) */
.home-faq { max-width: 800px; margin: 0 auto; }

.faq-card {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    /* background color animated by GSAP — no CSS transition needed */
}
.faq-card.open {
    background: var(--color-accent); /* fallback if JS disabled */
}

.faq-card__q {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: transparent;
    font-family: var(--font-main);
    font-size: 13.5px;
    font-weight: 600;
    color: #111;
    text-align: left;
    cursor: pointer;
    transition: color .2s;
}
.faq-card.open .faq-card__q { color: #111; }
.faq-card__q:hover { color: var(--color-primary); }

.faq-q-icon {
    flex-shrink: 0;
    width: 26px; height: 26px;
    background: var(--color-accent);
    color: #111;
    font-size: 12px;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* color animated by GSAP */
}
.faq-card.open .faq-q-icon {
    background: #fff; /* fallback if JS disabled */
    color: #111;
}

.faq-q-text { flex: 1; }
.faq-q-toggle {
    flex-shrink: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 0;
    color: var(--color-primary);
}
/* Thanh ngang — luôn hiện */
.faq-q-toggle::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}
/* Thanh dọc — thu về khi mở */
.faq-q-toggle::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 16px;
    background: currentColor;
    border-radius: 1px;
    transform-origin: center;
    transition: transform .28s ease;
}
.faq-card.open .faq-q-toggle {
    color: #111;
}
.faq-card.open .faq-q-toggle::after {
    transform: rotate(90deg);
}
.faq-card__a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.faq-card.open .faq-card__a { max-height: 300px; }
.faq-card__a-inner {
    padding: 0 20px 18px 58px;
    font-size: 13px;
    color: #111;
    line-height: 1.85;
}

/* その他の質問はこちら button */
.faq-more-wrap {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.btn-faq-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid var(--color-accent);
    color: var(--color-accent);
    font-size: 13px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    transition: color .2s, border-color .2s, box-shadow .2s;
    box-shadow: 0 0 0 0 rgba(74,222,128,0);
}
.btn-faq-more:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 16px 4px rgba(74,222,128,.25);
}

/* ── Shared accent ──────────────────────────────────────────── */
.accent { color: var(--color-accent); }

/* ── Animations (GSAP targets) ──────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(30px); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    :root {
        --container-px: 40px;
        --space-section: 72px;
    }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --container-px: 20px;
        --space-section: 56px;
        --gap-grid: 16px;
    }
    .navbar-menu { display: none; }
    .hamburger   { display: flex; }
    .mobile-menu { display: flex; flex-direction: column; }
    .navbar-actions .lang-switcher { display: none; }
    .mobile-menu { display: flex; flex-direction: column; }
    .navbar-actions .lang-switcher { display: none; }

    .product-card__btn { font-size: 12px; }
    .product-card__bg img { transform: scale(1.16) translateX(4%); }

    /* Arrow nhỏ hơn trên tablet */
    .product-card__arrow {
        width: 44px;
        height: 44px;
        font-size: 26px;
        bottom: 30px;
        right: 30px;
        bottom: 30px;
        right: 30px;
    }

    .grid-2,
    .grid-3,
    .grid-4 { grid-template-columns: 1fr; }

    /* Footer — tablet/mobile */
    .footer-inner { flex-direction: row; gap: 20px; align-items: flex-start; padding: 0 16px; }
    .footer-half--left { flex: 5; flex-direction: column; align-items: flex-start; gap: 10px; }
    .footer-half--right { flex: 7; gap: 16px; }
    .footer-logo img { height: auto; width: 80px; }
    .footer-cols { gap: 16px; }
    .footer-col-title { font-size: 1rem; }
    .footer-links a   { font-size: .875rem; }
    .footer-company-name { font-size: 1.1rem; }
    .footer-company-sub  { font-size: 0.88rem; }
    .form-checkbox-grid { grid-template-columns: repeat(2, 1fr); }

    /* Home specific */
    .product-cards { padding: 0; } /* Bootstrap col handles stacking */
    .software-card__bg { background-image: var(--bg-mobile); }
    .software-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        grid-template-areas: "title" "left";
        padding: 0;
        gap: 0;
    }
    .software-card__title-row { padding: 32px 24px 0; }
    .software-card__title .accent { display: block; }
    .software-card__left { padding: 0 24px 32px; }
    .ticker-word { font-size: 22px; padding: 12px 20px; }
    .home-hero { min-height: 420px; }

    .home-hero__products {
        max-height: 56vh;
        max-width: 90%;
    }
    .home-hero__text{top: 10%;}

    .home-hero__prod-img img {
        max-height: 50vh;
    }

}

/* Mobile: footer CTA full width */
@media (max-width: 768px) {
    .footer-cta-wrap { gap: 20px; }
    .footer-cta-btn  { width: 50%; text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
    /* Arrow rất nhỏ trên mobile */
    .product-card__arrow {
        width: 36px;
        height: 36px;
        font-size: 20px;
        bottom: 30px;
        right: 30px;
        bottom: 30px;
        right: 30px;
    }
    .footer-cta-btn  { width: 100%; text-align: center; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT DETAIL PAGES (sqg-home / sqg-omni)
   ══════════════════════════════════════════════════════════════ */

/* ── Product Hero ───────────────────────────────────────────── */
.prod-hero {
    background: linear-gradient(to bottom, #2a2e2c 0%, #285144 42%, #ffffff 100%);
    padding-bottom: 64px;
}

/* Logo strip centered at top */
.prod-hero__logo-strip {
    text-align: center;
    padding: 36px 0 44px;
}
.prod-hero__logo-strip img {
    height: 56px;
    width: auto;
    filter: brightness(0) invert(1);
    display: inline-block;
}

/* Two-column grid */
.prod-hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: start;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 24px 64px rgba(0,0,0,.22);
}

/* ── Gallery (left col) ── */
.prod-hero__main-wrap {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: rgba(255,255,255,.06);
    cursor: zoom-in !important;
}
.prod-hero__main-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.prod-hero__thumb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}
.prod-hero__thumb-item {
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.18);
    transition: border-color .2s;
    cursor: pointer;
}
.prod-hero__thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prod-hero__thumb-item:hover  { border-color: var(--color-accent); }
.prod-hero__thumb-item.active { border-color: var(--color-accent); }

/* ── Info card (right col) ── */
.prod-hero__info {
    padding: 0;
}
.prod-hero__category {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    margin-bottom: 10px;
    letter-spacing: .04em;
}
.prod-hero__name {
    font-family: var(--font-Hind);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 900;
    color: #0a0c0a;
    text-transform: uppercase;
    letter-spacing: .04em;
    line-height: 1.15;
}
.prod-hero__name-jp {
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 900;
    color: #0a0c0a;
    margin-top: 4px;
}
.prod-hero__price {
    font-family: var(--font-Hind);
    font-size: 30px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 16px 0 18px;
    letter-spacing: .02em;
}
.prod-hero__price small {
    font-size: 13px;
    font-weight: 700;
    color: #111;
    margin-left: 4px;
}
.prod-hero__features {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.prod-hero__features li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
    color: #111;
    font-weight: 600;
    padding: 8px 0;
    line-height: 1.55;
}
.prod-hero__features li::before {
    content: '・';
    color: var(--color-primary);
    flex-shrink: 0;
    font-weight: 700;
}

/* Accessory cross-sell box */
.prod-hero__accessory {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid #e4e8e4;
    border-radius: 10px;
    padding: 20px 15px;
    margin-bottom: 18px;
}
.prod-hero__accessory-img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #eee;
}
.prod-hero__accessory-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prod-hero__accessory-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 3px;
}
.prod-hero__accessory-name {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
}
.prod-hero__accessory-desc {
    font-size: 11px;
    color: #888;
    margin-top: 3px;
    line-height: 1.5;
}

/* Button in accessory box */
.btn-black {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 50px;
    white-space: nowrap;
    transition: opacity .2s;
    flex-shrink: 0;
}
.btn-black:hover { opacity: .78; }

.prod-hero__actions { display: flex; gap: 10px; align-items: center; }
.prod-hero__actions .btn-primary { width: 50%; justify-content: center; }

.prod-hero__divider {
    opacity: 1;
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 18px 0 0;
}

/* Collapse — デバイスの設定 */
.prod-collapse { margin-top: 14px; }
.prod-collapse__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
    border-bottom: 1px solid #e8e8e8;
    text-align: left;
    font-family: inherit;
}
.prod-collapse__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 0;
    color: #999;
}
.prod-collapse__icon::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}
.prod-collapse__icon::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 14px;
    background: currentColor;
    border-radius: 1px;
    transform-origin: center;
    transition: transform .25s ease;
}
.prod-collapse.open .prod-collapse__icon::after {
    transform: rotate(90deg);
}
.prod-collapse__body {
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s ease;
}
.prod-collapse.open .prod-collapse__body { max-height: 600px; }
.prod-collapse__content {
    padding: 14px 0 4px;
    font-size: 11px;
    color: #555;
    line-height: 1.85;
}
.prod-collapse__content ul {
    padding-left: 20px;
    margin: 0;
    list-style-type: disc;
}
.prod-collapse__content ul li {
    margin-bottom: 6px;
    list-style-type: disc;
}
.prod-collapse__content ul li:first-child {
    list-style-type: none;
    margin-left: -20px;
}

.prod-hero__note {
    font-size: 11px;
    color: #aaa;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 900px) {
    .prod-hero__inner { grid-template-columns: 1fr; gap: 32px; }
    .prod-hero__logo-strip { padding: 24px 0 28px; }
}
@media (max-width: 768px) {
    .prod-hero { padding-bottom: 40px; }
    .prod-hero__inner { padding: 20px; }
    .prod-hero__accessory {
        flex-direction: column;
        align-items: flex-start;
    }
    .prod-hero__accessory-img {
        width: 80px;
        height: 80px;
        align-self: center;
    }
}

/* ── Brand Banner ───────────────────────────────────────────── */
.prod-banner img,
.prod-banner video {
    width: 100%;
    height: auto;
    display: block;
    padding: 0 var(--container-px);
}
@media (max-width: 768px) {
    .prod-banner img,
    .prod-banner video {padding: 0;}
}
/* ── Features Section (sticky scroll pin) ──────────────────── */
/* .prod-features height is extended by JS to create scroll space for the slider */
/* .prod-features height is extended by JS to create scroll space for the slider */
.prod-feat-pin {
    position: sticky;
    top: 0;
    padding: var(--space-section) 0 60px;
    overflow: hidden;
}
.prod-features__header {
    text-align: center;
    margin-bottom: 35px;
    padding: 0 var(--container-px);
}
.prod-features__label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: #111;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.prod-features__title {
    font-family: var(--font-Hind);
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 700;
    color: #111;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.prod-features__sub {
    margin-top: 6px;
    font-size: 14px;
    color: #111;
    letter-spacing: .05em;
}

/* Slider */
.prod-feat-slider {
    position: relative;
    overflow: hidden;
    cursor: none;
    user-select: none;
    -webkit-user-select: none;
}
.prod-feat-track {
    display: flex;
    gap: 16px;
    padding: 0 var(--container-px);
    will-change: transform;
}

/* Card — 2.5 visible at once on large screens */
.prod-feat-card {
    position: relative;
    flex: 0 0 calc((100vw - var(--container-px) - 24px) / 2.5);
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
}
/* Portrait variant (omni) — 3 cards visible, taller ratio */
.prod-feat-slider--portrait .prod-feat-card {
    flex: 0 0 calc((100vw - var(--container-px) - 32px) / 3);
    height: clamp(340px, 60vh, 555px);
    aspect-ratio: 3/4;
}
.prod-feat-card__bg {
    position: absolute;
    inset: 0;
}
.prod-feat-card__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .55s ease;
}


/* Bottom-half green glow — xuất hiện khi hover */
.prod-feat-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50%;
    z-index: 1;
    background: linear-gradient(to top, rgba(12,129,63,.92) 0%, rgba(12,129,63,0) 100%);
    opacity: 0;
    transition: opacity .38s ease;
    pointer-events: none;
}
.prod-feat-card:hover::before { opacity: 1; }

/* Body — luôn giữ gradient đen phía trên */
.prod-feat-card__body {
    position: relative;
    z-index: 2;
    padding: 22px 20px 36px;
    background: linear-gradient(to bottom, rgba(0,0,0,.85) 60%, rgba(0,0,0,0) 100%);
}
.prod-feat-card__title {
    display: block;
    font-family: var(--font-corporate);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-accent);
    margin-bottom: 10px;
    line-height: 1.4;
}
.prod-feat-card__desc {
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.8;
}

/* Custom drag cursor */
.prod-feat-drag-cursor {
    position: absolute;
    top: 0; left: 0;
    width: 68px; height: 68px;
    border-radius: 50%;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(.8);
    z-index: 20;
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
    box-shadow: 0 4px 24px rgba(107,236,164,.4);
}
.prod-feat-drag-cursor.is-visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
.prod-feat-drag-cursor svg { width: 28px; height: 28px; color: #0a0c0a; }

/* Hide base custom cursor while drag cursor is active */
/* body.feat-drag-active .sqg-cursor,
body.feat-drag-active .sqg-cursor-ring { opacity: 0 !important; transition: none !important; } */

/* Progress bar */
.prod-feat-progress-wrap {
    padding: 24px var(--container-px) 0;
}
.prod-feat-progress {
    height: 5px;
    background: rgba(255,255,255,.12);
    border-radius: 2px;
}
.prod-feat-progress__fill {
    height: 100%;
    background: var(--color-accent);
    border-radius: 2px;
    width: 25%;
    transition: width .08s linear;
}

/* ── Specs Section ──────────────────────────────────────────── */
.prod-specs {
    font-family: var(--font-Hind);
    background: #0a0c0a;
    padding: var(--space-section) 0;
    position: relative;
}
.prod-specs::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(12,129,63,.92) 0%, rgba(12,129,63,0) 100%);
    pointer-events: none;
}
.prod-specs__header {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-bottom: 52px;
}
.prod-specs__heading {
    flex: 0 0 50%;
}
.prod-specs__label {
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.prod-specs__title {
    font-family: var(--font-Hind);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.prod-specs__title span { display: block; white-space: nowrap; }
.prod-specs__sub {
    flex: 1;
    font-size: .88rem;
    font-weight: 600;
    line-height: 1.8;
    text-align: start;
}
.prod-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    overflow: hidden;
}
.prod-spec-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: rgb(27 27 27);
    border: 1px solid rgb(96 96 96);
    border-radius: 10px;
    transition: background .2s;
}
.prod-spec-item:hover { background: rgba(0, 255, 115, 0.15); }
.prod-spec-item__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    opacity: .85;
}
.prod-spec-item__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1);
}
.prod-spec-item__label {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.prod-spec-item__val {
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.65;
}

/* ── Software Cross-sell ────────────────────────────────────── */
.prod-software {
    padding: var(--space-section) 0;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
    .prod-hero__inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
    .prod-hero { padding: 20px 0 48px; }
    .prod-spec-grid { grid-template-columns: 1fr; }
    .prod-feat-card { flex: 0 0 76vw; height: 340px; }
    .prod-feat-slider--portrait .prod-feat-card { flex: 0 0 76vw; height: 420px; }
    .prod-feat-pin { padding: 80px 0 60px; }
    .prod-specs__header { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 640px) {
    #featSection { height: auto !important; }
    .prod-feat-pin { position: static; padding: 60px 0 40px; }
    .prod-feat-slider { overflow: visible; }
    .prod-feat-track { flex-direction: column; gap: 20px; padding: 0 var(--container-px); }
    .prod-feat-card,
    .prod-feat-slider--portrait .prod-feat-card { flex: none; width: 100%; height: 260px; aspect-ratio: unset; }
    .prod-feat-drag-cursor { display: none; }
    .prod-feat-progress-wrap { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   PRICING PAGE
   ══════════════════════════════════════════════════════════════ */

/* ── Hero ───────────────────────────────────────────────────── */
.pricing-hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    max-height: 1000px;
    background: #060b06;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    margin: 0 var(--container-px);
    border-radius: 20px 20px 0 0;
}
.pricing-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    opacity: 1;
    pointer-events: none;
}
.pricing-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,11,6,.88) 0%, rgba(6,11,6,.2) 35%, transparent 60%);
}
.pricing-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: flex-start;
    padding-top: clamp(80px, 18vh, 200px);
    padding-bottom: 48px;
    width: 100%;
    text-align: left;
}
.pricing-hero__text {
    width: 50%;
}
.pricing-hero__label {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .22em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 18px;
}
.pricing-hero__title {
    font-family: var(--font-Hind);
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    letter-spacing: .04em;
    margin-bottom: 16px;
    white-space: nowrap;
}
.pricing-hero__sub {
    font-size: .88rem;
    line-height: 1.8;
    max-width: 70%;
}
.pricing-hero__glow {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 180px;
    background:
        linear-gradient(to right, transparent 8%, var(--color-accent) 50%, transparent 92%)
            bottom / 100% 4px no-repeat,
        radial-gradient(ellipse 72% 100% at 50% 100%,
            rgba(107,236,164,.48)  0%,
            rgba(107,236,164,.18) 45%,
            transparent           72%);
    z-index: 1;
}

/* ── Pricing section ────────────────────────────────────────── */
.pricing-section {
    background: #fff;
    padding: var(--space-section) 0;
    margin: 0 var(--container-px);
    color: #111;
}
@media (min-width: 1200px) {
    .pricing-section { margin: 0 calc(var(--container-px) + 50px); }
}

/* ── Main explanation card ──────────────────────────────────── */
.pricing-main-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: #111;
    border-radius: 20px;
    padding: 35px 20px;
    margin-bottom: 48px;
    color: #fff;
}

.pricing-main-card__stripe {
    position: absolute;
    left: -4.5px;
    top: 10%;
    bottom: 50%;
    width: 10px;
    background: var(--color-accent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(107,236,164,.6);
}
.pricing-main-card__info{
    padding: 0 20px;
}
.pricing-main-card__title {
    font-size: clamp(20px, 2.4vw, 28px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}
.pricing-main-card__desc {
    font-size: .88rem;
    line-height: 1.9;
    margin-bottom: 24px;
}

/* Credits display */
.credits-display {
    border-radius: 16px;
    overflow: hidden;
}
.credits-display img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    cursor: zoom-in;
}
.credits-pkg__btn {
    display: block;
    margin-top: 8px;
    font-size: 9px;
    font-weight: 700;
    color: var(--color-accent);
    background: rgba(107,236,164,.15);
    border-radius: 4px;
    padding: 3px 4px;
    letter-spacing: .05em;
}

/* ── Plan cards ─────────────────────────────────────────────── */
.pricing-plans {
    font-family: var(--font-Hind) !important;
    display: grid;
    grid-template-columns: 3fr 4fr 5fr;
    gap: 20px;
}
.plan-card {
    border-radius: 16px;
    padding: clamp(20px, 2.2vw, 32px) clamp(16px, 1.8vw, 24px);
    display: flex;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.06);
}
.plan-card--free     { background: #f5f6f2; color: #111; }
.plan-card--included { background: #0e1a12; color: #fff; border: 1px solid rgba(107,236,164,.25); box-shadow: 0 4px 32px rgba(0,0,0,.28), 0 0 40px rgba(107,236,164,.12); }
.plan-card--purchase { background: #111; color: #fff; box-shadow: 0 4px 32px rgba(0,0,0,.32), 0 1px 4px rgba(0,0,0,.18); }

.plan-card__title {
    display: block;
    width: 100%;
    background: var(--color-accent);
    color: #0a0c0a;
    border-radius: 50px;
    padding: 9px 16px;
    font-size: clamp(0.8rem, 1.1vw, 1rem);
    font-weight: 900;
    letter-spacing: .02em;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
}

.plan-card__subtitle {
    font-size: clamp(11px, 0.9vw, 13px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.plan-card__list { list-style: none; padding: 0; flex: 1; font-weight: 600; }
.plan-card__list li {
    font-size: .88rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
    line-height: 1.55;
    color: #444;
}
.plan-card--included .plan-card__list li,
.plan-card--purchase .plan-card__list li { border-bottom-color: rgba(255,255,255,.07); color: rgba(255,255,255,.8); }
.plan-card__list li:last-child { border-bottom: none; }

.plan-card__price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
    width: 100%;
}
.plan-card__price-yen {
    font-size: 13px;
    color: rgba(255,255,255,.9);
    white-space: nowrap;
}
.plan-card__price-cr {
    font-family: var(--font-Hind);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-accent);
    white-space: nowrap;
}
.plan-card__price-rounds {
    font-size: 11px;
    color: rgba(255,255,255,.45);
    white-space: nowrap;
}

/* ── Pricing responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .pricing-hero__bg { filter: brightness(0.6); }
}
@media (max-width: 768px) {
    .pricing-hero__inner{top: 5%;}
    .pricing-hero__bg { filter: brightness(0.45); }
    .pricing-hero__sub {max-width: 100%;}
}
@media (max-width: 900px) {
    .pricing-main-card   { grid-template-columns: 1fr; }
    .pricing-plans       { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .pricing-hero { margin: 0; border-radius: 0; }
    .pricing-hero__text { width: 100%; }
    .pricing-section { margin: 0 16px; }
    .pricing-main-card { padding: 32px 24px; }
    .plan-card { padding: 24px 20px; }
    .credits-pkgs { flex-wrap: wrap; }
    .credits-pkg { flex: 0 0 calc(50% - 4px); }
}

/* ══════════════════════════════════════════════════════════════
   SUPPORT PAGE
   ══════════════════════════════════════════════════════════════ */

/* ── Support Setup ────────────────────────────────────────────── */
.supp-setup {
    padding: var(--space-section) 0;
    background: #f4f5f0;
}
.supp-setup-card {
    font-family: var(--font-Hind);
    background: #111;
    border-radius: 20px;
    padding: 48px 52px;
    color: #fff;
}
.supp-setup-row {
    display: grid;
    grid-template-columns: 55% 1fr;
    gap: 15px;
    align-items: center;
}
.supp-setup-row__img {
    height: 80%;
    width: 95%;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    aspect-ratio: 3 / 3;
}
.supp-setup-row__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.supp-setup-row__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.supp-setup-row__title {
    font-size: clamp(13px, 1.4vw, 19px);
    font-weight: 900;
    letter-spacing: .1em;
    color: var(--color-accent);
    margin-bottom: clamp(12px, 1.5vw, 20px);
    text-transform: uppercase;
}
.supp-setup-row__steps {
    list-style: none;
    counter-reset: supp-step;
    padding: 0;
    margin: 0 0 clamp(16px, 2vw, 28px);
}
.supp-setup-row__steps li {
    counter-increment: supp-step;
    display: flex;
    align-items: baseline;
    gap: clamp(8px, 1vw, 12px);
    font-size: clamp(12px, 1.2vw, 16px);
    font-weight: 600;
    color: rgba(255,255,255,.82);
    padding: clamp(6px, 0.8vw, 9px) 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    line-height: 1.6;
}
.supp-setup-row__steps li:last-child { border-bottom: none; }
.supp-setup-row__steps li::before {
    content: counter(supp-step);
    font-family: var(--font-Hind);
    font-weight: 700;
    font-size: clamp(10px, 1vw, 12px);
    color: var(--color-accent);
    background: rgba(107,236,164,.12);
    border-radius: 50%;
    width: clamp(18px, 1.8vw, 22px);
    height: clamp(18px, 1.8vw, 22px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}
.supp-manual-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-accent);
    color: #111;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 24px;
    border-radius: 6px;
    transition: opacity .2s, transform .2s;
    letter-spacing: .03em;
}
.supp-manual-btn:hover { opacity: .86; transform: translateY(-2px); color: #fff; }
.supp-setup-divider {
    height: 1px;
    background: rgba(255,255,255,.1);
    margin: 44px 0;
}

/* ── Support FAQ section ──────────────────────────────────────── */
.supp-faq-section {
    padding: var(--space-section) 0;
    background: #fff;
}
.supp-section-header .section-title   { color: #111; }
.supp-section-header .section-subtitle { color: #666; }

.sfaq-category { margin-bottom: 52px; }
.sfaq-category__label {
    display: inline-block;
    background: var(--color-accent);
    color: #0a0c0a;
    border-radius: 50px;
    padding: 10px 26px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.sfaq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: start;
}
.sfaq-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.09);
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    overflow: hidden;
    transition: box-shadow .22s, border-color .22s;
}
.sfaq-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.sfaq-card.open  { border-color: transparent; box-shadow: 0 4px 24px rgba(107,236,164,.25); }
.sfaq-card__q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-main);
}
.sfaq-card__q-text {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    line-height: 1.55;
    flex: 1;
    transition: color .22s;
}
.sfaq-card.open .sfaq-card__q-text { color: #0a0c0a; }
.sfaq-card__toggle {
    flex-shrink: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    font-size: 0;
    color: var(--color-primary);
}
.sfaq-card__toggle::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}
.sfaq-card__toggle::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 12px;
    background: currentColor;
    border-radius: 1px;
    transform-origin: center;
    transition: transform .25s ease;
}
.sfaq-card.open .sfaq-card__toggle::after {
    transform: rotate(90deg);
}
.sfaq-card__a {
    overflow: hidden;
    height: 0;
}
.sfaq-card__a-inner {
    padding: 0 18px 18px;
    font-size: 13px;
    color: #1a1a1a;
    line-height: 1.85;
}

/* ── Support responsive ───────────────────────────────────────── */
@media (max-width: 960px) {
    .supp-setup-row { grid-template-columns: 50% 1fr; gap: 24px; }
    .sfaq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .supp-setup-card { padding: 28px 24px; }
    .supp-setup-row { grid-template-columns: 1fr; }
    .supp-setup-row__img { aspect-ratio: 16/9; width: 100%;}
}

/* ══════════════════════════════════════════════════════════════
   PRIVACY PAGE
   ══════════════════════════════════════════════════════════════ */
.priv-section {
    background: #fff;
    padding: calc(var(--nav-height) + 72px) 0 112px;
    min-height: 100vh;
}
.priv-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-px);
    font-weight: 600;
}
.priv-header {
    text-align: center;
    margin-bottom: 56px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}
.priv-title {
    font-family: var(--font-Hind);
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 900;
    color: #111;
    letter-spacing: .01em;
    margin-bottom: 10px;
}
.priv-sub {
    font-size: 1rem;
    font-weight: 800;
    color: #999;
    letter-spacing: .1em;
}
.priv-lead {
    font-size: 13px;
    color: #444;
    line-height: 2;
    margin-bottom: 48px;
}
.priv-article {
    margin-bottom: 40px;
}
.priv-article__h {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}
.priv-article__h::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    min-width: 10px;
    background: var(--color-primary);
    border-radius: 1px;
}
.priv-body {
    font-size: 13px;
    color: #444;
    line-height: 2;
    margin-bottom: 10px;
}
.priv-list {
    list-style: none;
    padding: 0;
    margin: 6px 0 10px 4px;
}
.priv-list li {
    font-size: 13px;
    color: #444;
    line-height: 2;
    padding-left: 1em;
    text-indent: -1em;
}
.priv-list li::before { content: '・'; }
.priv-list--sub {
    margin-left: 20px;
}
.priv-contact {
    font-size: 13px;
    color: #444;
    line-height: 2.4;
}
.priv-contact a { color: var(--color-primary); }
@media (max-width: 768px) {
    .priv-inner { padding: 0 var(--container-small-px); }
    .priv-section { padding-top: calc(var(--nav-height) + 48px); }
}

/* ════════════════════════════
   CONTACT PAGE
════════════════════════════ */
.contact-section { background: var(--color-bg-light); min-height: 100vh; padding: 80px 0; }
.contact-wrap { max-width: 880px; margin: 0 auto; padding: 64px 32px; display: grid; grid-template-columns: 1fr; gap: 80px; align-items: start; box-shadow: 0 4px 32px rgba(0,0,0,0.10); }

.contact-left { position: static; top: 100px; }

.contact-form { display: flex; flex-direction: column; gap: 24px; }
.cf-group { display: flex; flex-direction: column; gap: 8px; }
.cf-label { font-size: 0.85rem; font-weight: 600; color: #333; display: flex; align-items: center; gap: 8px; }
.cf-required { font-family: monospace; font-size: 0.6rem; letter-spacing: 0.08em; background: var(--color-primary); color: #fff; padding: 2px 8px; border-radius: 3px; font-weight: 700; }

.cf-input, .cf-select, .cf-textarea { width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: var(--radius-input); font-family: var(--font-main); font-size: 0.9rem; color: #111; background: #fff; transition: border-color 0.25s ease, box-shadow 0.25s ease; outline: none; appearance: none; }
.cf-input:focus, .cf-select:focus, .cf-textarea:focus { border-color: var(--color-primary); }
.cf-textarea { resize: vertical; min-height: 120px; }
.cf-select-wrap { position: relative; }
.cf-select { padding-right: 40px; cursor: pointer; }
.cf-select-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 0.75rem; color: #888; pointer-events: none; }
.cf-error { display: none; font-size: 0.78rem; color: #e74c3c; margin-top: 4px; }
.cf-addr-wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 10px; align-items: center; }
@media (max-width: 576px) { .cf-addr-wrap { grid-template-columns: 1fr; } }
.cf-check-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-top: 4px; }
.cf-check-item { display: flex; align-items: center; gap: 6px; font-size: 0.88rem; color: #333; cursor: pointer; user-select: none; }
.cf-check-item input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--color-primary); cursor: pointer; flex-shrink: 0; }

.cf-submit-wrap { display: flex; justify-content: center; align-items: center; margin-top: 8px; }
.cf-submit { display: inline-flex; align-items: center; gap: 12px; padding: 14px 32px; background: var(--color-primary); color: #fff; border: none; border-radius: 50px; font-family: var(--font-main); font-size: 1rem; font-weight: 700; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.cf-submit:hover { transform: scale(1.04); box-shadow: 0 0 20px rgba(12,129,63,0.45); }
.cf-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.cf-submit-icon { width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,0.15); display: flex; align-items: center; justify-content: center; }

.cf-success { display: none; flex-direction: column; align-items: center; text-align: center; padding: 60px 20px; gap: 20px; }
.cf-success-icon { width: 80px; height: 80px; border-radius: 50%; border: 2px solid rgba(12,129,63,0.25); display: flex; align-items: center; justify-content: center; }
.cf-success-title { font-family: var(--font-Hind); font-size: 1.4rem; font-weight: 700; color: #111; }
.cf-success-msg { font-size: 0.88rem; color: #666; line-height: 1.8; }

.cf-error-banner { display: none; padding: 14px 20px; background: rgba(231,76,60,0.08); border: 1px solid rgba(231,76,60,0.3); border-radius: 8px; font-size: 0.88rem; color: #e74c3c; margin-bottom: 16px; }

@media (max-width: 768px) {
  .contact-wrap { gap: 40px; padding: 40px 20px; }
  .contact-left { position: static; }
  .contact-section { padding: 40px 0; }
}

/* reCAPTCHA v3 badge — hidden; required disclosure text added next to the submit button instead */
.grecaptcha-badge { display: none !important; }

/* [TMP] Ẩn tạm EN / TH / ZH, chỉ hiện 日本語 */
.lang-opt[data-lang="en"],
.lang-opt[data-lang="th"],
.lang-opt[data-lang="zh"] { display: none !important; }
.cf-recaptcha-notice { margin-top: 14px; font-size: 0.74rem; line-height: 1.6; color: #999; text-align: center; }
.cf-recaptcha-notice a { color: #999; text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   SOFTWARE PAGE — square-golf.php
   ══════════════════════════════════════════════════════════════ */

/* dark body on all-dark pages */
body.page-dark { background: var(--color-bg); }

/* ── Hero overrides (software variant) ─────────────────────── */
.home-hero__products:has(.home-hero__prod-img--sw) {
    max-width: 100%;
    align-items: flex-end;
}

.home-hero__prod-img--sw {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    /* escape container padding to fill full hero width */
    margin-left: calc(-1 * var(--container-px));
    margin-right: calc(-1 * var(--container-px));
    width: calc(100% + 2 * var(--container-px));
    max-width: none;
    opacity: .88;
}
.home-hero__prod-img--sw picture {
    display: block;
    width: 100%;
}
.home-hero__prod-img--sw img {
    width: 100%;
    max-height: 50vh;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 24px 64px rgba(0,0,0,.55);
}

/* ── Intro section ──────────────────────────────────────────── */
.sw-intro-section {
    background: var(--color-bg);
    padding: 72px 0 40px;
}
.sw-intro-header {
    text-align: center;
}
.sw-intro-title {
    font-family: var(--font-Hind);
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 800;
    color: #fff;
    letter-spacing: .02em;
    margin-bottom: 18px;
}
.sw-intro-desc {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.9;
    max-width: 660px;
    margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════
   4-SLIDE PINNED MODES SECTION
   ══════════════════════════════════════════════════════════════ */
.sw-modes-wrap {
    background: var(--color-bg);
    padding: var(--nav-height) 0 80px;
}
.sw-modes-container {
    position: relative;
    width: 100%;
}

/* Right-side navigation dots */
/* Navigation dots — fixed; JS toggles sw-dots--visible while section in view */
.sw-modes-dots {
    position: fixed;
    right: 20px;
    top: 50vh;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.sw-modes-dots.sw-dots--visible {
    opacity: 1;
    pointer-events: auto;
}
.sw-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(107,236,164,.22);
    border: 1.5px solid rgba(107,236,164,.35);
    cursor: pointer;
    transition: background .25s;
}
.sw-dot:hover {
    background: rgba(107,236,164,.45);
}
/* Sliding indicator — moves over the active dot position */
.sw-dot-indicator {
    position: absolute;
    top: 0;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    margin-top: -1px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 8px rgba(107,236,164,.7);
    pointer-events: none;
    z-index: 1;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.sw-modes-card {
    background: #111a11;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 22px 36px 18px;
    position: relative;
}
.sw-modes-card::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 10%;
    bottom: 60%;
    width: 5px;
    background: var(--color-accent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(107,236,164,.6);
    pointer-events: none;
}
@media (max-width: 768px) {
    .sw-modes-card::before {
        top: 5%;
        bottom: 85%;
    }
}

/* Sticky scroll two-column layout */
.sw-sticky-layout {
    display: grid;
    grid-template-columns: 52% 1fr;
    gap: 24px;
    align-items: start;
}
.sw-sticky-img-col {
    position: sticky;
    top: calc(var(--nav-height) + 20px);
    overflow: visible;
}
/* Stack all img-cols; only .is-active fades in */
.sw-img-stack {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}
.sw-img-stack .sw-slide__img-col {
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}
.sw-img-stack .sw-slide__img-col.is-active { opacity: 1; }
/* Main video player container */
.sw-slide__img-main {
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,.45);
    cursor: pointer;
    width: 100%;
    aspect-ratio: 16 / 9;
}
/* Bottom gradient vignette */
/*.sw-slide__img-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.45) 100%);
    z-index: 1;
    pointer-events: none;
}*/
/* Play button overlay */
.sw-slide__img-main--video::after { display: none; }
.sw-slide__img-main--video video { filter: none; }

/* ── Fullscreen portal (body-level, avoids GSAP pin section) ── */
.sw-fs-portal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sw-fs-portal__close {
    position: absolute;
    top: 16px; right: 16px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    z-index: 1;
}
.sw-fs-portal__close:hover { background: rgba(255,255,255,.35); }

/* ── Custom video controls overlay ── */
.sw-vid-controls {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,.55));
    opacity: 0;
    transition: opacity .2s;
    z-index: 6;
    pointer-events: none;
}
.sw-slide__img-main--video:hover .sw-vid-controls,
.sw-slide__img-main--video:fullscreen .sw-vid-controls,
.sw-slide__img-main--video:-webkit-full-screen .sw-vid-controls {
    opacity: 1;
    pointer-events: auto;
}
.sw-vid-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
}
.sw-vid-btn:hover { background: rgba(255,255,255,.15); }
.sw-vid-btn svg { width: 20px; height: 20px; display: block; }
/* play/pause icon toggle */
.sw-vid-btn--play .icon-pause { display: none; }
.sw-vid-btn--play.is-playing .icon-play  { display: none; }
.sw-vid-btn--play.is-playing .icon-pause { display: block; }
/* fullscreen button sits at far right */
.sw-vid-btn--fs {
    position: absolute;
    bottom: 10px; right: 10px;
    background: rgba(10,12,10,.65);
    border: 1px solid rgba(107,236,164,.5);
    border-radius: 6px;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Fullscreen state: video fills the screen, controls visible */
.sw-slide__img-main--video:fullscreen,
.sw-slide__img-main--video:-webkit-full-screen {
    background: #000;
}
.sw-slide__img-main--video:fullscreen video,
.sw-slide__img-main--video:-webkit-full-screen video {
    object-fit: contain;
    width: 100%; height: 100%;
}
.sw-slide__img-main::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(10,12,10,.58);
    border: 1.5px solid rgba(107,236,164,.6);
    box-shadow: 0 0 20px rgba(107,236,164,.2);
    color: var(--color-accent);
    font-size: 17px;
    line-height: 52px;
    text-align: center;
    text-indent: 3px;
    z-index: 2;
    pointer-events: none;
    transition: transform .22s ease, border-color .22s, box-shadow .22s, background .22s;
}
.sw-slide__img-main:hover::after {
    transform: translate(-50%, -50%) scale(1.14);
    border-color: var(--color-accent);
    box-shadow: 0 0 28px rgba(107,236,164,.45);
    background: rgba(107,236,164,.18);
}
.sw-slide__img-main img,
.sw-slide__img-main video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(1.15);
}
/* Overlay img injected by JS — covers video; updated via .src = url */
.sw-slide__img-main .sw-main-poster {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
/* 2×2 thumbnail grid below main video */
.sw-slide__thumbs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
    row-gap: clamp(30px, 4vh, 40px);
    padding-top: 30px;
}
.sw-thumb {
    position: relative;
    border: 1px solid var(--color-border);
    overflow: visible;
    background: #0c130c;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    transition: border-color .25s, box-shadow .25s;
}
.sw-thumb:hover {
    border-color: rgba(107,236,164,.45);
    box-shadow: 0 0 0 1px rgba(107,236,164,.12);
}
.sw-thumb--active {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px var(--color-accent);
}
.sw-thumb img,
.sw-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: .85;
    filter: brightness(1.1);
}
.sw-thumb__label {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-100%);
    font-size: 10px;
    font-weight: 700;
    color: #0a0f0a;
    background: var(--color-accent);
    padding: 3px 18px 3px 10px;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
    z-index: 2;
    white-space: nowrap;
    letter-spacing: .06em;
    transition: opacity .25s;
}
.sw-thumb:hover .sw-thumb__label {
    opacity: .8;
}
.sw-thumb--active .sw-thumb__label {
    opacity: 1;
}
.sw-scroll-body-col { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.sw-slide__body {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70vh;
    min-width: 0;
    overflow: hidden;
}
.sw-slide__body + .sw-slide__body {
    border-top: 1px solid rgba(107,236,164, 0.08);
}
.sw-slide__title {
    font-family: var(--font-Hind);
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: .02em;
    margin-bottom: 12px;
}
.sw-slide__text {
    font-size: clamp(.88rem, 2vw, 14px);
    color: #fff;
    line-height: 1.7;
    margin-bottom: 10px;
}
.sw-slide__list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.sw-slide__list li {
    font-size: 13px;
    color: var(--color-muted);
    padding-left: 16px;
    position: relative;
}
.sw-slide__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* Comparison table */
.sw-compare {
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}
.sw-compare-table {
    width: 100%;
    table-layout: fixed;
}
.sw-compare-table thead tr th {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-accent);
    padding: 7px 12px;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}
.sw-compare-table thead tr th.sw-compare-col { text-align: left; }
.sw-compare-table thead tr th:not(.sw-compare-col) { width: 80px; }
.sw-compare-table tbody tr td {
    font-size: clamp(.88rem, 2vw, 14px);
    color: #fff;
    padding: 6px 12px;
    border-bottom: 1px solid rgba(42,58,42,.5);
    text-align: center;
    vertical-align: middle;
}
.sw-compare-table tbody tr td:first-child { text-align: left; }
.sw-compare-table tbody tr:last-child td { border-bottom: none; }

/* ══════════════════════════════════════════════════════════════
   SLIDE STACK — new scroll animation
   ══════════════════════════════════════════════════════════════ */

/* Mobile base: slides stack vertically in normal flow */
.sw-slide-stack {
    display: flex;
    flex-direction: column;
}
.sw-fullslide {
    background: #111a11;
}
@media (min-width: 992px) and (max-width: 1200px) {
    .sw-fullslide { padding: 0 20px; }
}
.sw-fullslide + .sw-fullslide {
    border-top: 1px solid rgba(107, 236, 164, 0.08);
    
}
.sw-fullslide .sw-slide__body {
    min-height: auto;
    border-top: none;
    padding: 24px 0 32px;
}

/* Desktop + tablet: slides are absolutely stacked, container is pinned by GSAP */
@media (min-width: 641px) {
    .sw-modes-container {
        height: calc(100vh - var(--nav-height));
        overflow: hidden;
        display: flex;
        align-items: center;
    }
    .sw-modes-card {
        height: 90%;
        width: 100%;
        display: flex;
        flex-direction: column;
        overflow: visible;
        box-sizing: border-box;
    }
    .sw-slide-stack {
        display: block;
        flex: 1;
        position: relative;
        overflow: hidden;
        min-height: 0;
    }
    .sw-fullslide {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        display: grid;
        grid-template-columns: 52% 1fr;
        grid-template-rows: 1fr;
        gap: 24px;
        overflow: hidden;
    }
    .sw-fullslide + .sw-fullslide {  }

    /* Img col: fixed, no internal scroll */
    .sw-fullslide .sw-slide__img-col {
        overflow: hidden;
        opacity: 1 !important;
        min-height: 0;
        max-height: 100%;
        display: flex;
        flex-direction: column;
    }
    .sw-fullslide .sw-slide__img-col .sw-slide__img-main {
        position: relative;
        flex: 1 1 auto;
        aspect-ratio: 16 / 9;
        min-height: 0;
        overflow: hidden;
    }
    .sw-fullslide .sw-slide__img-col .sw-slide__img-main video,
    .sw-fullslide .sw-slide__img-col .sw-slide__img-main img,
    .sw-fullslide .sw-slide__img-col .sw-slide__img-main .sw-main-poster {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        object-fit: cover;
    }

    /* Body: fixed container, no overall scroll */
    .sw-fullslide .sw-slide__body {
        overflow: hidden;
        padding: 28px 0;
        min-height: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    /* Scroll area: text + compare scroll together if overflow */
    .sw-fullslide .sw-slide__body .sw-slide__scroll-area {
        flex: 1;
        min-height: 0;
        overflow: hidden;
        padding-right: 4px;
    }
    .sw-fullslide .sw-slide__body .sw-slide__scroll-area::-webkit-scrollbar { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   E6-CONNECT CARD LAYOUT  (data-layout="e6")
   fullslide = column: [main img full-width] / [title + 7:5 row]
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 641px) {
    .sw-modes-card[data-layout="e6"] .sw-fullslide {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 20px 80px 16px;
        overflow: hidden;
    }
    /* Give img-stack a height so children's height:100% resolves */
    .sw-modes-card[data-layout="e6"] .sw-img-stack {
        aspect-ratio: 4 / 3;
    }
    /* Main image: full width, fixed portion of card height */
    .sw-modes-card[data-layout="e6"] .sw-slide__img-col {
        flex: 0 0 50%;
        min-height: 0;
        width: 100%;
        overflow: hidden;
        border-radius: 12px;
    }
    .sw-modes-card[data-layout="e6"] .sw-slide__img-main {
        position: relative;
        height: 100%;
        border-radius: 12px;
        overflow: hidden;
    }
    .sw-modes-card[data-layout="e6"] .sw-slide__img-col video,
    .sw-modes-card[data-layout="e6"] .sw-slide__img-main .sw-main-poster {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        object-fit: cover;
        border-radius: 0;
    }
    /* Body: title on top, then 7:5 grid row */
    .sw-modes-card[data-layout="e6"] .sw-slide__body {
        flex: 1;
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 0;
        overflow: hidden;
    }
    .sw-modes-card[data-layout="e6"] .sw-slide__title {
        flex: none;
        font-size: clamp(18px, 2vw, 26px);
        margin: 0;
        padding: 0;
    }
    .sw-ecard-bottom {
        flex: 1;
        min-height: 0;
        display: grid;
        grid-template-columns: 7fr 5fr;
        gap: 20px;
        align-items: start;
    }
    .sw-ecard-bottom .sw-slide__scroll-area {
        overflow-y: auto;
        min-height: 0;
        height: 100%;
        padding-right: 4px;
    }
    .sw-ecard-bottom .sw-slide__scroll-area::-webkit-scrollbar { display: none; }
    .sw-ecard-thumbs {
        display: flex;
        flex-direction: column;
        gap: 8px;
        height: 100%;
        min-height: 0;
    }
    /* Each thumb fills equal vertical space */
    .sw-ecard-thumbs .sw-thumb {
        flex: 1;
        min-height: 0;
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        border: 2px solid transparent;
        transition: border-color 0.2s, transform 0.2s;
        background: #0c130c;
    }
    .sw-ecard-thumbs .sw-thumb:hover {
        border-color: var(--color-accent);
        transform: scale(1.02);
    }
    .sw-ecard-thumbs .sw-thumb video {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        object-fit: cover;
    }
    /* Overlay img created by JS to show swapped poster */
    .sw-thumb-poster {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        object-fit: cover;
        display: block;
        pointer-events: none;
        border-radius: 0;
    }
    .sw-ecard-thumbs .sw-thumb__label {
        position: absolute;
        bottom: 0; left: 0; right: 0;
        background: rgba(0, 0, 0, 0.55);
        padding: 4px 8px;
        font-size: 10px;
        color: rgba(255,255,255,0.9);
        letter-spacing: .06em;
        z-index: 1;
        pointer-events: none;
    }
}
/* Mobile e6: stack vertically, thumbs as a row */
@media (max-width: 640px) {
    .sw-modes-card[data-layout="e6"] .sw-slide__body {
        padding: 0;
    }
    .sw-ecard-bottom {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    .sw-ecard-thumbs {
        display: flex;
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
    }
    .sw-ecard-thumbs .sw-thumb {
        flex: 0 0 120px;
        height: 68px;
        border-radius: 6px;
        overflow: hidden;
        position: relative;
        cursor: pointer;
        border: 2px solid transparent;
        transition: border-color 0.2s;
        background: #0c130c;
    }
    .sw-ecard-thumbs .sw-thumb:hover,
    .sw-ecard-thumbs .sw-thumb:active { border-color: var(--color-accent); }
    .sw-ecard-thumbs .sw-thumb video,
    .sw-thumb-poster { position: absolute; top:0; left:0; width:100%; height:100%; object-fit: cover; }
    .sw-ecard-thumbs .sw-thumb__label {
        position: absolute;
        bottom: 0; left: 0; right: 0;
        background: rgba(0,0,0,0.55);
        padding: 2px 5px;
        font-size: 9px;
        color: rgba(255,255,255,0.9);
        z-index: 1;
    }
}

/* ══════════════════════════════════════════════════════════════
   FEATURE SECTIONS (マイページ・設定項目)
   ══════════════════════════════════════════════════════════════ */
.sw-feature-section {
    background: var(--color-bg);
    padding: var(--space-section) 0;
}
.sw-feature-wrap {
    background: #111a11;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 52px 48px 44px;
    position: relative;
    overflow: visible;
}
.sw-feature-wrap::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 10%;
    bottom: 60%;
    width: 5px;
    background: var(--color-accent);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(107,236,164,.6);
}
.sw-feature-header {
    text-align: center;
    margin-bottom: 44px;
}
.sw-feature-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.sw-feature-title {
    font-family: var(--font-Hind);
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: .02em;
    margin-bottom: 16px;
}
.sw-feature-desc {
    font-size: 13.5px;
    color: var(--color-text);
    line-height: 1.9;
}
.sw-fcard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.sw-fcard {
    background: #0c130c;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 22px 20px 20px;
    position: relative;
    transition: border-color .25s, transform .25s;
}
.sw-fcard:hover {
    border-color: rgba(107,236,164,.4);
    transform: translateY(-3px);
}
.sw-fcard--wide {
    grid-column: 2;
}
.sw-fcard__dot {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    flex-shrink: 0;
}
.sw-fcard__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
}
.sw-fcard__desc {
    font-size: 12.5px;
    color: var(--color-text);
    line-height: 1.8;
}

/* ══════════════════════════════════════════════════════════════
   SETUP GUIDE SECTION (e6-connect page)
   ══════════════════════════════════════════════════════════════ */
.sw-setup-section {
    background: var(--color-bg);
    padding: var(--space-section) 0;
}
.sw-setup-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.sw-setup-img-col {
    align-self: stretch;
}
.sw-setup-device {
    border-radius: 14px;
    overflow: hidden;
    background: #0c130c;
    border: 1px solid var(--color-border);
    width: 100%;
    height: 100%;
}
.sw-setup-device img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sw-setup-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sw-setup-title {
    font-family: var(--font-Hind);
    font-size: clamp(22px, 2.8vw, 34px);
    font-weight: 800;
    color: var(--color-accent);
    letter-spacing: .02em;
    margin: 8px 0 20px;
}
.sw-setup-steps {
    list-style: none;
    counter-reset: setup-step;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sw-setup-steps > li {
    counter-increment: setup-step;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text);
    line-height: 1.75;
    padding-left: 28px;
    position: relative;
}
.sw-setup-steps > li::before {
    content: counter(setup-step) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--color-accent);
    font-size: 13px;
    line-height: 1.75;
}
.sw-setup-subbullets {
    list-style: disc;
    padding-left: 18px;
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sw-setup-subbullets li {
    font-size: 12.5px;
    color: var(--color-text);
    line-height: 1.6;
}
.sw-setup-path {
    display: block;
    font-size: 12px;
    color: var(--color-accent);
    background: rgba(107,236,164,.08);
    border-left: 3px solid var(--color-accent);
    padding: 6px 10px;
    border-radius: 0 4px 4px 0;
    margin-top: 4px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .sw-setup-block { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
    .sw-setup-section { padding: 60px 0; }
    .sw-setup-steps > li { font-size: 12.5px; }
}

/* ══════════════════════════════════════════════════════════════
   DOWNLOAD SECTION
   ══════════════════════════════════════════════════════════════ */
.sw-download {
    position: relative;
    padding: 108px 0 96px;
    text-align: center;
    overflow: hidden;
}
.sw-download__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.sw-download__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sw-download__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(4,6,4,.72) 0%,
        rgba(4,6,4,.88) 100%);
}
.sw-download__inner {
    position: relative;
    z-index: 1;
}
.sw-download__brand {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: .12em;
    margin-bottom: 12px;
}
.sw-download__title {
    font-family: var(--font-Hind);
    font-size: clamp(28px, 4.5vw, 52px);
    font-weight: 800;
    color: #fff;
    letter-spacing: .02em;
    margin-bottom: 20px;
    line-height: 1.1;
}
.sw-download__sub {
    font-size: 13.5px;
    color: var(--color-text);
    line-height: 1.85;
    margin-bottom: 44px;
}

/* Platform download buttons */
.sw-download__btns {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.sw-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px 14px 16px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 10px;
    color: #fff;
    text-align: left;
    min-width: 172px;
    transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.sw-store-btn:hover {
    background: rgba(107,236,164,.14);
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(107,236,164,.2);
    color: #fff;
}
.sw-store-btn svg { flex-shrink: 0; }
.sw-store-btn__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sw-store-btn__text small {
    font-size: 10px;
    color: #aaa;
    letter-spacing: .05em;
    font-weight: 500;
}
.sw-store-btn__text strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.1;
}
.sw-store-btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}
.sw-store-btn__ver {
    font-size: 10px;
    color: rgba(255,255,255,.4);
    letter-spacing: .05em;
    font-weight: 400;
}

/* Setup steps */
.sw-download__steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 640px;
    margin: 0 auto 44px;
    text-align: left;
}
.sw-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 13px;
    color: var(--color-muted);
    line-height: 1.7;
}
.sw-step__num {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: .1em;
    border: 1px solid rgba(107,236,164,.5);
    border-radius: 4px;
    padding: 3px 9px;
    margin-top: 2px;
    white-space: nowrap;
}
.sw-step__text{color: var(--color-text);}
.sw-download__e6 {
    max-width: 640px;
    margin: 0 auto 44px;
    text-align: start;
}

/* ── Short-screen laptops: 1366×768, 1280×800, etc. ─────────── */
@media (min-width: 1025px) and (max-height: 800px) {
    .sw-modes-card { padding: 14px 28px 12px; }
    .sw-slide__thumbs {
        column-gap: 20px;
        row-gap: 35px;
        padding-top: 30px;
    }
    .sw-thumb{width: 100%;}
}

/* ── Software page responsive ───────────────────────────────── */
@media (max-width: 1024px) {
    .sw-modes-card { padding: 20px 22px 18px; }
    .sw-sticky-layout { grid-template-columns: 44% 1fr; gap: 18px; }
    .sw-feature-wrap { padding: 40px 32px 36px; }
    .sw-fcard-grid { grid-template-columns: repeat(2, 1fr); }
    .sw-fcard--wide { grid-column: 2; }
}

/* ── Mobile: normal scroll, no sticky/pin ─────────────────────── */
@media (max-width: 640px) {
    .sw-intro-section { padding: 56px 0 32px; }

    .sw-modes-wrap { padding: 0; }
    .sw-modes-dots { display: none !important; }

    /* Container: normal flow, no height constraint */
    .sw-modes-container {
        height: auto;
        overflow: visible;
    }

    /* Card: normal flow */
    .sw-modes-card {
        width: 100%;
        height: auto;
        padding: 0 16px;
        border-radius: 14px;
    }

    /* Slide stack: vertical normal flow */
    .sw-slide-stack {
        display: flex;
        flex-direction: column;
        position: static;
        overflow: visible;
    }
    .sw-fullslide {
        position: static;
        display: block;
        overflow: visible;
    }
    .sw-fullslide + .sw-fullslide {
        border-top: 1px solid rgba(107, 236, 164, 0.08);
        margin-top: 8px;
    }

    /* Body: normal flow */
    .sw-fullslide .sw-slide__body {
        display: block;
        padding: 16px 0 24px;
        overflow: visible;
    }
    .sw-fullslide .sw-slide__body .sw-slide__scroll-area {
        overflow: visible;
        height: auto;
    }
    .sw-fullslide .sw-slide__body .sw-slide__scroll-area::-webkit-scrollbar { display: none; }

    /* Img col: full-width video + nav bar below */
    .sw-fullslide .sw-slide__body .sw-slide__img-col {
        flex: none;
        width: 100%;
        opacity: 1 !important;
        margin: 6px 0;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .sw-fullslide .sw-slide__body .sw-slide__img-col .sw-slide__img-main {
        width: 100%;
        /* calc height directly from vw — immune to GSAP pin recalculating %-based sizes */
        height: calc((100vw - 32px) * 0.5625);
        aspect-ratio: unset;
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        flex: none;
    }
    .sw-fullslide .sw-slide__body .sw-slide__img-col .sw-slide__img-main video,
    .sw-fullslide .sw-slide__body .sw-slide__img-col .sw-slide__img-main img,
    .sw-fullslide .sw-slide__body .sw-slide__img-col .sw-slide__img-main .sw-main-poster {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    }
    /* Thumbs hidden on mobile — navigation via prev/next buttons */
    .sw-fullslide .sw-slide__body .sw-slide__img-col .sw-slide__thumbs {
        display: none;
    }

    /* Image label overlay — bottom-left corner */
    .sw-img-label {
        position: absolute;
        bottom: 8px;
        left: 8px;
        background: rgba(0, 0, 0, 0.55);
        color: rgba(255, 255, 255, 0.9);
        font-size: 10px;
        letter-spacing: .06em;
        padding: 3px 8px;
        border-radius: 4px;
        z-index: 2;
        pointer-events: none;
    }

    /* Video navigation bar */
    .sw-vid-nav-bar {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        padding: 7px 0;
        flex-shrink: 0;
    }
    .sw-vid-nav {
        background: rgba(107,236,164,.1);
        border: 1px solid rgba(107,236,164,.3);
        color: var(--color-accent);
        border-radius: 50%;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
        padding: 0;
        transition: background .15s;
        flex-shrink: 0;
    }
    .sw-vid-nav:active { background: rgba(107,236,164,.25); }
    .sw-vid-nav__counter {
        font-size: 11px;
        color: rgba(255,255,255,.55);
        min-width: 36px;
        text-align: center;
        font-variant-numeric: tabular-nums;
    }

    /* Read-more expand button */
    .sw-read-more {
        display: block;
        background: none;
        border: none;
        color: var(--color-accent);
        font-size: 12px;
        cursor: pointer;
        padding: 2px 0 0;
        margin: 0;
        text-align: left;
    }
    /* Text truncation via CSS line-clamp */
    .sw-text--clamped {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Compare: horizontal scroll with hidden scrollbar */
    .sw-fullslide .sw-slide__body .sw-compare {
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        flex-shrink: 0;
    }
    .sw-fullslide .sw-slide__body .sw-compare::-webkit-scrollbar { display: none; }
    .sw-fullslide .sw-slide__body .sw-compare .sw-compare-table {
        table-layout: auto;
        min-width: 280px;
    }
    .sw-compare-table thead tr th,
    .sw-compare-table tbody tr td { padding: 4px 6px; font-size: clamp(.88rem, 2vw, 14px); }
    .sw-compare-table thead tr th.sw-compare-col { font-size: clamp(.88rem, 2vw, 14px); }

    .sw-fcard-grid { grid-template-columns: 1fr; }
    .sw-fcard--wide { grid-column: span 1; }
    .sw-feature-wrap { padding: 28px 20px 24px; border-radius: 14px; }
    .sw-download { padding: 72px 0 64px; }
    .sw-download__btns { gap: 12px; }
    .sw-store-btn { min-width: 148px; }
    .sw-download__e6 .btn-primary,
    .sw-download__e6 .btn-outline { width: 100%; }
}

/* ============================================================
   Campaign — Plus One (プラスワン キャンペーン)
   ============================================================ */

:root {
    --cp1-green:      #3AE586;
    --cp1-text-green:      #6BECA4;
    --cp1-green-dk:   #4ce690;
    --cp1-black:      #0a0c0a;
    --cp1-text:       #282828;
    --font-hero-bg:   'Archivo Black', var(--font-Hind), sans-serif;
}

/* ── Idle / ambient keyframe animations ──────────────────────── */
@keyframes cp1Float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-12px) rotate(4deg); }
}
@keyframes cp1Pulse {
    0%, 100% { transform: scale(1);    opacity: 1; }
    50%      { transform: scale(1.14); opacity: .75; }
}
@keyframes cp1Glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(58,229,134,.5); }
    50%      { box-shadow: 0 0 0 10px rgba(58,229,134,0); }
}
@media (prefers-reduced-motion: reduce) {
    .cp1-deco--float, .cp1-intro__accent--pulse, .cp1-form-section__dot--pulse, .cp1-btn-submit {
        animation: none !important;
    }
}

/* ── Shared section head (black bg) ─────────────────────────── */
.cp1-section-head { text-align: center; margin-bottom: 40px; }
.cp1-section-head__en {
    font-family: 'Monda', var(--font-Hind);
    font-size: clamp(34px, 4.2vw, 56px);
    font-weight: 700;
    color: var(--cp1-text-green);
    margin-bottom: 4px;
}
.cp1-section-head__ja {
    font-family: var(--font-main);
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 900;
    color: var(--cp1-text-green);
    margin: 0;
}

/* ── Decorative corner shapes (hero) ─────────────────────────── */
.cp1-deco { position: absolute; pointer-events: none; z-index: 2; width: 40px; height: 34px; }
.cp1-deco--float { animation: cp1Float 4.5s ease-in-out infinite; }
.cp1-deco--float-slow { animation-duration: 6.5s; animation-delay: -2s; }
.cp1-deco--tri { width: 40px; height: 34px; }

/* Top-left triangle: outline only (no fill), even 2px stroke on all 3 sides via nested clip-path */
.cp1-deco--tri.cp1-deco--tl::before,
.cp1-deco--tri.cp1-deco--tl::after {
    content: '';
    position: absolute;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.cp1-deco--tri.cp1-deco--tl::before {
    inset: 0;
    background: rgba(107,178,236,.7);
}
.cp1-deco--tri.cp1-deco--tl::after {
    inset: 2px;
    background: #fff;
}
.cp1-deco--tl { top: 12%; left: 6%; }

/* Bottom-right triangle: filled, plus a hollow-outline triangle sunken behind it, offset down-left */
.cp1-deco--tri.cp1-deco--br::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: rgba(107,178,236,.55);
}
.cp1-deco__tri-outline {
    position: absolute;
    left: -10px; top: 9px;
    width: 40px; height: 34px;
    z-index: 0;
}
.cp1-deco__tri-outline::before,
.cp1-deco__tri-outline::after {
    content: '';
    position: absolute;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.cp1-deco__tri-outline::before {
    inset: 0;
    background: rgba(107,178,236,.35);
}
.cp1-deco__tri-outline::after {
    inset: 2px;
    background: #fff;
}
.cp1-deco--br { bottom: 10%; right: 22%; }
.cp1-deco--sq {
    width: 26px; height: 26px;
    border: 2.5px solid var(--cp1-green);
}
.cp1-deco--tr { top: 8%; right: 8%; }
.cp1-deco--dot {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(60,150,220,.4);
}
.cp1-deco--tc { top: 4%; left: 57%; }
.cp1-deco--ring {
    width: 40px; height: 46px;
}
.cp1-deco--ring::before, .cp1-deco--ring::after {
    content: '';
    position: absolute;
    left: 0; width: 40px; height: 40px;
    border: 2px solid var(--cp1-green);
    border-radius: 50%;
}
.cp1-deco--ring::before { top: 0; }
.cp1-deco--ring::after { top: 18px; }
.cp1-deco--bl { bottom: 8%; left: 6%; }
.cp1-deco--br { bottom: 10%; right: 22%; }

/* ── Hero ───────────────────────────────────────────────────── */
.cp1-hero {
    position: relative;
    background: #fff;
    overflow: hidden;
    padding: 56px 0 32px;
}
.cp1-hero__bgtext {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 2vw, 30px);
    padding: 0 clamp(16px, 4vw, 64px);
    pointer-events: none;
    user-select: none;
    z-index: 1;
}
.cp1-hero__bgtext span {
    display: block;
    width: 100%;
    font-family: var(--font-hero-bg);
    font-weight: 400;
    font-size: clamp(56px, 13vw, 260px);
    line-height: 1;
    letter-spacing: .01em;
    color: #efefef;
    white-space: nowrap;
    text-align: center;
    transform: scaleX(1.14) skewX(-10deg);
    transform-origin: center;
}

.cp1-hero__stage {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    aspect-ratio: 1180 / 490;
    z-index: 3;
}
.cp1-hero__tablet {
    position: absolute;
    z-index: 0;
    left: 10%;
    top: 30%;
    width: 16%;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,.18));
}
.cp1-hero__omni {
    position: absolute;
    z-index: 2;
    right: 14%;
    top: 9%;
    width: 11%;
    height: auto;
    filter: drop-shadow(0 16px 26px rgba(0,0,0,.22));
}
.cp1-hero__title-wrap {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.cp1-hero__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}
.cp1-hero__title span {
    font-family: var(--font-corporate);
    font-weight: 700;
    font-size: clamp(45px, 12.55vw, 170px);
    line-height: 1.12;
    letter-spacing: .02em;
    color: var(--cp1-green);
    text-shadow:
        1px 1px 0 #3fcf80,
        2px 2px 0 #33bd72,
        3px 3px 0 #27a863,
        4px 4px 0 #1c9354,
        5px 6px 6px rgba(0,0,0,.35);
    white-space: nowrap;
}

/* ── Intro ──────────────────────────────────────────────────── */
.cp1-intro { background: #fff; padding: 36px 0 88px; }
.cp1-intro__inner {
    display: flex;
    align-items: center;
    gap: 64px;
}
.cp1-intro__art {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    aspect-ratio: 1/1;
    margin-left: 70px;
}
.cp1-intro__circle {
    position: absolute;
    inset: 8%;
    border-radius: 50%;
    border: 1.5px solid var(--cp1-green);
    overflow: hidden;
}
.cp1-intro__mat {
    position: absolute;
    width: 108%;
    max-width: none;
    left: 4%;
    top: 18%;
    transform: rotate(0deg);
}
.cp1-intro__box {
    position: absolute;
    width: 58%;
    max-width: none;
    left: 12%;
    top: 10%;
    transform: rotate(0deg);
    filter: drop-shadow(0 10px 14px rgba(0,0,0,.25));
}
.cp1-intro__accent { position: absolute; border-radius: 50%; z-index: 2; }
.cp1-intro__accent--top {
    width: 15%; height: 15%;
    top: 5%; right: 6%;
    background: var(--cp1-green);
}
.cp1-intro__accent--bottom {
    width: 20%; height: 20%;
    bottom: 6%; left: 10%;
    background: radial-gradient(circle at 35% 30%, #22ADD5, #6BECA4);
}
.cp1-intro__accent--pulse { animation: cp1Pulse 2.6s ease-in-out infinite; }
.cp1-intro__accent--bottom.cp1-intro__accent--pulse { animation-delay: .5s; }
.cp1-deco--dotgrid {
    width: 46px; height: 46px;
    background-image: radial-gradient(currentColor 2.5px, transparent 2.5px);
    background-size: 14px 14px;
    color: var(--cp1-green);
    opacity: .8;
}
.cp1-deco--left { top: 34%; left: -8%; }
.cp1-deco--right { top: 90%; right: -100%; }

.cp1-intro__body {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: left;
}
.cp1-badge-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
}
.cp1-badge-bar {
    position: relative;
    display: inline-block;
    max-width: 100%;
}
.cp1-badge-bar__img {
    display: block;
    height: clamp(54px, 4.8vw, 47px);
    width: auto;
    max-width: 100%;
}
.cp1-badge-bar__text {
    position: absolute;
    left: 5%;
    top: 35%;
    transform: translateY(-50%);
    font-size: clamp(19px, 1.6vw, 18px);
    font-weight: 700;
    color: var(--cp1-text);
    letter-spacing: .02em;
    white-space: nowrap;
}
.cp1-intro__text {
    font-size: 15px;
    color: var(--cp1-text);
    line-height: 2.1;
    font-weight: 600;
}

/* ── Overview + Steps (black wave section) ───────────────────── */
.cp1-overview {
    position: relative;
    background: transparent;
    padding: 270px 0 100px;
    margin-top: -30px;
    overflow: hidden;
}
.cp1-overview__wave {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 220px;
    z-index: 0;
    line-height: 0;
}
.cp1-overview__wave svg { display: block; width: 100%; height: 100%; }
.cp1-overview__wave path { fill: var(--cp1-black); }
.cp1-overview__wave--mobile { display: none; }
.cp1-overview::after {
    content: '';
    position: absolute;
    top: 210px; left: 0; right: 0; bottom: 0;
    background: var(--cp1-black);
    z-index: 0;
}
.cp1-overview > .container { position: relative; z-index: 2; }
.cp1-halftone {
    position: absolute;
    z-index: 1;
    width: clamp(200px, 20vw, 360px);
    opacity: .6;
    pointer-events: none;
    background: no-repeat center / contain;
}
.cp1-halftone--tl {
    top: 0; left: 0;
    aspect-ratio: 361 / 630;
    background-image: url('../images/campaign/20180103165208_59495_2.png');
}
.cp1-halftone--br {
    bottom: -15px; right: 0;
    aspect-ratio: 397 / 436;
    background-image: url('../images/campaign/20180103165208_59495_1.png');
}

.cp1-overview__list {
    max-width: 760px;
    margin: 0 auto 56px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cp1-overview__row { display: flex; align-items: center; gap: 14px; }
.cp1-overview__label {
    flex: 0 0 118px;
    color: var(--cp1-text-green);
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
}
.cp1-overview__dots {
    flex: 0 0 57%;
    border-bottom: 2px dotted var(--color-bg-light);
    position: relative;
    height: 0;
}
.cp1-overview__dots::after {
    content: '';
    position: absolute;
    right: -2px; top: -4px;
    width: 8px; height: 8px;
    background: var(--color-bg-light);
    transform: rotate(45deg);
}
.cp1-overview__value {
    flex: 0 0 auto;
    text-align: left;
    background: #fff;
    color: var(--cp1-text);
    font-weight: 700;
    font-size: 14px;
    padding: 9px 22px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ── Steps card ─────────────────────────────────────────────── */
.cp1-steps-card {
    position: relative;
    z-index: 2;
    max-width: 940px;
    margin: 0 auto;
    background: #fff;
    border-radius: 28px;
    padding: 44px 48px 40px;
}
.cp1-steps-card__head {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 22px;
    font-weight: 700;
    color: var(--cp1-text);
    margin-bottom: 28px;
}
.cp1-steps-card__head span:first-child {
    position: relative;
    padding: 2px 4px;
}
.cp1-steps-card__head span:first-child::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    bottom: 6px;
    height: 40%;
    background: var(--cp1-green);
    z-index: -1;
}
.cp1-steps-card__dots {
    flex: 1;
    height: 0;
    border-bottom: 2px dotted #999;
    position: relative;
}
.cp1-steps-card__dots::after {
    content: '';
    position: absolute;
    right: -2px; top: -4px;
    width: 8px; height: 8px;
    background: var(--cp1-text);
    transform: rotate(45deg);
}

.cp1-steps { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.cp1-step {
    display: flex;
    align-items: center;
    gap: 22px;
    background: #f4f4f4;
    border: 1px solid #d8dee2;
    border-radius: 18px;
    padding: 18px 24px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.cp1-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0,0,0,.12);
    border-color: var(--cp1-green);
}
.cp1-step__icon {
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
    border-radius: 12px;
    background: #fdfffe;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cp1-green-dk);
}
.cp1-step__icon svg, .cp1-step__icon img { width: 34px; height: 34px; }
.cp1-step__body { flex: 1; }
.cp1-step__num {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    color: var(--cp1-text-green);
    margin-bottom: 2px;
}
.cp1-step__title {
    font-size: 21px;
    font-weight: 700;
    color: var(--cp1-text);
    margin-bottom: 4px;
}
.cp1-step__desc {
    font-size: 13.5px;
    color: #555;
    line-height: 1.6;
    font-weight: 600;
}

/* ── Notes (inside steps card) ────────────────────────────────── */
.cp1-notes__title { font-size: 15px; font-weight: 700; color: var(--cp1-text); margin-bottom: 8px; }
.cp1-notes__list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.cp1-notes__list li {
    font-size: 13px;
    color: var(--cp1-text);
    line-height: 1.8;
    padding-left: 14px;
    position: relative;
    font-weight: 600;
}
.cp1-notes__list li::before { content: '・'; position: absolute; left: 0; }
.cp1-notes__asterisk { font-size: 12px; color: var(--cp1-green-dk); margin: 0; font-weight: 600;}

/* ── Form section ───────────────────────────────────────────── */
.cp1-form-section { background: #fff; padding: 64px 0 100px; }
.cp1-form-section__intro { text-align: center; margin-bottom: 36px; }
.cp1-form-section__dot {
    display: block;
    width: 44px; height: 44px;
    margin: 0 auto 20px;
    background: var(--cp1-green);
    border-radius: 50%;
}
.cp1-form-section__dot--pulse { animation: cp1Pulse 2.2s ease-in-out infinite; }
.cp1-form-section__intro p {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--cp1-text);
    font-weight: 700;
    line-height: 1.6;
}
.cp1-form-card {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border: 3px solid var(--cp1-green);
    border-radius: 30px;
    padding: 56px 64px;
}

/* Form rows */
.cp1-form__group-head {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 22px;
    font-weight: 700;
    color: #030a0c;
    padding-bottom: 12px;
    margin-bottom: 28px;
}
.cp1-form__group-head::after {
    content: '';
    flex: 1;
    height: 0;
    border-bottom: 2px dotted var(--cp1-green);
}

.cp1-form__row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 22px;
}
.cp1-form__label-wrap {
    flex: 0 0 210px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 9px;
}
.cp1-form__label {
    font-size: 15px;
    font-weight: 700;
    color: #030a0c;
    line-height: 1.4;
}
.cp1-form__hint {
    flex-basis: 100%;
    font-size: 11.5px;
    font-weight: 700;
    color: #a2a2a2;
}
.cp1-badge-req {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    background: var(--cp1-green);
    color: #000;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}
.cp1-form__field { flex: 1; }

/* Inputs */
.cp1-input, .cp1-select {
    width: 100%;
    height: 46px;
    border: 1px solid rgba(41,49,60,.5);
    border-radius: 5px;
    padding: 0 14px;
    font-size: 14px;
    color: #111;
    font-family: var(--font-main);
    background: #f6f6f6;
    transition: border-color .2s;
}
.cp1-input:focus, .cp1-select:focus { outline: none; border-color: var(--color-primary); background: #fff; }
.cp1-input--short { max-width: 220px; }
.cp1-select { cursor: pointer; }
.cp1-select--date { width: auto; min-width: 100px; flex: 0 0 auto; }

.cp1-form__field--addr { display: flex; gap: 10px; }
.cp1-form__field--addr .cp1-select { flex: 0 0 160px; }
.cp1-form__field--date { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cp1-form__unit { font-size: 15px; font-weight: 700; color: #030a0c; }

.cp1-form__field--checkrow {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 12px;
}

/* Checkboxes (shared: purchase-place + notes + privacy) */
.cp1-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #030a0c;
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
}
.cp1-check input[type="checkbox"] { display: none; }
.cp1-check__mark {
    width: 19px;
    height: 19px;
    border: 2px solid var(--cp1-green);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: background .15s;
    position: relative;
}
.cp1-check input[type="checkbox"]:checked ~ .cp1-check__mark { background: var(--cp1-green); }
.cp1-check input[type="checkbox"]:checked ~ .cp1-check__mark::after {
    content: '';
    width: 10px; height: 6px;
    border-left: 2px solid #030a0c;
    border-bottom: 2px solid #030a0c;
    transform: rotate(-45deg) translate(1px, -1px);
    position: absolute;
}

.cp1-form__divider { border-bottom: 2px dotted var(--cp1-green); margin: 12px 0 28px; }
.cp1-form__row--checks { align-items: flex-start; flex-direction: column;}
.cp1-form__notes { flex: 0 0 0; }
.cp1-form__notes-title { font-size: 18px; font-weight: 700; color: #030a0c; margin-bottom: 4px; }
.cp1-form__notes-hint { font-size: 14px; color: var(--cp1-green); font-weight: 500; margin-bottom: 0 !important;}
.cp1-form__field--checks {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 4px;
    font-weight: 500;
}
.cp1-form__field--checks .cp1-check { font-weight: 600; }

/* Privacy row */
.cp1-form__privacy { margin: 32px 0; text-align: center; }
.cp1-check--privacy { display: inline-flex; color: var(--cp1-green-dk); font-weight: 700; }
.cp1-form__privacy-link { color: var(--cp1-green-dk); text-decoration: underline; }

/* Field-level / form-level error messages */
.cp1-field-error {
    display: none;
    font-size: 12.5px;
    font-weight: 700;
    color: #e0453f;
    margin-top: 6px;
}
.cp1-field-error--center { text-align: center; margin-top: 10px; }
.cp1-input--error, .cp1-select--error { border-color: #e0453f !important; background: #fff5f5; }
.cp1-form__error-banner {
    display: none;
    max-width: 640px;
    margin: 0 auto 24px;
    padding: 14px 20px;
    border-radius: 8px;
    background: #fff0ef;
    border: 1px solid #e0453f;
    color: #c53328;
    font-size: 13.5px;
    font-weight: 700;
    text-align: center;
}
.cp1-recaptcha-notice {
    max-width: 560px;
    margin: 18px auto 0;
    font-size: 11px;
    color: #999;
    text-align: center;
    line-height: 1.7;
}
.cp1-recaptcha-notice a { color: var(--cp1-green-dk); text-decoration: underline; }

/* Submit */
.cp1-form__submit { text-align: center; }
.cp1-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 44px;
    background: var(--cp1-green);
    color: #030a0c;
    font-size: 17px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: .02em;
    transition: transform .15s, box-shadow .2s;
    font-family: var(--font-Hind);
    animation: cp1Glow 2.4s ease-in-out infinite;
}
.cp1-btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(107,236,164,.4); animation-play-state: paused; }
.cp1-btn-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; animation: none; }

/* ── Campaign — Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
    .cp1-hero__stage { max-width: 900px; }
    .cp1-intro__inner { gap: 40px; }
    .cp1-steps-card { padding: 36px 28px; }
    .cp1-form-card { padding: 40px 32px; }
}

@media (max-width: 900px) {
    .cp1-hero__bgtext span { font-size: clamp(38px, 15vw, 150px); }
    .cp1-intro__inner { flex-direction: column; gap: 32px; }
    .cp1-intro__art { flex: none; max-width: 300px; width: 100%; margin-left: 0; }
    .cp1-overview__row { flex-wrap: wrap; }
    .cp1-overview__label { flex: 1 1 100%; }
    .cp1-overview__dots { display: none; }
    .cp1-step { flex-direction: column; text-align: center; }
    .cp1-form__row { flex-direction: column; gap: 8px; }
    .cp1-form__label-wrap { padding-top: 0; flex: none; }
    .cp1-form__notes { flex: none; margin-bottom: 8px; }
    .cp1-form__field--addr { flex-direction: column; }
    .cp1-form__field--addr .cp1-select { flex: none; }
    .cp1-deco--right{display: none;}
}

@media (max-width: 560px) {
    .cp1-overview__wave--desktop { display: none; }
    .cp1-overview__wave--mobile { display: block; }
    .cp1-hero { padding: 40px 0 24px; }
    .cp1-hero__stage { aspect-ratio: 1180/620; }
    .cp1-hero__tablet, .cp1-hero__omni { display: none; }
    .cp1-hero__title span { font-size: clamp(40px, 15vw, 72px); }
    .cp1-overview { padding: 200px 0 60px; }
    .cp1-section-head__en { font-size: 34px; }
    .cp1-steps-card { padding: 28px 18px; border-radius: 20px; }
    .cp1-form-card { padding: 28px 18px; border-radius: 20px; }
    .cp1-form__field--checkrow { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ════════════════════════════════════════════════════════════
   Xswing-OMNI page
   ════════════════════════════════════════════════════════════ */
:root {
    --xsw-teal:   #9FE5DD;
    --xsw-teal-dk:   #2FB78C;
    --xsw-orange: #e8823c;
    --font-price: 'Basalte', 'Anybody', var(--font-Hind), sans-serif;
}

.xsw-hero, .xsw-intro, .xsw-packages { font-family: var(--font-Hind); }

/* ── Hero ─────────────────────────────────────────────────── */
.xsw-hero {
    position: relative;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-bg);
}
.xsw-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
}
.xsw-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,12,10,.55) 0%, rgba(10,12,10,.25) 40%, rgba(10,12,10,.85) 100%);
}
.xsw-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}
.xsw-hero__title {
    font-family: var(--font-Hind);
    font-size: clamp(40px, 6vw, 76px);
    letter-spacing: .02em;
    color: var(--color-text);
    margin-bottom: 8px;
    text-shadow: 0 4px 24px rgba(0,0,0,.5);
}
.xsw-hero__sub {
    font-size: clamp(13px, 1.6vw, 16px);
    letter-spacing: .06em;
    color: var(--color-muted);
}

/* ── Intro + mode grid ───────────────────────────────────── */
.xsw-intro {
    padding: 90px 0 80px;
    text-align: center;
    background: var(--color-bg);
}
.xsw-intro__logo { height: clamp(40px, 5vw, 64px); width: auto; margin: 0 auto 28px; }
.xsw-intro__title {
    font-family: var(--font-Hind);
    font-weight: 700;
    font-size: var(--font-size-h2);
    color: var(--color-text);
    margin-bottom: 18px;
}
.xsw-intro__title .is-accent { color: var(--color-accent); }
.xsw-intro__desc {
    font-size: 14px;
    line-height: 1.9;
    color: var(--color-muted);
    margin-bottom: 56px;
}

.xsw-mode-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 10px;
}
.xsw-mode-card {
    background: var(--color-card-xswing);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease;
}
.xsw-mode-card:hover { transform: translateY(-4px); border-color: var(--color-accent); }
.xsw-mode-card__img { aspect-ratio: 4/3; overflow: hidden; }
.xsw-mode-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.xsw-mode-card__label {
    padding: 14px 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent);
    text-align: center;
}

/* ── Packages ─────────────────────────────────────────────── */
.xsw-packages { padding: 40px 0 100px; background: var(--color-bg); }
.xsw-packages__head { text-align: center; margin-bottom: 64px; }
.xsw-packages__title {
    font-family: var(--font-Hind);
    font-weight: 700;
    font-size: var(--font-size-h2);
    color: var(--color-text);
    margin-bottom: 18px;
}
.xsw-packages__title .is-accent { color: var(--color-accent); }
.xsw-packages__desc { font-size: 14px; line-height: 1.9; color: var(--color-muted); }

.xsw-pkg {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    background: var(--color-card-xswing);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    padding: 28px;
    margin-bottom: 32px;
}
.xsw-pkg__gallery {
    display: grid;
    gap: 8px;
}
.xsw-pkg__gallery--1 { grid-template-columns: 1fr; }
.xsw-pkg__gallery--4 { grid-template-columns: 1fr 1fr; }
.xsw-pkg__gallery--6 { grid-template-columns: repeat(3, 1fr); }
.xsw-pkg__gallery--1 .xsw-pkg__shot { aspect-ratio: 2.3/1; }
.xsw-pkg__shot { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; }
.xsw-pkg__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

.xsw-pkg__body { display: flex; flex-wrap: wrap; gap: 40px; }
.xsw-pkg__main { flex: 1.6 1 320px; display: flex; flex-direction: column; align-items: flex-start; }
.xsw-pkg__tag {
    display: inline-block;
    font-family: var(--font-Hind);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--xsw-teal);
    padding: 4px 12px;
    border: 1px solid var(--xsw-teal);
    border-radius: 999px;
    margin-bottom: 14px;
}
.xsw-pkg--premium .xsw-pkg__tag { color: var(--xsw-teal-dk); border-color: var(--xsw-teal-dk); }
.xsw-pkg--orange .xsw-pkg__tag { color: var(--xsw-orange); border-color: var(--xsw-orange); }
.xsw-pkg__title { font-size: 20px; font-weight: 700; color: var(--color-text); margin-bottom: 12px; }

.xsw-pkg__desc { font-size: 13px; line-height: 1.85; color: var(--color-text); margin-bottom: 24px; max-width: 90%;}
.xsw-pkg__price-box {
    display: inline-block;
    border: 1px solid rgba(159,229,221,.35);
    background: rgba(159,229,221,.06);
    border-radius: 12px;
    padding: 14px 24px;
    margin-bottom: 24px;
}
.xsw-pkg--premium .xsw-pkg__price-box { border-color: rgba(47,183,140,.35); background: rgba(47,183,140,.06); }
.xsw-pkg--orange .xsw-pkg__price-box { border-color: rgba(232,130,60,.35); background: rgba(232,130,60,.06); }
.xsw-pkg__price {
    font-family: var(--font-price);
    font-size: clamp(24px, 2.6vw, 30px);
    font-weight: 700;
    color: var(--xsw-teal);
}
.xsw-pkg--premium .xsw-pkg__price { color: var(--xsw-teal-dk); }
.xsw-pkg--orange .xsw-pkg__price { color: var(--xsw-orange); }
.xsw-pkg__yen { font-size: .6em; margin-right: 2px; }
.xsw-pkg__tax { font-size: 13px; font-weight: 400; color: var(--color-text); margin-left: 6px; }
.xsw-pkg__btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--xsw-teal);
    color: #06201d;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50px;
    transition: filter .2s ease, transform .2s ease;
}
.xsw-pkg--premium .xsw-pkg__btn { background: var(--xsw-teal-dk); color: #06201d; }
.xsw-pkg--orange .xsw-pkg__btn { background: var(--xsw-orange); color: #2a1400; }
.xsw-pkg__btn:hover { filter: brightness(1.1); transform: translateY(-2px); }

.xsw-pkg__items { flex: 1 1 220px; }
.xsw-pkg__items-title { font-size: 1rem; font-weight: 700; color: var(--color-text); margin-bottom: 14px; }
.xsw-pkg__items-list { display: flex; flex-direction: column; gap: 10px; }
.xsw-pkg__items-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--color-text); font-weight: 600;}
.xsw-pkg__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--xsw-teal);
    color: var(--xsw-teal);
    box-shadow: 0 0 4px 1px currentColor;
    flex-shrink: 0;
    animation: xswDotGlow 2.2s ease-in-out infinite;
}
.xsw-pkg--premium .xsw-pkg__dot { background: var(--xsw-teal-dk); color: var(--xsw-teal-dk); }
.xsw-pkg--orange .xsw-pkg__dot { background: var(--xsw-orange); color: var(--xsw-orange); }

/* ── Course tables ────────────────────────────────────────── */
.xsw-course-table {
    border-radius: var(--radius-card);
    padding: 24px 32px 28px;
    margin: -8px 0 32px;
}
.xsw-course-table__head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.xsw-course-table__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--xsw-teal-dk);
    color: var(--xsw-teal-dk);
    box-shadow: 0 0 5px 1px currentColor;
    flex-shrink: 0;
    animation: xswDotGlow 2.2s ease-in-out infinite;
}
.xsw-course-table__head--orange .xsw-course-table__dot { background: var(--xsw-orange); color: var(--xsw-orange); }

@keyframes xswDotGlow {
    0%, 100% { box-shadow: 0 0 3px 0 currentColor; }
    50%      { box-shadow: 0 0 9px 3px currentColor; }
}
.xsw-course-table__title {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-bg);
    background: var(--xsw-teal-dk);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    padding: 8px 22px;
}
.xsw-course-table__head--orange .xsw-course-table__title { background: var(--xsw-orange); }
.xsw-course-table__note { font-size: 1.1rem; color: var(--color-text); margin-left: auto; flex-shrink: 0; }
.xsw-course-table__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.xsw-course-table__col { display: flex; flex-direction: column; }
.xsw-course-table__col:not(:first-child) { border-left: 2px solid var(--color-accent); }
.xsw-course-table--orange .xsw-course-table__col:not(:first-child) { border-left-color: var(--xsw-orange); }
.xsw-course-table__col li {
    font-family: var(--font-Hind);
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--color-text);
    padding: 12px 0 12px 20px;
    border-bottom: 1.5px dotted var(--color-border);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.xsw-course-table__col li:first-child { padding-top: 0; }
.xsw-course-table__col li:last-child { border-bottom: none; }

/* ── Xswing — Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .xsw-mode-grid { grid-template-columns: repeat(3, 1fr); }
    .xsw-pkg__items { border-top: 1px solid var(--color-border); padding-top: 20px; }
    .xsw-course-table__grid { grid-template-columns: repeat(2, 1fr); }
    .xsw-course-table__col:nth-child(3) { border-left: none; padding-left: 0; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--color-border); }
}

@media (max-width: 700px) {
    .xsw-hero { min-height: calc(100vh - var(--nav-height)); }
    .xsw-mode-grid { grid-template-columns: repeat(2, 1fr); }
    .xsw-pkg { padding: 24px 20px; }
    .xsw-pkg__gallery--4, .xsw-pkg__gallery--6 { grid-template-columns: 1fr 1fr; }
    .xsw-course-table { padding: 22px 20px; }
    .xsw-course-table__grid { grid-template-columns: 1fr; }
    .xsw-course-table__col { border-left: none !important; padding-left: 0 !important; }
    .xsw-course-table__col:not(:first-child) { border-top: 1px solid var(--color-border); padding-top: 12px; margin-top: 4px; }
    .xsw-course-table__head { flex-wrap: wrap; }
    .xsw-course-table__note { margin-left: 20px; }
    .xsw-pkg__desc {max-width: 100%;}
}

