:root {
    --primary: #2d3436;
    --accent: #ff9f43;
    --secondary: #10ac84;
    --bg-light: #f8f9fa;
    --bg-alt: #eff2f5;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 159, 67, 0.4);
}

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

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

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.4s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

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

.logo-text span {
    color: var(--accent);
    font-weight: 500;
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
    overflow: hidden;
}

.dynamic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary);
}

.hero-text .highlight {
    color: var(--accent);
    position: relative;
    z-index: 1;
}

.hero-text .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(255, 159, 67, 0.2);
    z-index: -1;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cat-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-5deg) rotateX(5deg) translateY(-20px); }
}

.card-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--secondary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    margin-bottom: 15px;
}

.card-stats {
    display: flex;
    gap: 30px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.stat span {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.stat p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

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

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Grid System */
.grid {
    display: grid;
    gap: 30px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Feature Cards */
.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Node Grid */
.node-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.node-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow);
}

.node-flag { font-size: 1.5rem; margin-bottom: 10px; }
.node-name { font-weight: 700; margin-bottom: 5px; }
.node-status { font-size: 0.85rem; color: var(--secondary); margin-bottom: 10px; }
.node-latency { font-family: monospace; color: var(--text-muted); }

/* Pricing Cards */
.price-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    border: 2px solid transparent;
}

.price-card.featured {
    border-color: var(--accent);
    transform: scale(1.05);
    z-index: 5;
}

.price-card .tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
}

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

.price-features {
    margin-bottom: 30px;
    text-align: left;
}

.price-features li {
    margin-bottom: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-features li::before { content: '✓'; color: var(--secondary); font-weight: 800; }

/* Review Cards */
.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Knowledge Base */
.article-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.article-card:hover { transform: translateY(-5px); }

.article-img {
    height: 150px;
    background: linear-gradient(135deg, var(--secondary) 0%, #00d2d3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.article-content { padding: 20px; }
.article-content h4 { margin-bottom: 10px; font-size: 1rem; line-height: 1.4; }
.article-content a { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

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

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-muted);
    display: none;
}

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

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 80px 0 30px;
}

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

.footer-brand .logo { color: white; margin-bottom: 20px; }
.footer-brand p { color: #b2bec3; max-width: 300px; }

.footer-links h4 { margin-bottom: 25px; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: #b2bec3; }
.footer-links ul li a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: #b2bec3;
    font-size: 0.9rem;
}

.footer-bottom a { color: #b2bec3; }

/* Animations */
.fade-in { animation: fadeIn 1s ease-out; }
.fade-in-delay { animation: fadeIn 1s ease-out 0.5s both; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text h1 { font-size: 3rem; }
    .hero-btns { justify-content: center; }
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 2.5rem; }
}
