:root {
    --bg-main: #111116;
    --bg-secondary: #181a21;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    
    --primary: #165dff;
    --primary-hover: #4080ff;
    --primary-glow: rgba(22, 93, 255, 0.4);
    
    --text-main: #ffffff;
    --text-sec: #86909c;
    --text-muted: #5c626b;
    
    --border-color: rgba(255, 255, 255, 0.08);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", 'Roboto', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Glowing Backgrounds */
.bg-ornament {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.5;
    animation: drift 20s infinite alternate ease-in-out;
}

.bg-glow-1 {
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
}

.bg-glow-2 {
    top: 50%;
    right: -300px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(64, 128, 255, 0.2) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 30px); }
}

.layout-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Navigation & Buttons */
.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.btn-text {
    color: var(--text-sec);
    font-weight: 500;
    transition: color 0.2s;
}

.btn-text:hover {
    color: var(--text-main);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(22, 93, 255, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(22, 93, 255, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 100px 0 120px 0;
    align-items: center;
}

.hero-content {
    animation: fadeUp 0.8s ease backwards;
}

.hero-title {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(90deg, #fff, #86909c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-sec);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.cta-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(22, 93, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(22, 93, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 93, 255, 0); }
}

.features-summary {
    display: flex;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-sec);
    font-size: 14px;
    font-weight: 500;
}

/* Mockup Dashboard */
.hero-image {
    perspective: 1000px;
    animation: fadeLeft 1s ease backwards;
    animation-delay: 0.2s;
}

.dashboard-mockup {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    height: 38px;
    background-color: rgba(255,255,255,0.02);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 16px;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.8;
}

.dots .red { background-color: #ff5f56; }
.dots .yellow { background-color: #ffbd2e; }
.dots .green { background-color: #27c93f; }

.url-bar {
    background-color: var(--bg-main);
    border-radius: 4px;
    flex: 1;
    height: 22px;
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--text-muted);
}

.mockup-body {
    display: flex;
    height: 320px;
}

.sidebar {
    width: 60px;
    border-right: 1px solid var(--border-color);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.side-item {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background-color: var(--bg-card);
}

.side-item.active {
    background-color: var(--primary);
    opacity: 0.8;
}

.main-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: radial-gradient(circle at center, rgba(255,255,255,0.01) 0%, transparent 100%);
}

.card-row {
    display: flex;
    gap: 16px;
}

.card {
    background-color: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    flex: 1;
}

.stat-card {
    height: 70px;
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
}

.chart-card {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.chart-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(180deg, transparent 0%, var(--primary-glow) 100%);
    opacity: 0.1;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 40px 0 80px 0;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    background-color: var(--bg-card-hover);
    border-color: rgba(255,255,255,0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-desc {
    color: var(--text-sec);
    font-size: 15px;
    line-height: 1.6;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 60px 0 40px 0;
    gap: 40px;
}

.footer-brand {
    max-width: 240px;
}

.footer-tagline {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links-group {
    display: flex;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--text-main);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

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

@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(40px) rotateY(-5deg) rotateX(5deg); }
    to { opacity: 1; transform: translateX(0) rotateY(-5deg) rotateX(5deg); }
}

/* ============ STATS SECTION ============ */
.stats-section {
    padding: 0 0 80px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: linear-gradient(135deg, rgba(22, 93, 255, 0.08) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(22, 93, 255, 0.2);
    border-radius: 20px;
    padding: 48px 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #165dff, #79aaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    color: var(--text-sec);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border-color);
}

/* ============ SECTION HEADER ============ */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(22, 93, 255, 0.1);
    border: 1px solid rgba(22, 93, 255, 0.25);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-sec);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============ PRICING SECTION ============ */
.pricing-section {
    padding: 80px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    transition: all 0.3s;
}

.pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.15);
}

.pricing-card.featured {
    background: linear-gradient(145deg, rgba(22, 93, 255, 0.12) 0%, rgba(22, 93, 255, 0.04) 100%);
    border-color: rgba(22, 93, 255, 0.4);
    transform: scale(1.04);
    box-shadow: 0 0 40px rgba(22, 93, 255, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.04) translateY(-6px);
}

.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.plan-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-sec);
    margin-bottom: 16px;
}

.plan-price {
    font-size: 52px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.price-currency {
    font-size: 24px;
    vertical-align: top;
    margin-top: 10px;
    display: inline-block;
    color: var(--text-sec);
}

.price-period {
    font-size: 16px;
    color: var(--text-sec);
    font-weight: 400;
}

.plan-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-color);
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    flex: 1;
    font-size: 14px;
    color: var(--text-sec);
}

.plan-features li.disabled {
    opacity: 0.4;
    text-decoration: line-through;
}

.check {
    color: #27c93f;
    font-weight: 700;
    margin-right: 6px;
}

.cross {
    color: var(--text-muted);
    margin-right: 6px;
}

.plan-btn {
    text-align: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 15px;
}

/* ============ NODES SECTION ============ */
.nodes-section {
    padding: 80px 0;
}

.nodes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.node-region {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: default;
}

.node-region:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 93, 255, 0.3);
    background: rgba(22, 93, 255, 0.05);
}

.region-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.region-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.region-count {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============ TESTIMONIALS ============ */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.12);
}

.stars {
    color: #f7ba2a;
    font-size: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-sec);
    line-height: 1.7;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), #79aaff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
}

.author-role {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============ FAQ SECTION ============ */
.faq-section {
    padding: 80px 0;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: rgba(22, 93, 255, 0.3);
}

.faq-item.open {
    border-color: rgba(22, 93, 255, 0.4);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 500;
    user-select: none;
}

.faq-icon {
    font-size: 22px;
    color: var(--primary);
    font-weight: 300;
    transition: transform 0.3s;
    flex-shrink: 0;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    font-size: 14px;
    color: var(--text-sec);
    line-height: 1.7;
    padding: 0 24px;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 24px 20px;
}

/* ============ CTA BANNER ============ */
.cta-banner {
    padding: 80px 0;
}

.cta-banner-inner {
    background: linear-gradient(135deg, rgba(22, 93, 255, 0.15) 0%, rgba(64, 128, 255, 0.08) 100%);
    border: 1px solid rgba(22, 93, 255, 0.3);
    border-radius: 24px;
    padding: 72px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner-inner::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(22, 93, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 18px;
    color: var(--text-sec);
    margin-bottom: 36px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 0;
    }
    .hero-title { font-size: 40px; }
    .hero-desc { margin: 0 auto 32px auto; }
    .hero-actions { justify-content: center; }
    .features-summary { justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { flex-wrap: wrap; gap: 32px; }
    .stat-divider { display: none; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.featured { transform: scale(1); }
    .nodes-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; }
    .footer-links-group { flex-wrap: wrap; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .section-title { font-size: 32px; }
    .cta-title { font-size: 32px; }
}

