:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary: #7209b7;
    --accent: #f72585;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --success: #4cc9f0;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f7ff;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* HEADER */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    height: 80px;
}

header.scrolled {
    height: 70px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    z-index: 1006;
}

.logo i {
    margin-right: 8px;
    font-size: 1.8rem;
    color: var(--secondary);
}

.logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* DESKTOP NAV */
.desktop-nav ul {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--primary);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-btn {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 8px;
    transition: var(--transition);
}
.lang-btn:hover { background: #e2e8f0; }

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

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

.btn-login:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-register {
    background: var(--gradient);
    color: white;
    border: 2px solid transparent;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.4);
}

/* MOBILE MENU & HAMBURGER */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1005;
    padding: 0;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark) !important;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
    transform-origin: left center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 0px;
    left: 4px;
    position: relative;
}

.mobile-menu-btn.active span:nth-child(2) {
    width: 0%;
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 0px;
    left: 4px;
    position: relative;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1003;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: #ffffff;
    z-index: 1004;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0%);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.mobile-menu-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.mobile-menu-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.mobile-nav-links a {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    padding: 12px 15px;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: #f8f9fa;
}

.mobile-nav-links a:hover {
    background: #eef2ff;
    color: var(--primary);
    padding-left: 20px;
}

.mobile-auth-buttons {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.w-100 { width: 100%; }

/* HERO */
.hero {
    padding: 150px 0 100px;
    background: var(--gradient);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAwMCAxMDAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9IiM0MzYxZWUiPjwvcmVjdD48cGF0aCBkPSJNMCw1MDBMMTAwMCw1MDBMMTAwMCwwTDAwLDEwMDBaIiBmaWxsPSIjNzIwOWI3IiBmaWxsLW9wYWNpdHk9IjAuMSI+PC9wYXRoPjwvc3ZnPg==');
    opacity: 0.1;
}

.hero-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
    position: relative; z-index: 1;
}

.hero-content { flex: 1; max-width: 600px; }

.hero h1 {
    font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px; border-radius: 20px; margin-bottom: 20px;
    font-size: 0.9rem; backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease;
}
.hero-badge i { color: #4cc9f0; }

.hero-stats {
    display: flex; gap: 30px; margin: 30px 0;
    animation: fadeInUp 1s ease 0.6s both;
}
.stat { text-align: center; }
.stat-number { font-size: 1.8rem; font-weight: 700; color: white; margin-bottom: 5px; }
.stat-label { font-size: 0.9rem; opacity: 0.9; }

.hero-buttons { display: flex; gap: 15px; animation: fadeInUp 1s ease 0.4s both; }

.btn-hero {
    padding: 12px 30px; border-radius: 30px; font-weight: 600;
    font-size: 1rem; cursor: pointer; transition: var(--transition);
    border: none; display: inline-flex; align-items: center; gap: 8px;
}

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

.btn-outline { background: transparent; color: white; border: 2px solid white; }
.btn-outline:hover { background: white; color: var(--primary); transform: translateY(-3px); }

.hero-image { flex: 1; text-align: center; animation: float 3s ease-in-out infinite; }
.hero-graphic { position: relative; width: 400px; height: 400px; margin: 0 auto; }

.main-graphic {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 200px; height: 200px; background: rgba(255, 255, 255, 0.1);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 4rem; color: white; backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2); animation: pulse 2s ease-in-out infinite;
}

.graphic-element {
    position: absolute; background: rgba(255, 255, 255, 0.15);
    padding: 15px; border-radius: 15px; display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 3s ease-in-out infinite;
}
.graphic-element i { color: #4cc9f0; }

.element-1 { top: 20%; left: 10%; animation-delay: 0s; }
.element-2 { top: 20%; right: 10%; animation-delay: 0.5s; }
.element-3 { bottom: 30%; left: 5%; animation-delay: 1s; }
.element-4 { bottom: 20%; right: 15%; animation-delay: 1.5s; }

/* FEATURES & CONTENT */
.features { padding: 100px 0; background: white; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; color: var(--dark); margin-bottom: 15px; position: relative; display: inline-block; }
.section-title h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 70px; height: 4px; background: var(--gradient); border-radius: 2px; }
.section-title p { color: var(--gray); max-width: 600px; margin: 0 auto; }

