 /* ===== RESET & BASE ===== */
 *, *::before, *::after {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 :root {
     --bg-primary: #0a0a0f;
     --bg-secondary: #12121a;
     --bg-card: #1a1a2e;
     --accent: #6c63ff;
     --accent-light: #8b83ff;
     --accent-glow: rgba(108, 99, 255, 0.3);
     --text-primary: #e8e8f0;
     --text-secondary: #9999aa;
     --border: #2a2a3e;
     --gradient-1: linear-gradient(135deg, #6c63ff 0%, #e94bff 100%);
     --gradient-2: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
     background: var(--bg-primary);
     color: var(--text-primary);
     line-height: 1.7;
     overflow-x: hidden;
 }

 a {
     text-decoration: none;
     color: inherit;
 }

 /* ===== ANIMATED BACKGROUND ===== */
 .bg-grid {
     position: fixed;
     top: 0; left: 0;
     width: 100%; height: 100%;
     z-index: 0;
     pointer-events: none;
     background-image:
         radial-gradient(circle at 20% 50%, rgba(108, 99, 255, 0.06) 0%, transparent 50%),
         radial-gradient(circle at 80% 20%, rgba(233, 75, 255, 0.05) 0%, transparent 50%),
         radial-gradient(circle at 50% 80%, rgba(108, 99, 255, 0.04) 0%, transparent 50%);
 }

 .bg-grid::before {
     content: '';
     position: absolute;
     inset: 0;
     background-image:
         linear-gradient(rgba(108, 99, 255, 0.03) 1px, transparent 1px),
         linear-gradient(90deg, rgba(108, 99, 255, 0.03) 1px, transparent 1px);
     background-size: 60px 60px;
 }

 /* ===== NAVBAR ===== */
 .navbar {
     position: fixed;
     top: 0; left: 0; right: 0;
     z-index: 1000;
     background: rgba(10, 10, 15, 0.8);
     backdrop-filter: blur(20px);
     -webkit-backdrop-filter: blur(20px);
     border-bottom: 1px solid var(--border);
     padding: 0 2rem;
 }

 .navbar-inner {
     max-width: 1200px;
     margin: 0 auto;
     display: flex;
     align-items: center;
     justify-content: space-between;
     height: 100px;
 }

 .logo {
     display: flex;
     align-items: center;
     gap: 0.6rem;
     font-size: 1.5rem;
     font-weight: 800;
     letter-spacing: -0.5px;
 }

 .logo-icon {
     width: 38px;
     height: 38px;
     background: var(--gradient-1);
     border-radius: 10px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.1rem;
     font-weight: 900;
     color: white;
     box-shadow: 0 0 20px var(--accent-glow);
 }

 .logo span {
     background: var(--gradient-1);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }

 .nav-links {
     display: flex;
     align-items: center;
     gap: 0.5rem;
     list-style: none;
 }

 .nav-links > li {
     position: relative;
 }

 .nav-links > li > a {
     display: flex;
     align-items: center;
     gap: 0.3rem;
     padding: 0.6rem 1rem;
     border-radius: 8px;
     font-size: 0.95rem;
     font-weight: 500;
     color: var(--text-secondary);
     transition: all 0.3s ease;
 }

 .nav-links > li > a:hover {
     color: var(--text-primary);
     background: rgba(108, 99, 255, 0.1);
 }

 .nav-links > li > a .arrow {
     font-size: 0.65rem;
     transition: transform 0.3s ease;
 }

 .nav-links > li:hover > a .arrow {
     transform: rotate(180deg);
 }

 /* ===== DROPDOWN ===== */
 .dropdown {
     position: absolute;
     top: calc(100% + 0.5rem);
     left: 50%;
     transform: translateX(-50%) translateY(10px);
     min-width: 260px;
     background: var(--bg-card);
     border: 1px solid var(--border);
     border-radius: 14px;
     padding: 0.5rem;
     opacity: 0;
     visibility: hidden;
     transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px var(--accent-glow);
     list-style: none;
 }

 .nav-links > li:hover .dropdown {
     opacity: 1;
     visibility: visible;
     transform: translateX(-50%) translateY(0);
 }

 .dropdown li a {
     display: flex;
     align-items: center;
     gap: 0.75rem;
     padding: 0.7rem 0.9rem;
     border-radius: 10px;
     font-size: 0.9rem;
     color: var(--text-secondary);
     transition: all 0.2s ease;
 }

 .dropdown li a:hover {
     background: rgba(108, 99, 255, 0.12);
     color: var(--text-primary);
     padding-left: 1.2rem;
 }

 .dropdown-icon {
     width: 34px;
     height: 34px;
     border-radius: 8px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1rem;
     flex-shrink: 0;
     background: rgba(108, 99, 255, 0.1);
     border: 1px solid rgba(108, 99, 255, 0.15);
 }

 .dropdown-text .project-name {
     font-weight: 600;
     color: var(--text-primary);
     font-size: 0.88rem;
 }

 .dropdown-text .project-desc {
     font-size: 0.75rem;
     color: var(--text-secondary);
     margin-top: 1px;
 }

 .dropdown-divider {
     height: 1px;
     background: var(--border);
     margin: 0.4rem 0.5rem;
 }

 /* ===== HERO ===== */
 .hero {
     position: relative;
     z-index: 1;
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
     padding: 8rem 2rem 4rem;
 }

 .hero-content {
     max-width: 800px;
 }

 .hero-badge {
     display: inline-flex;
     align-items: center;
     gap: 0.5rem;
     padding: 0.4rem 1rem;
     background: rgba(108, 99, 255, 0.1);
     border: 1px solid rgba(108, 99, 255, 0.2);
     border-radius: 50px;
     font-size: 0.82rem;
     font-weight: 500;
     color: var(--accent-light);
     margin-bottom: 2rem;
     animation: fadeInUp 0.8s ease forwards;
 }

 .hero-badge .dot {
     width: 7px;
     height: 7px;
     background: #4ade80;
     border-radius: 50%;
     animation: pulse-dot 2s infinite;
 }

 @keyframes pulse-dot {
     0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
     50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
 }

 .hero h1 {
     font-size: clamp(2.5rem, 6vw, 4.2rem);
     font-weight: 800;
     line-height: 1.15;
     letter-spacing: -1.5px;
     margin-bottom: 1.5rem;
     animation: fadeInUp 0.8s ease 0.1s forwards;
     opacity: 0;
 }

 .hero h1 .gradient-text {
     background: var(--gradient-1);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }

 .hero p {
     font-size: 1.15rem;
     color: var(--text-secondary);
     max-width: 600px;
     margin: 0 auto 2.5rem;
     animation: fadeInUp 0.8s ease 0.2s forwards;
     opacity: 0;
 }

 .hero-buttons {
     display: flex;
     gap: 1rem;
     justify-content: center;
     flex-wrap: wrap;
     animation: fadeInUp 0.8s ease 0.3s forwards;
     opacity: 0;
 }

 .btn {
     display: inline-flex;
     align-items: center;
     gap: 0.5rem;
     padding: 0.85rem 2rem;
     border-radius: 12px;
     font-size: 0.95rem;
     font-weight: 600;
     cursor: pointer;
     border: none;
     transition: all 0.3s ease;
 }

 .btn-primary {
     background: var(--gradient-1);
     color: white;
     box-shadow: 0 4px 25px var(--accent-glow);
 }

 .btn-primary:hover {
     transform: translateY(-2px);
     box-shadow: 0 8px 35px rgba(108, 99, 255, 0.45);
 }

 .btn-secondary {
     background: var(--bg-card);
     color: var(--text-primary);
     border: 1px solid var(--border);
 }

 .btn-secondary:hover {
     border-color: var(--accent);
     background: rgba(108, 99, 255, 0.08);
     transform: translateY(-2px);
 }

 /* ===== SCROLL INDICATOR ===== */
 .scroll-indicator {
     position: absolute;
     bottom: 2rem;
     left: 50%;
     transform: translateX(-50%);
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 0.5rem;
     color: var(--text-secondary);
     font-size: 0.75rem;
     animation: float 3s ease-in-out infinite;
 }

 .scroll-indicator .mouse {
     width: 24px;
     height: 38px;
     border: 2px solid var(--text-secondary);
     border-radius: 12px;
     position: relative;
 }

 .scroll-indicator .mouse::after {
     content: '';
     position: absolute;
     top: 6px;
     left: 50%;
     transform: translateX(-50%);
     width: 4px;
     height: 8px;
     background: var(--accent);
     border-radius: 4px;
     animation: scroll-wheel 2s infinite;
 }

 @keyframes scroll-wheel {
     0% { opacity: 1; transform: translateX(-50%) translateY(0); }
     100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
 }

 @keyframes float {
     0%, 100% { transform: translateX(-50%) translateY(0); }
     50% { transform: translateX(-50%) translateY(-8px); }
 }

 /* ===== SECTIONS ===== */
 section {
     position: relative;
     z-index: 1;
     padding: 6rem 2rem;
 }

 .section-container {
     max-width: 1200px;
     margin: 0 auto;
 }

 .section-header {
     text-align: center;
     margin-bottom: 4rem;
 }

 .section-label {
     display: inline-block;
     font-size: 0.8rem;
     font-weight: 700;
     text-transform: uppercase;
     letter-spacing: 2px;
     color: var(--accent);
     margin-bottom: 0.75rem;
 }

 .section-title {
     font-size: clamp(1.8rem, 4vw, 2.8rem);
     font-weight: 800;
     letter-spacing: -1px;
     margin-bottom: 1rem;
 }

 .section-subtitle {
     font-size: 1.05rem;
     color: var(--text-secondary);
     max-width: 550px;
     margin: 0 auto;
 }

 /* ===== ABOUT ===== */
 .about-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 4rem;
     align-items: center;
 }

 .about-text h3 {
     font-size: 1.6rem;
     font-weight: 700;
     margin-bottom: 1rem;
     letter-spacing: -0.5px;
 }

 .about-text p {
     color: var(--text-secondary);
     margin-bottom: 1rem;
     font-size: 1rem;
 }

 .about-stats {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 1.5rem;
     margin-top: 2rem;
 }

 .stat {
     text-align: center;
     padding: 1.2rem;
     background: var(--bg-card);
     border: 1px solid var(--border);
     border-radius: 14px;
     transition: all 0.3s ease;
 }

 .stat:hover {
     border-color: var(--accent);
     box-shadow: 0 0 25px var(--accent-glow);
     transform: translateY(-3px);
 }

 .stat-number {
     font-size: 1.8rem;
     font-weight: 800;
     background: var(--gradient-1);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
 }

 .stat-label {
     font-size: 0.78rem;
     color: var(--text-secondary);
     margin-top: 0.25rem;
 }

 .about-visual {
     display: flex;
     justify-content: center;
     align-items: center;
 }

 .visual-card {
     width: 100%;
     max-width: 420px;
     aspect-ratio: 1;
     background: var(--bg-card);
     border: 1px solid var(--border);
     border-radius: 24px;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     gap: 1.5rem;
     position: relative;
     overflow: hidden;
 }

 .visual-card::before {
     content: '';
     position: absolute;
     top: -50%;
     left: -50%;
     width: 200%;
     height: 200%;
     background: conic-gradient(from 0deg, transparent, var(--accent), transparent, var(--accent-light), transparent);
     animation: rotate-bg 8s linear infinite;
     opacity: 0.08;
 }

 @keyframes rotate-bg {
     to { transform: rotate(360deg); }
 }

 .visual-logo {
     width: 100px;
     height: 100px;
     background: var(--gradient-1);
     border-radius: 24px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 2.5rem;
     font-weight: 900;
     color: white;
     box-shadow: 0 0 50px var(--accent-glow);
     position: relative;
     z-index: 1;
 }

.visual-logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

 .visual-text {
     font-size: 1.2rem;
     font-weight: 600;
     color: var(--text-secondary);
     position: relative;
     z-index: 1;
 }

 .tech-stack {
     display: flex;
     gap: 0.5rem;
     flex-wrap: wrap;
     justify-content: center;
     position: relative;
     z-index: 1;
 }

 .tech-tag {
     padding: 0.35rem 0.8rem;
     background: rgba(108, 99, 255, 0.1);
     border: 1px solid rgba(108, 99, 255, 0.15);
     border-radius: 8px;
     font-size: 0.75rem;
     font-weight: 500;
     color: var(--accent-light);
 }

 /* ===== FEATURES / VALUES ===== */
 .features-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 1.5rem;
 }

 .feature-card {
     background: var(--bg-card);
     border: 1px solid var(--border);
     border-radius: 18px;
     padding: 2rem;
     transition: all 0.4s ease;
     position: relative;
     overflow: hidden;
 }

 .feature-card::before {
     content: '';
     position: absolute;
     top: 0; left: 0; right: 0;
     height: 2px;
     background: var(--gradient-1);
     opacity: 0;
     transition: opacity 0.4s ease;
 }

 .feature-card:hover {
     border-color: rgba(108, 99, 255, 0.3);
     transform: translateY(-5px);
     box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
 }

 .feature-card:hover::before {
     opacity: 1;
 }

 .feature-icon {
     width: 50px;
     height: 50px;
     background: rgba(108, 99, 255, 0.1);
     border: 1px solid rgba(108, 99, 255, 0.15);
     border-radius: 14px;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.4rem;
     margin-bottom: 1.2rem;
 }

 .feature-card h3 {
     font-size: 1.15rem;
     font-weight: 700;
     margin-bottom: 0.6rem;
 }

 .feature-card p {
     font-size: 0.9rem;
     color: var(--text-secondary);
     line-height: 1.6;
 }

 /* ===== CTA ===== */
 .cta-section {
     padding: 6rem 2rem;
 }

 .cta-box {
     max-width: 800px;
     margin: 0 auto;
     text-align: center;
     background: var(--bg-card);
     border: 1px solid var(--border);
     border-radius: 24px;
     padding: 4rem 3rem;
     position: relative;
     overflow: hidden;
 }

 .cta-box::before {
     content: '';
     position: absolute;
     top: -100px;
     left: 50%;
     transform: translateX(-50%);
     width: 400px;
     height: 400px;
     background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
     pointer-events: none;
 }

 .cta-box h2 {
     font-size: 2rem;
     font-weight: 800;
     margin-bottom: 1rem;
     position: relative;
 }

 .cta-box p {
     color: var(--text-secondary);
     margin-bottom: 2rem;
     position: relative;
 }

 .cta-box .btn {
     position: relative;
 }

 /* ===== FOOTER ===== */
 .footer {
     position: relative;
     z-index: 1;
     border-top: 1px solid var(--border);
     padding: 3rem 2rem;
 }

 .footer-inner {
     max-width: 1200px;
     margin: 0 auto;
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
     gap: 1rem;
 }

 .footer-text {
     font-size: 0.85rem;
     color: var(--text-secondary);
 }

 .footer-links {
     display: flex;
     gap: 1.5rem;
     list-style: none;
 }

 .footer-links a {
     font-size: 0.85rem;
     color: var(--text-secondary);
     transition: color 0.3s ease;
 }

 .footer-links a:hover {
     color: var(--accent-light);
 }

 /* ===== ANIMATIONS ===== */
 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* ===== RESPONSIVE ===== */
 @media (max-width: 768px) {
     .navbar-inner {
         height: 60px;
     }

     .nav-links {
         display: none;
     }

     .about-grid {
         grid-template-columns: 1fr;
         gap: 2rem;
     }

     .about-stats {
         grid-template-columns: repeat(3, 1fr);
         gap: 0.75rem;
     }

     .hero {
         padding: 7rem 1.5rem 3rem;
     }

     .cta-box {
         padding: 3rem 1.5rem;
     }

     .features-grid {
         grid-template-columns: 1fr;
     }

     .footer-inner {
         flex-direction: column;
         text-align: center;
     }
 }

 /* ===== NAV ACTIONS / ACCOUNT BUTTON ===== */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: 1rem;
}

.btn-account {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.btn-account:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    background: rgba(108, 99, 255, 0.1);
    box-shadow: 0 4px 20px var(--accent-glow);
    transform: translateY(-1px);
}

.btn-account svg {
    flex-shrink: 0;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.btn-account:hover svg {
    opacity: 1;
}

/* Скрываем текст на очень маленьких экранах */
@media (max-width: 480px) {
    .btn-account-text {
        display: none;
    }
    .btn-account {
        padding: 0.5rem;
        border-radius: 50%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-actions {
        display: none;
    }
}