/* Root Variables - Ginger Cat Theme */
:root {
    --primary: #FF9F43;
    --primary-dark: #EE5253;
    --secondary: #FFCA28;
    --accent: #F368E0;
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --bg-card-alt: #252525;
    --text-main: #FFFFFF;
    --text-muted: #B0B0B0;
    --text-dim: #707070;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.highlight {
    color: var(--primary);
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 159, 67, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 159, 67, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--glass);
    border-color: var(--primary);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background: radial-gradient(circle at 80% 20%, rgba(255, 159, 67, 0.1), transparent 40%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Hero Illustration - Cat Animation */
.cat-illustration {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cat-body {
    width: 200px;
    height: 200px;
    background: var(--primary);
    border-radius: 100px 100px 60px 60px;
    position: relative;
    box-shadow: 0 20px 50px rgba(255, 159, 67, 0.4);
    animation: float 4s ease-in-out infinite;
}

.cat-head {
    width: 160px;
    height: 130px;
    background: var(--primary);
    border-radius: 80px 80px 40px 40px;
    position: absolute;
    top: -80px;
    left: 20px;
}

.cat-ears::before, .cat-ears::after {
    content: '';
    position: absolute;
    top: -20px;
    width: 40px;
    height: 50px;
    background: var(--primary);
}

.cat-ears::before { left: 10px; border-radius: 50% 50% 0 0; transform: rotate(-15deg); }
.cat-ears::after { right: 10px; border-radius: 50% 50% 0 0; transform: rotate(15deg); }

.cat-eyes::before, .cat-eyes::after {
    content: '';
    position: absolute;
    top: 50px;
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50%;
    animation: blink 5s infinite;
}

.cat-eyes::before { left: 40px; }
.cat-eyes::after { right: 40px; }

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icons i {
    position: absolute;
    font-size: 2rem;
    opacity: 0.6;
    color: var(--primary);
    animation: float-alt 6s ease-in-out infinite;
}

.floating-icons i:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-icons i:nth-child(2) { top: 20%; right: 10%; animation-delay: 1s; }
.floating-icons i:nth-child(3) { bottom: 20%; left: 0%; animation-delay: 2s; }
.floating-icons i:nth-child(4) { bottom: 10%; right: 5%; animation-delay: 3s; }

/* Sections Common */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Advantage Cards */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.adv-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.adv-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: var(--bg-card-alt);
}

.adv-icon {
    width: 60px;
    height: 60px;
    background: var(--glass);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.adv-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.adv-card p {
    color: var(--text-muted);
}

/* Node Status */
.node-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.node-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--glass-border);
}

.node-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.region-flag { font-size: 1.5rem; }
.region-name { font-weight: 600; font-size: 0.95rem; }

.node-latency {
    font-family: monospace;
    color: var(--primary);
}

.node-status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #4cd137;
}

.dot {
    width: 8px;
    height: 8px;
    background: #4cd137;
    border-radius: 50%;
}

.pulse {
    box-shadow: 0 0 0 rgba(76, 209, 55, 0.4);
    animation: pulse 2s infinite;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.pricing-card {
    background: var(--bg-card);
    padding: 3.5rem 2.5rem;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    background: var(--bg-card-alt);
    border-color: var(--primary);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    text-align: left;
    margin-bottom: 2.5rem;
}

.pricing-features li {
    margin-bottom: 1rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.pricing-features li i {
    color: var(--primary);
}

/* Reviews */
.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--glass);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.user-info h4 { margin-bottom: 0.2rem; }
.user-info p { font-size: 0.85rem; color: var(--text-dim); }

.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.stars { color: var(--secondary); }

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    margin-bottom: 1rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 { font-size: 1.1rem; font-weight: 600; }

.faq-answer {
    padding: 0 2rem 1.5rem;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* Knowledge Base */
.kb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.kb-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kb-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 159, 67, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    border-radius: 50px;
    width: fit-content;
}

.kb-card h3 a:hover { color: var(--primary); }

.kb-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kb-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.read-more { color: var(--primary); font-weight: 600; }

.kb-more {
    text-align: center;
    margin-top: 4rem;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: #0a0a0a;
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 1.5rem;
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4 { margin-bottom: 1.5rem; }
.footer-links ul li { margin-bottom: 0.8rem; }
.footer-links ul li a { color: var(--text-dim); }
.footer-links ul li a:hover { color: var(--primary); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 0.9rem;
}

.social-links { display: flex; gap: 1.5rem; font-size: 1.2rem; }

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes float-alt {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -15px); }
}

@keyframes blink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.1); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 209, 55, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(76, 209, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 209, 55, 0); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 2.5rem; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .section-title { font-size: 2rem; }
    .pricing-card.featured { transform: scale(1); }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
}
