:root {
    --primary: #7c3aed;
    --primary-dark: #5b21b6;
    --primary-light: #a78bfa;
    --accent-orange: #fb923c;
    --accent-cyan: #22d3ee;
    --bg-dark: #0f0a1f;
    --bg-darker: #070512;
    --bg-card: #1a1134;
    --bg-card-hover: #251947;
    --text-primary: #ffffff;
    --text-secondary: #c4b5fd;
    --text-muted: #a78bfa;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 10, 31, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text-img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.625rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
    font-size: 0.8125rem;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    white-space: nowrap;
    font-size: 0.75rem;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
    border-color: var(--accent-orange);
}

/* Auth Button */
.btn-auth {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background: rgba(124, 58, 237, 0.2);
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.75rem;
    white-space: nowrap;
}

.btn-auth:hover {
    background: rgba(124, 58, 237, 0.3);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

.btn-auth svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(124, 58, 237, 0.2);
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.lang-btn:hover {
    background: rgba(124, 58, 237, 0.3);
    border-color: var(--accent-cyan);
}

.lang-text {
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.chevron {
    transition: transform 0.3s;
}

.lang-btn:hover .chevron {
    transform: translateY(2px);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-card);
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 500;
}

.lang-option:hover {
    background: rgba(124, 58, 237, 0.2);
    color: var(--text-primary);
    transform: translateX(4px);
}

.lang-option .flag {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Hero Section - Dynamic Animated Background */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 3rem;
    overflow: hidden;
    background: linear-gradient(135deg, #1a0b2e 0%, #2d1b4e 50%, #1a0b2e 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(251, 146, 60, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(34, 211, 238, 0.08) 0%, transparent 50%);
    animation: gradient-drift 15s ease-in-out infinite alternate;
}

/* Gradiente animato che si muove */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: -50%;
    background:
        conic-gradient(from 0deg at 50% 50%,
            transparent 0deg,
            rgba(124, 58, 237, 0.3) 90deg,
            transparent 180deg,
            rgba(251, 146, 60, 0.25) 270deg,
            transparent 360deg);
    animation: rotate-gradient 20s linear infinite;
    filter: blur(100px);
}

/* Secondo strato di gradiente */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: -50%;
    background:
        conic-gradient(from 180deg at 50% 50%,
            transparent 0deg,
            rgba(34, 211, 238, 0.25) 90deg,
            transparent 180deg,
            rgba(168, 85, 247, 0.3) 270deg,
            transparent 360deg);
    animation: rotate-gradient 25s linear infinite reverse;
    filter: blur(120px);
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes gradient-drift {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(30px, -30px) scale(1.05);
        opacity: 0.9;
    }
}

/* Canvas per particelle animate */
#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 0 60px rgba(124, 58, 237, 0.5);
}

.hero-logo-image {
    max-width: 250px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 40px rgba(124, 58, 237, 0.8));
}

.gradient-text {
    font-weight: 900;
    font-style: italic;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: uppercase;

    /* Bordo viola/nero spesso come nel logo */
    text-shadow:
        /* Bordo interno viola scuro */
        -1px -1px 0 #2d1b4e,
        1px -1px 0 #2d1b4e,
        -1px 1px 0 #2d1b4e,
        1px 1px 0 #2d1b4e,
        /* Bordo medio */
        -2px -2px 0 #2d1b4e,
        2px -2px 0 #2d1b4e,
        -2px 2px 0 #2d1b4e,
        2px 2px 0 #2d1b4e,
        /* Bordo esterno più spesso */
        -3px -3px 0 #1a0f2e,
        3px -3px 0 #1a0f2e,
        -3px 3px 0 #1a0f2e,
        3px 3px 0 #1a0f2e,
        -4px -4px 0 #1a0f2e,
        4px -4px 0 #1a0f2e,
        -4px 4px 0 #1a0f2e,
        4px 4px 0 #1a0f2e,
        /* Ombra 3D verso il basso-destra */
        5px 5px 0 #0f0820,
        6px 6px 0 #0f0820,
        /* Glow viola sottile */
        0 0 15px rgba(124, 58, 237, 0.4);
}

