/* ═══════════════════════════════════════
   UNAMIX — style.css
   ═══════════════════════════════════════ */

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

:root {
  --blue-main:   #4A90D9;
  --blue-hover:  #5aa0e8;
  --blue-dark:   #1a4a7c;
  --blue-deeper: #0d2d4e;
  --blue-light:  #e8f2fb;
  --blue-mid:    #90c4f4;
  --blue-pale:   #c8e1f8;
  --navy:        #152A44;
  --text-dark:   #0f1923;
  --text-mid:    #3a4a5c;
  --text-light:  #7a8fa3;
  --surface:     #f5f8fc;
  --white:       #ffffff;
  --border:      rgba(74,144,217,0.15);
  --green-dark:  #0d6640;
  --green-mid:   #3a7a5c;
  --green-light: #f0faf5;
  --green-border:#a3dbbe;
  --accent:        #ffb454;
  --accent-strong: #f59e2d;
  --accent-text:   #152A44;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Heebo', 'Assistant', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ─── SECTIONS ─── */
section { padding: 90px 5%; }
.section-label {
  display: inline-block; font-size: 15px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--blue-main); margin-bottom: 14px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  line-height: 1.2; color: var(--text-dark); margin-bottom: 16px;
}
.section-sub {
  font-size: 17px; color: var(--text-light);
  line-height: 1.7; max-width: 560px; font-weight: 300;
}
.section-header { margin-bottom: 56px; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto; }

