/* ============================================
   CSS VARIABLES — DARK THEME (default)
   ============================================ */
   :root {
    --primary:        #3B82F6;
    --primary-light:  #60A5FA;
    --primary-dark:   #2563EB;
    --primary-glow:   rgba(59,130,246,0.28);
  
    --bg:             #0A0E1A;
    --bg-2:           #111827;
    --bg-3:           #1A2233;
    --bg-card:        #131A2A;
    --border:         rgba(255,255,255,0.07);
    --border-hover:   rgba(96,165,250,0.4);
    --text:           #EAF0FA;
    --text-muted:     #8896B0;
    --text-dim:       #5A6784;
    --white:          #FFFFFF;
    --shadow:         0 8px 40px rgba(0,0,0,0.55);
    --shadow-sm:      0 2px 12px rgba(0,0,0,0.35);
    --marquee-bg:     #0D1322;
    --nav-bg:         rgba(10,14,26,0.85);
    --input-bg:       #1A2233;
    --tag-bg:         rgba(59,130,246,0.14);
    --tag-text:       #60A5FA;
    --stat-border:    rgba(255,255,255,0.06);
    --hero-gradient:  radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59,130,246,0.14) 0%, transparent 70%);
    --section-alt:    #0D1322;
    --overlay-bg:     rgba(5,8,16,0.75);
  
    --chat-bot-bg:    #1A2233;
    --chat-user-bg:   var(--primary);
  }
  
  /* ============================================
     LIGHT THEME — мягкий
     ============================================ */
  [data-theme="light"] {
    --primary:        #2563EB;
    --primary-light:  #3B82F6;
    --primary-dark:   #1D4ED8;
    --primary-glow:   rgba(37,99,235,0.18);
  
    --bg:             #E8E6E1;
    --bg-2:           #DFDCD6;
    --bg-3:           #D5D2CB;
    --bg-card:        #F4F2EE;
    --border:         rgba(40,40,60,0.10);
    --border-hover:   rgba(37,99,235,0.40);
    --text:           #1C2333;
    --text-muted:     #545C6E;
    --text-dim:       #858C9C;
    --white:          #FFFFFF;
    --shadow:         0 8px 40px rgba(30,40,70,0.12);
    --shadow-sm:      0 2px 12px rgba(30,40,70,0.08);
    --marquee-bg:     #DFDCD6;
    --nav-bg:         rgba(232,230,225,0.9);
    --input-bg:       #F4F2EE;
    --tag-bg:         rgba(37,99,235,0.10);
    --tag-text:       #1D4ED8;
    --stat-border:    rgba(40,40,60,0.08);
    --hero-gradient:  radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,0.10) 0%, transparent 70%);
    --section-alt:    #DFDCD6;
    --overlay-bg:     rgba(30,35,50,0.55);
  
    --chat-bot-bg:    #FFFFFF;
    --chat-user-bg:   var(--primary);
  }
  
  /* ============================================
     RESET & BASE
     ============================================ */
  *, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
  
  html { scroll-behavior: smooth; font-size: 16px; }
  
  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
  }
  
  a { text-decoration:none; color:inherit; }
  ul { list-style:none; }
  img { display:block; max-width:100%; }
  button { cursor:pointer; border:none; background:none; font-family:inherit; }
  
  ::-webkit-scrollbar { width:6px; }
  ::-webkit-scrollbar-track { background:var(--bg-2); }
  ::-webkit-scrollbar-thumb { background:var(--primary); border-radius:3px; }
  
  /* ============================================
     LAYOUT
     ============================================ */
  .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
  
  section { padding: 100px 0; position: relative; }
  .section-alt { background: var(--section-alt); }
  
  .section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
  }
  
  .section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 20px;
  }
  
  .section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 520px;
    line-height: 1.7;
  }
  
  /* ============================================
     NAVIGATION
     ============================================ */
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.4s, border-color 0.4s;
  }
  
  .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
  }
  
  .nav-logo img {
    width: 38px; height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
  }
  
  .nav-logo span { color: var(--primary); }
  
  .nav-links { display: flex; align-items: center; gap: 32px; }
  
  .nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
    position: relative;
  }
  
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width 0.3s;
  }
  
  .nav-links a:hover { color: var(--text); }
  .nav-links a:hover::after { width: 100%; }
  
  .nav-actions { display: flex; align-items: center; gap: 12px; }
  
  .theme-toggle {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s;
    color: var(--text);
  }
  
  .theme-toggle:hover {
    border-color: var(--primary);
    background: var(--primary-glow);
    color: var(--primary);
    transform: rotate(20deg);
  }
  
  .btn-nav {
    padding: 10px 22px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s;
    letter-spacing: 0.02em;
  }
  
  .btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
  }
  
  .hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
  
  .hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
  }
  
  .mobile-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    z-index: 999;
    padding: 40px 24px;
    flex-direction: column;
    gap: 8px;
  }
  
  .mobile-menu.open { display: flex; }
  
  .mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    transition: color 0.2s;
  }
  
  .mobile-menu a:hover { color: var(--primary); }
  
  /* ============================================
     HERO
     ============================================ */
  .hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 80px;
    background: var(--hero-gradient), var(--bg);
    position: relative;
    overflow: hidden;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
  }
  
  .hero .container { padding-top: 0; }
  
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
  }
  
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--tag-bg);
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  
  .hero-badge::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0%, 100% { opacity:1; transform:scale(1); }
    50% { opacity:0.5; transform:scale(1.4); }
  }
  
  .hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 24px;
  }
  
  .hero-title .highlight { color: var(--primary); }
  
  .hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 480px;
  }
  
  .hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
  
  .btn-primary {
    padding: 15px 32px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  
  .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--primary-glow);
  }
  
  .btn-outline {
    padding: 15px 32px;
    border: 1.5px solid var(--border-hover);
    color: var(--text);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  
  .btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
  }
  
  .hero-image-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
  .hero-avatar {
    width: 380px; height: 380px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 12px var(--primary-glow), var(--shadow);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
  }
  
  .hero-avatar-ring {
    position: absolute;
    width: 440px; height: 440px;
    border: 1px dashed var(--border-hover);
    border-radius: 50%;
    animation: spin 25s linear infinite;
  }
  
  @keyframes spin { to { transform: rotate(360deg); } }
  
  .hero-float-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: var(--shadow-sm);
    z-index: 3;
    animation: float 5s ease-in-out infinite;
  }
  
  .hero-float-card.card-1 { top: 20px; right: -10px; animation-delay: -1s; }
  .hero-float-card.card-2 { bottom: 30px; left: -20px; animation-delay: -3s; }
  
  .float-card-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
  }
  
  .float-card-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
  }
  
  /* ============================================
     MARQUEE
     ============================================ */
  .marquee-section {
    padding: 0;
    background: var(--marquee-bg);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
  }
  
  .marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    width: max-content;
  }
  
  .marquee-track:hover { animation-play-state: paused; }
  
  @keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  
  .marquee-group { display: flex; flex-shrink: 0; }
  
  .marquee-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px 34px;
    white-space: nowrap;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
  
  .marquee-item .dot {
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
  }
  
  /* ============================================
     ABOUT
     ============================================ */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
  
  .about-text p {
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 0.975rem;
  }
  
  .about-text p:last-child { margin-bottom: 0; }
  
  .about-question {
    margin-top: 28px !important;
    padding: 18px 22px;
    background: var(--bg-3);
    border-left: 3px solid var(--primary);
    border-radius: 0 12px 12px 0;
    color: var(--text) !important;
    font-weight: 600;
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
  
  .about-final {
    margin-top: 20px !important;
    color: var(--primary) !important;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
  }
  
  .credentials-list { display: flex; flex-direction: column; gap: 0; }
  
  .cred-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
  }
  
  .cred-item:last-child { border-bottom: none; }
  
  .cred-item::before {
    content: '';
    position: absolute;
    left: 80px; top: 0;
    width: 1px; height: 100%;
    background: var(--border);
  }
  
  .cred-year {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    padding-top: 2px;
  }
  
  .cred-role { font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 4px; }
  .cred-company { font-size: 0.85rem; color: var(--primary); margin-bottom: 8px; font-weight: 500; }
  .cred-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }
  
  /* ============================================
     STATS BAR
     ============================================ */
  .stats-bar {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 60px 0;
    transition: background 0.4s;
  }
  
  .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  
  .stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid var(--stat-border);
  }
  
  .stat-item:last-child { border-right: none; }
  
  .stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
  }
  
  .stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    font-weight: 500;
  }
  
  /* ============================================
     SERVICES (Что я делаю)
     ============================================ */
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
  }
  
  .skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 40px 26px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .skill-card::after {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 120px; height: 120px;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
  }
  
  .skill-card:hover::after { opacity: 1; }
  
  .skill-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px var(--primary-glow);
  }
  
  .skill-icon { font-size: 3.2rem; line-height: 1; margin-bottom: 20px; display: block; }
  
  .skill-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 12px;
  }
  
  .skill-text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }
  
  .services-more {
    display: flex;
    justify-content: center;
    margin-top: 48px;
  }
  
  .btn-more {
    padding: 16px 40px;
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.02em;
  }
  
  .btn-more:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--primary-glow);
  }
  
  /* ============================================
     CONTACT + CHAT
     ============================================ */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: start;
    margin-top: 60px;
  }
  
  .contact-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  /* Мессенджеры */
  .messengers {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .messenger-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.3s;
  }
  
  .messenger-btn:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px var(--primary-glow);
  }
  
  .messenger-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--tag-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
    letter-spacing: 0.02em;
  }
  
  .messenger-info { flex: 1; display: flex; flex-direction: column; gap: 1px; }
  
  .messenger-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
  }
  
  .messenger-handle { font-size: 0.78rem; color: var(--text-muted); }
  
  .messenger-arrow {
    font-size: 1.1rem;
    color: var(--text-dim);
    transition: all 0.3s;
  }
  
  .messenger-btn:hover .messenger-arrow {
    color: var(--primary);
    transform: translateX(4px);
  }
  
  /* Блок-призыв со скидкой */
  .cta-bonus {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 22px 24px;
    background: linear-gradient(135deg,
      rgba(59,130,246,0.14),
      rgba(59,130,246,0.04));
    border: 1px solid var(--border-hover);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
  }
  
  .cta-bonus::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, var(--primary-glow), transparent 70%);
    pointer-events: none;
  }
  
  .cta-bonus-badge {
    flex-shrink: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
    background: var(--primary);
    border-radius: 12px;
    padding: 12px 14px;
    line-height: 1;
    box-shadow: 0 6px 20px var(--primary-glow);
  }
  
  .cta-bonus-text { position: relative; z-index: 1; }
  
  .cta-bonus-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.35;
  }
  
  .cta-bonus-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
  }
  
  .cta-bonus-desc strong { color: var(--primary); font-weight: 700; }
  
  /* ===== CHATBOT UI ===== */
  .chat-window {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    height: 560px;
  }
  
  .chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
  }
  
  .chat-header-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.35);
  }
  
  .chat-header-info { flex: 1; }
  
  .chat-header-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
  }
  
  .chat-header-status {
    font-size: 0.75rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .chat-header-status::before {
    content: '';
    width: 7px; height: 7px;
    background: #4ADE80;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(74,222,128,0.25);
  }
  
  .chat-body {
    flex: 1;
    padding: 22px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background:
      radial-gradient(circle at 20% 10%, var(--primary-glow), transparent 40%),
      var(--bg-card);
  }
  
  .chat-body::-webkit-scrollbar { width: 4px; }
  .chat-body::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }
  
  .chat-msg {
    max-width: 82%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.875rem;
    line-height: 1.55;
    animation: msgIn 0.35s ease;
    word-wrap: break-word;
  }
  
  @keyframes msgIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
  .chat-msg.bot {
    background: var(--chat-bot-bg);
    border: 1px solid var(--border);
    color: var(--text);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
  }
  
  .chat-msg.user {
    background: var(--chat-user-bg);
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
  }
  
  .chat-msg .typing {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    height: 14px;
  }
  
  .chat-msg .typing i {
    width: 6px; height: 6px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.2s infinite;
  }
  
  .chat-msg .typing i:nth-child(2) { animation-delay: 0.2s; }
  .chat-msg .typing i:nth-child(3) { animation-delay: 0.4s; }
  
  @keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-5px); opacity: 1; }
  }
  
  .chat-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 16px;
  }
  
  .chat-quick button {
    padding: 8px 14px;
    border: 1px solid var(--border-hover);
    background: var(--bg-3);
    color: var(--text-muted);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.25s;
  }
  
  .chat-quick button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
  }
  
  .chat-input-wrap {
    display: flex;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid var(--border);
    background: var(--bg-2);
  }
  
  .chat-input {
    flex: 1;
    padding: 12px 18px;
    background: var(--input-bg);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
  }
  
  .chat-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
  }
  
  .chat-send {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s;
  }
  
  .chat-send:hover {
    background: var(--primary-dark);
    transform: scale(1.08) rotate(-8deg);
    box-shadow: 0 6px 20px var(--primary-glow);
  }
  
  /* ============================================
     FOOTER
     ============================================ */
  .footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 40px 0;
    transition: background 0.4s;
  }
  
  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
  }
  
  .footer-logo img {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary);
  }
  
  .footer-copy { font-size: 0.82rem; color: var(--text-muted); }
  .footer-copy span { color: var(--primary); }
  
  .footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
  
  .footer-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: color 0.2s;
    cursor: pointer;
  }
  
  .footer-links a:hover { color: var(--primary); }
  
  /* ============================================
     SCROLL TO TOP
     ============================================ */
  .scroll-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 20px var(--primary-glow);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s;
    z-index: 900;
  }
  
  .scroll-top.visible { opacity: 1; transform: translateY(0); }
  .scroll-top:hover { background: var(--primary-dark); transform: translateY(-4px); }
  
  /* ============================================
     MODAL — прайс-лист
     ============================================ */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay-bg);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .modal-overlay.open { opacity: 1; visibility: visible; }
  
  .modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    width: 100%;
    max-width: 760px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s ease;
    overflow: hidden;
  }
  
  .modal-overlay.open .modal { transform: translateY(0) scale(1); }
  
  .modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg-3);
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 2;
  }
  
  .modal-close:hover {
    background: var(--primary);
    color: #fff;
    transform: rotate(90deg);
  }
  
  .modal-header {
    padding: 36px 36px 24px;
    border-bottom: 1px solid var(--border);
  }
  
  .modal-body {
    padding: 28px 36px;
    overflow-y: auto;
  }
  
  .modal-body::-webkit-scrollbar { width: 6px; }
  .modal-body::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }
  
  .modal-footer {
    padding: 20px 36px 32px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: center;
  }
  
  .price-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .price-item {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 20px;
    transition: all 0.3s;
  }
  
  .price-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
  }
  
  .price-item-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
  }
  
  .price-item-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    color: var(--text);
  }
  
  .price-item-price {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
    white-space: nowrap;
  }
  
  .price-item-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 10px;
  }
  
  .price-item-term {
    font-size: 0.72rem;
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  
  /* ============================================
     ANIMATIONS ON SCROLL
     ============================================ */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  
  .reveal.visible { opacity: 1; transform: translateY(0); }
  
  /* ============================================
     RESPONSIVE
     ============================================ */
  @media (max-width: 1024px) {
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 50px; }
    .contact-grid { grid-template-columns: 1fr; }
  }
  
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .btn-nav { display: none; }
    .hamburger { display: flex; }
  
    .hero { padding-top: 110px; min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 40px; }
    .hero-buttons { justify-content: center; }
    .hero-image-wrap { order: -1; }
    .hero-avatar { width: 260px; height: 260px; }
    .hero-avatar-ring { width: 310px; height: 310px; }
    .hero-float-card { display: none; }
  
    .about-grid { grid-template-columns: 1fr; gap: 50px; }
    .skills-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 24px; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--stat-border); padding: 30px 20px; }
    .stat-item:last-child { border-bottom: none; }
  
    section { padding: 70px 0; }
  
    .price-list { grid-template-columns: 1fr; }
    .modal-header { padding: 28px 24px 20px; }
    .modal-body { padding: 20px 24px; }
    .modal-footer { padding: 16px 24px 24px; }
    .chat-window { height: 520px; }
  }
  
  @media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .skills-grid { grid-template-columns: 1fr; }
  }