body {
    background: white;
    font-family: 'segoe ui', arial, sans-serif;
    margin: 0;
    padding-top: 80px;
}

/* SPA Page Containers */
.page {
    width: 100%;
    min-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

/* Hide all pages by default except the one being shown */
.page:not([style*="display: flex"]):not([style*="display:block"]):not([style*="display: block"]) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.page[style*="display: flex"],
.page[style*="display:block"],
.page[style*="display: block"] {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    overflow: visible !important;
}

.navbar {
    background: linear-gradient(135deg, rgb(6, 182, 212, 0.7) 0%, rgb(99, 102, 241, 0.7) 60%, rgb(46, 16, 101, 0.7) 100%);
    padding: 15px 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    width: 1900px;
    max-width: calc(100% - 30px);
    box-sizing: border-box;
    overflow: visible;
}

.navbar-content {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    overflow: visible;
    min-width: 0;
}

.navbar-item {
    margin: 0;
}

/* Logo stays on the left */
.navbar-item:first-child {
    flex-shrink: 0;
    margin-right: auto;
}

/* Middle 4 items grouped together in the center with even spacing */
/* These will naturally group together with the gap property on .navbar-content */


/* Login and signup on the right */
.navbar-item:nth-last-child(2) {
    margin-left: auto;
}

.navbar-item:last-child {
    margin-left: 0;
}

.navbar-item a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
    font-size: 18px;
    display: inline-block;
    overflow: visible;
    text-overflow: clip;
}

.navbar-item a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.navbar-item:first-child a {
    padding: 0;
    display: flex;
    align-items: center;
    line-height: 1;
}

.navbar-item:first-child a:hover {
    transform: translateY(-3px) scale(1.03);
    background: transparent;
}

.navbar-item:first-child a img.logo {
    display: block !important;
    width: 64px;
    height: 64px;
    object-fit: contain;
    visibility: visible !important;
    opacity: 1 !important;
    border-radius: 10px;
}

/* Promotion Announcement */
.promotion-announcement {
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%);
    padding: 20px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    justify-content: center;
    text-align: center;
    margin: 50px auto 30px;
    color: white;
    box-sizing: border-box;
    width: 100%;
}

/* Hero Section */
.hero {
    margin-top: 50px;
    width: 100%;
    position: relative;
    color: white;
}

.hero-content {
    text-align: center;
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    width: 1900px;
    max-width: calc(100% - 30px);
    box-sizing: border-box;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: slideInUp 0.8s ease-out;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    animation: fadeIn 1s ease-out;
}

.hero-content .hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out;
}

.hero-buttons {
    animation: fadeIn 1.2s ease-out;
}

.hero-arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    animation: fadeIn 1.4s ease-out;
}

.hero-arrow-container h3 {
    color: white;
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
}

.hero-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 0;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    cursor: pointer;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(5px) scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-arrow svg {
    transition: transform 0.3s ease;
}

