:root {
    --bg-primary: #0a0e27;
    --bg-secondary: #151b3d;
    --bg-card: #1a2242;
    --bg-header: #0d1129;
    --text-primary: #e8edf7;
    --text-secondary: #9ca3af;
    --text-inverse: #ffffff;
    --border-color: #2d3651;
    --shadow: rgba(0, 0, 0, 0.3);
    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --button-primary: #3b82f6;
    --button-primary-hover: #2563eb;
    --button-danger: #ef4444;
    --button-danger-hover: #dc2626;
    --table-bg: #1a2242;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --glow-blue: 0 0 30px rgba(59, 130, 246, 0.4);
    --glow-cyan: 0 0 30px rgba(6, 182, 212, 0.4);
    --glow-purple: 0 0 30px rgba(139, 92, 246, 0.4);
}

[data-theme="dark"] {
    --bg-primary: #0a0e27;
    --bg-secondary: #151b3d;
    --bg-card: #1a2242;
    --bg-header: #0d1129;
    --text-primary: #e8edf7;
    --text-secondary: #9ca3af;
    --text-inverse: #ffffff;
    --border-color: #2d3651;
    --shadow: rgba(0, 0, 0, 0.3);
    --accent-blue: #3b82f6;
    --accent-blue-hover: #2563eb;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --button-primary: #3b82f6;
    --button-primary-hover: #2563eb;
    --button-danger: #ef4444;
    --button-danger-hover: #dc2626;
    --table-bg: #1a2242;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% -20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Animated background orbs */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

.bg-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(59, 130, 246, 0.15);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.bg-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, 0.12);
    bottom: -50px;
    right: -50px;
    animation-delay: -7s;
}

.bg-orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(6, 182, 212, 0.1);
    top: 50%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

/* Header */
header {
    background: rgba(13, 17, 41, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-inverse);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), rgba(139, 92, 246, 0.5), transparent);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.02em;
}

.logo::before {
    content: '';
    width: 50px;
    height: 50px;
    background-image: url('/images/ninja-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
    transition: all 0.3s ease;
}

.logo:hover::before {
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.8));
    transform: scale(1.1);
}

.logo a {
    color: var(--text-inverse);
    text-decoration: none;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.nav-links a:hover {
    color: var(--text-inverse);
}

.nav-links a:hover::before {
    opacity: 0.1;
}

/* Theme toggle */
.theme-toggle {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--text-inverse);
    padding: 0.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--accent-blue);
    transform: rotate(15deg) scale(1.05);
    box-shadow: var(--glow-blue);
}

/* Main content */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 5%;
    position: relative;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 6rem 0 5rem;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    filter: blur(40px);
    z-index: -1;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3)); }
    100% { filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.5)); }
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Decorative elements */
.hero-decoration {
    position: absolute;
    pointer-events: none;
}

.hero-decoration-1 {
    top: 20%;
    left: 10%;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    transform: rotate(45deg);
    animation: floatRotate 6s ease-in-out infinite;
}

.hero-decoration-2 {
    bottom: 30%;
    right: 15%;
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    animation: floatRotate 8s ease-in-out infinite reverse;
}

@keyframes floatRotate {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-20px); }
}

/* Pricing section */
.pricing {
    margin: 5rem 0;
    position: relative;
}

.pricing h2, .features h2 {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
    margin: 2rem 0;
}

.pricing-card {
    background: linear-gradient(180deg, rgba(26, 34, 66, 0.8) 0%, rgba(21, 27, 61, 0.9) 100%);
    padding: 2rem 1.25rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.pricing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-12px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(59, 130, 246, 0.15);
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover::after {
    opacity: 1;
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
    z-index: 1;
}

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

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

.pricing-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.save {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 20px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.price-free .mobile-price { display: none; }
.price-free .desktop-price {
    color: var(--accent-cyan);
    font-weight: 900;
    text-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
}

/* Buttons */
button {
    background: var(--gradient-primary);
    color: var(--text-inverse);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(59, 130, 246, 0.4),
        0 0 20px rgba(59, 130, 246, 0.2);
}

button:hover::before {
    opacity: 1;
}

button:active {
    transform: translateY(-1px);
}

button:active::after {
    width: 200px;
    height: 200px;
}

/* Features section */
.features {
    margin: 5rem 0;
}

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

.feature {
    background: linear-gradient(180deg, rgba(26, 34, 66, 0.6) 0%, rgba(21, 27, 61, 0.8) 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(59, 130, 246, 0.1);
}

.feature:hover::before,
.feature:hover::after {
    opacity: 1;
}

.feature h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 4px 15px rgba(59, 130, 246, 0.4));
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.feature:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 25px rgba(59, 130, 246, 0.6));
}

.icon-speed {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'%3E%3C/polygon%3E%3C/svg%3E");
}

