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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0a0a0f 0%, #13111c 50%, #0a0a0f 100%);
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    animation: fadeIn 0.8s ease;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, hsla(255, 70%, 20%, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, hsla(240, 70%, 20%, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px hsla(255, 70%, 60%, 0.3);
    }
    50% {
        box-shadow: 0 0 40px hsla(255, 70%, 60%, 0.6);
    }
}

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

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Navigation Bar - OathNet Style */
.nav-bar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: calc(100% - 48px);
    padding: 8px 8px 8px 24px;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    will-change: transform;
}

.nav-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
    will-change: auto;
}

.nav-bar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top-color: rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    pointer-events: none;
    will-change: auto;
}

.logo {
    position: relative;
    z-index: 10;
    font-size: 1.125rem;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
    margin-right: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(1.2);
}

.logo:hover {
    color: rgba(255, 255, 255, 0.8);
}

.nav-links {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-links a {
    position: relative;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease, background 0.2s ease;
    padding: 8px 16px;
    border-radius: 50px;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
}

.nav-links a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.login-btn {
    position: relative;
    z-index: 10;
    margin-left: auto;
    padding: 10px 24px;
    background: linear-gradient(180deg, hsl(255, 70%, 55%) 49.18%, hsl(255, 75%, 68%) 113.93%);
    border: none;
    border-radius: 50px;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 0 4px 0 rgba(255, 255, 255, 0.07),
                0 -2px 0 0 rgba(0, 0, 0, 0.20) inset,
                0 1px 0 0 rgba(255, 255, 255, 0.40) inset;
}

.login-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Pricing Container */
.pricing-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 40px 80px;
}

/* Header */
.pricing-header {
    text-align: center;
    margin-bottom: 60px;
    animation: slideUp 0.8s ease;
}

.header-badge {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 16px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    animation: scaleIn 0.6s ease;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 0.8s ease 0.2s both;
}

.subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    animation: slideUp 0.8s ease 0.4s both;
}

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

/* Pricing Card */
.pricing-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    animation: slideUp 0.8s ease 0.6s both;
    display: flex;
    flex-direction: column;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.7s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.8s;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.1);
}

.pricing-card.featured {
    background: linear-gradient(135deg, hsla(255, 70%, 50%, 0.15), hsla(240, 70%, 50%, 0.15));
    border: 2px solid hsla(255, 70%, 60%, 0.5);
    transform: scale(1.05);
    animation: scaleIn 0.8s ease 0.7s both, glow 3s ease-in-out infinite;
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
    box-shadow: 0 20px 60px hsla(255, 70%, 60%, 0.4);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: linear-gradient(135deg, hsl(255, 70%, 55%), hsl(240, 70%, 55%));
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px hsla(255, 70%, 60%, 0.5);
    animation: float 3s ease-in-out infinite;
}

.card-header {
    margin-bottom: 20px;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.plan-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.card-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.period {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Features List */
.features-list {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.feature-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.6);
}

.feature-item strong {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Plan Button */
.plan-btn {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.featured-btn {
    background: linear-gradient(135deg, hsl(255, 70%, 55%), hsl(240, 70%, 50%));
    border: none;
    box-shadow: 0 10px 30px hsla(255, 70%, 60%, 0.4);
}

.featured-btn:hover {
    background: linear-gradient(135deg, hsl(255, 75%, 60%), hsl(240, 75%, 55%));
    box-shadow: 0 15px 40px hsla(255, 70%, 60%, 0.6);
}

/* FAQ Section */
.faq-section {
    margin-top: 100px;
    animation: slideUp 0.8s ease 1s both;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    animation: slideUp 0.8s ease 1.1s both;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease both;
}

.faq-item:nth-child(1) {
    animation-delay: 1.2s;
}

.faq-item:nth-child(2) {
    animation-delay: 1.3s;
}

.faq-item:nth-child(3) {
    animation-delay: 1.4s;
}

.faq-item:nth-child(4) {
    animation-delay: 1.5s;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

.faq-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto 80px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

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

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-bar {
        padding: 15px 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .pricing-container {
        padding: 60px 20px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

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

    .faq-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding: 30px 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }

    .price {
        font-size: 2.5rem;
    }

    .plan-name {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none;
    }
}

/* Footer */
.footer {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    padding: 40px 40px 30px 40px;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* User Menu Dropdown Styles */
.user-menu {
    position: relative;
    z-index: 1000;
}

.user-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.user-bubble:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.user-icon {
    color: rgba(139, 92, 246, 0.9);
    flex-shrink: 0;
}

.username-text {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    filter: blur(5px);
    opacity: 0.6;
}

.user-bubble:hover .username-text {
    filter: blur(0px);
    opacity: 1;
    letter-spacing: 0px;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(5, 5, 15, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    min-width: 200px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dropdown-item svg {
    flex-shrink: 0;
    color: rgba(139, 92, 246, 0.8);
}

.dropdown-item.logout-item {
    color: rgba(239, 68, 68, 0.8);
}

.dropdown-item.logout-item:hover {
    background: rgba(239, 68, 68, 0.1);
    color: rgba(239, 68, 68, 1);
}

.dropdown-item.logout-item svg {
    color: rgba(239, 68, 68, 0.8);
}
