@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    --bg-dark: #07070a;
    --text-main: #f5f5f7;
    --text-muted: #86868b;
    --accent-primary: #00e5ff;
    --accent-secondary: #7000ff;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* Dynamic Background */
.bg-glow {
    position: fixed;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(112, 0, 255, 0.08), transparent 40%),
                radial-gradient(circle at 80% 20%, rgba(0, 229, 255, 0.05), transparent 30%);
    z-index: -1;
    animation: pulse 20s infinite alternate;
}
@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.main-nav {
    display: flex;
    gap: 35px;
    align-items: center;
}
.main-nav a {
    color: var(--text-main);
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s;
}
.main-nav a:hover {
    color: var(--accent-primary);
}
.logo { 
    font-size: 32px; 
    font-weight: 800; 
    letter-spacing: 2px; 
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary)); 
    -webkit-background-clip: text; 
    color: transparent; 
}
.nav-cta {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.nav-cta:hover {
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent-primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);
    border-color: transparent;
}
.header-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}
.nav-cta-secondary {
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.3s ease;
}
.nav-cta-secondary:hover {
    color: var(--accent-primary);
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
}
.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}
.hero-content {
    flex: 1;
    max-width: 600px;
}
.hero-content h1 {
    font-size: 64px;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}
.hero-content p {
    font-size: 20px;
    color: var(--text-muted);
    margin: 0 0 40px;
    line-height: 1.6;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Dynamic Card */
.dynamic-card {
    background: rgba(10, 15, 25, 0.6);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 24px;
    padding: 30px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 229, 255, 0.05);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}
.dynamic-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(transparent, rgba(0,229,255,0.3), transparent 30%);
    animation: rotate 6s linear infinite;
    z-index: -1;
}
.dynamic-card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background: rgba(10, 15, 25, 0.9);
    border-radius: 23px;
    z-index: -1;
}
@keyframes rotate { 100% { transform: rotate(360deg); } }