.icon-security {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'%3E%3C/path%3E%3C/svg%3E");
}

.icon-global {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='2' y1='12' x2='22' y2='12'%3E%3C/line%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'%3E%3C/path%3E%3C/svg%3E");
}

/* Auth forms */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 2rem;
}

.auth-form {
    background: linear-gradient(180deg, rgba(26, 34, 66, 0.9) 0%, rgba(21, 27, 61, 0.95) 100%);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(59, 130, 246, 0.1);
    width: 100%;
    max-width: 440px;
    position: relative;
    overflow: hidden;
}

.auth-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.auth-form::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Form elements */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.625rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input, .form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(21, 27, 61, 0.8);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus, .form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 
        0 0 0 3px rgba(59, 130, 246, 0.15),
        0 0 20px rgba(59, 130, 246, 0.1);
    background: rgba(21, 27, 61, 1);
}

.form-group input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-group select, .form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(21, 27, 61, 0.8);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-group select:focus, .form-select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group small {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.error {
    color: var(--button-danger);
    margin-top: 1rem;
    text-align: center;
    padding: 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.success {
    color: var(--accent-cyan);
    margin-top: 1rem;
    text-align: center;
    padding: 0.75rem;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.g-recaptcha {
    margin: 1.5rem 0;
}

/* Footer */
footer {
    background: linear-gradient(180deg, rgba(13, 17, 41, 0.9) 0%, rgba(10, 14, 39, 1) 100%);
    color: var(--text-secondary);
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3), transparent);
}

footer a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* Account section */
.account-section {
    background: linear-gradient(180deg, rgba(26, 34, 66, 0.7) 0%, rgba(21, 27, 61, 0.8) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.account-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.account-section:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.account-section:hover::before {
    opacity: 1;
}

.account-section h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.button-secondary {
    background: rgba(21, 27, 61, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.button-secondary:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.button-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.button-danger:hover {
    box-shadow: 
        0 10px 30px rgba(239, 68, 68, 0.4),
        0 0 20px rgba(239, 68, 68, 0.2);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(26, 34, 66, 0.5);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

table th, table td {
    padding: 1.1rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
}

table th {
    background: rgba(21, 27, 61, 0.8);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

table tr {
    transition: all 0.3s ease;
}

table tr:hover {
    background: rgba(59, 130, 246, 0.08);
}

table tr:last-child td {
    border-bottom: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(180deg, rgba(26, 34, 66, 0.98) 0%, rgba(21, 27, 61, 0.99) 100%);
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    width: 90%;
    max-width: 720px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(59, 130, 246, 0.15);
    position: relative;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.modal-content h3, .modal-content h2 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.modal-content p {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.modal-content ul {
    list-style: none;
    padding: 0;
}

.modal-content ul li {
    padding: 0.85rem 0;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.modal-content ul li:last-child {
    border-bottom: none;
}

.modal-content a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

.modal-content a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.close {
    float: right;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    line-height: 1;
    margin-top: -0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.close:hover {
    color: var(--button-danger);
    background: rgba(239, 68, 68, 0.1);
    transform: rotate(90deg);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-actions button {
    flex: 1;
}

.primary-btn {
    background: var(--gradient-primary);
    color: white;
}

.secondary-btn {
    background: rgba(21, 27, 61, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.burger-menu:hover {
    background: rgba(59, 130, 246, 0.1);
}

.burger-menu span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.5);
}

/* Selection */
::selection {
    background: rgba(59, 130, 246, 0.3);
    color: var(--text-inverse);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

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

/* Glow effects */
.glow-blue { box-shadow: var(--glow-blue); }
.glow-cyan { box-shadow: var(--glow-cyan); }
.glow-purple { box-shadow: var(--glow-purple); }

/* Gradient text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass effect */
.glass {
    background: rgba(26, 34, 66, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.1);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        background: rgba(13, 17, 41, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    }

    .nav-links.active {
        max-height: 500px;
        padding: 1rem 0;
    }

    .nav-links a {
        margin: 0;
        padding: 1.1rem 5%;
        border-radius: 0;
        border-bottom: 1px solid rgba(59, 130, 246, 0.1);
        font-size: 1rem;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a:hover {
        background: rgba(59, 130, 246, 0.1);
        padding-left: 7%;
    }

    .nav-links a::before {
        display: none;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .pricing h2, .features h2 {
        font-size: 2rem;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

    .price-free .mobile-price {
        display: inline;
    }

    .price-free .desktop-price {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .button-group button {
        width: 100%;
    }
    
    .auth-form {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
    
    .account-section {
        padding: 1.5rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        border-radius: 20px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    table th, table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.75rem 4%;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .logo::before {
        width: 40px;
        height: 40px;
    }
    
    main {
        padding: 1.5rem 4%;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .price {
        font-size: 2rem;
    }
}
