:root {
    --primary: #007AFF;
    --secondary: #5856D6;
    --background: #000000;
    --surface: rgba(255, 255, 255, 0.08);
    --text: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
}

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

/* Base font rules */
body, p, a, button, input, select, textarea {
    font-family: 'Ubuntu', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Martian Mono', monospace;
}

/* Override any specific cases that might be using different fonts */
.testimonial p,
.testimonial h4,
.read-more-btn,
.price-info,
.plan-description,
.pricing-plan-step .sub,
.legal-content p,
.legal-content li,
.gcash-warning p,
.hero-content p,
.region-warning p {
    font-family: 'Ubuntu', sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Martian Mono', monospace;
}

/* Cursor Gradient */
#cursor-gradient {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle at center,
        rgba(0, 122, 255, 0.15),
        transparent 70%
    );
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Navigation Bar */
.navbar {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    width: 90%;
    max-width: 1200px;
    z-index: 5;
    padding: 1rem 2rem;
    left: 50%;
    transform: translateX(-50%);
    top: 1rem;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
}

.logo img {
    height: 32px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 122, 255, 0.1) 100%),
        url('https://images.unsplash.com/photo-1587573578261-4fa8ed47be54?ixlib=rb-4.0.3');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 350px; /* Increased height for smoother transition */
    background: linear-gradient(to bottom, 
        transparent,
        rgba(0, 0, 0, 1) 90%,
        #000000 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hero-content {
    position: relative;
    max-width: 1000px;
    padding: 0 2rem;
    z-index: 4;
    text-align: center;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #fff, #007AFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
}

.btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.2);
}

/* Key Highlights */
.highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 6rem 5%;
    background: linear-gradient(0deg, 
        rgba(0, 0, 0, 1) 70%,
        rgba(0, 0, 0, 0.95) 100%
    );
    gap: 2rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    margin-top: -2px; /* Remove any potential gap */
}

.highlights::before {
    content: '';
    position: absolute;
    top: -100px; /* Pull the gradient up into the hero section */
    left: 0;
    width: 100%;
    height: calc(100% + 100px);
    background: radial-gradient(
        circle at 50% 0%,
        rgba(0, 122, 255, 0.15),
        transparent 70%
    );
    pointer-events: none;
}

.highlight {
    flex: 1 1 calc(33% - 2rem);
    margin: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
}

.highlight:hover {
    transform: translateY(-10px);
}

.highlight h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #007AFF, #5856D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight p {
    color: #cccccc;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 5%;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.98) 100%
    );
    text-align: center;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 20% 50%,
            rgba(88, 86, 214, 0.08),
            transparent 70%
        ),
        radial-gradient(
            circle at 80% 50%,
            rgba(0, 122, 255, 0.08),
            transparent 70%
        );
    pointer-events: none;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #007AFF, #5856D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonial {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    max-width: 300px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 250px; /* Add minimum height to ensure consistent sizing */
}

.testimonial:hover {
    transform: translateY(-10px);
}

.testimonial p {
    font-style: italic;
    margin-bottom: 0.5rem;
    flex-grow: 1; /* Allow text to expand */
}

.read-more-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    margin: 0.25rem 0;
    transition: color 0.3s ease;
}

.read-more-btn:hover {
    color: var(--primary);
}

.testimonial h4 {
    color: var(--primary);
    font-weight: bold;
    margin-top: auto; /* Push names to bottom */
    align-self: center; /* Center horizontally */
}

/* Pricing Plans Section */
.pricing {
    padding: 6rem 5%;
    background: linear-gradient(0deg,
        rgba(0, 0, 0, 1),
        rgba(0, 0, 0, 0.98)
    );
    text-align: center;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(
            circle at 0% 100%,
            rgba(0, 122, 255, 0.1),
            transparent 50%
        ),
        radial-gradient(
            circle at 100% 0%,
            rgba(88, 86, 214, 0.1),
            transparent 50%
        );
    pointer-events: none;
}

