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

/* Optimize font loading */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary: #5865F2;
    --primary-dark: #4752C4;
    --accent: #00D4FF;
    --dark: #0A0E1A;
    --dark-lighter: #161B2E;
    --dark-card: #1A1F36;
    --text: #FFFFFF;
    --text-secondary: #B8BCC8;
    --success: #3BA55C;
    --gradient: linear-gradient(135deg, #5865F2 0%, #00D4FF 100%);
    --card-border: rgba(88, 101, 242, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--text);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

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

/* Header */
.header {
    background-color: var(--dark-lighter);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(22, 27, 46, 0.95);
}

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

.logo {
    display: inline-block;
    text-decoration: none;
}

.logo img {
    height: 55px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

a.logo:hover {
    text-decoration: none;
}

.logo-text {
    color: var(--text);
}

.logo-text .accent {
    color: var(--accent);
}

.logo-domain {
    color: var(--text-secondary);
    font-size: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--accent);
}

.nav-separator {
    width: 1px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px;
}

.nav-selector {
    background-color: var(--dark-card);
    border: 1px solid var(--card-border);
    color: var(--text);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 90px;
}

.nav-selector:hover {
    border-color: var(--accent);
}

.nav-selector:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.discord-btn {
    background-color: var(--primary);
    padding: 10px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.discord-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background: radial-gradient(ellipse at center, rgba(88, 101, 242, 0.1) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
    min-height: 600px; /* Prevent layout shift */
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.currency-info {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 30px;
    font-weight: 500;
}

.cta-button {
    background: var(--gradient);
    color: var(--text);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
    will-change: transform, box-shadow;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
}

/* Hero Animation */
.hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-boost {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 12px;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

.floating-boost:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-boost:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-boost:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--dark-lighter);
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

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

.feature {
    text-align: center;
    padding: 40px;
    background-color: var(--dark-card);
    border-radius: 16px;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

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

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text);
}

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

/* Plans Section */
.plans {
    padding: 80px 0;
    content-visibility: auto;
    contain-intrinsic-size: 0 800px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-button {
    background-color: var(--dark-card);
    color: var(--text);
    border: 1px solid var(--card-border);
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button.active {
    background: var(--gradient);
    border-color: transparent;
}

.tab-button:hover:not(.active) {
    border-color: var(--accent);
}

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

.plans-grid.active {
    display: grid;
}

.plan {
    background-color: var(--dark-card);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all 0.3s ease;
}

.plan:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.plan.featured {
    border-color: var(--accent);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: bold;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.boost-count {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 20px;
}

.boost-count span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.plan-price {
    margin-bottom: 30px;
}

.currency-symbol {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.price-value {
    font-size: 3rem;
    font-weight: bold;
}

.price-period {
    color: var(--text-secondary);
}

.plan-savings {
    background-color: var(--success);
    color: var(--text);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.875rem;
    display: inline-block;
    margin-bottom: 20px;
}

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

.plan-features li {
    padding: 10px 0;
    color: var(--text-secondary);
}

.plan-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background-color: var(--dark-lighter);
    color: var(--text);
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-button:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

.featured-button {
    background: var(--gradient);
}

.featured-button:hover {
    background: var(--gradient);
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--dark-lighter);
    content-visibility: auto;
    contain-intrinsic-size: 0 600px;
}

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

.testimonial {
    background-color: var(--dark-card);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.testimonial:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.stars {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.testimonial-author strong {
    display: block;
    color: var(--text);
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--accent);
    font-size: 0.875rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    content-visibility: auto;
    contain-intrinsic-size: 0 700px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--dark-card);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-question {
    width: 100%;
    padding: 20px 30px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(88, 101, 242, 0.1);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 30px 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: var(--dark-lighter);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 15px;
    display: inline-block;
}

.footer-brand .logo img {
    height: 45px;
}

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

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    color: var(--accent);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.discord-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary);
    color: var(--text);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.discord-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.footer-links-bottom {
    margin-top: 10px;
    font-size: 0.875rem;
}

.footer-links-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

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

.footer-links-bottom span {
    color: var(--text-secondary);
    opacity: 0.5;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.5);
}

.scroll-to-top svg {
    color: var(--text);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--dark-lighter);
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        gap: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-separator {
        display: none;
    }
    
    .nav-selector {
        width: 100px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan.featured {
        transform: scale(1);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}
/* Legal Pages Specific Styles */
/* Add this to your existing styles.css file */

/* Legal Content Section */
.legal-content {
    padding: 80px 0;
    min-height: 80vh;
}

.legal-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.legal-date {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

.legal-section {
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-section h2 {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--card-border);
}

.legal-section h3 {
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 15px;
    margin-top: 25px;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.legal-section li {
    color: var(--text-secondary);
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.legal-section li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.legal-section strong {
    color: var(--text);
}

/* Footer Links - Highlight Active Page */
.footer-links-bottom a.active {
    color: var(--accent);
    font-weight: 600;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
    .legal-title {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 1rem;
    }
    
    .legal-section {
        padding: 0 20px;
    }
}