
/* A11y & Phase 2 Fixes */
*:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 2px;
}
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--cyan);
    color: #0B132B;
    padding: 8px;
    z-index: 1000;
    transition: top 0.2s;
    font-weight: bold;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}
/* Web3 Cyberpunk / Glassmorphism Styles */
:root {
    --bg-color: #0B132B;
    --yellow: #FFD166;
    --cyan: #06D6A0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-sec: #a0aab2;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-color);
    overflow-x: hidden;
    position: relative;
}

/* Background Bubbles */
.bubbles-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(6, 214, 160, 0.2);
    border-radius: 50%;
    animation: rise infinite ease-in;
}
@keyframes rise {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-120vh) scale(1.5); opacity: 0; }
}

a { text-decoration: none; color: var(--cyan); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
    padding: 20px 0;
}
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-logo {
    color: var(--yellow);
    font-size: 1.8rem;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(255, 209, 102, 0.5);
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-links a {
    color: var(--text-main);
    font-weight: bold;
    transition: color 0.2s, text-shadow 0.2s;
}
.nav-links a:hover {
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(6, 214, 160, 0.5);
}
.nav-cta {
    background: linear-gradient(45deg, var(--yellow), #ff9f1c);
    color: #000 !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(255, 209, 102, 0.4);
 min-height: 44px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;}
.nav-cta:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    padding: 160px 20px 100px;
    position: relative;
}
.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-text {
    flex: 1;
    text-align: left;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    background: -webkit-linear-gradient(45deg, var(--yellow), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-sec);
}
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}
.floating-duck {
    width: 100%;
    max-width: 400px;
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--cyan), #00b4d8);
    color: #0B132B !important;
    text-decoration: none !important;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 900;
    border-radius: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 20px rgba(6, 214, 160, 0.4);
    border: none;
    cursor: pointer;
 min-height: 44px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;}
.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px rgba(6, 214, 160, 0.6);
    color: #0B132B !important;
}

/* Node Ticker */
.node-ticker-wrapper {
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    backdrop-filter: blur(5px);
}
.node-ticker {
    display: inline-flex;
    animation: ticker 25s linear infinite;
    gap: 50px;
    color: var(--cyan);
    font-weight: bold;
}
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 80px 0; }
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Glass Cards */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 30px;
}
.card, .pricing-card, .support-card, .testimonial-card, .faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    color: var(--text-main);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    border-color: var(--cyan);
    box-shadow: 0 10px 30px rgba(6, 214, 160, 0.15);
}
.card h3 {
    margin-bottom: 15px;
    color: var(--yellow);
}
.card p { color: var(--text-sec); }

/* Pricing Cards - 3D Game Props Style */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    perspective: 1000px;
    flex-wrap: wrap;
}
.pricing-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    text-align: center;
    transform-style: preserve-3d;
    position: relative;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255,255,255,0.2);
    border-left: 1px solid rgba(255,255,255,0.2);
}
.pricing-card:hover {
    transform: translateZ(20px) rotateX(5deg);
    border-color: var(--cyan);
    box-shadow: inset 0 0 30px rgba(6,214,160,0.1), 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(6,214,160,0.3);
}
.pricing-card.popular {
    border-color: var(--yellow);
    box-shadow: inset 0 0 30px rgba(255,209,102,0.1), 0 20px 40px rgba(0,0,0,0.6), 0 0 20px rgba(255,209,102,0.3);
    transform: scale(1.05) translateZ(10px);
}
.pricing-card.popular:hover {
    transform: scale(1.05) translateZ(30px) rotateX(5deg);
}
.pricing-card.popular::before {
    content: "🔥 爆款推荐";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #ff4d4d, var(--yellow));
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.5);
}
.price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--yellow);
    margin: 20px 0;
    text-shadow: 0 0 15px rgba(255, 209, 102, 0.4);
}
.price span {
    font-size: 1rem;
    color: var(--text-sec);
    font-weight: normal;
    text-shadow: none;
}
.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}
.pricing-card li {
    margin-bottom: 15px;
    color: var(--text-main);
    padding-left: 30px;
    position: relative;
}
.pricing-card li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

/* Testimonials Marquee */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}
.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}
.testimonial-card {
    width: 350px;
    margin-right: 30px;
    white-space: normal;
    border-color: rgba(6, 214, 160, 0.3);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(6, 214, 160, 0.15);
}
.testimonial-author { 
    color: var(--yellow); 
    text-align: right;
    margin-top: 15px;
    font-weight: bold;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
details.faq-item {
    cursor: pointer;
    margin-bottom: 20px;
    background: var(--glass-bg);
}
details.faq-item summary {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--yellow);
    outline: none;
    list-style: none;
    position: relative;
    padding-right: 20px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cyan);
    font-size: 1.5rem;
}
details.faq-item[open] summary::after { content: '-'; }
details.faq-item p {
    margin-top: 15px;
    color: var(--text-sec);
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
}

/* Subpages Content */
.page-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 120px 20px 60px; /* adjusted for navbar */
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}
.page-content {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 50px;
    border-radius: 24px;
    margin: -30px auto 50px;
    max-width: 800px;
    position: relative;
    color: var(--text-sec);
    z-index: 2;
}
.page-content h2 {
    margin: 30px 0 15px;
    color: var(--yellow);
}
.page-content p {
    margin-bottom: 15px;
}
.page-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
}
.page-content li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid var(--glass-border);
    padding: 50px 0 20px;
    text-align: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer-links a { color: var(--text-sec); font-weight: bold; }
.footer-links a:hover { color: var(--yellow); }
.pbn-links {
    margin: 30px 0 20px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.3);
}
.pbn-links a {
    color: rgba(255,255,255,0.4);
    margin: 0 10px;
}
.pbn-links a:hover { color: var(--cyan); }
.footer-copy { color: rgba(255,255,255,0.2); font-size: 0.9rem; }

/* Responsive */
@media (max-width: 768px) {
    .navbar-container { flex-direction: column; gap: 15px; }
    .nav-links { position: relative; left: 0; transform: none; flex-wrap: wrap; justify-content: center; gap: 15px; }
    .hero .container { flex-direction: column; text-align: center; }
    .hero-text { text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .floating-duck { max-width: 250px; }
    .pricing-grid { flex-direction: column; align-items: center; }
    .pricing-card { width: 100%; max-width: 100%; transform: none !important; }
    .pricing-card.popular { transform: scale(1.02) !important; }
    .pricing-card:hover, .pricing-card.popular:hover { transform: translateY(-5px) !important; }
    .page-content { padding: 30px 20px; margin-top: 0; border-radius: 0; border-left: none; border-right: none; }
}
