:root {
    --primary-color: #00f2fe; /* Neon Cyan */
    --primary-hover: #4facfe;
    --accent-color: #b14bf4; /* Neon Purple */
    --accent-hover: #c471ed;
    --text-color: #e2e8f0;
    --text-light: #94a3b8;
    --bg-color: #060b13; /* Pure deep night */
    --bg-light: #0d1627;
    --border-color: rgba(0, 242, 254, 0.2); /* Glowing border */
    --radius: 12px;
}

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

/* Background Animations */
@keyframes floatCloud {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    33% { transform: translate(5%, -10%) scale(1.1); opacity: 0.8; }
    66% { transform: translate(-5%, 10%) scale(0.95); opacity: 0.6; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
}

@keyframes bgPan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes flashParticles {
    0%, 100% { opacity: 0.1; transform: translateY(0); }
    5%, 15% { opacity: 0.9; transform: translateY(-2px); filter: brightness(1.5) drop-shadow(0 0 5px #00f2fe); }
    10% { opacity: 0.3; }
    50% { opacity: 0.1; transform: translateY(0); }
    55%, 65% { opacity: 1; transform: translateY(-3px); filter: brightness(1.8) drop-shadow(0 0 8px #00f2fe); }
    60% { opacity: 0.4; }
    80% { opacity: 0.1; transform: translateY(0); }
}

html::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    pointer-events: none;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 242, 254, 0.9) 1px, transparent 2px),
        radial-gradient(circle at 85% 30%, rgba(0, 242, 254, 1) 1.5px, transparent 2.5px),
        radial-gradient(circle at 50% 80%, rgba(0, 242, 254, 0.8) 1px, transparent 2px),
        radial-gradient(circle at 20% 10%, rgba(0, 242, 254, 0.7) 2px, transparent 3px),
        radial-gradient(circle at 70% 60%, rgba(0, 242, 254, 0.9) 1.5px, transparent 2.5px),
        radial-gradient(circle at 40% 40%, rgba(79, 172, 254, 1) 1px, transparent 2px);
    background-size: 150px 150px, 200px 200px, 250px 250px, 120px 120px, 180px 180px, 220px 220px;
    animation: flashParticles 6s infinite;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-color);
    background: linear-gradient(45deg, #0b1121, #1e1b4b, #0f2027);
    background-size: 200% 200%;
    animation: bgPan 15s ease infinite;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Global Animated Glowing Clouds */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

body::before {
    width: 60vw; height: 60vw;
    max-width: 600px; max-height: 600px;
    background: rgba(0, 242, 254, 0.15); /* Cyan Cloud */
    top: -10%; left: -10%;
    animation: floatCloud 12s ease-in-out infinite;
}

body::after {
    width: 50vw; height: 50vw;
    max-width: 500px; max-height: 500px;
    background: rgba(138, 43, 226, 0.15); /* Purple Cloud */
    bottom: -10%; right: -10%;
    animation: floatCloud 15s ease-in-out infinite reverse;
}

h1, h2, h3, h4, h5, h6 {
    letter-spacing: 1px;
    font-weight: 600;
}

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

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

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

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.bg-light {
    background-color: rgba(21, 30, 50, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px; /* Touch friendly minimum height */
}

.btn-primary {
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s, text-shadow 0.2s;
}

.nav-menu a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

/* Hero Animations */
@keyframes floatCloud {
    0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    33% { transform: translate(5%, -10%) scale(1.1); opacity: 0.8; }
    66% { transform: translate(-5%, 10%) scale(0.95); opacity: 0.6; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
}

@keyframes bgPan {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hero */
.hero {
    padding: 120px 0 100px;
    position: relative;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
}

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

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

/* Cards */
.card {
    background: rgba(21, 30, 50, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 254, 0.3);
}

.features .card h3, .media-ai .card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.features .card p, .media-ai .card p {
    color: var(--text-light);
}

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

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--accent-color), #ff007f);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 0 12px rgba(177, 75, 244, 0.6);
    letter-spacing: 1px;
}

.pricing-card h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.price {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 800;
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-light);
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
    text-shadow: 0 0 5px rgba(0, 242, 254, 0.5);
}

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

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

.reviewer {
    font-weight: bold;
    text-align: right;
    color: var(--primary-color);
}

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

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-q {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.faq-a {
    color: var(--text-light);
}

/* Footer */
footer {
    background: rgba(6, 11, 20, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #64748b;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.footer-links a {
    min-height: 44px; /* Touch friendly for mobile footer links */
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

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

.copyright {
    font-size: 0.9rem;
}

/* Sub-pages specific styles */
.page-content {
    max-width: 800px; 
    margin: 40px auto; 
    padding: 0 20px;
}

.page-content h1 {
    margin-bottom: 30px; 
    text-align: center;
    color: #ffffff;
}

.page-content h2 {
    margin-top: 30px; 
    margin-bottom: 15px;
    color: #f1f5f9;
}

.page-content p, .page-content li {
    margin-bottom: 15px; 
    color: var(--text-light);
}

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

.page-content a {
    color: var(--primary-color);
}

.page-content a:hover {
    text-decoration: underline;
    text-shadow: 0 0 5px rgba(0, 242, 254, 0.4);
}


/* Media Queries (Mobile Responsive) */
@media (max-width: 768px) {
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .pricing-card.popular {
        transform: none; /* Disable scale effect on mobile to prevent overflow */
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%; /* Full width buttons on mobile */
    }
}

/* Accessibility & Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 8px;
    z-index: 9999;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
}

*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

section, [id] {
    scroll-margin-top: 80px;
}

details {
    background: rgba(21, 30, 50, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    overflow: hidden;
}
summary {
    cursor: pointer;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    outline: none;
}
details[open] summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
details > p {
    padding: 20px;
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
