@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-void: #020204;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.08);
    --primary: #2E5CFF;
    --cyan: #00F0FF;
    --purple: #7000FF;
    --text-main: #ffffff;
    --text-muted: #8890A0;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --container-width: 1240px;
    --header-height: 80px;
    --glow-spread: 120px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-void);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Effects */
.ambient-light {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.light-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--primary), transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--purple), transparent 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, var(--cyan), transparent 70%);
    opacity: 0.2;
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Glass Components */
.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.06),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.glass-panel:hover::before {
    opacity: 1;
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Header */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: var(--container-width);
    z-index: 1000;
}

.nav-glass {
    background: rgba(2, 2, 4, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    padding: 12px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.btn-glow {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    color: #fff;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-glow:hover {
    box-shadow: 0 0 20px rgba(46, 92, 255, 0.4);
    transform: scale(1.05);
}

/* Hero */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-glass);
}

.stat-item h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.stat-item span {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
    height: 600px;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.monitor-stack {
    position: relative;
    width: 380px;
    height: 420px;
    transform-style: preserve-3d;
    animation: float-3d 10s ease-in-out infinite;
}

.monitor-card {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(10, 11, 16, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    z-index: 10;
    transform: translateZ(40px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.monitor-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
}

.server-name {
    font-family: monospace;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.usage-group {
    margin-bottom: 30px;
}

.usage-label {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--cyan);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--cyan);
}

.monitor-graph {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 60px;
    gap: 8px;
}

.graph-bar {
    width: 100%;
    background: rgba(46, 92, 255, 0.2);
    border-radius: 4px 4px 0 0;
    transition: height 0.3s;
}

.graph-bar:hover {
    background: var(--primary);
}

/* Background Layers */
.monitor-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 24px;
    pointer-events: none;
}

.layer-1 {
    transform: translateZ(0px) translateX(20px) translateY(20px);
    z-index: 5;
}

.layer-2 {
    transform: translateZ(-40px) translateX(40px) translateY(40px);
    z-index: 1;
    opacity: 0.6;
}

@keyframes float-3d {

    0%,
    100% {
        transform: rotateY(-10deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: rotateY(-5deg) rotateX(2deg) translateY(-20px);
    }
}

/* Features */
#features {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--cyan);
    margin-bottom: 10px;
}

/* Pricing */
#pricing {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: flex-start;
}

.pricing-card {
    padding: 40px;
    text-align: center;
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(46, 92, 255, 0.1) 0%, rgba(2, 2, 4, 0) 100%);
    border-color: var(--primary);
    transform: scale(1.05);
}

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

.price-tag {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 20px 0;
    color: #fff;
}

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

.feature-list {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-glass);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li::before {
    content: '✓';
    color: var(--cyan);
    font-weight: 800;
}

.btn-full {
    width: 100%;
    display: block;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.pricing-card.featured .btn-full {
    background: var(--primary);
}

.btn-full:hover {
    background: #fff;
    color: #000;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-glass);
    margin-top: 80px;
}

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

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 300px;
}

.footer-col h5 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

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

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

.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--cyan);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }
}

/* Expanded Pricing */
.pricing-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 250px;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.custom-select__trigger:hover {
    border-color: var(--primary);
}

.custom-select__options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    background: #0a0b10;
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10;
    transition: all 0.3s;
    overflow: hidden;
}

.custom-select.open .custom-select__options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(5px);
}

.custom-option {
    position: relative;
    display: block;
    padding: 12px 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.custom-option:hover {
    background: rgba(46, 92, 255, 0.1);
    color: #fff;
}

.custom-option.selected {
    color: #fff;
    background: rgba(46, 92, 255, 0.2);
}

.arrow {
    position: relative;
    height: 10px;
    width: 10px;
}

.arrow::before,
.arrow::after {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 0.15rem;
    height: 100%;
    transition: all 0.3s;
}

.arrow::before {
    left: -3px;
    transform: rotate(-45deg);
    background-color: #fff;
}

.arrow::after {
    left: 3px;
    transform: rotate(45deg);
    background-color: #fff;
}

.custom-select.open .arrow::before {
    transform: rotate(-135deg);
}

.custom-select.open .arrow::after {
    transform: rotate(135deg);
}

.pricing-grid-expanded {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pricing-card-compact {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card-compact.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(46, 92, 255, 0.1) 0%, rgba(2, 2, 4, 0) 100%);
}

.popular-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.plan-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--cyan);
    margin-bottom: 16px;
}

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

.plan-specs {
    list-style: none;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.plan-specs li {
    margin-bottom: 6px;
}

.btn-glow-sm {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-glow-sm:hover {
    background: var(--primary);
    box-shadow: 0 0 15px rgba(46, 92, 255, 0.4);
    border-color: transparent;
}

/* Contact Section */
#support {
    padding-top: 40px;
}

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

.contact-card {
    padding: 30px;
    text-align: center;
}

.contact-card .icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.btn-link {
    color: var(--cyan);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.btn-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .pricing-grid-expanded {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .pricing-grid-expanded {
        grid-template-columns: 1fr;
    }
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for grids */
.features-grid .feature-card:nth-child(2) {
    transition-delay: 0.1s;
}

.features-grid .feature-card:nth-child(3) {
    transition-delay: 0.2s;
}

.pricing-grid .pricing-card:nth-child(2) {
    transition-delay: 0.1s;
}

.pricing-grid .pricing-card:nth-child(3) {
    transition-delay: 0.2s;
}

.pricing-grid-expanded .pricing-card-compact:nth-child(odd) {
    transition-delay: 0.1s;
}

.pricing-grid-expanded .pricing-card-compact:nth-child(even) {
    transition-delay: 0.2s;
}