.pricing h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #007AFF, #5856D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    max-width: 300px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 24px -1px rgba(0, 0, 0, 0.2);
}

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

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.pricing-card .price {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.pricing-card ul li {
    margin-bottom: 0.5rem;
}

.pricing-card .btn {
    width: 100%;
}

/* Pricing Selector Styles */
.pricing-selector {
    padding: 4rem 5%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.95));
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-plan-step {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-plan-step .title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-plan-step .sub {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.pricing-plan-step hr {
    margin: 2rem auto;
    width: 100px;
    border: none;
    border-top: 2px solid var(--primary);
}

/* Currency and Billing Options */
.currency-billing-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
    flex-wrap: wrap;
}

.currency-selector, .billing-period {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 25px;
    margin: 0;
}

.currency-selector li, .billing-period li {
    margin: 0;
}

.currency-selector li a, .billing-period li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text);
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.95rem;
}

.currency-selector li.active a, .billing-period li.active a {
    background: var(--primary);
    color: white;
}

.currency-selector li a:hover, .billing-period li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hide all plans-grid by default */
.plans-grid {
    display: none;
}

/* Display the active category's plans-grid */
.plans-grid[data-active-category="budget"] {
    display: grid;
}

/* Show plans-grid when show-all class is added */
.plans-grid.show-all {
    display: grid;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Hide plans by default beyond the first four */
.plans-grid .plan-block.hidden {
    display: none;
}

.plan-block.hidden {
    display: none;
}

.plan-block.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px rgba(0, 122, 255, 0.5);
}

.plan-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    transition: transform 0.3s ease;
    height: 100%;
}

.plan-block:hover {
    transform: translateY(-5px);
}

.plan-block.featured::before {
    content: 'Recommended';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.ram-badge {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.plan-description {
    color: var(--text-secondary);
    text-align: center;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.price-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.promo-price {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 600;
}

.plan-block .btn {
    width: 100%;
    margin-top: auto;
}

.show-more-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background: var(--primary);
    color: white;
}

@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.plan-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: transform 0.3s ease;
}

.plan-block:hover {
    transform: translateY(-5px);
}

.ram-badge {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    min-width: 120px;
}

.plan-description {
    flex: 1;
    color: var(--text-secondary);
}

.price-info {
    text-align: right;
    min-width: 200px;
}

.promo-price {
    font-size: 1.2rem;
    color: var(--primary);
}

.regular-price {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.billing-cycle {
    font-size: 0.8rem;
    opacity: 0.7;
}

.show-more-btn, .show-less-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    display: none; /* Initially hide "Show Less" */
    margin: 0 auto;
    transition: all 0.3s ease;
}

.show-more-btn {
    display: block; /* Show "Show More" by default */
}

.show-more-btn:hover, .show-less-btn:hover {
    background: var(--primary);
    color: white;
}

/* Show More/Less Buttons */
.show-more-btn, .show-less-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.show-less-btn {
    display: none; /* Hide "Show Less" initially */
}

.show-more-btn:hover, .show-less-btn:hover {
    background: var(--primary);
    color: white;
}

/* Category Switcher */
.category-switcher {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 0 1rem;
    flex-wrap: wrap;
}

.category-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.category-btn h4 {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.category-btn p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(
        145deg,
        rgba(0, 122, 255, 0.1),
        rgba(88, 86, 214, 0.1)
    );
    border-color: var(--primary);
}

.category-btn.active h4 {
    color: var(--primary);
}

@media (max-width: 768px) {
    .category-switcher {
        flex-direction: column;
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .category-btn {
        width: 100%;
        padding: 1.25rem;
        text-align: center;
    }

    .category-btn p {
        font-size: 0.85rem;
    }
}

/* Footer */
footer {
    background: linear-gradient(0deg,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.98) 100%
    );
    backdrop-filter: blur(20px);
    padding: 3rem 5%;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-content p {
    margin-bottom: 1rem;
}

.social-media a {
    margin: 0 0.5rem;
}

.social-media img {
    width: 24px;
    height: 24px;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: brightness(0) invert(1);
}

.social-media img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        display: none; /* Hide the entire navbar */
    }

    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .highlight {
        flex: 1 1 100%;
    }
    .testimonials, .pricing {
        padding: 4rem 2rem;
    }

    .testimonial-grid, .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card, .testimonial {
        max-width: 100%;
    }

    .currency-billing-options {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
        width: 100%;
    }

    .currency-selector, .billing-period {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 0.5rem;
    }

    .currency-selector li a {
        padding: 0.75rem 1.25rem;
    }

    .billing-period {
        flex-direction: column;
        padding: 0.5rem;
    }

    .billing-period li {
        width: 100%;
    }

    .billing-period li a {
        text-align: center;
        padding: 0.75rem;
    }

    .plan-block {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .price-info {
        text-align: center;
    }

    /* Hero Section Mobile Adjustments */
    .hero {
        background: linear-gradient(135deg, 
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 122, 255, 0.2) 100%),
            url('https://cdn.sear.host/background1.png');
        background-size: 250% auto; /* Zoom in the background */
        background-position: center center; /* Center the background */
        background-repeat: no-repeat;
        background-attachment: scroll; /* Better performance on mobile */
        min-height: 100vh;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .plans-hero {
        background-size: 250% auto; /* Zoom in the background */
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }

    /* Disable cursor gradient on mobile */
    #cursor-gradient {
        display: none;
    }

    .hero {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        padding: 0;
    }

    .hero-content {
        padding: 0 1.5rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 2.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 2rem;
    }

    .hero-cta {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Remove any transform animations on mobile */
    .highlight:hover,
    .testimonial:hover,
    .pricing-card:hover,
    .plan-block:hover,
    .plan-card:hover,
    .category-btn:hover {
        transform: none;
    }

    /* Ensure plans are displayed in order on mobile */
    .plans-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Remove any order properties if present */
    .plans-grid .plan-block {
        order: initial;
    }
}

@media (max-width: 480px) {
    .currency-billing-options {
        padding: 0 1rem;
    }

    .billing-period li a {
        font-size: 0.85rem;
    }
}

/* Animations */
@keyframes fadeUp {
    /* Remove this animation */
}

@keyframes gradientFlow {
    /* Remove this animation */
}

/* Remove animation from these sections */
.hero, .highlights, .testimonials, .pricing {
    background-size: cover; /* Changed from 200% 200% */
    animation: none; /* Remove animation */
}

/* Plans Page Specific Styles */
.plans-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 122, 255, 0.1)),
                url('https://cdn.sear.host/background1.png');
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.detailed-plans {
    padding: 6rem 5%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.95));
    position: relative;
}

