:root {
    --primary: #3b82f6; /* Blue for BlueBird */
    --primary-rgb: 59, 130, 246;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.8);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --nav-height: 80px;
}

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

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(var(--primary-rgb), 0.05) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3e%3cfilter id='noiseFilter'%3e%3cturbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3e%3c/filter%3e%3crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3e%3c/svg%3e");
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- Navigation --- */
nav {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8vw;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.nav-left .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-left .logo-icon {
    width: 35px;
    height: 35px;
    background: var(--primary);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.nav-left .logo-text {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-center {
    display: flex;
    gap: 2.5vw;
}

.nav-center a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

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

.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-content {
    position: absolute;
    top: calc(var(--nav-height) - 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #1e293b;
    min-width: 200px;
    border-radius: 12px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 1001;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Bridge to prevent losing hover */
.dropdown::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    right: -20px;
    bottom: -40px;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-content a {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    text-transform: none;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nav-right {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline {
    border: 1.5px solid rgba(59, 130, 246, 0.3);
    color: var(--primary);
}

.btn-outline:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary);
}

.btn-filled {
    background: var(--primary);
    color: #fff;
}

.btn-filled:hover {
    background: #60a5fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.3);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--nav-height);
    position: relative;
    overflow: hidden;
}

.hero-logo-large {
    width: 250px;
    height: 250px;
    margin-bottom: 2vh;
    filter: drop-shadow(0 0 30px rgba(var(--primary-rgb), 0.3));
    animation: float 6s ease-in-out infinite;
}

.hero h1 {
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 4vh;
}

.btn-discord {
    background: var(--primary);
    color: #fff;
    padding: 18px 45px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.btn-discord:hover {
    background: #60a5fa;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.4);
}

.btn-discord svg {
    width: 28px;
    height: 28px;
}

/* --- Animated Wave Section --- */
.wave-section {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.wave-container {
    width: 100%;
    height: 150px;
    position: relative;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 320'%3E%3Cpath fill='%231e3a8a' fill-opacity='1' d='M0,160L48,176C96,192,192,224,288,224C384,224,480,192,576,165.3C672,139,768,117,816,106.7L864,96L864,320L816,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: 50% 100%;
    animation: wave-move 20s linear infinite;
}

.wave.wave1 {
    z-index: 1000;
    opacity: 1;
    bottom: 0;
    animation: wave-move 10s linear infinite;
}

.wave.wave2 {
    z-index: 999;
    opacity: 0.5;
    bottom: 10px;
    animation: wave-move 15s linear infinite;
}

.wave.wave3 {
    z-index: 998;
    opacity: 0.2;
    bottom: 15px;
    animation: wave-move 20s linear infinite;
}

@keyframes wave-move {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Features Sections --- */
.section {
    padding: 100px 8vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out;
}

.section.reveal {
    opacity: 1;
    transform: translateX(0);
}

.section:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(50px);
}

.section.reveal:nth-child(even) {
    transform: translateX(0);
}

.section-content {
    flex: 1;
}

.section-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.section-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.section-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.image-placeholder {
    width: 400px;
    height: 300px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 24px;
    border: 2px dashed rgba(var(--primary-rgb), 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--text-muted);
}

.image-placeholder svg {
    width: 80px;
    height: 80px;
    color: var(--primary);
}

/* --- Footer --- */
footer {
    background: #070b14;
    padding: 80px 8vw 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 12px;
}

.lang-selector {
    display: flex;
    gap: 15px;
}

.lang-selector a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.lang-selector a.active {
    color: var(--primary);
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- Subpages Styles --- */
.subpage-container {
    padding: 150px 8vw 100px;
    min-height: 80vh;
}

.subpage-header {
    text-align: center;
    margin-bottom: 60px;
}

.subpage-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 15px;
}

.subpage-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2vw;
    margin-bottom: 80px;
}

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

.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.price-card h3 {
    text-transform: uppercase;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.price-val {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.price-val span {
    font-size: 1rem;
    color: var(--text-muted);
}

.price-subtext {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.btn-price {
    background: var(--primary);
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    margin-top: auto;
}

/* Comparison Table */
.comparison-panel {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border);
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
}

.comp-table th, .comp-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.comp-table th {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

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

/* Status Styles */
.status-chart {
    display: flex;
    gap: 4px;
    height: 40px;
    margin-bottom: 10px;
}

.status-bar {
    flex: 1;
    border-radius: 2px;
    background: #10b981;
}

.status-bar.down {
    background: #ef4444;
}

.status-legend {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media (max-width: 1024px) {
    .nav-center { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section { flex-direction: column !important; text-align: center; }
    .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section-content h2 { font-size: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
}
