/* ---------- Tokens ---------- */
:root{
  --bg: #F6F8FC;
  --bg-alt: #EEF1FA;
  --surface: #FFFFFF;
  --text: #172227;
  --text-muted: #59636F;
  --line: #E1E6F0;
  --accent: #6478E0;
  --accent-dark: #4A5FCB;
  --accent-soft: #E9EDFC;
  --navy: #1B2A33;
  --shadow: 0 20px 45px -25px rgba(23, 34, 39, .35);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --maxw: 1160px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
h1, h2, h3{ margin: 0 0 .5em; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
p{ margin: 0 0 1em; }

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 999;
}
.skip-link:focus{ left: 0; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--accent); color: #FFFFFF; box-shadow: 0 12px 24px -12px rgba(74,95,203,.55); }
.btn-primary:hover{ background: var(--accent-dark); }
.btn-ghost{ background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--navy); }
.btn-sm{ padding: 10px 18px; font-size: .85rem; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 248, 252, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
  gap: 24px;
}
.logo{
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy);
}
.logo-icon{
  width: 34px; height: 34px; flex-shrink: 0;
}
.logo-triangle{ fill: var(--navy); }
.logo-bar{ fill: var(--accent); }
.logo-base, .logo-trend{ fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.logo-text{
  font-family: var(--font-serif); font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em;
  color: var(--navy);
}

.main-nav{ display: flex; align-items: center; gap: 32px; margin: 0 auto; }
.main-nav a{ font-weight: 600; font-size: .95rem; color: var(--text-muted); transition: color .15s ease; }
.main-nav a:hover{ color: var(--navy); }

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

.lang-toggle{
  display: flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 10px; font-weight: 700; font-size: .8rem; cursor: pointer; color: var(--text-muted);
}
.lang-opt{ padding: 2px 6px; border-radius: 999px; }
.lang-opt.is-active{ background: var(--accent-soft); color: var(--accent-dark); }
.lang-sep{ opacity: .4; }

.menu-toggle{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; border: none; background: transparent; cursor: pointer;
}
.menu-toggle span{ width: 100%; height: 2px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero{ padding: 96px 0 72px; overflow: hidden; }
.hero-inner{
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px;
}
.eyebrow{
  display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .04em;
  color: var(--accent-dark); background: var(--accent-soft); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1{ font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--navy); max-width: 14ch; }
.hero-sub{ font-size: 1.08rem; color: var(--text-muted); max-width: 46ch; }
.hero-cta{ display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }

.hero-art{ position: relative; height: 420px; }
.blob{ position: absolute; border-radius: 50%; filter: blur(0px); opacity: .5; }
.blob-a{ width: 320px; height: 320px; background: radial-gradient(circle at 30% 30%, var(--accent-soft), transparent 70%); top: -20px; right: -20px; }
.blob-b{ width: 260px; height: 260px; background: radial-gradient(circle at 60% 60%, #E2E6FA, transparent 70%); bottom: -30px; left: 10px; }

.node-graphic{
  position: absolute; inset: 0; margin: auto; width: 260px; height: 260px;
}

.chat-card{
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); box-shadow: var(--shadow); padding: 16px 18px; width: 190px;
}
.chat-card-1{ top: 18px; left: 0; }
.chat-card-2{ bottom: 28px; right: 6px; width: 170px; }
.chat-dot{ width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-bottom: 10px; }
.chat-lines span{ display: block; height: 8px; border-radius: 4px; background: var(--bg-alt); margin-bottom: 8px; }
.chat-lines span:nth-child(1){ width: 100%; }
.chat-lines span:nth-child(2){ width: 70%; }
.chat-lines span:nth-child(3){ width: 55%; margin-bottom: 0; }
.chat-card-1 .chat-lines span:last-child{ margin-bottom: 0; }

/* ---------- Sections ---------- */
.section{ padding: 96px 0; }
.section-alt{ background: var(--bg-alt); }
.section-head{ max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy); }
.section-sub{ color: var(--text-muted); font-size: 1.05rem; }

.grid{ display: grid; gap: 28px; }
.grid-4{ grid-template-columns: repeat(4, 1fr); }

.card{
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon{
  width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-icon svg{ width: 24px; height: 24px; }
.card h3{ font-size: 1.1rem; color: var(--navy); }
.card p{ color: var(--text-muted); font-size: .95rem; margin-bottom: 0; }

/* Steps */
.steps .step{ text-align: center; background: transparent; border: none; padding: 0; }
.step-num{
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--accent);
  color: var(--accent-dark); font-weight: 800; margin-bottom: 16px;
}
.step h3{ font-size: 1.05rem; color: var(--navy); }
.step p{ color: var(--text-muted); font-size: .92rem; margin-bottom: 0; }

/* About */
.about-inner{ display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about h2{ font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--navy); max-width: 16ch; }
.about p{ color: var(--text-muted); }
.about-list{ margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.about-list li{ display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: .95rem; }
.about-list li::before{
  content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' stroke='%234A5FCB' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 12px;
}

.about-art{ position: relative; height: 320px; }
.ring{ position: absolute; border-radius: 50%; border: 1.5px solid var(--line); }
.ring-1{ width: 280px; height: 280px; top: 10px; left: 30px; }
.ring-2{ width: 190px; height: 190px; top: 55px; left: 75px; border-color: var(--accent); opacity: .5; }
.dot-grid{
  position: absolute; inset: 0; margin: auto; width: 90px; height: 90px;
  background-image: radial-gradient(var(--accent-dark) 2px, transparent 2px);
  background-size: 18px 18px; opacity: .5;
}

/* Contact */
.contact-grid{ display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; }
.contact-form{
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; display: flex; flex-direction: column; gap: 18px;
}
.botcheck{ position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-row{ display: flex; flex-direction: column; gap: 8px; }
.form-row label{ font-weight: 700; font-size: .88rem; color: var(--navy); }
.form-row input, .form-row textarea{
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px;
  font-family: inherit; font-size: .95rem; color: var(--text); background: var(--bg);
  transition: border-color .15s ease;
}
.form-row input:focus, .form-row textarea:focus{ outline: none; border-color: var(--accent); }
.contact-form .btn{ align-self: flex-start; }
.form-note{ font-size: .9rem; font-weight: 600; color: var(--accent-dark); min-height: 1.2em; margin: 0; }

.contact-info{ display: flex; flex-direction: column; gap: 28px; }
.contact-info-item{
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px;
}
.contact-label{ display: block; font-size: .82rem; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .04em; }
.contact-info-item a{ font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.contact-info-item a:hover{ color: var(--accent-dark); }
.social-links{ display: flex; gap: 12px; }
.social-links a{
  width: 40px; height: 40px; border-radius: 50%; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
  transition: background .15s ease, color .15s ease;
}
.social-links a:hover{ background: var(--accent); color: #FFFFFF; }
.social-links svg{ width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--navy); color: #DCE1F0; padding: 56px 0 32px; }
.footer-inner{ display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.site-footer .logo{ color: #fff; }
.site-footer .logo-triangle{ fill: #fff; }
.footer-tag{ color: #A6AFD0; margin: 0; max-width: 32ch; }
.footer-nav{ display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer-nav a{ font-weight: 600; font-size: .92rem; color: #C3CBEA; }
.footer-nav a:hover{ color: var(--accent); }
.footer-copy{ margin: 12px 0 0; font-size: .85rem; color: #7C87AD; }

/* ---------- Responsive ---------- */
@media (max-width: 960px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-art{ order: -1; height: 300px; }
  .hero-copy{ text-align: center; }
  .hero-sub{ margin-left: auto; margin-right: auto; }
  .hero-cta{ justify-content: center; }
  .about-inner{ grid-template-columns: 1fr; }
  .about-art{ order: -1; }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .main-nav{ display: none; }
  .menu-toggle{ display: flex; }
  .header-actions .btn-sm{ display: none; }

  .main-nav.is-open{
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 78px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .main-nav.is-open a{ padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav.is-open a:last-child{ border-bottom: none; }
}

@media (max-width: 560px){
  .grid-4{ grid-template-columns: 1fr; }
  .header-inner{ height: 68px; }
  .hero{ padding: 56px 0 48px; }
  .section{ padding: 64px 0; }
}
