/* Default Matrix Theme */
:root,
:root.matrix-theme {
    --bg-color: #0a0a0a;
    --text-color: #33ff33;
    --accent-color: #ff00ff;
    --secondary-color: #00ffff;
    --link-color: #ffff00;
    --glow-color: rgba(51, 255, 51, 0.6);
}

/* Amber Terminal Theme */
:root.amber-theme {
    --bg-color: #1a1100;
    --text-color: #ffb000;
    --accent-color: #ff8c00;
    --secondary-color: #ffd700;
    --link-color: #ffaa00;
    --glow-color: rgba(255, 176, 0, 0.6);
}

/* Phosphor Green Theme */
:root.phosphor-theme {
    --bg-color: #001100;
    --text-color: #00ff41;
    --accent-color: #00cc33;
    --secondary-color: #66ff66;
    --link-color: #99ff99;
    --glow-color: rgba(0, 255, 65, 0.6);
}

body {
    font-family: 'Courier New', monospace;
    background-color: var(--bg-color);
    /* Remove the grid background - keep it solid black like other pages */
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

/* CRT Scanlines Effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        transparent 50%, 
        rgba(0, 0, 0, 0.2) 50%
    );
    background-size: 100% 4px;
    animation: scanlines 0.1s infinite linear;
    pointer-events: none;
    z-index: 10;
}

/* CRT Screen Glow */
body::after {
    content: "";
    position: fixed;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(
        ellipse at center,
        transparent 40%,
        var(--glow-color) 100%
    );
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* Theme Toggle Button Styling */
#theme-toggle {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 8px 12px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px currentColor;
    z-index: 1001;
    position: relative;
}

#theme-toggle:hover {
    background: var(--text-color);
    color: var(--bg-color);
    box-shadow: 0 0 10px var(--glow-color);
}

/* Cursor blink animation for typing effects */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* DOS-Style 404 Error Page */
.terminal-error {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border: 2px solid var(--accent-color);
    margin: 20px auto;
    max-width: 800px;
}

.error-screen {
    margin-bottom: 30px;
}

.dos-error {
    color: var(--text-color);
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 0 5px var(--glow-color);
}

.error-blink {
    color: var(--accent-color);
    font-size: 16px;
    animation: blink 1s infinite;
    margin-top: 10px;
}