@keyframes logo-glow {
    0%, 100% {
        text-shadow:
            -2px -2px 0 #7c3aed,
            2px -2px 0 #7c3aed,
            -2px 2px 0 #7c3aed,
            2px 2px 0 #7c3aed,
            -3px -3px 0 #5b21b6,
            3px -3px 0 #5b21b6,
            -3px 3px 0 #5b21b6,
            3px 3px 0 #5b21b6,
            -4px -4px 0 #3b0764,
            4px -4px 0 #3b0764,
            -4px 4px 0 #3b0764,
            4px 4px 0 #3b0764,
            0 0 20px rgba(124, 58, 237, 0.8),
            0 0 40px rgba(124, 58, 237, 0.5),
            0 0 60px rgba(124, 58, 237, 0.3);
    }
    50% {
        text-shadow:
            -2px -2px 0 #7c3aed,
            2px -2px 0 #7c3aed,
            -2px 2px 0 #7c3aed,
            2px 2px 0 #7c3aed,
            -3px -3px 0 #5b21b6,
            3px -3px 0 #5b21b6,
            -3px 3px 0 #5b21b6,
            3px 3px 0 #5b21b6,
            -4px -4px 0 #3b0764,
            4px -4px 0 #3b0764,
            -4px 4px 0 #3b0764,
            4px 4px 0 #3b0764,
            0 0 30px rgba(124, 58, 237, 1),
            0 0 50px rgba(124, 58, 237, 0.7),
            0 0 80px rgba(124, 58, 237, 0.5);
    }
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.btn-hero {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-hero.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.btn-hero.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5);
}

.btn-hero.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--text-primary);
}

.btn-hero.btn-secondary:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-cyan), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    width: 200px;
    height: 280px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(251, 146, 60, 0.2));
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    animation: float 20s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 60%;
    right: 10%;
    animation-delay: -7s;
}

.floating-card.card-3 {
    bottom: 15%;
    left: 15%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(30px) rotate(-5deg);
    }
}

/* Features Section */
.features {
    padding: 8rem 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent-orange), var(--accent-cyan));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Commands Section */
.commands {
    padding: 8rem 0;
    background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.05));
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.command-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid rgba(124, 58, 237, 0.2);
    transition: all 0.3s;
}

.command-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.2);
}

.command-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.command-name {
    font-family: 'Courier New', monospace;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(34, 211, 238, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.command-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent-orange));
    letter-spacing: 0.5px;
}

.command-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 8rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    max-width: 600px;
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-features {
    list-style: none;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.about-features svg {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-card-showcase {
    width: 400px;
    height: 500px;
    position: relative;
    perspective: 1000px;
}

.showcase-card {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(124, 58, 237, 0.5);
    animation: card-rotate 10s ease-in-out infinite;
    border: 3px solid var(--accent-orange);
}

@keyframes card-rotate {
    0%, 100% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    25% {
        transform: rotateY(10deg) rotateX(5deg);
    }
    50% {
        transform: rotateY(0deg) rotateX(0deg);
    }
    75% {
        transform: rotateY(-10deg) rotateX(-5deg);
    }
}

/* CTA Section */
.cta {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.3) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent-orange));
    color: white;
    text-decoration: none;
    border-radius: 16px;
    transition: all 0.3s;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.4);
    border: 2px solid transparent;
}

.btn-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 30px 80px rgba(124, 58, 237, 0.6);
    border-color: var(--accent-cyan);
}

.cta-note {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 4rem 0 2rem;
    border-top: 2px solid rgba(124, 58, 237, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 32px;
    height: 32px;
}

.footer-logo-text {
    font-size: 1.125rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-card-showcase {
        width: 300px;
        height: 400px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-subtitle {
        font-size: 1.125rem;
    }

    .stats {
        gap: 1.5rem;
    }

    .floating-card {
        display: none;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* Modal Styles */
.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(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 16px;
    border: 2px solid rgba(124, 58, 237, 0.3);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
}

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

.modal-header {
    padding: 2rem;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--accent-cyan);
}

.modal-body {
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input {
    width: 100%;
    padding: 0.875rem;
    background: var(--bg-darker);
    border: 2px solid rgba(124, 58, 237, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.login-info {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.login-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-secondary {
    padding: 0.875rem 1.5rem;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--text-primary);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(124, 58, 237, 0.2);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    /* Container padding */
    .container {
        padding: 0 1rem;
    }

    /* Navigation */
    .navbar {
        padding: 0.75rem 0;
    }

    .nav-content {
        position: relative;
    }

    .logo {
        flex: 1;
    }

    .logo-img {
        width: 40px;
        height: 40px;
    }

    .logo-text-img {
        height: 30px;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 70px);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        background: rgba(15, 10, 31, 0.98) !important;
        backdrop-filter: blur(20px);
        padding: 2rem 1rem;
        gap: 1rem;
        transition: transform 0.3s ease;
        border-top: 1px solid rgba(124, 58, 237, 0.2);
        z-index: 9999 !important;
        transform: translateX(-100%);
        visibility: visible !important;
    }

    .nav-links.active {
        transform: translateX(0) !important;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem;
    }

    .nav-links .btn-primary,
    .nav-links .btn-auth {
        width: 100%;
        justify-content: center;
    }

    .language-selector {
        position: relative;
    }

    /* Hero Section */
    .hero {
        padding: 6rem 0 4rem;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .bot-image {
        width: 280px;
        height: 280px;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Commands Section */
    .commands-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    /* Section titles */
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    /* Even smaller screens */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .bot-image {
        width: 220px;
        height: 220px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 0.75rem;
    }
}