/* ─── ANIMATIONS ─── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; right: 0; left: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 76px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(26,74,124,0.1); }

.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo svg { height: 52px; width: auto; }

.nav-links { display: flex; gap: 4px; align-items: center; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  text-decoration: none; color: var(--text-mid);
  font-size: 15px; font-weight: 400;
  padding: 8px 14px; border-radius: 8px;
  display: flex; align-items: center; gap: 5px;
  transition: all 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--blue-main); background: var(--blue-light); }
.has-drop::after { content: '▾'; font-size: 11px; opacity: 0.5; margin-right: 2px; }

.nav-dropdown {
  display: none; position: absolute; top: calc(100% + 10px); right: 0;
  background: white; border: 1px solid var(--border);
  border-radius: 16px; padding: 8px; min-width: 260px;
  box-shadow: 0 20px 60px rgba(26,74,124,0.15); z-index: 300;
}
.nav-links li:hover .nav-dropdown,
.nav-links li:focus-within .nav-dropdown { display: block; animation: dropIn 0.15s ease; }

.drop-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  text-decoration: none; color: var(--text-dark);
  transition: background 0.15s; cursor: pointer;
}
.drop-item:hover { background: var(--blue-light); }
.drop-item.disabled { opacity: 0.55; cursor: default; pointer-events: none; }
.drop-item.disabled .drop-icon { opacity: 0.4; }

.drop-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--blue-light); display: flex; align-items: center;
  justify-content: center; font-size: 18px; flex-shrink: 0;
}
.drop-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--text-dark); }
.drop-text span { font-size: 12px; color: var(--text-light); }
.drop-soon {
  display: inline-block; font-size: 10px; font-weight: 600;
  background: #fef3c7; color: #92400e;
  padding: 2px 7px; border-radius: 100px; margin-right: 6px;
}
.drop-divider { height: 1px; background: var(--border); margin: 6px 4px; }

.nav-cta {
  background: var(--accent) !important;
  color: var(--accent-text) !important; font-weight: 700 !important;
  padding: 10px 22px !important; margin-right: 6px;
}
.nav-cta:hover { background: var(--accent-strong) !important; color: var(--accent-text) !important; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; cursor: pointer; border: none;
  background: transparent; padding: 4px; border-radius: 8px;
}
.hamburger span { display: block; height: 2px; background: var(--text-mid); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none; position: fixed;
  top: 76px; right: 0; left: 0; bottom: 0;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(16px);
  z-index: 190; flex-direction: column;
  padding: 24px 5%; overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  text-decoration: none; color: var(--text-dark); font-size: 18px;
  font-weight: 500; padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--blue-main); }
.nav-mobile-cta {
  margin-top: 24px; background: var(--blue-main) !important;
  color: white !important; padding: 16px 24px !important;
  border-radius: 12px; justify-content: center !important;
  font-weight: 700 !important; border-bottom: none !important;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--accent); color: var(--accent-text);
  padding: 14px 30px; border-radius: 10px; font-size: 16px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); }

.btn-outline {
  background: transparent; color: white; padding: 14px 30px; border-radius: 10px;
  font-size: 16px; font-weight: 500; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.35); cursor: pointer; transition: all 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ─── HERO ─── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 96px 5% 60px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 55%, #1e6db5 100%);
}
.hero-bg-pattern {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, white 59px, white 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, white 59px, white 60px);
}
.hero-glow {
  position: absolute; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(74,144,217,0.28) 0%, transparent 70%);
  left: -100px; bottom: -100px; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 60px;
}
.hero-content { max-width: 560px; flex-shrink: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 500;
  padding: 6px 16px; border-radius: 100px; margin-bottom: 28px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; display: inline-block; }
.hero-content h1 {
  font-size: clamp(36px, 4.5vw, 60px); font-weight: 800; line-height: 1.1;
  color: white; margin-bottom: 24px;
}
.hero-content h1 em {
  font-style: normal; color: var(--accent);
  background: linear-gradient(120deg, var(--accent) 0%, #ffd9a0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-content p {
  font-size: 18px; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.82); margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 36px; margin-top: 52px;
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.15);
}
.stat-item { text-align: right; flex: 1; }
.stat-num { font-size: 28px; font-weight: 800; color: white; line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; line-height: 1.4; }
.hero-visual { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 18px; }

/* ─── HERO AUTOMATION FLOW ─── */
.auto-flow {
  width: 460px; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 24px;
  padding: 32px 32px 24px; backdrop-filter: blur(10px); color: white;
  box-shadow: 0 24px 80px rgba(0,0,0,0.25);
}
.af-header {
  display: flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.55); margin-bottom: 22px;
}
.af-live {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  animation: afPulse 2.1s ease-out infinite;
}
.af-node {
  display: flex; gap: 14px; align-items: center;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px; padding: 17px 19px;
  transition: all 0.3s;
}
.af-node.af-start { animation: afStartGlow 4.2s ease-in-out infinite; }
.af-node-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(74,144,217,0.3); color: #cfe6ff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.af-node-icon svg { width: 24px; height: 24px; }
.af-node.af-start .af-node-icon { animation: afIconAmber 4.2s ease-in-out infinite; }
.af-node-icon.af-green { background: rgba(74,222,128,0.16); color: #6ee7a0; }
.af-node.af-end .af-node-icon { animation: afIconPop 4.2s ease-in-out infinite; }
.af-node-text strong { display: block; font-size: 17px; font-weight: 700; }
.af-node-text span { font-size: 13.5px; color: rgba(255,255,255,0.55); }
.af-connector {
  height: 38px; width: 2px; margin: 0 auto; border-radius: 2px;
  background: rgba(255,255,255,0.15); position: relative; overflow: visible;
}
.af-connector span {
  position: absolute; top: 0; left: -1px; width: 4px; height: 14px;
  background: linear-gradient(180deg, transparent, var(--accent));
  border-radius: 4px; opacity: 0;
  box-shadow: 0 0 12px 2px rgba(255,180,84,0.55);
  animation: afDrop1 4.2s ease-in infinite;
}
.af-connector.c2 span {
  background: linear-gradient(180deg, transparent, #6ee7a0);
  box-shadow: 0 0 12px 2px rgba(74,222,128,0.5);
  animation: afDrop2 4.2s ease-in infinite;
}
.af-systems { display: flex; gap: 10px; }
.af-chip {
  flex: 1; text-align: center; font-size: 14px; font-weight: 600;
  padding: 13px 8px; border-radius: 12px; white-space: nowrap;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.8);
  animation: afChipGlow 4.2s ease-in-out infinite;
}
.af-chip:nth-child(2) { animation-delay: 0.16s; }
.af-chip:nth-child(3) { animation-delay: 0.32s; }
.af-node.af-end { animation: afEndGlow 4.2s ease-in-out infinite; }
.af-scene { display: none; }
.af-scene.active { display: block; animation: afSceneIn 0.45s ease; }
@keyframes afSceneIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.af-dots { display: flex; justify-content: center; gap: 7px; margin-top: 20px; }
.af-dot {
  width: 8px; height: 8px; border-radius: 50%; border: none; padding: 0;
  cursor: pointer; background: rgba(255,255,255,0.25); transition: all 0.25s;
}
.af-dot:hover { background: rgba(255,255,255,0.45); }
.af-dot.active { background: var(--accent); width: 22px; border-radius: 5px; }
.af-footer {
  margin-top: 10px; font-size: 13px;
  color: rgba(255,255,255,0.45); text-align: center;
}
@keyframes afPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.55); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
}
/* timeline (4.2s): start node 2–14% → dot1 14–24% → chips 26–46% → dot2 48–58% → end node 60–86% */
@keyframes afStartGlow {
  0%, 22%, 100% { border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.07); box-shadow: 0 0 0 rgba(255,180,84,0); }
  5%, 14% { border-color: rgba(255,180,84,0.85); background: rgba(255,180,84,0.14); box-shadow: 0 6px 30px rgba(255,180,84,0.3); }
}
@keyframes afIconAmber {
  0%, 22%, 100% { background: rgba(74,144,217,0.3); color: #cfe6ff; transform: scale(1); }
  5%, 14% { background: rgba(255,180,84,0.35); color: #ffd9a0; transform: scale(1.08); }
}
@keyframes afDrop1 {
  0%, 13%   { transform: translateY(-12px); opacity: 0; }
  15%       { opacity: 1; }
  24%, 100% { transform: translateY(40px); opacity: 0; }
}
@keyframes afChipGlow {
  0%, 24%, 52%, 100% { border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.8); box-shadow: 0 0 0 rgba(255,180,84,0); transform: translateY(0); }
  30%, 44% { border-color: rgba(255,180,84,0.9); background: rgba(255,180,84,0.18); color: #ffd9a0; box-shadow: 0 8px 26px rgba(255,180,84,0.28); transform: translateY(-3px); }
}
@keyframes afDrop2 {
  0%, 47%   { transform: translateY(-12px); opacity: 0; }
  49%       { opacity: 1; }
  58%, 100% { transform: translateY(40px); opacity: 0; }
}
@keyframes afEndGlow {
  0%, 56%, 92%, 100% { border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.07); box-shadow: 0 0 0 rgba(74,222,128,0); }
  62%, 84% { border-color: rgba(74,222,128,0.8); background: rgba(74,222,128,0.12); box-shadow: 0 6px 32px rgba(74,222,128,0.3); }
}
@keyframes afIconPop {
  0%, 56%, 92%, 100% { transform: scale(1); background: rgba(74,222,128,0.16); }
  62%, 84% { transform: scale(1.12); background: rgba(74,222,128,0.3); }
}

/* ─── SERVICES ─── */
#services { background: var(--surface); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: white; border-radius: 16px; border: 1px solid var(--border);
  padding: 32px; transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 4px; height: 100%; background: var(--blue-main);
  transform: scaleY(0); transform-origin: top; transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(26,74,124,0.12); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 26px;
}
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-card p { font-size: 15px; color: var(--text-light); line-height: 1.7; }