.error-commands {
    margin-top: 20px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

.prompt {
    color: var(--accent-color);
    font-weight: bold;
}

.command {
    color: var(--text-color);
}

.dir-listing {
    margin-top: 10px;
    color: var(--text-color);
    line-height: 1.4;
}

.file {
    color: var(--secondary-color);
}

.error-file {
    color: var(--accent-color);
    font-weight: bold;
    animation: blink 2s infinite;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.dos-button {
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 10px 15px;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dos-button:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
    box-shadow: 0 0 10px var(--glow-color);
}

@media (max-width: 768px) {
    .dos-error {
        font-size: 10px;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .dos-button {
        width: 200px;
        text-align: center;
    }
}

header {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-bottom: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.retro-box {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--bg-color);
    background-color: var(--text-color);
    padding: 3px 8px;
    margin-right: 10px;
    border: 2px solid var(--accent-color);
    box-shadow: 2px 2px 0 var(--accent-color);
}

header h1 {
    font-size: 2.5em;
    margin: 0;
    color: var(--accent-color);
    text-shadow: 
        0 0 5px var(--accent-color),
        0 0 10px var(--accent-color),
        0 0 15px var(--accent-color),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { 
        text-shadow: 
            0 0 5px var(--accent-color),
            0 0 10px var(--accent-color),
            0 0 15px var(--accent-color),
            2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    to { 
        text-shadow: 
            0 0 10px var(--accent-color),
            0 0 20px var(--accent-color),
            0 0 30px var(--accent-color),
            2px 2px 4px rgba(0, 0, 0, 0.8);
    }
}

.tagline {
    font-size: 1em;
    color: var(--secondary-color);
    font-style: italic;
    margin: 0;
    margin-left: auto;
}

nav {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    box-sizing: border-box;
}

nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    gap: 20px;
    flex-wrap: wrap;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    color: var(--link-color);
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

h1, h2, h3 {
    color: var(--accent-color);
    text-shadow: 
        0 0 5px var(--accent-color),
        0 0 10px var(--accent-color);
}

h2:hover, h3:hover {
    text-shadow: 
        0 0 10px var(--accent-color),
        0 0 20px var(--accent-color),
        0 0 30px var(--accent-color);
    transition: text-shadow 0.3s ease;
}

a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover-color);
}

footer {
    text-align: center;
    padding: 30px 20px 20px;
    background-color: rgba(0, 0, 0, 0.9);
    border-top: 2px solid var(--accent-color);
    margin-top: 40px;
    border-bottom: 3px solid var(--accent-color);
}

/* Vintage Badges */
.footer-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.vintage-badge {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    color: var(--bg-color);
    padding: 5px 12px;
    font-size: 10px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    border: 1px solid var(--text-color);
    border-radius: 3px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 0 5px var(--glow-color),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: badgeGlow 4s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
    0% { box-shadow: 0 0 5px var(--glow-color), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
    100% { box-shadow: 0 0 15px var(--glow-color), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
}

/* System Specs */
.system-specs {
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--text-color);
    padding: 10px;
    margin: 20px auto;
    max-width: 600px;
    font-family: 'Courier New', monospace;
}

.spec-line {
    margin: 5px 0;
    color: var(--secondary-color);
    font-size: 11px;
    text-shadow: 0 0 3px var(--glow-color);
    letter-spacing: 0.5px;
}

/* Footer Info */
.footer-info p {
    margin: 8px 0;
    color: var(--text-color);
    font-size: 12px;
}

.status-ok {
    color: var(--text-color);
    font-weight: bold;
    animation: blink 3s infinite;
}

@media (max-width: 768px) {
    .footer-badges {
        gap: 8px;
    }
    
    .vintage-badge {
        font-size: 9px;
        padding: 4px 8px;
    }
    
    .spec-line {
        font-size: 10px;
    }
    
    .footer-info p {
        font-size: 11px;
    }
}

footer .footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

footer .footer-logo .retro-box {
    font-size: 1.2em;
    padding: 2px 6px;
}

footer .footer-logo h2 {
    font-size: 1.8em;
    margin: 0;
    color: var(--accent-color);
    text-shadow: 1px 1px 2px rgba(255, 0, 255, 0.5);
}

/* Enhanced Form Styling for Mobile-First Design */
form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid rgba(51, 255, 51, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Form Labels with Better Accessibility */
label {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.3s ease;
}

label:first-of-type {
    margin-top: 0;
}

/* Enhanced Input Fields */
input, textarea {
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 16px 20px;
    margin-top: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 16px; /* Prevents zoom on iOS */
    border-radius: 6px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    width: 100%;
    
    /* Enhanced touch targets for mobile */
    min-height: 48px;
    
    /* Remove default iOS styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Focus States for Better Accessibility */
input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.3);
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-1px);
}

/* Placeholder Styling */
input::placeholder, textarea::placeholder {
    color: rgba(51, 255, 51, 0.6);
    font-style: italic;
}

/* Textarea Specific Styling */
textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

/* Valid/Invalid States */
input:valid {
    border-color: var(--text-color);
    box-shadow: inset 0 0 8px rgba(51, 255, 51, 0.2);
}

input:invalid:not(:placeholder-shown) {
    border-color: #ff6b6b;
    box-shadow: inset 0 0 8px rgba(255, 107, 107, 0.3);
}

/* Enhanced Submit Button */
button[type="submit"], 
input[type="submit"] {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    color: var(--bg-color);
    border: none;
    padding: 18px 32px;
    margin-top: 2rem;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    
    /* Enhanced touch target */
    min-height: 48px;
    min-width: 120px;
    
    /* Prevent double-tap zoom on iOS */
    touch-action: manipulation;
}

button[type="submit"]:hover, 
input[type="submit"]:hover {
    background: linear-gradient(45deg, var(--secondary-color), var(--link-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 0, 255, 0.4);
    text-shadow: 0 0 10px var(--bg-color);
}

button[type="submit"]:active, 
input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(255, 0, 255, 0.3);
}

button[type="submit"]:focus, 
input[type="submit"]:focus {
    outline: 3px solid var(--link-color);
    outline-offset: 2px;
}

/* Generic Button Styling (for backwards compatibility) */
button {
    background-color: var(--text-color);
    color: var(--bg-color);
    border: none;
    padding: 12px 20px;
    margin-top: 1rem;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-height: 44px;
    touch-action: manipulation;
}

button:hover {
    background-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 0, 255, 0.3);
}

button:active {
    transform: translateY(0);
}

button:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Form Validation Messages */
.form-error, .form-success {
    margin-top: 0.5rem;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    animation: slideInUp 0.3s ease;
}

.form-error {
    background: rgba(255, 107, 107, 0.2);
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
}

.form-success {
    background: rgba(51, 255, 51, 0.2);
    border: 1px solid var(--text-color);
    color: var(--text-color);
}

/* Loading State for Submit Button */
button[type="submit"].loading {
    background: rgba(51, 255, 51, 0.5);
    cursor: not-allowed;
    pointer-events: none;
}

button[type="submit"].loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--bg-color);
    border-radius: 50%;
    animation: formSpin 1s linear infinite;
}

@keyframes formSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Mobile Form Optimizations */
@media (max-width: 768px) {
    form {
        padding: 1.5rem;
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    label {
        font-size: 0.9rem;
    }
    
    input, textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    button[type="submit"], 
    input[type="submit"] {
        padding: 16px 24px;
        font-size: 16px;
        width: 100%;
    }
}

/* Enhanced Keyboard Navigation & Focus States */
/* Global focus styles for better accessibility */
:focus {
    outline: none;
}

/* Custom focus states for interactive elements */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
[tabindex]:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 1px var(--bg-color), 0 0 0 4px var(--accent-color);
    transition: all 0.2s ease;
}

/* Enhanced focus for navigation links */
nav a:focus {
    background-color: rgba(255, 0, 255, 0.2);
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
    border-radius: 4px;
    padding: 8px 12px;
    margin: -8px -12px;
}

/* Button focus enhancements */
.cta-button:focus,
.nav-button:focus,
.buy-now:focus {
    background-color: var(--accent-color);
    color: var(--bg-color);
    transform: scale(1.05);
    box-shadow: 
        0 0 0 3px var(--bg-color),
        0 0 0 6px var(--accent-color),
        0 8px 25px rgba(255, 0, 255, 0.4);
}

/* Card and interactive element focus */
.pricing-card:focus,
.home-service-card:focus,
.feature-card:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 4px;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 30px var(--glow-color);
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
    font-weight: bold;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
    outline: 3px solid var(--link-color);
    outline-offset: 2px;
}

