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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #0f172a; /* Dark tech background */
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: #3b82f6;
    transition: color 0.3s ease;
}

a:hover {
    color: #60a5fa;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
}

h2 { font-size: 2rem; margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

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

/* Header */
header {
    background-color: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #1e293b;
    padding: 15px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3b82f6;
}

.logo a {
    color: inherit;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #e0e0e0;
    margin: 0 15px;
    font-weight: 500;
}

.nav-links a:hover {
    color: #3b82f6;
}

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

.btn-primary {
    background-color: #3b82f6;
    color: #ffffff;
    border: 2px solid #3b82f6;
}

.btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #e0e0e0;
    border: 2px solid #334155;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #94a3b8;
    color: #ffffff;
    transform: translateY(-2px);
}

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

/* Sections */
section {
    padding: 80px 0;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background: radial-gradient(circle at 70% 50%, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-text h1 span {
    background: linear-gradient(90deg, #3b82f6, #0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-graphic {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Neon Rotating Earth */
.earth-container {
    position: relative;
    width: 350px;
    height: 350px;
    flex-shrink: 0;
    perspective: 1200px;
}

.earth {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(15, 23, 42, 0.8), #000);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.15), inset 0 0 50px rgba(0, 255, 255, 0.2);
    position: relative;
    transform-style: preserve-3d;
    animation: rotateEarth 16s linear infinite;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    border: 1px dashed rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(75deg);
}

.orbit2 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    border: 1px dashed rgba(255, 0, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateY(75deg);
}

.node-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    margin-left: -6px;
    transform-style: preserve-3d;
}

.node {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #0ff;
    box-shadow: 0 0 15px #0ff, 0 0 30px #0ff, 0 0 45px #0ff;
}

.node.magenta {
    background-color: #f0f;
    box-shadow: 0 0 15px #f0f, 0 0 30px #f0f, 0 0 45px #f0f;
}

/* Positioning nodes on the surface (radius = 175px) */
.nw-1 { transform: rotateY(0deg) rotateX(20deg) translateZ(175px); }
.nw-2 { transform: rotateY(60deg) rotateX(-15deg) translateZ(175px); }
.nw-3 { transform: rotateY(120deg) rotateX(30deg) translateZ(175px); }
.nw-4 { transform: rotateY(180deg) rotateX(-25deg) translateZ(175px); }
.nw-5 { transform: rotateY(240deg) rotateX(10deg) translateZ(175px); }
.nw-6 { transform: rotateY(300deg) rotateX(40deg) translateZ(175px); }
.nw-7 { transform: rotateX(-70deg) translateZ(175px); } /* South pole-ish */

@keyframes rotateEarth {
    0% { transform: rotateY(0deg) rotateX(15deg); }
    100% { transform: rotateY(360deg) rotateX(15deg); }
}

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

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

/* Cards */
.card {
    background-color: #1e293b;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #334155;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
}

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

/* Pricing */
.pricing-card {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border: 2px solid #3b82f6;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3b82f6;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: #94a3b8;
}

.pricing-features {
    margin: 2rem 0;
    text-align: left;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.pricing-features li::before {
    content: '✓';
    color: #10b981;
    margin-right: 10px;
    font-weight: bold;
}

/* FAQ */
.faq-item {
    background-color: #1e293b;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    border: 1px solid #334155;
}

.faq-item h3 {
    margin-bottom: 10px;
    color: #60a5fa;
}

/* Testimonials */
.testimonial {
    font-style: italic;
    color: #cbd5e1;
}
.testimonial-author {
    margin-top: 15px;
    font-weight: bold;
    color: #ffffff;
    font-style: normal;
}

/* Footer */
footer {
    background-color: #0b1120;
    padding: 40px 0 20px;
    border-top: 1px solid #1e293b;
    text-align: center;
}

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

.footer-links a {
    color: #94a3b8;
}

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

.copyright {
    color: #64748b;
    font-size: 0.875rem;
}

/* Subpages */
.subpage {
    padding-top: 120px;
    min-height: 80vh;
}

.subpage-content {
    background-color: #1e293b;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #334155;
}
.subpage-content h2 {
    text-align: left;
    color: #3b82f6;
}
.subpage-content h3 {
    margin-top: 2rem;
    color: #e0e0e0;
}
.subpage-content p {
    margin-bottom: 1rem;
    color: #cbd5e1;
}
.subpage-content ul {
    margin-bottom: 1rem;
    color: #cbd5e1;
    padding-left: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }
    .hero-text {
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    .earth-container {
        width: 250px;
        height: 250px;
    }
    /* Hide some nodes on small screens so they fit radius */
    .nw-1 { transform: rotateY(0deg) rotateX(20deg) translateZ(125px); }
    .nw-2 { transform: rotateY(60deg) rotateX(-15deg) translateZ(125px); }
    .nw-3 { transform: rotateY(120deg) rotateX(30deg) translateZ(125px); }
    .nw-4 { transform: rotateY(180deg) rotateX(-25deg) translateZ(125px); }
    .nw-5 { transform: rotateY(240deg) rotateX(10deg) translateZ(125px); }
    .nw-6 { transform: rotateY(300deg) rotateX(40deg) translateZ(125px); }
    .nw-7 { transform: rotateX(-70deg) translateZ(125px); }

    h2 { font-size: 1.5rem; }
    .hero { padding-top: 120px; padding-bottom: 60px; }
    .pricing-card.popular { transform: none; }
    header .nav-links { display: none; } /* Simplified header for mobile */
    .subpage-content { padding: 20px; }
}

/* Blog Section */
.blog-card {
    background-color: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #334155;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
}
.blog-img {
    height: 180px;
    background: linear-gradient(135deg, #1e293b, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}
.blog-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ffffff;
}
.blog-content p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
}
.blog-content a.read-more {
    color: #60a5fa;
    font-weight: bold;
    text-decoration: none;
    align-self: flex-start;
}
.blog-content a.read-more:hover {
    text-decoration: underline;
}

/* SEO Article Pages */
.seo-article {
    max-width: 800px;
    margin: 0 auto;
    background-color: #1e293b;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #334155;
}
.seo-article h1 { font-size: 2.2rem; margin-bottom: 20px; color: #3b82f6; }
.seo-article h2 { font-size: 1.6rem; margin-top: 30px; margin-bottom: 15px; color: #e0e0e0; text-align: left; }
.seo-article h3 { font-size: 1.3rem; margin-top: 20px; margin-bottom: 10px; color: #cbd5e1; }
.seo-article p { margin-bottom: 15px; color: #cbd5e1; line-height: 1.8; }
.seo-article a { color: #60a5fa; text-decoration: underline; }
