/* ===================================================
   MsgCRM — Advanced Main Stylesheet
   Theme: Neo-Crisp Light / Glassmorphism / Premium Tech
   Fonts: Plus Jakarta Sans (display) + DM Sans (body)
=================================================== */

:root {
  --green: #00D25B;
  --green-light: #F0FFF5;
  --green-mid: #00B34C;
  --green-dark: #005C25;
  --accent: #10B981;
  --teal: #06B6D4;
  --ink: #030712;
  --ink-80: #111827;
  --ink-60: #4B5563;
  --ink-40: #9CA3AF;
  --ink-20: #E5E7EB;
  --ink-10: #F3F4F6;
  --surface: #F8FAFC;
  --white: #FFFFFF;
  
  --card-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.6);
  --border: rgba(15, 23, 42, 0.06);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 12px 34px -10px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.02);
  --shadow-lg: 0 30px 60px -15px rgba(15, 23, 42, 0.12), 0 10px 20px -5px rgba(15, 23, 42, 0.04);
  --shadow-green: 0 12px 30px -6px rgba(0, 210, 91, 0.2);
  
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 40px;
  
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --nav-h: 76px;
  --announce-h: 44px;
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

html { scroll-behavior: smooth; font-size: 16px; background: var(--white); }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; transition: color 0.2s ease; }
ul { list-style: none; }

.nav-logo { height: 68px; width: auto; display: block; object-fit: contain; }

.announce-bar {
  background: #090D16;
  color: #F3F4F6;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 16px;
  text-align: center;
}
.announce-inner { display: flex; align-items: center; gap: 12px; letter-spacing: -0.01em; flex-wrap: wrap; justify-content: center;}
.announce-badge { background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%); color: white; font-size: 10px; font-weight: 700; letter-spacing: 0.05em; padding: 3px 10px; border-radius: 99px; box-shadow: 0 2px 10px rgba(0, 210, 91, 0.3); white-space: nowrap; }
.announce-bar a { color: #34D399; font-weight: 600; margin-left: 6px; white-space: nowrap; }
.announce-bar a:hover { text-decoration: underline; }

.navbar { position: sticky; top: 0; z-index: 999; background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(24px) saturate(180%); -webkit-backdrop-filter: blur(24px) saturate(180%); border-bottom: 1px solid var(--border); height: var(--nav-h); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.navbar.scrolled { background: rgba(255, 255, 255, 0.85); box-shadow: var(--shadow-md); }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 40px; height: 100%; display: flex; align-items: center; gap: 48px; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.nav-links { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav-links li a { padding: 8px 18px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 500; color: var(--ink-60); transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
.nav-links li a:hover { color: var(--ink); background: rgba(15, 23, 42, 0.04); }
.nav-links li a.active { color: var(--green-mid); background: var(--green-light); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }

.lang-selector { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--border); background: var(--white); border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-60); transition: all 0.2s ease; font-family: var(--font-body); }
.lang-btn:hover { border-color: var(--green); color: var(--ink); box-shadow: var(--shadow-sm); }
.lang-dropdown { position: absolute; top: calc(100% + 12px); right: 0; width: 260px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16px); border-radius: var(--radius); border: 1px solid rgba(15, 23, 42, 0.08); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 1000; transform-origin: top right; }
.lang-search { padding: 14px; border-bottom: 1px solid var(--border); }
.lang-search input { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-family: var(--font-body); outline: none; background: var(--surface); transition: all 0.2s; }
.lang-search input:focus { border-color: var(--green); background: var(--white); box-shadow: 0 0 0 3px rgba(0, 210, 91, 0.1); }
#lang-list { max-height: 260px; overflow-y: auto; padding: 6px; }
#lang-list li { padding: 10px 14px; border-radius: 8px; cursor: pointer; font-size: 14px; transition: all 0.15s; color: var(--ink-80); }
#lang-list li:hover { background: var(--green-light); color: var(--green-dark); }
#lang-list li.active { background: var(--green-light); color: var(--green-dark); font-weight: 600; }

.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%); color: white; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; font-family: var(--font-body); border: none; cursor: pointer; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--shadow-green); white-space: nowrap; position: relative; overflow: hidden; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -4px rgba(0, 210, 91, 0.35); }
.btn-primary.large { padding: 18px 40px; font-size: 16px; border-radius: var(--radius); }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; background: var(--white); color: var(--ink-80); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; font-family: var(--font-body); cursor: pointer; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); white-space: nowrap; }
.btn-ghost:hover { border-color: var(--ink-20); color: var(--ink); background: var(--surface); transform: translateY(-1px); }
.full-w { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; background: white; border-top: 1px solid var(--border); padding: 20px 24px; gap: 6px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 16px; font-weight: 500; color: var(--ink-60); }
.mobile-menu a:hover { background: var(--green-light); color: var(--green-dark); }
.mobile-menu-btns { display: flex; gap: 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
section { padding: 120px 0; position: relative; }
.section-label { display: inline-flex; align-items: center; gap: 8px; background: rgba(0, 210, 91, 0.06); color: var(--green-dark); border: 1px solid rgba(0, 210, 91, 0.15); padding: 6px 16px; border-radius: 99px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 24px; }
.section-title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 48px); font-weight: 800; color: var(--ink); line-height: 1.15; letter-spacing: -0.03em; }
.section-sub { font-size: 17px; color: var(--ink-60); max-width: 580px; margin-top: 20px; line-height: 1.65; }

.footer { background: #050811; color: white; border-top: 1px solid rgba(255,255,255,0.02); }
.footer-top { display: grid; grid-template-columns: 380px 1fr; gap: 96px; padding: 100px 40px; max-width: 1280px; margin: 0 auto; }
.footer-brand .nav-brand { color: white; }
.footer-brand .brand-name { color: white; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.7; margin: 20px 0 28px; }
.footer-social { display: flex; gap: 14px; margin-bottom: 24px; }
.social-icon { width: 42px; height: 42px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: all 0.3s; color: rgba(255,255,255,0.6); }
.social-icon:hover { background: var(--green); border-color: var(--green); transform: translateY(-4px); color: white; box-shadow: var(--shadow-green); }
.footer-contact-mini { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-mini a, .footer-contact-mini span { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-contact-mini a:hover { color: var(--green); }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; }
.footer-col h4 { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 24px; }
.footer-col ul { display: flex; flex-direction: column; gap: 14px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,0.4); }
.footer-col ul a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom-inner { max-width: 1280px; margin: 0 auto; padding: 28px 40px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.3); flex-wrap: wrap; gap: 14px; }
.footer-status { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
.footer-phone { color: rgba(255,255,255,0.4); }

@media (max-width: 1200px) {
  .container, .nav-container, .hero-inner { padding: 0 32px; }
}

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr; gap: 48px; padding: 64px 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; margin-left: auto; }
  .announce-bar { height: auto; min-height: var(--announce-h); padding: 8px 16px; }

  .mobile-menu {
    position: absolute; top: 100%; left: 0; width: 100%; background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px); box-shadow: var(--shadow-lg); z-index: 998;
    max-height: calc(100vh - 76px); overflow-y: auto; padding-bottom: 32px;
  }
  
  .footer-links { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .container, .nav-container, .hero-inner { padding: 0 20px; }
}

@media (max-width: 480px) {
  .footer-bottom-inner { justify-content: center; text-align: center; }
}