.hero-arrow:hover svg {
    transform: translateY(3px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

html {
    scroll-behavior: smooth;
}

.link-button {
    background: white;
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    margin: 10px;
    margin-top: 20px;
    transition: all 0.3s ease;
    display: inline-block;
}

.link-button:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.why-cosmiq {
    margin-top: 20px;
    width: 100%;
    position: relative;
    color: black;
}

.why-cosmiq-content {
    text-align: center;
    color: black;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    width: 100%;
    box-sizing: border-box;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
    overflow: hidden;
}

.why-cosmiq-content h2 {
    color: black;
    margin-bottom: 30px;
    width: 100%;
    white-space: normal;
}

.why-cosmiq-cards-wrapper {
    display: inline-flex;
    gap: 20px;
    animation: scrollSideways 20s linear infinite;
    will-change: transform;
    position: relative;
}

.why-cosmiq-content h3,
.why-cosmiq-content p {
    color: black;
}

.why-cosmiq-card {
    background: #f8f8f8 !important;
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
    flex: 0 0 auto;
    min-width: 300px;
    max-width: 300px;
    text-align: left;
    color: black;
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    transform: translateY(0) scale(1);
}

.why-cosmiq-card h3,
.why-cosmiq-card p {
    color: black !important;
    transition: color 0.3s ease;
}

.why-cosmiq-card:hover {
    transform: translateY(-10px) scale(1.05) !important;
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%) !important;
    color: white !important;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
    z-index: 10;
}

.why-cosmiq-card:hover h3,
.why-cosmiq-card:hover p {
    color: white !important;
}


.why-cosmiq-content h2 {
    animation: fadeIn 0.8s ease-out;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

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

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scrollSideways {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollSidewaysReverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Features Section */
.features {
    margin-top: 20px;
    width: 100%;
    position: relative;
    color: black;
}

.features-content {
    text-align: center;
    color: black;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    width: 100%;
    box-sizing: border-box;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
    overflow: hidden;
}

.features-content h2 {
    color: black;
    margin-bottom: 30px;
    width: 100%;
    white-space: normal;
    animation: fadeIn 0.8s ease-out;
}

.features-cards-wrapper {
    display: inline-flex;
    gap: 20px;
    animation: scrollSidewaysReverse 20s linear infinite;
    will-change: transform;
    position: relative;
}

.features-card {
    background: #f8f8f8 !important;
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
    flex: 0 0 auto;
    min-width: 300px;
    max-width: 300px;
    text-align: left;
    color: black;
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    transform: translateY(0) scale(1);
    direction: ltr;
}

.features-card h3,
.features-card p {
    color: black !important;
    transition: color 0.3s ease;
}

.features-card:hover {
    transform: translateY(-10px) scale(1.05) !important;
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%) !important;
    color: white !important;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
    z-index: 10;
}

.features-card:hover h3,
.features-card:hover p {
    color: white !important;
}

.hero-arrow-container h3 {
    color: white;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
}

/* Tools Section */
.tools {
    margin-top: 20px;
    width: 100%;
    position: relative;
    color: black;
    margin-bottom: 20px;
}

.tools h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 20px;
    margin-top: 0;
    padding-top: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 20;
}

.tools-content {
    text-align: center;
    color: black;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    width: 100%;
    box-sizing: border-box;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 20px 60px;
    overflow: visible;
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%);
    border-radius: 10px;
    width: 1900px;
    max-width: calc(100% - 30px);
    min-height: 600px;
}

.tools-info-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    max-width: 80%;
    min-height: 300px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.tools-info-placeholder {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin: 0;
}

.tools-info-center h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 15px;
    margin-top: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tools-info-center p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    line-height: 1.6;
    margin: 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tools-info-center ul {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tools-info-center li {
    color: rgba(255, 255, 255, 0.95) !important;
}

.tools-content-card {
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
    color: black;
    border-radius: 10px;
    width: 400px;
    background: #f8f8f8 !important;
    text-align: left;
    opacity: 1;
    transition: all 0.3s ease;
    cursor: pointer;
    position: absolute;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tools-content-card:hover {
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.tools-content-card.active {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-8px) scale(1.08) !important;
    z-index: 15;
}

.tools-content-card.active h3 {
    color: #333 !important;
    font-weight: 700;
}

.tools-content-card.active p {
    color: #333 !important;
}


/* Footer Section */
.footer {
    margin-top: auto;
    background: #1a1a1a;
    color: white;
    padding: 60px 20px 30px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    flex-shrink: 0;
}

.footer-content {
    max-width: 1900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding: 0 20px;
    box-sizing: border-box;
}

.footer-section h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1900px;
    margin: 0 auto;
    padding: 30px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        width: calc(100% - 20px);
        padding: 10px 15px;
    }

    .navbar-content {
        gap: 10px;
    }

    .navbar-item a {
        font-size: 14px;
        padding: 6px 8px;
    }

    .hero-content {
        padding: 40px 20px;
        height: auto;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .link-button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .why-cosmiq-card,
    .features-card {
        min-width: 250px;
        max-width: 250px;
    }

    .cta-content {
        padding: 40px 20px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 16px;
    }

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

@media (max-width: 480px) {
    .navbar-item:not(:first-child):not(:nth-last-child(2)):not(:last-child) {
        display: none;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .why-cosmiq-card,
    .features-card {
        min-width: 200px;
        max-width: 200px;
        padding: 15px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Upgrade Page Styles */
.upgrade-hero {
    margin-top: 50px;
    width: 100%;
    position: relative;
    color: white;
}

.upgrade-hero-content {
    text-align: center;
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%);
    border-radius: 10px;
    padding: 60px 20px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    width: 1900px;
    max-width: calc(100% - 30px);
    box-sizing: border-box;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.upgrade-hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.upgrade-hero-content .upgrade-hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
}

.upgrade-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    width: 1900px;
    max-width: 1900px;
    margin: 50px auto;
    padding: 50px;
    box-sizing: border-box;
    border-radius: 12px;
    background-color: #f8f8f8;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.upgrade-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 30px 20px;
    border-radius: 12px;
    background: #f8f8f8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 400px;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    border: 3px solid transparent;
    background-clip: padding-box;
z-index: 10;
}


.upgrade-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%);
    z-index: -1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.upgrade-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9px;
    background: #f8f8f8;
    z-index: -1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.upgrade-card:hover::after {
    opacity: 0 !important;
    visibility: hidden !important;
}


.upgrade-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.upgrade-badge.best-deal {
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%);
    color: white;
}

.upgrade-badge.most-popular {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: white;
}

.upgrade-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%) !important;
    background-clip: padding-box !important;
    color: white;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
    z-index: 10;
    border: 3px solid transparent !important;
}