/* Focus management for interactive grids */
.home-services-grid:focus-within,
.pricing-grid:focus-within,
.features-grid:focus-within {
    background: rgba(51, 255, 51, 0.05);
    border-radius: 8px;
    padding: 1rem;
    margin: -1rem;
}

/* Theme toggle focus */
#theme-toggle:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
    box-shadow: 0 0 15px var(--glow-color);
    transform: scale(1.1);
}

/* Social links focus */
.social-icon:focus,
.footer-links a:focus {
    background-color: var(--accent-color);
    color: var(--bg-color);
    padding: 8px 12px;
    border-radius: 4px;
    text-shadow: none;
    transform: scale(1.1);
}

/* Keyboard-only focus (hide focus for mouse users) */
.js-focus-visible :focus:not(.focus-visible) {
    outline: none;
    box-shadow: none;
}

/* Enhanced focus visibility for keyboard users */
.js-focus-visible .focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 1px var(--bg-color), 0 0 0 4px var(--accent-color);
}

/* Responsive design */
@media (max-width: 800px) {
    header, nav, main {
        max-width: 100%;
        padding: 10px;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .tagline {
        margin-left: 0;
        margin-top: 10px;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 5px 0;
    }

    /* Location grid handled by enhanced mobile styles above */

    .buy-links {
        flex-direction: column;
        align-items: center;
    }

    .buy-now {
        margin-bottom: 10px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .ascii-art, .ascii-table {
        font-size: 0.7em;
    }

    table {
        overflow-x: auto;
        display: block;
    }

    /* Location grid handled by enhanced mobile styles above */

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

    .nav-button {
        display: block;
        margin-bottom: 10px;
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 2px 0;
    transition: 0.4s;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: rgba(0, 0, 0, 0.9);
    }

    .nav-menu.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }
}

/* Enhanced Mobile Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    font-size: 18px;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Courier New', monospace;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    min-height: 44px;
    min-width: 44px;
    /* Enhanced touch target for better mobile UX */
    -webkit-tap-highlight-color: rgba(255, 0, 255, 0.3);
    tap-highlight-color: rgba(255, 0, 255, 0.3);
}

.nav-toggle:hover,
.nav-toggle:focus {
    background-color: var(--text-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--glow-color);
    transform: scale(1.05);
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.nav-toggle:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

.nav-toggle.active {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
    animation: togglePulse 0.6s ease;
}

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

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
    }
    
    nav {
        position: relative;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: rgba(10, 10, 10, 0.98);
        border: 2px solid var(--text-color);
        border-top: none;
        z-index: 1000;
        backdrop-filter: blur(10px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu li {
        margin: 0;
        border-bottom: 1px solid var(--accent-color);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu li a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 18px 24px;
        text-align: center;
        border: none;
        position: relative;
        transition: all 0.3s ease;
        /* Enhanced touch target */
        min-height: 48px;
        text-decoration: none;
        /* Improve touch response */
        -webkit-tap-highlight-color: rgba(255, 0, 255, 0.2);
        tap-highlight-color: rgba(255, 0, 255, 0.2);
    }

    .nav-menu li a:hover,
    .nav-menu li a:focus {
        background-color: var(--accent-color);
        color: var(--bg-color);
        transform: translateX(8px);
        text-shadow: 0 0 8px currentColor;
        outline: 2px solid var(--secondary-color);
        outline-offset: -2px;
    }
    
    .nav-menu li a:active {
        transform: translateX(4px) scale(0.98);
        background-color: var(--secondary-color);
    }
    
    /* Stagger animation for menu items */
    .nav-menu.active li {
        animation: slideInLeft 0.4s ease forwards;
        opacity: 0;
        transform: translateX(-20px);
    }
    
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.35s; }
}

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

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.location-list {
    list-style-type: none;
    padding: 0;
}

.location-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.flag {
    font-size: 2em;
    margin-right: 10px;
}

.buy-links {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.buy-now {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
    border: 2px solid var(--text-color);
    transition: all 0.3s ease;
}

.buy-now:hover {
    background-color: var(--bg-color);
    color: var(--text-color);
}

.service-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ascii-table {
    text-align: center;
    margin-bottom: 20px;
}

/* Enhanced Buy Buttons */
.buy-now {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
    border: 2px solid var(--text-color);
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px var(--glow-color);
}

.buy-now:hover {
    background-color: var(--bg-color);
    color: var(--text-color);
    box-shadow: 0 0 20px var(--glow-color);
    text-shadow: 0 0 5px currentColor;
}

.buy-links {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
}

/* Enhanced CTA Button */
.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: var(--bg-color);
    text-decoration: none;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px var(--accent-color);
}

.cta-button:hover {
    background-color: var(--bg-color);
    color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
    text-shadow: 0 0 5px currentColor;
}

/* Navigation Buttons */
.nav-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: var(--bg-color);
    text-decoration: none;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
    font-weight: bold;
    margin: 5px;
    box-shadow: 0 0 5px var(--accent-color);
}

.nav-button:hover {
    background-color: var(--bg-color);
    color: var(--accent-color);
    box-shadow: 0 0 15px var(--accent-color);
    text-shadow: 0 0 5px currentColor;
}

.navigation-buttons {
    text-align: center;
    margin-top: 30px;
}

/* Back to Top Button */
#backToTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--accent-color);
    color: var(--bg-color);
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 0 10px var(--accent-color);
    transition: all 0.3s ease;
}

