/* Enhanced Animations & Effects */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 40px rgba(99, 102, 241, 0.8); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

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

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

/* Override body for enhanced gradient */
body {
    background: linear-gradient(135deg, #0a0a0f 0%, #0d0d1a 50%, #0a0a0f 100%);
    min-height: 100vh;
}

/* Enhanced Navigation */
.navbar {
    background: rgba(15, 15, 25, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    padding: 1rem 2rem;
}

.logo {
    background: linear-gradient(135deg, #818cf8, #a78bfa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}

.logo i {
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Hero Section */
.hero {
    background: linear-gradient(135deg, #0a0a12 0%, #12121f 50%, #0a0a12 100%);
    padding: 160px 2rem 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(168, 85, 247, 0.1), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(59, 130, 246, 0.1), transparent);
    pointer-events: none;
}

/* Animated background orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(168, 85, 247, 0.2));
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
    bottom: -50px;
    left: -50px;
    animation-delay: -4s;
}

.hero-orb-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.1));
    top: 50%;
    left: 20%;
    animation-delay: -2s;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 50%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.hero h1 span {
    background: linear-gradient(135deg, #818cf8, #a78bfa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    color: #94a3b8;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.btn-white {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    color: #4f46e5;
    border: none;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
}

.btn-white::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 3s infinite;
}

.btn-outline.btn-white {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
}

.btn-outline.btn-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* Trust badges under hero */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.trust-badge {
    text-align: center;
    color: #64748b;
}

.trust-badge-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.trust-badge-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Enhanced Features Section */
.features {
    padding: 100px 2rem;
    background: linear-gradient(180deg, #0a0a0f 0%, #0f0f18 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.section-header {
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.8) 0%, rgba(15, 15, 25, 0.8) 100%);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(99, 102, 241, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: #a78bfa;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Enhanced Security Section */
.security {
    padding: 100px 2rem;
    background: linear-gradient(180deg, #0f0f18 0%, #12121f 50%, #0f0f18 100%);
    position: relative;
    overflow: hidden;
}

.security::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05), transparent 70%);
    transform: translate(-50%, -50%);
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.security-text h2 {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.security-text > p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.security-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(20, 20, 35, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.05);
    transition: all 0.3s ease;
    color: #e2e8f0;
}

.security-features li:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateX(5px);
}

.security-features i {
    color: #22c55e;
    font-size: 1.1rem;
    width: 20px;
}

.security-visual {
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.8), rgba(15, 15, 25, 0.8));
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    position: relative;
    overflow: hidden;
}

.security-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.1), transparent 70%);
}

.shield-icon {
    font-size: 10rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(99, 102, 241, 0.3));
}

/* Enhanced Pricing Section */
.pricing {
    background: linear-gradient(180deg, #0f0f18 0%, #0a0a0f 100%);
    padding: 100px 2rem;
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.pricing .section-header h2 {
    font-size: 3rem;
}

.pricing-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.9) 0%, rgba(15, 15, 25, 0.9) 100%);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(99, 102, 241, 0.1);
}

.pricing-card-featured {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: rgba(99, 102, 241, 0.3);
    transform: scale(1.02);
}

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

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    white-space: nowrap;
}

.pricing-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
}

.pricing-amount {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 1.25rem 0;
}

.pricing-amount .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 0.5rem;
}

.pricing-amount .price {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.pricing-amount .period {
    font-size: 1rem;
    color: #64748b;
    align-self: flex-end;
    margin-bottom: 0.5rem;
    margin-left: 0.3rem;
}

.pricing-description {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    min-height: 44px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.65rem 0;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.05);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i.fa-check {
    color: #22c55e;
    margin-top: 0.2rem;
}

.pricing-features i.fa-times {
    color: #475569;
}

.pricing-features .text-muted {
    color: #475569;
}

.btn-block {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    margin-top: auto;
}

.pricing-footer {
    max-width: 800px;
    margin: 4rem auto 0;
    text-align: center;
    color: #64748b;
    font-size: 0.95rem;
    padding: 1.5rem;
    background: rgba(20, 20, 35, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.pricing-footer i {
    color: #818cf8;
    margin-right: 0.5rem;
}

/* Enhanced Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.98) 0%, rgba(15, 15, 25, 0.98) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 420px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(99, 102, 241, 0.1);
    animation: scaleIn 0.3s ease-out;
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(99, 102, 241, 0.1);
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #64748b;
    padding: 0.5rem;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.auth-form h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    text-align: center;
}

.form-group input {
    background: rgba(15, 15, 25, 0.8);
    border: 2px solid rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #f1f5f9;
}

.form-group input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    outline: none;
}

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

.auth-form .btn {
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(180deg, #0a0a0f 0%, #05050a 100%);
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 1.25rem;
}

.footer-section:first-child h3 {
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
}

.footer-section p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-section ul li a {
    color: #64748b;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #818cf8;
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: #475569;
    font-size: 0.9rem;
}

/* Notification Styles */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(139, 92, 246, 0.9));
    backdrop-filter: blur(10px);
    color: white;
    padding: 16px 20px;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    min-width: 300px;
    max-width: 400px;
    position: relative;
    transform: translateX(420px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(16, 185, 129, 0.9));
}

.notification.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.9), rgba(244, 63, 94, 0.9));
}