.upgrade-card:hover h3,
.upgrade-card:hover p {
    color: white;
}

.upgrade-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.upgrade-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 10px;
    gap: 5px;
}

.price-original {
    font-size: 24px;
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
    line-height: 1;
}

.price-amount {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.upgrade-card:hover .price-amount {
    color: white;
}

.upgrade-card:hover .price-original {
    color: rgba(255, 255, 255, 0.7);
}

.upgrade-card p {
    margin: 10px 0;
    color: #666;
    font-size: 16px;
}

/* Add-ons Section */
.addons-section {
    width: 100%;
    margin-top: 80px;
    margin-bottom: 50px;
}

.addons-section h2 {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

.addons-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 1900px;
    max-width: 1900px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.addon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 30px 20px;
    border-radius: 12px;
    background: #f8f8f8;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 300px;
    box-sizing: border-box;
    position: relative;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.addon-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%);
    z-index: -1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.addon-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9px;
    background: #f8f8f8;
    z-index: -1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.addon-card:hover::after {
    opacity: 0 !important;
    visibility: hidden !important;
}

.addon-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%);
    color: white;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
    z-index: 10;
}

.addon-card:hover h3,
.addon-card:hover p {
    color: white;
}

.addon-card:hover .price-amount {
    color: white;
}

.addon-card:hover .upgrade-button {
    background: white;
    color: rgb(46, 16, 101);
}

.addon-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.addon-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 10px;
}