#backToTop:hover {
    background-color: var(--secondary-color);
    box-shadow: 0 0 20px var(--secondary-color);
}

/* Cookie Consent Banner */
#cookieConsent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--text-color);
    padding: 20px;
    text-align: center;
    z-index: 9999;
    border-top: 1px solid var(--accent-color);
}

#acceptCookies {
    background-color: var(--accent-color);
    color: var(--bg-color);
    border: none;
    padding: 10px 20px;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--accent-color);
}


/* Enhanced navigation hover effects */
nav ul li a:hover {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    color: var(--bg-color);
    text-shadow: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(51, 255, 51, 0.3);
    transition: all 0.3s ease;
}

/* Interactive section titles */
section h2:hover {
    color: var(--accent-color);
    text-shadow: 0 0 15px var(--glow-color);
    transform: scale(1.05);
    transition: all 0.3s ease;
    cursor: default;
}

/* Enhanced buy buttons */
.buy-now:hover {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(51, 255, 51, 0.4);
    text-shadow: 0 0 10px var(--bg-color);
    transition: all 0.3s ease;
}

/* Specific hover for pricing card buttons to prevent overflow */
.pricing-card .buy-now:hover {
    transform: translateY(-2px);
    scale: 1.02;
}

/* Interactive footer badges */
.vintage-badge:hover {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 0 15px var(--accent-color);
    transition: all 0.3s ease;
}

/* Glitch effect on logo hover */
.logo:hover .retro-box {
    animation: glitchEffect 0.3s ease-in-out;
}

@keyframes glitchEffect {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Interactive table hover */
.comparison-table table tr:hover {
    background: rgba(51, 255, 51, 0.1);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* FAQ items hover effect */
.faq-item:hover {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    background: rgba(51, 255, 51, 0.05);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    /* Disable complex hover effects on mobile */
    .pricing-card:hover,
    .buy-now:hover {
        transform: none;
    }
}

#acceptCookies:hover {
    box-shadow: 0 0 15px var(--accent-color);
}

/* VPS Page Specific Styles */
#vps-hero {
    text-align: center;
    margin: 40px 0;
}

.hero-description {
    font-size: 18px;
    color: var(--secondary-color);
    margin: 20px 0 40px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.vps-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.benefit-item {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-color);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.benefit-item h3 {
    color: var(--accent-color);
    margin: 0 0 10px 0;
    font-size: 14px;
}

.benefit-item p {
    color: var(--text-color);
    margin: 0;
    font-size: 12px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-card {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--accent-color);
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px var(--glow-color);
    transform: translateY(-3px);
}

.feature-card h3 {
    color: var(--accent-color);
    margin: 0 0 15px 0;
    font-size: 16px;
}

.feature-card p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

.plan-description {
    font-size: 12px;
    color: var(--secondary-color);
    margin: 5px 0 0 0;
    font-style: italic;
}

.plan-features {
    margin: 15px 0;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    color: var(--text-color);
    font-size: 11px;
    margin: 5px 0;
    padding-left: 0;
}

@media (max-width: 768px) {
    .vps-benefits {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-description {
        font-size: 16px;
    }
}

/* Dedicated Server Page Specific Styles */
#dedicated-hero {
    text-align: center;
    margin: 40px 0;
}

.dedicated-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.spec-category {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--accent-color);
    padding: 25px;
    border-radius: 8px;
}

.spec-category h3 {
    color: var(--accent-color);
    margin: 0 0 15px 0;
    font-size: 16px;
}

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

.spec-category li {
    color: var(--text-color);
    font-size: 12px;
    margin: 8px 0;
    padding-left: 15px;
    position: relative;
}

.spec-category li::before {
    content: "▸";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.use-case {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-color);
    padding: 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.use-case:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 0 10px var(--glow-color);
}

.use-case h3 {
    color: var(--accent-color);
    margin: 0 0 10px 0;
    font-size: 14px;
}

.use-case p {
    color: var(--text-color);
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .dedicated-benefits {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

/* Live Chat Button Styling */
.live-chat-btn {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color)) !important;
    color: var(--bg-color) !important;
    position: relative;
    overflow: hidden;
}

.live-chat-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.live-chat-btn:hover::before {
    left: 100%;
}

.live-chat-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 20px rgba(51, 255, 51, 0.6);
    animation: chatPulse 1s infinite;
}

@keyframes chatPulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(51, 255, 51, 0.6);
    }
    50% { 
        box-shadow: 0 0 30px rgba(51, 255, 51, 0.8);
    }
}

/* Services Overview Page Styles */
#services-overview {
    text-align: center;
    margin: 40px 0;
}

.overview-description {
    font-size: 18px;
    color: var(--secondary-color);
    margin: 20px 0 50px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin: 50px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.service-overview-card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-overview-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 0 25px var(--glow-color);
}

.service-icon {
    margin: 0 0 20px 0;
}

.ascii-icon {
    font-size: 12px;
    color: var(--accent-color);
    margin: 0;
    text-shadow: 0 0 10px var(--glow-color);
}

.service-overview-card h2 {
    color: var(--accent-color);
    margin: 0 0 15px 0;
    font-size: 24px;
}

.service-description {
    color: var(--text-color);
    margin: 0 0 25px 0;
    line-height: 1.6;
    font-size: 14px;
}

.service-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.service-highlights li {
    color: var(--text-color);
    font-size: 13px;
    margin: 8px 0;
    text-align: left;
}

