/* ===== Reset & Variables ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #7cfc00;
    --primary-light: #9dff3a;
    --primary-dark: #5cbf00;
    --bg: #121218;
    --bg-alt: #1a1a26;
    --bg-card: #1e1e2e;
    --text: #f0f0f5;
    --text-muted: #9a9ab0;
    --border: #2a2a3e;
    --radius: 12px;
    --section-heading-gap: 56px;
    --section-top-gap: 60px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

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

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

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(18, 18, 24, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.brand-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 28px;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.nav-links a.active {
    color: #ffffff;
}

.nav-links a:hover {
    color: var(--primary);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: #121218;
    box-shadow: 0 4px 20px rgba(124, 252, 0, 0.25);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(124, 252, 0, 0.35);
}

.btn-ghost {
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== Hero ===== */
.hero {
    padding: 110px 0 68px;
    background: radial-gradient(ellipse at 30% 50%, rgba(124, 252, 0, 0.04) 0%, transparent 60%),
                linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-top: 16px;
}

.hero-copy {
    flex: 1;
    max-width: 560px;
}

.eyebrow {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.hero-copy h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-copy h1 .h1-sub {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-top: 32px;
    letter-spacing: 0;
}

.hero-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-downloads {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.hero-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 16px;
    background: rgba(30, 30, 46, 0.88);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s;
}

.hero-download-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-download-link.btn {
    min-height: 56px;
}

.hero-download-link.btn-primary {
    padding: 12px 28px;
    background: var(--primary);
    border-color: transparent;
    border-radius: 8px;
    color: #121218;
    box-shadow: 0 4px 20px rgba(124, 252, 0, 0.25);
}

.hero-download-link.btn-primary:hover {
    background: var(--primary-light);
    border-color: transparent;
    color: #121218;
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(124, 252, 0, 0.35);
}

.hero-meta {
    display: flex;
    gap: 20px;
    list-style: none;
    font-size: 13px;
    color: var(--text-muted);
}

.hero-meta li {
    position: relative;
}

.hero-meta li::before {
    content: "✓ ";
    color: var(--primary);
}

.hero-meta li[data-tooltip] {
    cursor: help;
}

.hero-meta li[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    top: calc(100% + 12px);
    transform: translateX(-50%) translateY(-6px);
    width: max-content;
    max-width: 220px;
    padding: 10px 12px;
    border: 1px solid rgba(124, 252, 0, 0.18);
    border-radius: 10px;
    background: rgba(18, 18, 24, 0.96);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    color: var(--text);
    line-height: 1.6;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 10;
}

.hero-meta li[data-tooltip]:hover::after,
.hero-meta li[data-tooltip]:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ===== Mic Orb Animation ===== */
.hero-visual {
    flex-shrink: 0;
    width: min(448px, 32.2vw);
}

.hero-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(11, 14, 26, 0.88);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-carousel-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(10, 14, 24, 0.62);
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.2s ease, background 0.2s ease;
}

.hero-carousel:hover .hero-carousel-nav {
    opacity: 1;
}

.hero-carousel-nav:hover {
    background: rgba(22, 28, 42, 0.86);
}

.hero-carousel-nav span {
    display: block;
    font-size: 28px;
    line-height: 40px;
}

.hero-carousel-prev {
    left: -6px;
}

.hero-carousel-next {
    right: -6px;
}

.hero-carousel-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
    opacity: 0.5;
}

.hero-carousel-dot {
    width: 10px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-carousel-dot.is-active {
    width: 18px;
    background: #6ea8ff;
}

.mic-orb {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mic-core {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #121218;
    z-index: 2;
    box-shadow: 0 0 40px rgba(124, 252, 0, 0.35);
}

.mic-core svg {
    width: 36px;
    height: 36px;
}

.ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
    animation: ring-pulse 2.4s ease-out infinite;
}

.ring-two {
    animation-delay: 1.2s;
}

@keyframes ring-pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* ===== Sections ===== */
.section {
    padding-top: var(--section-top-gap);
    padding-bottom: 100px;
}

.section-alt {
    background: var(--bg-alt);
}

.section-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--section-heading-gap);
}

.section-tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

#features {
    padding-top: var(--section-top-gap);
}

.section-heading p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ===== Feature Grid ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.card-featured {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
    background:
        radial-gradient(circle at 16% 14%, rgba(124, 252, 0, 0.06), transparent 24%),
        linear-gradient(180deg, rgba(34, 34, 56, 0.98) 0%, rgba(24, 25, 38, 0.98) 100%);
}

.card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(124, 252, 0, 0.08);
    transform: translateY(-3px);
}