.addon-card .price-amount {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.addon-card p {
    margin: 10px 0;
    color: #666;
    font-size: 16px;
    text-align: center;
}

.upgrade-button {
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upgrade-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.upgrade-card:hover .upgrade-button {
    background: white;
    color: rgb(46, 16, 101);
}

/* Responsive grid for upgrade cards */
@media (max-width: 2000px) {
    .upgrade-hero-content {
        width: 100%;
        max-width: calc(100% - 30px);
    }
    
    .upgrade-content {
        width: 100%;
        max-width: calc(100% - 30px);
        padding: 40px 20px;
    }
    
    .addons-content {
        width: 100%;
        max-width: calc(100% - 30px);
    }
}

@media (max-width: 1200px) {
    .upgrade-content {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        max-width: calc(100% - 30px);
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .upgrade-hero-content h1 {
        font-size: 36px;
    }
    
    .upgrade-hero-content .upgrade-hero-subtitle {
        font-size: 16px;
    }
    
    .upgrade-content {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: calc(100% - 30px);
        padding: 40px 20px;
    }
    
    .addons-content {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: calc(100% - 30px);
        padding: 0 20px;
    }
    
    .addons-section h2 {
        font-size: 32px;
    }
}

/* Login Page Styles */
.login-hero {
    margin-top: 50px;
    width: 100%;
    position: relative;
    color: white;
}

.login-hero-content {
    text-align: center;
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%);
    border-radius: 10px;
    padding: 60px 20px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    width: 1900px;
    max-width: calc(100% - 30px);
    box-sizing: border-box;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.login-hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.login-hero-content .login-hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
}

.login-container {
    width: 500px;
    max-width: calc(100% - 30px);
    margin: 0 auto;
    padding: 50px;
    box-sizing: border-box;
    border-radius: 12px;
    background-color: #f8f8f8;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.form-group input {
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    color: #333;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: rgb(99, 102, 241);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder {
    color: #999;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: rgb(99, 102, 241);
}

.forgot-password {
    color: rgb(99, 102, 241);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: rgb(6, 182, 212);
    text-decoration: underline;
}

.login-button {
    margin-top: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.login-button:active {
    transform: translateY(0);
}

.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.form-message.success {
    background-color: rgba(34, 197, 94, 0.1);
    color: rgb(34, 197, 94);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: rgb(239, 68, 68);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.form-footer p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.form-footer a {
    color: rgb(99, 102, 241);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.form-footer a:hover {
    color: rgb(6, 182, 212);
    text-decoration: underline;
}

.form-link {
    color: rgb(99, 102, 241);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-link:hover {
    color: rgb(6, 182, 212);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-hero-content h1 {
        font-size: 36px;
    }
    
    .login-hero-content .login-hero-subtitle {
        font-size: 16px;
    }
    
    .login-container {
        width: 100%;
        max-width: calc(100% - 30px);
        padding: 30px 20px;
    }
}

/* Signup Page Styles */
.signup-hero {
    margin-top: 50px;
    width: 100%;
    position: relative;
    color: white;
}

.signup-hero-content {
    text-align: center;
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%);
    border-radius: 10px;
    padding: 60px 20px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    width: 1900px;
    max-width: calc(100% - 30px);
    box-sizing: border-box;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.signup-hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.signup-hero-content .signup-hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
}

.signup-container {
    width: 500px;
    max-width: calc(100% - 30px);
    margin: 0 auto;
    padding: 50px;
    box-sizing: border-box;
    border-radius: 12px;
    background-color: #f8f8f8;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.signup-button {
    margin-top: 10px;
    padding: 14px 30px;
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.signup-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.signup-button:active {
    transform: translateY(0);
}

.signup-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .signup-hero-content h1 {
        font-size: 36px;
    }
    
    .signup-hero-content .signup-hero-subtitle {
        font-size: 16px;
    }
    
    .signup-container {
        width: 100%;
        max-width: calc(100% - 30px);
        padding: 30px 20px;
    }
}

/* Terms and Privacy Policy Pages */
.terms-hero,
.privacy-hero {
    margin-top: 50px;
    width: 100%;
    position: relative;
    color: white;
}

.terms-hero-content,
.privacy-hero-content {
    text-align: center;
    background: linear-gradient(135deg, rgb(6, 182, 212) 0%, rgb(99, 102, 241) 60%, rgb(46, 16, 101) 100%);
    border-radius: 10px;
    padding: 60px 20px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    width: 1900px;
    max-width: calc(100% - 30px);
    box-sizing: border-box;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.terms-hero-content h1,
.privacy-hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.terms-hero-content .terms-hero-subtitle,
.privacy-hero-content .privacy-hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    margin: 0 auto;
}

.terms-container,
.privacy-container {
    width: 900px;
    max-width: calc(100% - 30px);
    margin: 50px auto;
    padding: 50px;
    box-sizing: border-box;
    border-radius: 12px;
    background-color: #f8f8f8;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}

.terms-content,
.privacy-content {
    color: #333;
}

.terms-content h2,
.privacy-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

.terms-content p,
.privacy-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.terms-content ul,
.privacy-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.terms-content li,
.privacy-content li {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .terms-hero-content h1,
    .privacy-hero-content h1 {
        font-size: 36px;
    }
    
    .terms-hero-content .terms-hero-subtitle,
    .privacy-hero-content .privacy-hero-subtitle {
        font-size: 16px;
    }
    
    .terms-container,
    .privacy-container {
        width: 100%;
        max-width: calc(100% - 30px);
        padding: 30px 20px;
    }
}