.price-range {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    border: 1px solid var(--accent-color);
}

.price-from {
    color: var(--secondary-color);
    font-size: 14px;
}

.price-from strong {
    color: var(--accent-color);
    font-size: 16px;
}

.plan-count {
    color: var(--text-color);
    font-size: 12px;
    font-style: italic;
}

.service-cta {
    display: block;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    color: var(--bg-color);
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(51, 255, 51, 0.6);
    background: linear-gradient(45deg, var(--secondary-color), var(--link-color));
}

/* Quick Comparison Section */
.quick-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-item {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--accent-color);
    padding: 25px;
    border-radius: 8px;
}

.comparison-item h3 {
    color: var(--accent-color);
    margin: 0 0 20px 0;
    text-align: center;
}

.comparison-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.vps-option, .dedicated-option {
    padding: 15px;
    border-radius: 5px;
    border: 1px solid var(--secondary-color);
    background: rgba(0, 0, 0, 0.3);
}

.vps-option strong, .dedicated-option strong {
    color: var(--accent-color);
    display: block;
    margin-bottom: 5px;
}

.vps-option p, .dedicated-option p {
    color: var(--text-color);
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-overview-card {
        padding: 20px;
    }
    
    .quick-comparison {
        grid-template-columns: 1fr;
    }
    
    .comparison-details {
        gap: 10px;
    }
}

/* Home Page Services Grid */
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.home-service-card {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.home-service-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px var(--glow-color);
    background: rgba(0, 0, 0, 0.8);
}

.service-emoji {
    font-size: 40px;
    margin: 0 0 15px 0;
    text-shadow: 0 0 10px var(--glow-color);
}

.home-service-card h3 {
    color: var(--accent-color);
    margin: 0 0 10px 0;
    font-size: 20px;
}

.home-service-card p {
    color: var(--text-color);
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.5;
}

.service-stats {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    border: 1px solid var(--secondary-color);
}

.service-stats span {
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: bold;
}

.services-cta {
    text-align: center;
    margin-top: 40px;
}

.services-cta .nav-button {
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color));
    color: var(--bg-color);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 1px;
}

.services-cta .nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--glow-color);
}

@media (max-width: 768px) {
    .home-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .home-service-card {
        padding: 20px;
    }
    
    .service-emoji {
        font-size: 30px;
    }
}

/* Footer Links */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    background: var(--secondary-color);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 0 10px var(--secondary-color);
}

@media (max-width: 768px) {
    .footer-links {
        gap: 15px;
    }
    
    .footer-links a {
        padding: 6px 10px;
        font-size: 11px;
    }
}

.client-login {
    background-color: var(--accent-color);
    color: var(--bg-color) !important;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.client-login:hover {
    background-color: var(--secondary-color);
    color: var(--bg-color) !important;
}

.payment-list {
    list-style-type: none;
    padding: 0;
}

.payment-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.payment-list li::before {
    margin-right: 10px;
    font-size: 1.2em;
}

#payment-methods {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 5px;
    margin-top: 30px;
}

.comparison-table {
    overflow-x: auto;
    margin-top: 20px;
}

.comparison-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
}

.comparison-table th, .comparison-table td {
    border: 1px solid var(--accent-color);
    padding: 10px;
    text-align: left;
}

.comparison-table th {
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: bold;
}

.comparison-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.05);
}

@media (max-width: 600px) {
    .comparison-table {
        font-size: 14px;
    }

    .comparison-table th, .comparison-table td {
        padding: 5px;
    }
}

/* Enhanced Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--glow-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    min-height: 400px;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--glow-color);
    border-color: var(--secondary-color);
}

.plan-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 15px;
}

.plan-header h3 {
    margin: 0 0 10px 0;
    color: var(--accent-color);
    font-size: 1.2em;
    letter-spacing: 2px;
}

.price {
    font-size: 2em;
    color: var(--text-color);
    font-weight: bold;
}

.price span {
    font-size: 0.4em;
    color: var(--secondary-color);
}

.recommended-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 5px 15px;
    font-size: 10px;
    border-radius: 15px;
    font-weight: bold;
    animation: recommendedPulse 2s infinite;
}

@keyframes recommendedPulse {
    0% { 
        background: var(--accent-color);
        color: var(--bg-color);
        box-shadow: 0 0 5px var(--accent-color);
        transform: scale(1);
        opacity: 1;
    }
    25% { 
        background: var(--secondary-color);
        color: var(--bg-color);
        box-shadow: 0 0 15px var(--secondary-color);
        transform: scale(1.1);
        opacity: 1;
    }
    50% { 
        background: var(--link-color);
        color: var(--bg-color);
        box-shadow: 0 0 20px var(--link-color);
        transform: scale(1.05);
        opacity: 0.8;
    }
    75% { 
        background: var(--accent-color);
        color: var(--bg-color);
        box-shadow: 0 0 25px var(--accent-color);
        transform: scale(1.15);
        opacity: 1;
    }
    90% {
        opacity: 0.3;
    }
    100% { 
        background: var(--accent-color);
        color: var(--bg-color);
        box-shadow: 0 0 5px var(--accent-color);
        transform: scale(1);
        opacity: 1;
    }
}

.plan-specs {
    margin: 20px 0;
    flex-grow: 1;
}

.spec-item {
    margin: 15px 0;
    font-family: 'Courier New', monospace;
}

.spec-label {
    display: block;
    font-size: 11px;
    color: var(--secondary-color);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.resource-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 5px 0;
}

.bar-fill {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-color);
    text-shadow: 0 0 5px var(--glow-color);
    flex: 1;
    margin-right: 10px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.pricing-card:hover .bar-fill {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
}

.spec-value {
    font-size: 11px;
    color: var(--text-color);
    min-width: 120px;
    text-align: right;
    white-space: nowrap;
}

.pricing-card .buy-now {
    width: 100%;
    text-align: center;
    margin: 20px 0 0 0;
    padding: 12px 8px;
    font-weight: bold;
    letter-spacing: 2px;
    box-sizing: border-box;
    border-radius: 5px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .pricing-card {
        padding: 15px;
    }
    
    .plan-header h3 {
        font-size: 1em;
    }
    
    .price {
        font-size: 1.5em;
    }
}

/* Enhanced Service Lists with Loading Animation */
.service-list {
    list-style-type: none;
    padding: 0;
}