.plan-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.plan-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card.featured {
    background: linear-gradient(
        145deg,
        rgba(0, 122, 255, 0.1),
        rgba(88, 86, 214, 0.1)
    );
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.1);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-header .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.plan-features {
    margin-bottom: 2rem;
}

.plan-features h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.plan-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.plan-features ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.plan-card .btn {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .plan-comparison {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

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

    .plan-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* Plans Grid */
.plan-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    transition: transform 0.3s ease;
    height: 100%;
}

.ram-badge {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.plan-description {
    color: var (--text-secondary);
    text-align: center;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.price-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.promo-price {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 600;
}

.plan-block .btn {
    width: 100%;
    margin-top: auto;
}

/* Update featured plan styling */
.plan-block.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px rgba(0, 122, 255, 0.5);
    position: relative;
}

.plan-block.featured::before {
    content: 'Recommended';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* GCash Warning */
.gcash-warning {
    display: none;
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem auto;
    max-width: 600px;
    text-align: center;
    animation: fadeIn 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.gcash-warning p {
    color: var(--text);
    margin: 0;
}

.gcash-warning a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.gcash-warning a:hover {
    opacity: 0.8;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Recommended Plan Highlight */
.plan-block.recommended {
    border: 2px solid var(--primary);
    box-shadow: 0 0 10px var(--primary);
    transform: scale(1.05);
}

.plan-block.recommended .price-info .promo-price {
    color: var(--secondary);
    font-weight: 700;
}

/* Remove Recommended Highlight when showing all plans */
.plans-grid.show-all .plan-block.recommended {
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
    transform: none;
}

.plans-grid.show-all .promo-price {
    color: var(--primary);
    font-weight: 600;
}

/* Region Warning */
.region-warning {
    display: none;
    background: rgba(255, 59, 48, 0.1);  /* Using a red color to differentiate from GCash warning */
    border: 1px solid rgb(255, 59, 48);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem auto;
    max-width: 600px;
    text-align: center;
    animation: fadeIn 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.region-warning p {
    color: var(--text);
    margin: 0;
}

.region-warning a {
    color: rgb(255, 59, 48);
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.region-warning a:hover {
    opacity: 0.8;
}

/* Legal Section */
.legal-links {
    margin-top: 1rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links .separator {
    color: var(--text-secondary);
    margin: 0 0.5rem;
}

@media (max-width: 768px) {
    .legal-links {
        flex-direction: column;
        gap: 1rem; /* Increased gap between items */
    }

    .legal-links a {
        padding: 0.5rem; /* Add padding for better touch target */
        width: 100%; /* Make links full width */
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Add subtle separator */
    }

    .legal-links a:last-child {
        border-bottom: none; /* Remove border from last item */
    }

    .legal-links .separator {
        display: none; /* Hide the separator characters on mobile */
    }
}

/* Legal pages styles */
.legal-content {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-content h2 {
    color: var(--primary);
    margin: 2rem 0 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-content li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.legal-content .disclaimer {
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid rgba(255, 59, 48, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0 2rem;
    color: var(--text);
}

.legal-content .disclaimer strong {
    color: rgb(255, 59, 48);
}

.legal-content strong {
    color: var(--primary);
}

.last-updated {
    font-style: italic;
    color: var(--text-secondary);
    margin-top: 2rem;
    font-size: 0.9rem;
}

.legal-content h3 {
    color: var(--text);
    font-size: 1.2rem;
    margin: 1.5rem 0 1rem;
}

.legal-content ul li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-content ul li strong {
    color: var (--primary);
    display: inline-block;
    margin-right: 0.5rem;
}

.legal-content .disclaimer {
    margin-bottom: 3rem;
}

.social-media a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
}

.social-media i {
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-media i:hover {
    color: #4CAF50;
}

.more-text {
    display: none;
}

.read-more-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);  /* Changed to a grey color */
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.25rem 0;  /* Reduced padding */
    transition: color 0.3s ease;
    margin: 0.25rem 0 0.75rem;  /* Added margin to position between text and name */
    display: block;
}

.read-more-btn:hover {
    color: var(--primary);
}

/* Support Hero Specific Styles */
.support-hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 122, 255, 0.1)),
                url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?ixlib=rb-4.0.3');
    min-height: 70vh;
}

/* FAQ Section */
.faq {
    padding: 6rem 5%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.95));
    position: relative;
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, #007AFF, #5856D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Support Channels */
.support-channels {
    padding: 6rem 5%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 1));
    text-align: center;
}

.support-channels h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, #007AFF, #5856D6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.channel-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.channel-card:hover {
    transform: translateY(-10px);
}

.channel-card i {
    font-size: 2.5rem;
    color: var(--primary);
}

.channel-card h3 {
    color: var(--text);
    font-size: 1.5rem;
}

.channel-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.channel-card .btn {
    margin-top: auto;
}

/* Responsive Design for Support Page */
@media (max-width: 768px) {
    .support-hero h1 {
        font-size: 2.5rem;
    }

    .faq-grid, .channels-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta .btn {
        width: 100%;
    }
}

/* Knowledge Base Styles */
.kb-content {
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 2rem;
}

.kb-content h1 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.kb-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.kb-category {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.kb-category:hover {
    transform: translateY(-5px);
}

.kb-category h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kb-category h2 i {
    font-size: 1.2rem;
}

.kb-category ul {
    list-style: none;
    padding: 0;
}

.kb-category ul li {
    margin-bottom: 1rem;
}

.kb-category ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.5rem;
    border-radius: 8px;
}

.kb-category ul li a:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Guide Page Styles */
.guide-content {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 2rem;
}

.guide-nav {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.guide-nav a {
    color: var(--primary);
    text-decoration: none;
}

.guide-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.guide-section h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.guide-section ol {
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.guide-section li {
    margin-bottom: 0.5rem;
}

/* Under Construction Styles */
.construction-content {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.construction-icon {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 2rem;
    animation: wrench 2.5s ease infinite;
}

.construction-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.construction-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.construction-content a {
    color: var(--primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.construction-content a:hover {
    opacity: 0.8;
}

.construction-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Construction CTA Button Fixes */
.construction-cta .btn {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
}

.construction-cta .btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.2);
}

.construction-cta .btn-discord {
    background: #5865F2;
    border-color: #5865F2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.construction-cta .btn-discord:hover {
    background: #4752c4;
    border-color: #4752c4;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.2);
}

.construction-cta .btn-discord i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.construction-cta .btn-discord:hover i {
    transform: translate(2px, -2px);
}

@keyframes wrench {
    0% { transform: rotate(0deg); }
    20% { transform: rotate(30deg); }
    40% { transform: rotate(-30deg); }
    60% { transform: rotate(15deg); }
    80% { transform: rotate(-15deg); }
    100% { transform: rotate(0deg); }
}

@media (max-width: 768px) {
    .construction-content {
        margin: 100px 1rem 40px;
    }
    
    .construction-content h1 {
        font-size: 2rem;
    }
    
    .construction-cta {
        flex-direction: column;
    }
    
    .construction-cta .btn {
        width: 100%;
    }
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 100;
}

/* Add mobile-specific styles using media queries */
@media (max-width: 768px) {
    /* Navigation */
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease-in-out;
        z-index: 99;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    /* Hero Section */
    .hero h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    /* Highlights Section */
    .highlights {
        padding: 3rem 1rem;
    }

    .highlight {
        flex: 1 1 100%;
        margin: 1rem 0;
    }

    /* Testimonials and Pricing */
    .testimonials, .pricing {
        padding: 3rem 1rem;
    }

    .testimonial, .pricing-card {
        width: 100%;
        margin: 1rem 0;
    }

    /* Currency and Billing Options */
    .currency-billing-options {
        flex-direction: column;
        gap: 1rem;
    }

    /* Plans Grid */
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }

    /* Category Switcher */
    .category-switcher {
        flex-direction: column;
        padding: 0 1rem;
    }

    .category-btn {
        width: 100%;
    }

    /* Footer */
    .footer-content {
        padding: 2rem 1rem;
    }

    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .legal-links .separator {
        display: none;
    }

    /* Support Page */
    .faq-grid, .channels-grid {
        grid-template-columns: 1fr;
    }

    /* Legal Pages */
    .legal-content {
        padding: 2rem 1rem;
        margin: 80px 1rem 40px;
    }

    /* Knowledge Base */
    .kb-categories {
        grid-template-columns: 1fr;
    }
}

/* Additional breakpoint for extra small devices */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .navbar {
        padding: 0.5rem 1rem;
        width: 95%;
    }

    .logo img {
        height: 24px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

/* Dark mode adjustments for OLED screens */
@media (prefers-color-scheme: dark) {
    :root {
        --background: #000000;
    }
}

.btn-discord {
    background: #5865F2;
    border-color: #5865F2;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-discord:hover {
    background: #4752c4;
    border-color: #4752c4;
}

.btn-discord i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-discord:hover i {
    transform: translate(2px, -2px);
}

@media (max-width: 768px) {
    .hero-cta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn-discord {
        justify-content: center;
    }
}

/* Dedicated Servers Page Specific Styles */
.hero-features {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: nowrap; /* Change from wrap to nowrap */
    max-width: 1400px; /* Increased from 1200px */
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1;
    min-width: 280px; /* Reduced from 320px */
    max-width: none; /* Remove max-width constraint */
}

/* Update media queries to handle smaller screens */
@media (max-width: 1024px) {
    .hero-features {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .feature-box {
        min-width: 300px;
        flex: 1 1 calc(33.333% - 1rem);
    }
}

@media (max-width: 1024px) {
    .hero-features {
        gap: 1rem;
    }
    
    .feature-box {
        min-width: 300px; /* Adjusted min-width for smaller screens */
    }
}

@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .feature-box {
        width: 100%;
        max-width: 450px; /* Adjusted max-width for mobile */
        min-width: auto;
    }
}

@media (min-width: 768px) {
    .server-card {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.server-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.server-info p {
    color: var(--text-secondary);
}

.server-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .server-action {
        flex-direction: row;
        gap: 2rem;
    }
}

.server-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.btn.disabled {
    background: #4a5568;
    color: #a0aec0;
    cursor: not-allowed;
    opacity: 0.7;
}

.stock-toggle {
    text-align: center;
    margin: 2rem 0;
}

.stock-toggle .btn i {
    margin-right: 0.5rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 122, 255, 0.1);
}

.feature-box i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 0.25rem;
}

.feature-content {
    text-align: left;
}

.feature-title {
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }

    .feature-box {
        width: 100%;
        max-width: 300px;
    }
}