/* --- Variables --- */
:root {
    --bg-dark: #050a15;
    /* Deep Blue Background */
    --bg-card: rgba(41, 121, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);
    --primary: #2979ff;
    /* Bright Blue */
    --secondary: #00d4ff;
    /* Cyan Accent */
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --blur: blur(15px);
    --transition: all 0.3s ease;
    --shadow-glow: 0 0 15px rgba(41, 121, 255, 0.5);
}

/* --- Reset & Global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    /* Bolder text generally */
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 20% 20%, rgba(41, 121, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.15) 0%, transparent 40%);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 800;
    /* Extra bold buttons */
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    transition: var(--transition);
    position: relative;
    /* For ripple */
    overflow: hidden;
    display: inline-flex;
    /* Fix alignment */
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: #0063cc;
    color: #fff;
    box-shadow: 0 0 10px rgba(41, 121, 255, 0.3);
}

.btn-primary:hover {
    background: #0050a5;
    box-shadow: 0 0 20px rgba(41, 121, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    margin-left: 15px;
}

.btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.btn-discord {
    background: #5865F2;
    color: white;
}

.btn-discord:hover {
    background: #4752C4;
    box-shadow: 0 0 15px rgba(88, 101, 242, 0.5);
}

.glow-effect {
    position: relative;
    overflow: hidden;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.glow-effect:hover::after {
    left: 100%;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.3);
    /* More transparent */
    backdrop-filter: var(--blur);
    border-bottom: var(--glass-border);
    padding: 15px 0;
    transition: background 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.logo img {
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    /* Circular logo */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-nav {
    background: var(--primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.btn-nav:hover {
    color: white !important;
    background: #0050a5;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 999;
    transition: 0.4s ease;
}

.mobile-menu.active {
    top: 0;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-dark) 100%), rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
}

.hero p {
    font-size: 1.2rem;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 40px;
    text-transform: none;
    letter-spacing: 1px;
    line-height: 1.8;
}

/* --- About Section --- */
.about {
    text-align: center;
    background: radial-gradient(circle at center, rgba(157, 78, 221, 0.1) 0%, transparent 70%);
}

.about .section-desc {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.highlight {
    color: var(--primary);
    font-weight: 600;
}

/* --- Stats Section --- */
.pulse-update {
    animation: textPulse 0.5s ease;
    color: #00ff88;
}

@keyframes textPulse {
    0% {
        transform: scale(1);
        color: #fff;
    }

    50% {
        transform: scale(1.1);
        color: #00ff88;
    }

    100% {
        transform: scale(1);
        color: #fff;
    }
}

.stats-section {
    padding-bottom: 20px;
}

.grid-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: var(--blur);
    border: var(--glass-border);
    padding: 25px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(41, 121, 255, 0.3);
}

.live-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.7rem;
    color: #00ff88;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin: 5px 0;
}

.stat-subtext {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.stat-daily {
    font-size: 0.8rem;
    color: #00ff88;
    margin-top: 5px;
}

.security-glow {
    text-shadow: 0 0 10px #00ff88;
    color: #00ff88;
}

/* --- Review Section --- */
.reviews-section {
    text-align: center;
    background: radial-gradient(circle at bottom, rgba(41, 121, 255, 0.05) 0%, transparent 70%);
}

.review-stats {
    margin-bottom: 40px;
}

.rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.rating-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffd700;
    /* Gold */
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.stars {
    font-size: 1.5rem;
    color: #ffd700;
}

.review-count {
    font-size: 1rem;
    color: var(--text-muted);
}

.review-form-container {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.review-form-container h3 {
    margin-bottom: 20px;
}

.review-input-group {
    display: flex;
    gap: 15px;
    justify-content: center;
}

#user-rating-input {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px;
    border-radius: 10px;
    font-family: inherit;
}

.success-message {
    color: #00ff88;
    font-size: 1.2rem;
    margin-top: 20px;
    font-weight: 700;
}

/* --- Services Section --- */
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg-card);
    backdrop-filter: var(--blur);
    border: var(--glass-border);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-10px);
    border-color: rgba(157, 78, 221, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: 0.3s;
}

.service-card:hover i {
    color: #fff;
    text-shadow: 0 0 10px var(--primary);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* --- Why Choose Us --- */
.why-choose-us {
    background: linear-gradient(180deg, var(--bg-dark), #0f0f15, var(--bg-dark));
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.feature-item:hover {
    border-color: var(--primary);
    background: rgba(157, 78, 221, 0.1);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* --- Pricing Section --- */
.grid-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.pricing-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.pricing-card .price {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.center-btn {
    text-align: center;
    margin-top: 50px;
}



/* --- CTA Section --- */
.cta {
    padding: 100px 0;
}

.cta-card {
    background: linear-gradient(45deg, rgba(88, 101, 242, 0.2), rgba(0, 0, 0, 0));
    border: 1px solid rgba(88, 101, 242, 0.3);
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.cta-card h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

/* --- Footer --- */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 0 20px;
    background: #050505;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-logo img {
    height: 50px;
    margin-right: 15px;
}

.socials a {
    font-size: 1.5rem;
    color: #ddd;
    transition: 0.3s;
}

.socials a:hover {
    color: #5865F2;
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    opacity: 1;
    /* Fallback */
    transition: opacity 0.8s ease-out;
}

.fade-up {
    opacity: 0;
    opacity: 1;
    /* Fallback */
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Initial states for observer */
.fade-in,
.fade-up {
    opacity: 0;
}

/* Text Animations */
.animate-text-1 {
    animation: fadeInUp 0.8s ease forwards 0.2s;
    opacity: 0;
}

.animate-text-2 {
    animation: fadeInUp 0.8s ease forwards 0.4s;
    opacity: 0;
}

.animate-text-3 {
    animation: fadeInUp 0.8s ease forwards 0.6s;
    opacity: 0;
}

.animate-text-4 {
    animation: fadeInUp 0.8s ease forwards 0.8s;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Ripple Animation --- */
.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    background-color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .grid-services,
    .grid-pricing,
    .grid-features {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        text-align: center;
        align-items: center;
    }

    .cta-card h2 {
        font-size: 1.5rem;
    }
}