/* Variables & Theme: Midnight Field Station */
:root {
    --bg-color: #0B1026;
    --surface-color: #131A38;
    --text-color: #E8F1FF;
    --secondary-color: #8B96C2;
    --aurora-green: #3DF5C6;
    --ice-blue: #6BC7FF;
    --border-color: rgba(232, 241, 255, 0.12);
    --radius: 12px;
}

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

body {
    font-family: 'Manrope', 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    position: relative;
    overflow-x: hidden;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 15px;
    color: var(--text-color);
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

p, li {
    color: var(--secondary-color);
}

.price {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--aurora-green);
    margin: 20px 0;
}
.price span {
    font-size: 1rem;
    color: var(--secondary-color);
}

/* Scroll Progress: Shooting Star */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    background: var(--aurora-green);
    width: 0%;
    z-index: 9999;
    box-shadow: 0 0 10px var(--aurora-green);
    border-radius: 0 2px 2px 0;
    transition: width 0.1s ease-out;
}
#scroll-progress::after {
    content: '';
    position: absolute;
    right: 0;
    top: -1px;
    width: 4px; height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px #fff, 0 0 15px var(--aurora-green);
}

/* Ambient Background Stars */
.ambient-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    background-color: var(--bg-color);
}
.stars {
    position: absolute;
    width: 100%; height: 100%;
    background-image: 
        radial-gradient(1px 1px at 20px 30px, var(--text-color), rgba(0,0,0,0)),
        radial-gradient(1.5px 1.5px at 150px 80px, var(--text-color), rgba(0,0,0,0)),
        radial-gradient(1px 1px at 280px 40px, var(--secondary-color), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 350px 120px, var(--text-color), rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 400px 400px;
    animation: twinkle 4s infinite alternate;
}
@keyframes twinkle {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Header */
header {
    background-color: rgba(11, 16, 38, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
}
nav a {
    margin: 0 15px;
    font-weight: 500;
    color: var(--secondary-color);
}
nav a:hover {
    color: var(--aurora-green);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Manrope', sans-serif;
}
.btn:active {
    transform: scale(0.98);
}
.btn-primary {
    background-color: var(--aurora-green);
    color: var(--bg-color);
    border: 1px solid transparent;
}
.btn-primary:hover {
    box-shadow: 0 0 15px rgba(61, 245, 198, 0.4);
    background-color: #55f5cc;
}
.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    border-color: var(--aurora-green);
    color: var(--aurora-green);
}
.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}
.btn-full {
    display: block;
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}
.glow-hero {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw; height: 300px;
    background: radial-gradient(ellipse, rgba(107, 199, 255, 0.15) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Constellation Divider */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
}
.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}
.divider-dot {
    width: 4px; height: 4px;
    background: var(--secondary-color);
    border-radius: 50%;
    margin: 0 15px;
    box-shadow: 0 0 5px var(--secondary-color);
}

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

/* Sections & Cards */
section { padding: 40px 0; position: relative; }
.card {
    background: var(--surface-color);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    border-color: rgba(61, 245, 198, 0.4);
}
.card-glow {
    position: absolute;
    top: -50px; left: -50px;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(107, 199, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}
.glow-popular {
    background: radial-gradient(circle, rgba(61, 245, 198, 0.15) 0%, transparent 70%);
    top: 0; left: 50%; transform: translateX(-50%);
    width: 200px;
}
.card-line {
    position: absolute;
    top: 30px; right: -20px;
    width: 60px; height: 20px;
    border-radius: 50%;
    border-top: 2px solid transparent;
    transform: rotate(-15deg);
    animation: drift 12s infinite linear alternate;
}
.card-line-green { border-top-color: rgba(61, 245, 198, 0.4); }
.card-line-blue { border-top-color: rgba(107, 199, 255, 0.4); }

@keyframes drift {
    0% { transform: rotate(-15deg) translateX(0); }
    100% { transform: rotate(-15deg) translateX(8px); }
}

.pricing-card {
    text-align: center;
    display: flex;
    flex-direction: column;
}
.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}
.pricing-card li {
    margin-bottom: 12px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.95rem;
}
.pricing-card.popular {
    border-color: rgba(61, 245, 198, 0.5);
}
.badge {
    display: inline-block;
    background: rgba(61, 245, 198, 0.15);
    color: var(--aurora-green);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(61, 245, 198, 0.3);
}

/* FAQ */
.faq-item {
    max-width: 800px;
    margin: 0 auto 20px;
    background: var(--surface-color);
    padding: 25px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

/* Standard Inner Pages */
.page-content { 
    padding: 60px 40px; 
    max-width: 800px; 
    margin: 60px auto; 
    background: var(--surface-color); 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius); 
}
.page-content h1 { text-align: center; margin-bottom: 40px; }
.page-content h2 { font-size: 1.5rem; text-align: left; margin-top: 40px; }
.page-content ul { padding-left: 20px; margin-bottom: 15px; }
.page-content ul li { margin-bottom: 8px; }

/* Footer */
footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 40px;
}
.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}
.footer-links a { color: var(--secondary-color); }
.footer-links a:hover { color: var(--aurora-green); }
.copyright { color: rgba(139, 150, 194, 0.6); font-size: 0.9rem; }

/* Responsive */
@media (max-width: 992px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 2.8rem; }
}
@media (max-width: 768px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    nav { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .btn { padding: 16px; }
    .page-content { padding: 30px 20px; margin: 30px auto; }
}

/* Floating Action Button */
.fab-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--aurora-green);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(61, 245, 198, 0.4);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
}
.fab-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(61, 245, 198, 0.6);
}

.news-card-hover:hover { transform: translateY(-5px); border-color: rgba(61, 245, 198, 0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