.notification.info {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(139, 92, 246, 0.9));
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.notification-text {
    flex: 1;
    font-weight: 500;
}

.notification-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 14px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.auth-links {
    margin-top: 0.75rem;
    text-align: right;
}

.auth-links a {
    color: #818cf8;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #a78bfa;
}

.reset-meta {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.auth-hint {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Hide hamburger menu on desktop */
.mobile-menu-toggle {
    display: none;
}

.mobile-nav-overlay {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .trust-badges {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .security-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .security-visual {
        order: -1;
        min-height: 300px;
    }

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

    .pricing-card-featured {
        transform: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .notification {
        min-width: auto;
        max-width: none;
        transform: translateY(-100px);
    }

    .notification.show {
        transform: translateY(0);
    }

    /* Hamburger menu button */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: fixed !important;
        top: 0.75rem !important;
        right: 1rem !important;
        width: 44px !important;
        height: 44px !important;
        background: rgba(99, 102, 241, 0.1) !important;
        border: 1px solid rgba(99, 102, 241, 0.3) !important;
        border-radius: 8px !important;
        color: #e5e7eb !important;
        font-size: 1.25rem !important;
        cursor: pointer !important;
        z-index: 1001 !important;
    }

    .mobile-menu-toggle:active {
        background: rgba(99, 102, 241, 0.2) !important;
    }

    /* Mobile nav overlay */
    .mobile-nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
    }

    .mobile-nav-overlay.active {
        display: block;
    }

    /* Navigation */
    .navbar {
        padding: 0.75rem 1rem !important;
        position: relative !important;
    }

    .nav-container {
        padding-right: 3.5rem !important;
    }

    /* Hide nav buttons by default on mobile - shown via hamburger menu */
    #navButtons {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(10, 12, 20, 0.98) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        padding: 1rem !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        border-bottom: 1px solid rgba(99, 102, 241, 0.2) !important;
        z-index: 999 !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important;
    }

    #navButtons.mobile-open {
        display: flex !important;
    }

    #navButtons .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.875rem 1rem !important;
        font-size: 0.95rem !important;
    }

    /* Touch targets */
    .btn {
        min-height: 44px !important;
        padding: 0.75rem 1.25rem !important;
    }

    input, select, textarea {
        min-height: 44px !important;
        font-size: 16px !important;
    }

    /* Hero section */
    .hero {
        padding: 4rem 1rem !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

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

    /* Sections */
    .section {
        padding: 3rem 1rem !important;
    }

    /* Feature cards */
    .feature-card {
        padding: 1.5rem !important;
    }

    /* Pricing cards */
    .pricing-card {
        padding: 1.5rem !important;
    }

    /* Modal */
    .modal-content {
        margin: 0.5rem !important;
        max-height: 95vh !important;
        overflow-y: auto;
    }

    /* Footer */
    .footer {
        padding: 2rem 1rem !important;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .logo {
        font-size: 1rem !important;
    }

    .logo i {
        font-size: 1.25rem !important;
    }

    .hero h1 {
        font-size: 1.75rem !important;
    }

    .hero p {
        font-size: 1rem !important;
    }

    .section-header h2 {
        font-size: 1.5rem !important;
    }

    .trust-badges {
        gap: 1rem;
    }

    .trust-badge {
        font-size: 0.85rem !important;
    }

    /* Bottom sheet modals */
    .modal-content {
        margin: 0 !important;
        border-radius: 20px 20px 0 0 !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        max-height: 90vh !important;
        animation: slideUpModal 0.3s ease-out;
    }

    @keyframes slideUpModal {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    /* Safe area */
    body {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* Touch-friendly */
@media (hover: none) and (pointer: coarse) {
    .btn:hover, .feature-card:hover, .pricing-card:hover {
        transform: none !important;
    }

    .btn, .feature-card, .pricing-card {
        -webkit-user-select: none;
        user-select: none;
    }
}

/* OAuth Styles */
.oauth-section {
    margin-top: 1.5rem;
}

.oauth-divider {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.oauth-divider::before,
.oauth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #374151, transparent);
}

.oauth-divider span {
    padding: 0 1rem;
    color: #9ca3af;
    font-size: 0.875rem;
    white-space: nowrap;
}

.oauth-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.oauth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid #374151;
    border-radius: 8px;
    background: linear-gradient(135deg, #1f2937, #111827);
    color: #e5e7eb;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    min-width: 140px;
}

.oauth-btn:hover {
    border-color: #6366f1;
    background: linear-gradient(135deg, #374151, #1f2937);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.oauth-btn i {
    font-size: 1.1rem;
}

.oauth-btn.oauth-google { --brand-color: #4285F4; }
.oauth-btn.oauth-discord { --brand-color: #5865F2; }
.oauth-btn.oauth-github { --brand-color: #f0f0f0; }
.oauth-btn.oauth-twitter { --brand-color: #1DA1F2; }
.oauth-btn.oauth-twitch { --brand-color: #9146FF; }

.oauth-btn:hover {
    border-color: var(--brand-color, #6366f1);
}

/* OAuth Link Modal */
.oauth-link-modal {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 12px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
}

.oauth-link-modal h3 {
    color: #e5e7eb;
    margin-bottom: 1rem;
}

.oauth-link-modal p {
    color: #9ca3af;
    margin-bottom: 1.5rem;
}