.status-indicator { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.ping { font-family: monospace; font-size: 14px; color: var(--text-muted); }
.ping span { color: #00ff00; font-weight: bold; }
.status-dot { width: 10px; height: 10px; background: #00ff00; border-radius: 50%; box-shadow: 0 0 10px #00ff00; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

.card-title { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 30px; text-align: center; letter-spacing: 1px; }

.connection-line { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.node { background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); padding: 10px 15px; border-radius: 12px; font-weight: bold; }
.line { flex: 1; height: 2px; background: rgba(255,255,255,0.1); margin: 0 15px; position: relative; overflow: hidden; }
.data-packet { position: absolute; top: -1px; left: 0; width: 30px; height: 4px; background: var(--accent-primary); box-shadow: 0 0 10px var(--accent-primary); border-radius: 2px; animation: transmit 1.5s infinite; }
@keyframes transmit { 0% { left: -30px; } 100% { left: 100%; } }

.speed-bars { display: flex; flex-direction: column; gap: 15px; }
.bar-row { display: flex; align-items: center; gap: 10px; font-size: 12px; font-family: monospace; color: var(--text-muted); }
.bar { flex: 1; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.fill { height: 100%; border-radius: 3px; }
.fill.dl { width: 95%; background: var(--accent-primary); box-shadow: 0 0 5px var(--accent-primary); animation: load-dl 2s ease-out; }
.fill.ul { width: 85%; background: var(--accent-secondary); box-shadow: 0 0 5px var(--accent-secondary); animation: load-ul 2s ease-out; }
@keyframes load-dl { 0% { width: 0; } 100% { width: 95%; } }
@keyframes load-ul { 0% { width: 0; } 100% { width: 85%; } }

.btn-secondary {
    display: inline-block;
    padding: 18px 48px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
}
.btn-primary {
    display: inline-block;
    padding: 18px 48px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 40px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    box-shadow: 0 10px 30px rgba(112, 0, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    animation: shine 4s infinite;
}
@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.5);
}

/* Common Section */
.section { padding: 90px 0; }
.section-title { text-align: center; font-size: 42px; margin-bottom: 70px; font-weight: 800; }

/* Features Grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 50px 30px;
    backdrop-filter: blur(20px);
    transition: transform 0.4s ease, background 0.4s ease;
    text-align: center;
}
.card:hover { 
    transform: translateY(-10px); 
    background: rgba(255,255,255,0.05); 
    border-color: rgba(255,255,255,0.1);
}
.card-icon {
    font-size: 56px;
    margin-bottom: 30px;
}
.card h3 { font-size: 26px; margin-bottom: 16px; font-weight: 600; }
.card p { color: var(--text-muted); font-size: 17px; line-height: 1.7; }

/* Media & AI Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.media-card {
    background: linear-gradient(145deg, rgba(112,0,255,0.08), rgba(0,229,255,0.08));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 30px;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.media-card:hover {
    transform: translateY(-5px);
}
.media-card h3 { font-size: 34px; margin-bottom: 20px; font-weight: 800; }
.media-card p { color: var(--text-muted); font-size: 18px; margin-bottom: 30px; line-height: 1.8; }
.tags span {
    display: inline-block;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    padding: 8px 20px;
    border-radius: 30px;
    margin-right: 12px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #fff;
}

/* Pricing Grid */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: center; }
.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}
.pricing-card:hover {
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.pricing-card.popular {
    background: linear-gradient(180deg, rgba(112,0,255,0.1) 0%, transparent 100%);
    border-color: var(--accent-secondary);
    transform: scale(1.05);
    position: relative;
}
.popular-tag {
    position: absolute;
    top: -15px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--accent-secondary), var(--accent-primary));
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1px;
}
.pricing-card h3 { font-size: 24px; margin-bottom: 10px; font-weight: 600; color: #fff;}
.pricing-card .price { font-size: 56px; font-weight: 800; margin: 30px 0; color: #fff; }
.pricing-card .price span { font-size: 18px; color: var(--text-muted); font-weight: 400; }
.pricing-card ul { list-style: none; margin-bottom: 40px; text-align: left; }
.pricing-card ul li { margin-bottom: 16px; color: var(--text-muted); display: flex; align-items: flex-start; gap: 12px; font-size: 16px;}
.pricing-card ul li::before { content: "✓"; color: var(--accent-primary); font-weight: bold; font-size: 18px; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    transition: background 0.3s;
}
.faq-item:hover { background: rgba(255,255,255,0.04); }
.faq-item h4 { font-size: 22px; margin-bottom: 12px; color: #fff; font-weight: 600; }
.faq-item p { color: var(--text-muted); font-size: 17px; line-height: 1.7; }

/* Testimonials */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.test-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: transform 0.3s;
}
.test-card:hover { transform: translateY(-5px); }
.test-card .stars { color: #FFD700; margin-bottom: 20px; letter-spacing: 4px; font-size: 20px;}
.test-card p { font-style: italic; color: var(--text-muted); margin-bottom: 24px; font-size: 17px; line-height: 1.8;}
.test-card .user { font-weight: 600; color: #fff; font-size: 16px; }

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 40px;
    margin-top: 100px;
    text-align: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 40px;
}
.footer-links a { 
    color: var(--text-muted); 
    transition: color 0.3s; 
    font-size: 16px;
    font-weight: 600;
}
.footer-links a:hover { color: var(--accent-primary); }

/* Responsive */
@media (max-width: 900px) {
    header { flex-direction: column; gap: 20px; padding: 20px 0; }
    .main-nav { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .hero-split { flex-direction: column; text-align: center; gap: 40px; padding: 40px 0 60px; }
    .hero-content h1 { font-size: 42px; }
    .hero-content .hero-buttons { justify-content: center; }
    .grid-3, .grid-2, .pricing-grid, .test-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 48px; }
    .pricing-card.popular { transform: none; }
    .footer-links { flex-direction: column; gap: 24px; }
    .hero-buttons { flex-direction: column; gap: 15px; }
    .btn-primary, .btn-secondary { 
        padding: 20px; 
        font-size: 20px; 
        display: block; 
        width: 100%; 
        max-width: 350px; 
        margin: 0 auto;
        border-radius: 12px;
    }
    .media-card { padding: 40px 30px; }
    .hero { padding: 80px 0 60px; }
}

/* Page Sub Content */
.page-content { 
    max-width: 800px; 
    margin: 80px auto; 
    padding: 60px; 
    background: var(--glass-bg); 
    border-radius: 30px; 
    border: 1px solid var(--glass-border); 
    backdrop-filter: blur(20px);
}
.page-content h1 { margin-bottom: 40px; text-align: center; color: var(--accent-primary); font-size: 42px;}
.page-content h2 { margin: 40px 0 20px; color: #fff; font-size: 24px;}
.page-content p { margin-bottom: 20px; color: var(--text-muted); font-size: 17px; line-height: 1.8;}
.page-content ul { color: var(--text-muted); padding-left: 20px; margin-bottom: 20px; }
.page-content li { margin-bottom: 12px; font-size: 17px; line-height: 1.8;}
.page-content a.sitemap-link { 
    color: var(--text-main); 
    font-size: 18px; 
    display: inline-block; 
    padding: 15px 25px; 
    border-radius: 12px; 
    transition: background 0.3s; 
    width: 100%;
    border: 1px solid var(--glass-border);
}
.page-content a.sitemap-link:hover { 
    background: rgba(255,255,255,0.05); 
    color: var(--accent-primary); 
    border-color: rgba(0, 229, 255, 0.3);
}
@media (max-width: 900px) {
    .page-content { padding: 30px; margin: 40px auto;}
    .page-content h1 { font-size: 32px; }
}