/* ─── PRODUCTS ─── */
#products { background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%); color: white; }
#products .section-label { color: var(--blue-mid); }
#products .section-title { color: white; }
#products .section-sub { color: rgba(255,255,255,0.65); max-width: none; }
.products-header { margin-bottom: 48px; }
.magicsale-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.ms-product-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.ms-logo-icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: rgba(74,144,217,0.25); border: 1px solid rgba(74,144,217,0.4);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.ms-logo-name { font-size: 26px; font-weight: 800; color: white; line-height: 1.1; }
.ms-logo-sub { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 2px; }
.ms-desc { font-size: 17px; color: rgba(255,255,255,0.72); line-height: 1.75; margin-bottom: 28px; }

.ms-features { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.ms-feature { display: flex; align-items: flex-start; gap: 14px; }
.ms-check {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(74,144,217,0.25); border: 1px solid var(--blue-main);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px; font-size: 13px;
}
.ms-feature-text strong { display: block; font-size: 15px; font-weight: 600; color: white; margin-bottom: 2px; }
.ms-feature-text span { font-size: 14px; color: rgba(255,255,255,0.6); }

.ms-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-main); color: white;
  padding: 14px 28px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: 16px;
  margin-top: 32px; transition: all 0.2s;
}
.ms-cta:hover { background: var(--blue-hover); transform: translateY(-2px); }

