
body {
    font-family: 'Inter', sans-serif;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}


::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #09090b;
}

::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}


@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(34, 211, 238, 0.2);
        filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.2));
    }

    50% {
        box-shadow: 0 0 30px rgba(34, 211, 238, 0.3);
        filter: drop-shadow(0 0 15px rgba(34, 211, 238, 0.3));
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes priceUpdate {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
        color: #22d3ee;
    }

    100% {
        transform: scale(1);
    }
}







.pricing-card.gradient-border {
    opacity: 1;
}

.pricing-card.gradient-border.scroll-reveal:not(.revealed) {
    opacity: 0;
}

.pricing-card.gradient-border.scroll-reveal.revealed {
    opacity: 1;
}



.pricing-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    margin-top: 16px;
}

.pricing-card.scroll-reveal {
    animation: none;
}

.pricing-card.scroll-reveal.revealed {
    animation: none;
}

.pricing-card>* {
    position: relative;
    z-index: 1;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.1), transparent);
    transition: left 0.6s ease;
    border-radius: 1rem;
    z-index: 0;
}

.pricing-card:hover::before {
    left: 100%;
}

.pricing-card:hover {
    transform: translateY(-12px);
    border-color: rgba(34, 211, 238, 0.5);
}

.popular-card {
    animation: pulse-glow 3s ease-in-out infinite;
    will-change: transform;
    contain: layout style paint;
}

.popular-card.scroll-reveal {
    opacity: 1;
}

.popular-card.scroll-reveal:not(.revealed) {
    opacity: 0;
    animation: none;
}

.popular-card.scroll-reveal.revealed {
    animation: pulse-glow 3s ease-in-out infinite;
}

.popular-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inherit;
    z-index: -1;
    pointer-events: none;
}


.popular-badge {
    animation: float 3s ease-in-out infinite;
}

.plan-badge,
.elite-badge {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    color: #fff;
    padding: 6px 16px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(34, 211, 238, 0.4);
    white-space: nowrap;
    z-index: 30;
}

.elite-badge {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 8px;
    font-size: 12px;
    color: #22d3ee;
    transition: all 0.3s ease;
}

.platform-badge:hover {
    background: rgba(34, 211, 238, 0.2);
    transform: translateY(-2px);
}


.currency-toggle {
    position: relative;
    background: #18181b;
    border-radius: 12px;
    padding: 4px;
    display: inline-flex;
    gap: 4px;
    border: 1px solid #27272a;
}

.currency-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    color: #71717a;
    position: relative;
    z-index: 1;
}

.currency-btn.active {
    color: white;
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3);
}

.price-animate {
    animation: priceUpdate 0.5s ease;
}


.feature-icon {
    transition: all 0.3s ease;
}

.pricing-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::after {
    width: 300px;
    height: 300px;
}

.feature-check {
    color: #22d3ee;
    font-size: 18px;
}

.back-button {
    transition: all 0.3s ease;
}

.back-button:hover {
    transform: translateX(-4px);
}


.gradient-border {
    position: relative;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, #22d3ee, #06b6d4);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gradient-border:hover::before {
    opacity: 1;
}


.loading-skeleton {
    background: linear-gradient(90deg, #18181b 25%, #27272a 50%, #18181b 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}


.hero-card-3d {
    transform: rotate3d(1, 1, 0, 12deg);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    will-change: transform;
}

.hero-card-3d:hover {
    transform: rotate3d(0, 0, 0, 0deg) translateY(-6px);
}


.nav-glass {
    background: rgba(3, 3, 3, 0.7);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

.nav-link {
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #22d3ee, #06b6d4);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::before {
    width: 70%;
}

.mobile-nav-link {
    position: relative;
    overflow: hidden;
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 70%;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0.2), transparent);
    transition: width 0.3s ease;
    border-radius: 0 8px 8px 0;
}

.mobile-nav-link:hover::before {
    width: 100%;
}


.faq-item {
    border-radius: 0.75rem;
    border: 1px solid #27272a;
    background: rgba(24, 24, 27, 0.6);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(34, 211, 238, 0.5);
    background: rgba(24, 24, 27, 0.9);
}

.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.faq-icon {
    transition: transform 0.25s ease, color 0.25s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: #22d3ee;
}

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

.faq-item.open .faq-answer {
    max-height: 300px;
    opacity: 1;
}


.comparison-table {
    border-collapse: separate;
    border-spacing: 0;
}

.table-row {
    transition: all 0.2s ease;
}

.table-row:hover {
    background: rgba(34, 211, 238, 0.05);
    transform: translateX(4px);
}


.hosting-option {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hosting-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.1), transparent);
    transition: left 0.6s ease;
    border-radius: 1rem;
    z-index: 0;
}

.hosting-option:hover::before {
    left: 100%;
}

.hosting-option.selected {
    border-color: rgba(34, 211, 238, 0.6);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(56, 189, 248, 0.05));
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.2);
}

.hosting-option:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 211, 238, 0.4);
}


.fade-in {
    animation: fadeIn 0.5s ease-out;
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

.hidden-section {
    display: none;
    opacity: 0;
}

.visible-section {
    display: block;
    animation: fadeIn 0.5s ease-out forwards;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.scroll-reveal-delay-1 {
    transition-delay: 0.15s;
}

.scroll-reveal-delay-2 {
    transition-delay: 0.3s;
}

.scroll-reveal-delay-3 {
    transition-delay: 0.45s;
}

.scroll-reveal-delay-4 {
    transition-delay: 0.6s;
}

.page-content {
    animation: fadeInUp 0.8s ease-out;
}


@media (max-width: 768px) {
    .pricing-card {
        margin-bottom: 1rem;
    }

    .plan-badge,
    .elite-badge {
        font-size: 9px;
        padding: 4px 10px;
        top: -8px;
    }

    .comparison-table {
        font-size: 12px;
    }

    .comparison-table thead th:first-child,
    .comparison-table tbody td:first-child {
        min-width: 120px;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    .grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3.xl\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) and (max-width: 1279px) {
    .grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3.xl\:grid-cols-4 {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}



.elite-card.scroll-reveal {
    opacity: 1;
}

.elite-card.scroll-reveal:not(.revealed) {
    opacity: 0;
}

.elite-card.scroll-reveal.revealed {
    opacity: 1;
}


@media (min-width: 1280px) {
    .pricing-card:nth-child(7) {
        grid-column: 2 / span 2;
    }
}


.comparison-table {
    min-width: 900px;
    table-layout: fixed;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    width: 180px;
    min-width: 180px;
}

.comparison-table th:not(:first-child),
.comparison-table td:not(:first-child) {
    width: 140px;
    min-width: 140px;
}