.service-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-list li:hover {
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px var(--glow-color);
    transform: translateX(5px);
}

.service-list li::before {
    margin-right: 15px;
    font-size: 1.2em;
}

.service-list li::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.service-list li:hover::after {
    left: 100%;
}

/* Enhanced Resource Meters */
.loading-bar {
    display: none;
    margin-top: 8px;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    color: var(--text-color);
    line-height: 1.3;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px;
    border: 1px solid var(--accent-color);
    border-radius: 3px;
}

.service-list li:hover .loading-bar {
    display: block;
    animation: resourceMeters 4s ease-in-out;
}

@keyframes resourceMeters {
    0% { 
        opacity: 0; 
    }
    5% { 
        opacity: 1; 
        content: 'INITIALIZING RESOURCES...\A[░░░░░░░░░░░░░░░░] CPU: 0%'; 
        white-space: pre;
    }
    15% { 
        content: 'ALLOCATING RESOURCES...\A[████░░░░░░░░░░░░] CPU: 25%\A[██░░░░░░░░░░░░░░] RAM: 12%'; 
        white-space: pre;
    }
    30% { 
        content: 'PROVISIONING STORAGE...\A[████████░░░░░░░░] CPU: 50%\A[█████░░░░░░░░░░░] RAM: 31%\A[███░░░░░░░░░░░░░] DISK: 18%'; 
        white-space: pre;
    }
    45% { 
        content: 'CONFIGURING NETWORK...\A[████████████░░░░] CPU: 75%\A[█████████░░░░░░░] RAM: 56%\A[██████░░░░░░░░░░] DISK: 37%\A[████░░░░░░░░░░░░] NET: 25%'; 
        white-space: pre;
    }
    60% { 
        content: 'OPTIMIZING PERFORMANCE...\A[███████████████░] CPU: 93%\A[██████████████░░] RAM: 87%\A[██████████░░░░░░] DISK: 62%\A[████████░░░░░░░░] NET: 50%'; 
        white-space: pre;
    }
    75% { 
        content: 'FINALIZING SETUP...\A[████████████████] CPU: 100%\A[████████████████] RAM: 100%\A[████████████████] DISK: 100%\A[████████████████] NET: 100%'; 
        white-space: pre;
    }
    85% { 
        content: '✓ RESOURCES READY\A✓ SECURITY ENABLED\A✓ BACKUP CONFIGURED\A✓ MONITORING ACTIVE'; 
        white-space: pre;
        color: var(--accent-color);
    }
    95% { 
        content: 'DEPLOYMENT READY!\ASERVERS ONLINE ■ ■ ■'; 
        white-space: pre;
        color: var(--secondary-color);
    }
    100% { 
        opacity: 0; 
    }
}

/* Feature List */
.feature-list {
    list-style-type: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 0;
}

/* Custom Config Section */
#custom-config {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    border: 1px solid var(--accent-color);
}

/* Enhanced Location Grid */
.location-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 30px;
    padding: 0 1rem;
}

.location-item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(51, 255, 51, 0.05));
    padding: 14px 12px;
    border-radius: 8px;
    border: 2px solid var(--border-color, rgba(51, 255, 51, 0.3));
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 500;
    
    /* Enhanced accessibility */
    tabindex: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.location-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.location-item:hover,
.location-item:focus {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(51, 255, 51, 0.1));
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(51, 255, 51, 0.3);
    transform: translateY(-2px) scale(1.02);
    outline: none;
}

.location-item:hover::before,
.location-item:focus::before {
    left: 100%;
}

.location-item:active {
    transform: translateY(0) scale(0.98);
    transition: transform 0.1s ease;
}

.location-item .flag {
    margin-right: 8px;
    font-size: 1.2em;
    filter: drop-shadow(0 0 4px rgba(51, 255, 51, 0.5));
}

/* Enhanced Mobile Location Grid */
@media (max-width: 768px) {
    .location-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin-top: 2rem;
        padding: 0 0.5rem;
    }
    
    .location-item {
        padding: 16px 12px;
        min-height: 60px;
        font-size: 0.85rem;
        border-radius: 12px;
        flex-direction: column;
        gap: 4px;
        text-align: center;
        /* Enhanced touch targets */
        min-width: 44px;
        touch-action: manipulation;
    }
    
    .location-item .flag {
        margin-right: 0;
        margin-bottom: 2px;
        font-size: 1.4em;
    }
    
    .location-item:hover {
        transform: scale(1.05);
    }
    
    .location-item:active {
        transform: scale(0.95);
        background: linear-gradient(135deg, rgba(255, 0, 255, 0.2), rgba(51, 255, 51, 0.1));
    }
}

