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

:root {
    --bg-color: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-primary: #8b5cf6;
    --accent-secondary: #06b6d4;
    --accent-gradient: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(255, 255, 255, 0.06);
    --font-family: 'Outfit', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Background Effects */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(10, 10, 10, 0) 70%);
    top: -200px;
    left: -200px;
    z-index: -1;
    pointer-events: none;
}

.bg-glow-right {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(10, 10, 10, 0) 70%);
    bottom: 20%;
    right: -100px;
    z-index: -1;
    pointer-events: none;
}

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

/* Header */
header {
    padding: 20px 0;
    border-bottom: 1px solid var(--card-border);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

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

.btn-outline:hover {
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}

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

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

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
}

/* Features Section */
.features {
    padding: 80px 0;
}

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

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease;
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

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

/* Media & AI Section */
.media-ai {
    padding: 80px 0;
    position: relative;
}

.tag-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
}

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

.price-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.price-card.popular {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-color: var(--accent-primary);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.price-card:hover {
    border-color: var(--accent-secondary);
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-secondary);
    margin-bottom: 15px;
}

.popular .plan-name {
    color: var(--accent-primary);
}

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

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

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

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

.plan-features li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
}

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

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 30px;
    border-radius: 20px;
}

.stars {
    color: #fbbf24;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.review-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.review-author {
    font-weight: 600;
}

/* FAQ Section */
.faq {
    padding: 80px 0 120px;
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

summary {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 20px 20px;
    color: var(--text-secondary);
}

/* Footer */
footer {
    border-top: 1px solid var(--card-border);
    padding: 40px 0;
    background: rgba(5, 5, 5, 0.9);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

/* Simple Page Content (for About, Privacy etc) */
.page-content {
    padding: 100px 0;
    max-width: 800px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-content h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.page-content p, .page-content ul {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.page-content ul {
    padding-left: 20px;
}

.page-content li {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .price-card.popular {
        transform: scale(1);
    }
    
    .price-card.popular:hover {
        transform: scale(1.02);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        width: 100%; /* Finger friendly on mobile */
        margin-bottom: 10px;
    }
    
    .hero .btn {
        width: auto;
        min-width: 200px;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

/* Nav Menu */
.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}
.main-nav a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}
.main-nav a:hover {
    color: var(--accent-primary);
}
@media (max-width: 768px) {
    .main-nav { display: none; }
}

/* Hero Split Layout */
.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 50px;
}
.hero-content {
    flex: 1;
}
.hero-content h1 {
    font-size: 3.5rem;
}
.hero-content p {
    margin: 0 0 40px;
}
.hero-visual {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Dynamic Visual Element */
.floating-server {
    position: relative;
    width: 250px;
    height: 300px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    animation: float 4s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.server-node {
    width: 80%;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}
.server-node::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px #10b981;
    animation: blink 2s infinite;
}
.server-node:nth-child(2)::after { animation-delay: 0.5s; }
.server-node:nth-child(3)::after { animation-delay: 1s; }

.pulse-ring {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid var(--accent-secondary);
    opacity: 0;
    animation: pulse 3s ease-out infinite;
    z-index: -1;
}

.stats-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--card-border);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    display: flex;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: float-delayed 5s ease-in-out infinite;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-secondary);
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes float-delayed {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}
@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@media (max-width: 900px) {
    .hero-split {
        flex-direction: column;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 40px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-visual {
        margin-top: 40px;
        transform: scale(0.8);
    }
}
