/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
}

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

/* Dynamic Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Layout Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: rgba(248, 249, 250, 0.8);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #111;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #0056b3;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #0056b3;
    color: #fff;
    border: 2px solid #0056b3;
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #0056b3;
    border: 2px solid #0056b3;
}

.btn-outline:hover {
    background-color: #0056b3;
    color: #fff;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    transition: background-color 0.3s;
    backdrop-filter: blur(5px);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0056b3;
}

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

.nav-links a {
    font-weight: 500;
    color: #555;
}

.nav-links a:hover {
    color: #0056b3;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* Offset for navbar */
}

.hero-content {
    max-width: 800px;
    background: rgba(255, 255, 255, 0.8);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #111;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Cards */
.card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Advantages */
.advantage-card {
    text-align: center;
}

.advantage-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #222;
}

.advantage-card p {
    color: #666;
}

/* Pricing Table */
.pricing-table-container {
    overflow-x: auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: 800px;
}

.pricing-table th, .pricing-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.pricing-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
    font-size: 1.1rem;
}

.pricing-table tr:hover {
    background-color: #fcfcfc;
}

.pricing-table td.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #d9534f;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

/* Node Status */
.node-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #5cb85c;
}

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

.node-name {
    font-weight: bold;
    font-size: 1.1rem;
}

.node-latency {
    font-family: monospace;
    color: #5cb85c;
    font-weight: bold;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #5cb85c;
    box-shadow: 0 0 5px #5cb85c;
}

/* Reviews */
.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
}

.review-author {
    font-weight: bold;
    color: #333;
    text-align: right;
}

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

.faq-item {
    background: #fff;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: #555;
    background-color: #fafafa;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
    border-top: 1px solid #eee;
}

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

.icon {
    transition: transform 0.3s;
    font-weight: normal;
    font-size: 1.5rem;
}

/* Knowledge Base */
.article-link {
    display: block;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #0056b3;
    font-weight: 500;
}

.article-link:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #0056b3;
}

/* Footer */
footer {
    background: #111;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #00a8ff;
}

.footer-info p {
    color: #aaa;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #aaa;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    color: #777;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile menu hiding for now */
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-btns {
        flex-direction: column;
    }
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}