@media (max-width: 480px) {
    .location-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    
    .location-item {
        padding: 14px 8px;
        min-height: 70px;
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .location-item .flag {
        font-size: 1.6em;
        margin-bottom: 4px;
    }
}

@media (max-width: 380px) {
    .location-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 1.5rem auto;
    }
    
    .location-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 16px 20px;
        min-height: 56px;
        font-size: 0.9rem;
    }
    
    .location-item .flag {
        margin-right: 12px;
        margin-bottom: 0;
        font-size: 1.5em;
    }
}

/* ASCII Art Elements */
.ascii-map {
    position: relative;
    font-size: 12px;
    line-height: 1.2;
    white-space: pre;
    text-align: center;
    color: var(--accent-color);
    overflow: hidden;
}

.ascii-avatar {
    font-size: 12px;
    line-height: 1.2;
    white-space: pre;
    color: var(--accent-color);
    margin-bottom: 10px;
    text-shadow: 0 0 5px var(--accent-color);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.team-member {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 5px;
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
}

.team-member:hover {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px var(--glow-color);
}

.team-member h3 {
    margin: 10px 0 5px;
}

.team-member p {
    margin: 0;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hamburger Menu */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: rgba(0, 0, 0, 0.9);
    }

    .nav-menu.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    /* Responsive ASCII art and tables */
    .ascii-art, .ascii-table {
        font-size: 0.7em;
    }

    table {
        overflow-x: auto;
        display: block;
    }
}

@media (max-width: 800px) {
    /* Adjustments for larger tablets and small desktops */
    .header {
        flex-direction: column;
        align-items: center;
    }

    .header-content {
        text-align: center;
    }

    .nav-menu {
        flex-direction: row;
        justify-content: center;
    }

    .nav-menu li {
        margin: 0 10px;
    }

    .location-list {
        grid-template-columns: 1fr;
    }

    .team-members {
        grid-template-columns: 1fr;
    }

    .buy-link {
        margin: 10px 0;
    }

    .nav-button {
        margin: 10px 0;
    }
}

.client-login {
    background-color: var(--accent-color);
    color: var(--bg-color) !important;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.client-login:hover {
    background-color: var(--secondary-color);
    color: var(--bg-color) !important;
}

.payment-list {
    list-style-type: none;
    padding: 0;
}

.payment-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.payment-list li::before {
    margin-right: 10px;
    font-size: 1.2em;
}

#payment-methods {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 5px;
    margin-top: 30px;
}
/* Enhanced FAQ System Styles */
#faq-section {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

#faq-section h2 {
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

#faq-section p {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.faq-search-container {
    position: relative;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.faq-search-container input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--accent-color);
    border-radius: 25px;
    color: var(--text-color);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    transition: all 0.3s ease;
}

.faq-search-container input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.9);
}

.faq-search-container .search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
    pointer-events: none;
}

.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.faq-category-btn {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--accent-color);
    color: var(--text-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.faq-category-btn:hover,
.faq-category-btn.active {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 10px var(--accent-color);
    transform: translateY(-2px);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.hidden {
    display: none;
}

.faq-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem;
    color: var(--text-color);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 0, 255, 0.1);
    color: var(--accent-color);
}

.faq-question:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.faq-question span:first-child {
    flex: 1;
    font-weight: bold;
    letter-spacing: 1px;
}

.faq-toggle {
    color: var(--accent-color);
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: rgba(0, 0, 0, 0.3);
}

.faq-answer.open {
    max-height: 200px;
    padding: 1rem;
}

.faq-answer p {
    margin: 0;
    color: var(--secondary-color);
    line-height: 1.6;
    text-align: left;
}