.features-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px;
}

.feature-card {
    background: white; border-radius: 15px; padding: 30px;
    box-shadow: var(--shadow); transition: var(--transition); text-align: left;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }

.feature-icon {
    width: 70px; height: 70px; margin-bottom: 20px; background: var(--gradient);
    border-radius: 15px; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.8rem;
}
.feature-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--dark); }
.feature-card p { color: var(--gray); margin-bottom: 15px; }

.feature-list { list-style: none; margin-top: 15px; }
.feature-list li { padding: 5px 0; color: var(--gray); display: flex; align-items: center; gap: 8px; }
.feature-list i { color: var(--success); font-size: 0.8rem; }

.stats-section { padding: 80px 0; background: linear-gradient(135deg, #f8f9fa, #e9ecef); }
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px;
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.stat-item {
    background: white; padding: 30px; border-radius: 15px; box-shadow: var(--shadow);
    display: flex; align-items: center; gap: 20px; transition: var(--transition);
}
.stat-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.stat-icon {
    width: 60px; height: 60px; background: var(--gradient); border-radius: 15px;
    display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem;
}
.stat-content { flex: 1; }
.stats-section .stat-number { color: var(--primary); }

.cta-section { padding: 100px 0; background: var(--gradient); color: white; text-align: center; }
.cta-content h2 { font-size: 2.5rem; margin-bottom: 15px; }
.cta-content p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }
.cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-large { padding: 15px 30px; font-size: 1.1rem; }
.btn-outline-white { background: transparent; color: white; border: 2px solid white; }
.btn-outline-white:hover { background: white; color: var(--primary); }

/* FOOTER */
footer { background: #0f172a; color: #e2e8f0; padding: 60px 0 20px; }
.footer-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px;
}
.footer-col h3 { font-size: 1.3rem; margin-bottom: 25px; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--gradient); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #b0b7c3; text-decoration: none; transition: var(--transition); }
.footer-col ul li a:hover { color: white; padding-left: 5px; }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background: rgba(255, 255, 255, 0.1);
    border-radius: 50%; color: white; transition: var(--transition);
}
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-bottom {
    max-width: 1200px; margin: 50px auto 0; padding: 20px; text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1); color: #b0b7c3; font-size: 0.9rem;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 201, 240, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(76, 201, 240, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 201, 240, 0); }
}

/* MEDIA QUERIES */
@media (max-width: 992px) {
    .desktop-nav, .auth-buttons { display: none; }
    .mobile-menu-btn { display: flex!important; }
    .header-container { padding: 0 20px; }

    .hero-container { flex-direction: column; text-align: center; }
    .hero-content { margin-bottom: 50px; }
    .hero h1 { font-size: 2.8rem; }
    .hero-graphic { width: 350px; height: 350px; }
    .main-graphic { width: 180px; height: 180px; font-size: 3.5rem; }
    .hero-buttons, .hero-stats { justify-content: center; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-hero { width: 250px; }
    .hero-stats { gap: 20px; justify-content: center; }
    .stat-number { font-size: 1.5rem; }
    .hero-graphic { width: 300px; height: 300px; }
    .main-graphic { width: 150px; height: 150px; font-size: 3rem; }
    .features-container, .stats-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn-large { width: 250px; }
    .section-title h2 { font-size: 2rem; }
    .mobile-menu { width: 85%; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: 1rem; }
    .hero-stats { flex-direction: column; gap: 15px; }
    .hero-graphic { width: 250px; height: 250px; }
    .graphic-element { padding: 8px; font-size: 0.7rem; }
    .feature-card { padding: 20px; }
    .mobile-menu { width: 100%; max-width: none; }
}