.card-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.card-icon-image {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.card-icon-mic {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 84px;
}

.card-featured .card-icon-mic {
    min-height: 132px;
    margin-bottom: 12px;
}

.mic-orb-sm {
    width: 84px;
    height: 84px;
}

.card-featured .mic-orb-sm {
    width: 112px;
    height: 112px;
}

.mic-orb-sm .mic-core {
    width: 40px;
    height: 40px;
    box-shadow: 0 0 24px rgba(124, 252, 0, 0.3);
}

.card-featured .mic-orb-sm .mic-core {
    width: 54px;
    height: 54px;
    box-shadow: 0 0 30px rgba(124, 252, 0, 0.38);
}

.mic-orb-sm .mic-core svg {
    width: 18px;
    height: 18px;
}

.card-featured .mic-orb-sm .mic-core svg {
    width: 24px;
    height: 24px;
}

.mic-orb-sm .ring {
    width: 40px;
    height: 40px;
    border-width: 1.5px;
}

.card-featured .mic-orb-sm .ring {
    width: 54px;
    height: 54px;
}

.card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-featured h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

.card-featured p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.9;
}

/* ===== Pricing ===== */
.pricing-section {
    position: relative;
    background:
        radial-gradient(circle at top left, rgba(124, 252, 0, 0.06), transparent 34%),
        radial-gradient(circle at top right, rgba(110, 168, 255, 0.12), transparent 30%),
        linear-gradient(180deg, rgba(19, 22, 33, 0.96) 0%, rgba(14, 16, 25, 1) 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.pricing-grid-single {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
}

.pricing-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(30, 30, 46, 0.94) 0%, rgba(18, 19, 31, 0.98) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.pricing-grid-single .pricing-card {
    width: 100%;
    padding: 34px 36px;
}

.pricing-card:hover {
    border-color: rgba(110, 168, 255, 0.24);
    box-shadow: 0 24px 60px rgba(110, 168, 255, 0.1);
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 45%);
    pointer-events: none;
}

.pricing-card-featured:hover {
    border-color: rgba(124, 252, 0, 0.28);
    box-shadow: 0 24px 60px rgba(92, 191, 0, 0.12);
}

.pricing-card-head {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.pricing-card h3 {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 0;
}

.pricing-card-desc {
    max-width: 100%;
    margin-bottom: 26px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(124, 252, 0, 0.12);
    color: #d8ffae;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pricing-badge-alt {
    background: rgba(110, 168, 255, 0.14);
    color: #cfe1ff;
}

.pricing-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.pricing-grid-single .pricing-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.pricing-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.pricing-grid-single .pricing-list li {
    min-height: 112px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.pricing-list li span {
    font-size: 15px;
    color: var(--text-muted);
}

.pricing-list li strong {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.pricing-grid-single .pricing-list li strong {
    font-size: 28px;
}

.pricing-currency {
    font-size: 0.65em;
    font-weight: 800;
    margin-right: 6px;
}

.pricing-note {
    margin-top: 18px;
    padding-top: 18px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.8;
}

/* ===== About ===== */
.about-section {
    background:
        radial-gradient(circle at top left, rgba(124, 252, 0, 0.05), transparent 28%),
        linear-gradient(180deg, rgba(18, 19, 31, 0.98) 0%, rgba(14, 16, 25, 1) 100%);
}

.about-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

.about-copy,
.about-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(30, 30, 46, 0.94) 0%, rgba(18, 19, 31, 0.98) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.about-copy {
    padding: 32px;
}

.about-copy h3 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 18px;
}

.about-copy p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.9;
}

.about-copy p + p {
    margin-top: 16px;
}

.about-highlights {
    display: grid;
    gap: 18px;
}

.about-card {
    padding: 24px;
}

.about-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.about-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
}

.modal-overlay[hidden] {
    display: none;
}

.modal-dialog {
    position: relative;
    width: min(480px, 92vw);
    padding: 36px 32px 32px;
    background: linear-gradient(180deg, #1e1e2e 0%, #181a26 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #ffffff;
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
}

.modal-field {
    margin-bottom: 20px;
}

.modal-field label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.modal-link-box {
    padding: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.modal-link-text {
    display: block;
    font-size: 14px;
    color: var(--text);
    word-break: break-all;
    margin-bottom: 10px;
}

.modal-code-inline {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.modal-btn-full {
    width: 100%;
    padding: 14px 28px;
    font-size: 15px;
}

/* ===== Footer ===== */
.site-footer {
    padding: 28px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.site-footer p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
    }

    .hero-visual {
        width: 100%;
        max-width: 640px;
    }

    .hero-copy h1 {
        font-size: 34px;
    }

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

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

    .hero-meta {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .card-featured {
        grid-row: span 1;
    }

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

    .pricing-grid-single .pricing-card {
        width: 100%;
        padding: 28px;
    }

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

    .pricing-grid-single .pricing-list li {
        min-height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .pricing-card-head {
        align-items: flex-start;
    }

    .about-panel {
        grid-template-columns: 1fr;
    }

    .about-copy {
        padding: 28px 24px;
    }

    .about-copy h3 {
        font-size: 24px;
    }

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

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
