/* ===== Info Page Styles ===== */
:root {
    --bg-deep: #060918;
    --bg-card: rgba(22, 27, 58, 0.7);
    --bg-card-hover: rgba(30, 36, 72, 0.85);
    --text-main: #f0f2ff;
    --text-muted: #8b92b3;
    --accent-blue: #4facfe;
    --accent-purple: #7c4dff;
    --accent-pink: #ff6b9d;
    --accent-cyan: #00f2fe;
    --accent-orange: #ff9a56;
    --accent-green: #69f0ae;
    --gradient-main: linear-gradient(135deg, #4facfe 0%, #7c4dff 100%);
    --gradient-pink: linear-gradient(135deg, #ff6b9d 0%, #c850c0 100%);
    --gradient-cyan: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --shadow-card: 0 8px 32px rgba(0,0,0,0.35);
    --shadow-glow: 0 0 60px rgba(79, 172, 254, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== Background effects ===== */
.page-wrapper {
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

.bg-effects {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    animation: orbFloat 25s infinite ease-in-out;
}

.orb-1 {
    width: 500px; height: 500px;
    background: var(--accent-blue);
    top: -10%; left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px; height: 400px;
    background: var(--accent-purple);
    top: 40%; right: -15%;
    animation-delay: -8s;
}

.orb-3 {
    width: 350px; height: 350px;
    background: var(--accent-pink);
    bottom: 5%; left: 20%;
    animation-delay: -16s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -60px) scale(1.1); }
    50% { transform: translate(-30px, 40px) scale(0.95); }
    75% { transform: translate(50px, 20px) scale(1.05); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(79, 172, 254, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 172, 254, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(6, 9, 24, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(79, 172, 254, 0.1);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    width: 40px; height: 40px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 12px rgba(79, 172, 254, 0.3);
}

.brand-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-badge {
    font-size: 0.65rem;
    font-weight: 700;
    background: var(--gradient-main);
    color: #fff;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    gap: 8px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}

.nav-link:hover {
    color: var(--text-main);
    background: rgba(79, 172, 254, 0.1);
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    z-index: 1;
    padding: 120px 24px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    margin-bottom: 48px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 6px 18px;
    border-radius: 40px;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== Video Showcase ===== */
.video-showcase {
    max-width: 800px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card), var(--shadow-glow);
    border: 1px solid rgba(79, 172, 254, 0.15);
    background: #000;
}

.video-glow {
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-lg);
    background: var(--gradient-main);
    opacity: 0.15;
    z-index: 0;
    filter: blur(2px);
}

.video-player {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: var(--radius-lg);
}

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(6, 9, 24, 0.5);
    cursor: pointer;
    transition: opacity 0.4s ease;
    border-radius: var(--radius-lg);
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-btn {
    width: 80px; height: 80px;
    background: rgba(79, 172, 254, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    background: rgba(79, 172, 254, 0.35);
}

.play-btn svg {
    width: 80px; height: 80px;
}

.play-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* ===== Instruction Section ===== */
.instruction-section {
    position: relative;
    z-index: 1;
    padding: 60px 24px;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== ZeroInfo Sections ===== */
.zeroinfo-section {
    position: relative;
    z-index: 1;
    padding: 60px 24px;
    max-width: 800px;
    margin: 0 auto;
}

.instruction-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 32px 36px;
    backdrop-filter: blur(12px);
    margin-top: 24px;
}

.instruction-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 8px 0;
    padding-left: 8px;
    border-left: 2px solid rgba(99,102,241,0.4);
}

/* ===== Info Cards Section ===== */
.info-section {
    position: relative;
    z-index: 1;
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    opacity: 0;
    transform: translateY(30px);
}

.info-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

/* Card gradient accents (top border line) */
.info-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.card-gradient-1::before { background: linear-gradient(90deg, #4facfe, #7c4dff); }
.card-gradient-1:hover { border-color: rgba(79, 172, 254, 0.3); }

.card-gradient-2::before { background: linear-gradient(90deg, #7c4dff, #c850c0); }
.card-gradient-2:hover { border-color: rgba(124, 77, 255, 0.3); }

.card-gradient-3::before { background: linear-gradient(90deg, #ff9a56, #ff6b9d); }
.card-gradient-3:hover { border-color: rgba(255, 154, 86, 0.3); }

.card-gradient-4::before { background: linear-gradient(90deg, #00f2fe, #4facfe); }
.card-gradient-4:hover { border-color: rgba(0, 242, 254, 0.3); }

.card-gradient-5::before { background: linear-gradient(90deg, #69f0ae, #00f2fe); }
.card-gradient-5:hover { border-color: rgba(105, 240, 174, 0.3); }

.card-gradient-6::before { background: linear-gradient(90deg, #ff6b9d, #ff9a56); }
.card-gradient-6:hover { border-color: rgba(255, 107, 157, 0.3); }

.card-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
    display: inline-block;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== Commands Section ===== */
.commands-section {
    position: relative;
    z-index: 1;
    padding: 40px 24px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.commands-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.cmd-group {
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 28px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(24px);
}

.cmd-group.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.cmd-group-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.cmd-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.cmd-item:last-child { border-bottom: none; }

.cmd-code {
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(0, 242, 254, 0.08);
    padding: 4px 10px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.cmd-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ===== CTA Section ===== */
.cta-section {
    position: relative;
    z-index: 1;
    padding: 20px 24px 80px;
    max-width: 700px;
    margin: 0 auto;
}

.cta-card {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid rgba(79, 172, 254, 0.15);
    border-radius: var(--radius-lg);
    padding: 48px 32px;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    transform: translateY(24px);
}

.cta-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.cta-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    border: none;
}

.cta-btn:hover {
    transform: translateY(-2px);
}

.cta-btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 24px rgba(79, 172, 254, 0.3);
}

.cta-btn-primary:hover {
    box-shadow: 0 8px 32px rgba(79, 172, 254, 0.45);
}

.cta-btn-secondary {
    background: rgba(255,255,255,0.06);
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.12);
}

.cta-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* ===== Footer ===== */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 32px 24px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header-inner { padding: 12px 16px; }
    .brand-logo { width: 34px; height: 34px; }
    .brand-name { font-size: 1rem; }
    .nav-link { font-size: 0.82rem; padding: 6px 12px; }

    .hero-section { padding: 100px 16px 40px; }
    .hero-content { margin-bottom: 32px; }
    .hero-badge { font-size: 0.78rem; padding: 5px 14px; }

    .video-container {
        border-radius: var(--radius-md);
        aspect-ratio: auto;
        max-height: 75vh;
    }
    .video-player {
        border-radius: var(--radius-md);
        width: 100%;
        height: auto;
        max-height: 75vh;
        object-fit: contain;
    }
    .video-overlay { border-radius: var(--radius-md); }

    .play-btn { width: 64px; height: 64px; }
    .play-btn svg { width: 64px; height: 64px; }
    .play-label { font-size: 0.8rem; }

    .info-section { padding: 48px 16px; }
    .instruction-section { padding: 40px 16px; }
    .instruction-card { padding: 24px 20px; }
    .instruction-content p { font-size: 0.95rem; }
    .zeroinfo-section { padding: 40px 16px; }
    .section-heading { margin-bottom: 32px; }
    .cards-grid { grid-template-columns: 1fr; gap: 14px; }
    .info-card { padding: 24px 20px; }

    .commands-section { padding: 24px 16px 60px; }
    .commands-list { grid-template-columns: 1fr; gap: 16px; }
    .cmd-group { padding: 22px 18px; }
    .cmd-item { flex-direction: column; gap: 4px; }

    .cta-section { padding: 10px 16px 60px; }
    .cta-card { padding: 36px 20px; border-radius: var(--radius-md); }
    .cta-buttons { flex-direction: column; }
    .cta-btn { justify-content: center; }
}

@media (max-width: 400px) {
    .hero-title { font-size: 1.6rem; }
    .hero-desc { font-size: 0.92rem; }
    .brand-badge { display: none; }
    .nav { gap: 4px; }
    .nav-link { padding: 6px 8px; font-size: 0.78rem; }
}

/* ===== Animations for sequential card appearance ===== */
.info-card:nth-child(1) { transition-delay: 0s; }
.info-card:nth-child(2) { transition-delay: 0.08s; }
.info-card:nth-child(3) { transition-delay: 0.16s; }
.info-card:nth-child(4) { transition-delay: 0.24s; }
.info-card:nth-child(5) { transition-delay: 0.32s; }
.info-card:nth-child(6) { transition-delay: 0.4s; }

.cmd-group:nth-child(1) { transition-delay: 0.05s; }
.cmd-group:nth-child(2) { transition-delay: 0.15s; }