.ms-visual {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px; padding: 28px;
}
.ms-visual-title { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; }
.ms-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.ms-stat { background: rgba(255,255,255,0.07); border-radius: 12px; padding: 16px; }
.ms-stat .num { font-size: 24px; font-weight: 800; color: var(--blue-main); }
.ms-stat .lbl { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 4px; }
.ms-chart { background: rgba(255,255,255,0.07); border-radius: 12px; padding: 16px; }
.ms-chart-title { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 14px; letter-spacing: 0.5px; }
.ms-chart-rows { display: flex; flex-direction: column; gap: 13px; }
.ms-chart-row-header { display: flex; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 5px; }
.ms-bar-track { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; }
.ms-bar { height: 100%; border-radius: 3px; transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.ms-chart-row:nth-child(2) .ms-bar { transition-delay: 0.12s; }
.ms-chart-row:nth-child(3) .ms-bar { transition-delay: 0.24s; }
.ms-chart-row:nth-child(4) .ms-bar { transition-delay: 0.36s; }

/* ─── CEO ─── */
#ceo { background: var(--white); }
.ceo-grid { display: grid; grid-template-columns: 260px 1fr; gap: 72px; align-items: start; }
.ceo-left { text-align: center; }
.ceo-avatar {
  width: 180px; height: 180px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-pale));
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; font-weight: 800; color: var(--blue-dark);
  margin: 0 auto 20px; border: 4px solid white;
  box-shadow: 0 8px 32px rgba(74,144,217,0.2);
}
.ceo-name { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.ceo-title { font-size: 14px; color: var(--text-light); margin-bottom: 20px; }
.ceo-contact a {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 14px; color: var(--blue-main); text-decoration: none; margin-bottom: 10px;
}
.ceo-bio-block { display: flex; flex-direction: column; gap: 22px; }
.ceo-para { font-size: 16.5px; line-height: 1.9; color: var(--text-mid); }
.ceo-para strong { color: var(--text-dark); font-weight: 700; }

/* ─── PROCESS ─── */
#process { background: var(--surface); }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 36px; right: 10%; left: 10%;
  height: 1px; background: var(--border); z-index: 0;
}
.process-step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%; background: white;
  border: 2px solid var(--blue-main); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 20px;
  font-size: 22px; font-weight: 800; color: var(--blue-main);
  box-shadow: 0 4px 16px rgba(74,144,217,0.15);
}
.process-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ─── CASE STUDY ─── */
#casestudy { background: var(--white); }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.case-story { display: flex; flex-direction: column; gap: 28px; }
.case-problem, .case-solution, .case-result { padding: 22px 24px; border-radius: 14px; }
.case-problem  { background: #fff8f5; border: 1px solid #fcd9c8; }
.case-solution { background: var(--blue-light); border: 1px solid var(--blue-pale); }
.case-result   { background: var(--green-light); border: 1px solid var(--green-border); }
.case-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px; margin-bottom: 10px;
}
.case-problem .case-tag  { background: #fcd9c8; color: #c0420a; }
.case-solution .case-tag { background: var(--blue-pale); color: var(--blue-dark); }
.case-result .case-tag   { background: var(--green-border); color: var(--green-dark); }
.case-problem h4, .case-solution h4, .case-result h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.case-problem p, .case-solution p, .case-result p { font-size: 15px; color: var(--text-mid); line-height: 1.7; }
.case-result-nums { display: flex; gap: 28px; margin-top: 14px; }
.crn { text-align: center; }
.crn .n { font-size: 28px; font-weight: 800; color: var(--green-dark); line-height: 1; }
.crn .l { font-size: 12px; color: var(--green-mid); margin-top: 3px; }

.case-quote { background: var(--navy); color: white; border-radius: 16px; padding: 28px 32px; }
.case-quote-text {
  font-size: 18px; line-height: 1.75; font-weight: 300;
  color: rgba(255,255,255,0.9); margin-bottom: 20px; font-style: italic;
}
.case-quote-text::before {
  content: '"'; font-size: 48px; color: var(--blue-main);
  line-height: 0; vertical-align: -16px; margin-left: 6px; font-style: normal;
}
.case-who { display: flex; align-items: center; gap: 14px; }
.case-who-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-main), var(--blue-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: white; flex-shrink: 0;
}
.case-who-name { font-size: 15px; font-weight: 600; color: white; }
.case-who-role { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 2px; }

.case-scope {
  margin-top: 24px; background: var(--surface);
  border-radius: 16px; padding: 24px 28px; border: 1px solid var(--border);
}
.case-scope-title {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--blue-main); margin-bottom: 16px;
}
.case-scope-items { display: flex; flex-direction: column; gap: 12px; }
.case-scope-item { display: flex; align-items: flex-start; gap: 10px; }
.case-scope-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-light); border: 1px solid var(--blue-main);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0; margin-top: 1px;
}
.case-scope-item span { font-size: 15px; color: var(--text-mid); }