.faq-no-results {
    text-align: center;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px dashed var(--accent-color);
    border-radius: 8px;
    margin: 1rem 0;
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.faq-no-results h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.faq-no-results p {
    color: var(--secondary-color);
    margin: 0;
}

.faq-no-results a {
    color: var(--link-color);
    text-decoration: underline;
}

.faq-no-results a:hover {
    color: var(--accent-color);
}

/* Mobile Responsive FAQ */
@media (max-width: 768px) {
    #faq-section {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .faq-search-container {
        margin-bottom: 1.5rem;
    }
    
    .faq-search-container input {
        padding: 14px 45px 14px 15px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .faq-categories {
        gap: 8px;
        margin-bottom: 1.5rem;
    }
    
    .faq-category-btn {
        padding: 10px 14px;
        font-size: 11px;
        min-height: 44px; /* Better touch target */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .faq-question {
        padding: 1.2rem 1rem;
        font-size: 15px;
        min-height: 60px; /* Better touch target */
    }
    
    .faq-toggle {
        font-size: 20px;
        margin-left: 0.5rem;
    }
    
    .faq-answer.open {
        max-height: 300px;
        padding: 1rem;
    }
    
    .faq-answer p {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* Smart Contact Form Enhancements */
.form-description {
    text-align: center;
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 6px;
}

/* Enhanced Select Dropdown Styling */
select {
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--text-color);
    color: var(--text-color);
    padding: 16px 20px;
    margin-top: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    cursor: pointer;
    
    /* Custom dropdown arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333ff33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 45px;
}

select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.3);
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-1px);
}

select:hover {
    border-color: var(--secondary-color);
}

/* Department-specific dynamic sections */
.dynamic-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    animation: slideInDown 0.4s ease;
}

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

/* Smart Suggestions Section */
#smart-suggestions {
    background: rgba(255, 255, 0, 0.1);
    border: 2px solid var(--link-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    animation: slideInUp 0.4s ease;
}

.suggestion-header h4 {
    color: var(--link-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.suggestion-header p {
    color: var(--secondary-color);
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.suggestion-item {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--link-color);
    border-radius: 6px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.suggestion-item:hover {
    background: rgba(255, 255, 0, 0.1);
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.suggestion-item h5 {
    color: var(--link-color);
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

.suggestion-item p {
    color: var(--text-color);
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Response Time Info */
.response-info {
    display: flex;
    align-items: center;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 6px;
    padding: 1rem;
    margin: 1.5rem 0;
    gap: 1rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.info-content {
    flex: 1;
    color: var(--text-color);
    font-size: 0.9rem;
}

.info-content strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.25rem;
}

/* Enhanced Success Message */
.form-success {
    background: rgba(51, 255, 51, 0.15);
    border: 2px solid var(--text-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    animation: successSlide 0.6s ease;
}

@keyframes successSlide {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-icon {
    font-size: 2rem;
    color: var(--text-color);
    flex-shrink: 0;
    animation: successBounce 0.8s ease;
}

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

.success-content {
    flex: 1;
}

.success-content h4 {
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.success-content p {
    color: var(--secondary-color);
    margin: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.success-content strong {
    color: var(--text-color);
    font-weight: bold;
}

/* Priority Level Visual Indicators */
select[name="priority"] option[value="low"] {
    background: rgba(0, 255, 0, 0.1);
}

select[name="priority"] option[value="medium"] {
    background: rgba(255, 255, 0, 0.1);
}

select[name="priority"] option[value="high"] {
    background: rgba(255, 165, 0, 0.1);
}

select[name="priority"] option[value="urgent"] {
    background: rgba(255, 0, 0, 0.1);
}

/* Mobile Responsive Smart Form */
@media (max-width: 768px) {
    .form-description {
        padding: 0.75rem;
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
    }
    
    select {
        padding: 14px 45px 14px 16px;
        font-size: 16px;
        background-size: 18px;
        background-position: right 10px center;
    }
    
    .dynamic-section {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .response-info {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .info-icon {
        font-size: 2rem;
    }
    
    .form-success {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .success-icon {
        font-size: 3rem;
        align-self: center;
    }
    
    #smart-suggestions {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .suggestion-item {
        padding: 0.75rem;
    }
    
    .suggestion-item:hover {
        transform: scale(1.02);
    }
}

/* Payment Methods Section */
#payment-methods {
    text-align: center;
    margin: 50px 0;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.3);
}

#payment-methods h2 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
    text-shadow: 0 0 10px var(--accent-color);
}

#payment-methods p {
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-style: italic;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 30px auto;
    padding: 0 10px;
}

.payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--text-color);
    border-radius: 12px;
    padding: 25px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 140px; /* Fixed height for rectangle shape */
}

.payment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(51, 255, 51, 0.1), transparent);
    transition: left 0.5s ease;
}

.payment-item:hover::before {
    left: 100%;
}

.payment-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 0, 255, 0.1);
}

.payment-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: brightness(1.1) contrast(1.3) saturate(1.2);
    transition: all 0.3s ease;
    drop-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.payment-item:hover img {
    filter: brightness(1.3) contrast(1.4) saturate(1.4) drop-shadow(0 0 12px var(--accent-color));
    transform: scale(1.15);
}

.payment-label {
    color: var(--text-color);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    text-shadow: 0 0 5px var(--glow-color);
}

.payment-item:hover .payment-label {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
}

/* Special styling for "and more" item */
.payment-more {
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--secondary-color);
}

.payment-more:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: var(--link-color);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.more-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px var(--secondary-color);
}

.payment-more:hover .more-icon {
    color: var(--link-color);
    text-shadow: 0 0 12px var(--link-color);
    transform: rotate(90deg) scale(1.2);
}

.payment-more:hover .payment-label {
    color: var(--link-color);
    text-shadow: 0 0 8px var(--link-color);
}

/* Payment Security Note */
.payment-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 6px;
    padding: 15px 20px;
    margin: 20px auto 0 auto;
    max-width: 600px;
}

.note-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.payment-note p {
    margin: 0;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
}

/* Mobile Responsive Payment Methods */
@media (max-width: 768px) {
    #payment-methods {
        margin: 30px 0;
        padding: 20px 15px;
    }
    
    #payment-methods h2 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .payment-item {
        padding: 20px 15px;
        height: 110px; /* Fixed height for mobile rectangles */
    }
    
    .payment-item img {
        width: 45px;
        height: 45px;
        margin-bottom: 10px;
    }
    
    .payment-label {
        font-size: 11px;
    }
    
    .more-icon {
        font-size: 2.2rem;
    }
    
    .payment-note {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 12px 15px;
    }
    
    .payment-note p {
        text-align: center;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .payment-item {
        padding: 18px 12px;
        height: 95px; /* Fixed height for small mobile rectangles */
    }
    
    .payment-item img {
        width: 35px;
        height: 35px;
        margin-bottom: 8px;
    }
    
    .payment-label {
        font-size: 10px;
    }
    
    .more-icon {
        font-size: 2rem;
    }
}
EOF < /dev/null