/* ─── CTA BAND ─── */
#cta-band {
  background: linear-gradient(135deg, var(--blue-main) 0%, var(--blue-dark) 100%);
  padding: 72px 5%; text-align: center;
}
.cta-band-label { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.cta-band-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; color: white; line-height: 1.2; margin-bottom: 14px; }
.cta-band-sub { font-size: 17px; color: rgba(255,255,255,0.75); font-weight: 300; margin-bottom: 36px; }
.cta-band-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta-main {
  background: var(--accent); color: var(--accent-text);
  padding: 16px 36px; border-radius: 12px;
  font-size: 17px; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.2s; border: none; cursor: pointer; font-family: 'Heebo', sans-serif;
}
.cta-main:hover { background: var(--accent-strong); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,0,0,0.2); }
.cta-secondary {
  color: rgba(255,255,255,0.8); font-size: 15px; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.35); padding-bottom: 2px; transition: color 0.2s;
}
.cta-secondary:hover { color: white; }
.cta-note { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 16px; }

/* ─── CONTACT ─── */
#contact { background: var(--navy); color: white; }
#contact .section-title { color: white; }
#contact .section-label { color: var(--blue-mid); }
#contact .section-sub { color: rgba(255,255,255,0.65); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-items { margin-top: 40px; display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.ci-text strong { display: block; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 3px; }
.ci-text a, .ci-text span { font-size: 16px; color: white; text-decoration: none; }
.ci-text a:hover { color: var(--blue-main); }
.contact-form {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px; padding: 36px;
}
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.form-row input, .form-row textarea {
  width: 100%; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 10px;
  padding: 12px 16px; color: white;
  font-family: 'Heebo', sans-serif; font-size: 15px;
  transition: border-color 0.2s; outline: none;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-row input:focus, .form-row textarea:focus { border-color: var(--blue-main); }
.form-row textarea { min-height: 120px; resize: vertical; }
.form-submit {
  width: 100%; background: var(--accent); color: var(--accent-text);
  border: none; padding: 14px; border-radius: 10px;
  font-size: 16px; font-weight: 700; cursor: pointer;
  font-family: 'Heebo', sans-serif; transition: background 0.2s;
}
.form-submit:hover:not(:disabled) { background: var(--accent-strong); }
.form-submit:disabled { opacity: 0.7; cursor: default; }

/* ─── FOOTER ─── */
footer {
  background: var(--blue-deeper); color: rgba(255,255,255,0.5);
  text-align: center; padding: 28px 5%; font-size: 14px;
}
footer a { color: var(--blue-main); text-decoration: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { flex-direction: column; }
  .hero-visual { flex-direction: row; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
  .auto-flow { width: 420px; max-width: 100%; }
  .magicsale-grid, .ceo-grid, .contact-grid, .case-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { gap: 20px; }
  nav { padding: 0 4%; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  section { padding: 60px 5%; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .case-result-nums { gap: 16px; }
  .cta-band-actions { gap: 12px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  section { padding: 48px 4%; }
  .hero-visual { display: none; }
  .hero-stats { gap: 12px; }
  .stat-num { font-size: 22px; }
  .cta-band-actions { flex-direction: column; align-items: stretch; }
  .cta-main { justify-content: center; }
  .ms-stat-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100px;
  right: 0;
  background: var(--blue-main);
  color: white;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  z-index: 99999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ===== KEYBOARD FOCUS ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.hamburger:focus-visible {
  outline: 3px solid var(--blue-main);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== FORM PRIVACY NOTE ===== */
.form-privacy-note {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin: 4px 0 12px;
  line-height: 1.5;
}
.form-privacy-note a { color: rgba(255,255,255,0.7); text-decoration: underline; }
#form-status {
  font-size: 13px;
  min-height: 18px;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.8);
}

/* ===== FOOTER COOKIE BUTTON ===== */
.footer-cookie-btn {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.footer-cookie-btn:hover { opacity: 0.8; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(74,144,217,0.3);
  padding: 16px 6%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-text { color: rgba(255,255,255,0.75); font-size: 14px; line-height: 1.5; }
.cookie-text a { color: var(--blue-main); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 9px 22px; border-radius: 8px; border: none;
  cursor: pointer; font-size: 14px; font-weight: 600;
  font-family: inherit; transition: opacity 0.2s;
}
.cookie-btn:hover { opacity: 0.85; }
.cookie-btn.accept { background: var(--blue-main); color: white; }
.cookie-btn.decline {
  background: transparent; color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.2);
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}
