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

:root {
  --yellow: #FFE500;
  --yellow-dark: #E6CE00;
  --orange: #FF6B00;
  --black: #0A0A0A;
  --dark: #141414;
  --dark-card: #1A1A1A;
  --dark-border: #2A2A2A;
  --white: #FFFFFF;
  --gray: #888;
  --gray-light: #BBB;
  --radius: 16px;
  --radius-sm: 10px;
  --bg: var(--black);
  --bg-card: var(--dark-card);
  --bg-input: var(--dark);
  --border: var(--dark-border);
  --text: var(--white);
  --text-muted: var(--gray-light);
  --text-dim: var(--gray);
  --nav-bg: rgba(10,10,10,0.85);
  --nav-bg-scroll: rgba(10,10,10,0.95);
  --shadow-dropdown: rgba(0,0,0,0.5);
  --hero-grid: rgba(255,255,255,0.04);
  --glow-yellow: rgba(255,229,0,0.12);
  --glow-orange: rgba(255,107,0,0.08);
  --tag-bg: rgba(255,229,0,0.06);
  --tag-border: rgba(255,229,0,0.12);
  --hover-bg: rgba(255,255,255,0.08);
  --card-hover-border: rgba(255,229,0,0.3);
  --divider: var(--dark-border);
  --footer-line: rgba(255,255,255,0.04);
}

[data-theme="light"] {
  --black: #F5F5F0;
  --dark: #EAEAE5;
  --dark-card: #FFFFFF;
  --dark-border: #D8D8D0;
  --white: #0A0A0A;
  --gray: #666;
  --gray-light: #444;
  --yellow: #D4A800;
  --yellow-dark: #B89200;
  --orange: #E05500;
  --bg: #F5F5F0;
  --bg-card: #FFFFFF;
  --bg-input: #EAEAE5;
  --border: #D8D8D0;
  --text: #0A0A0A;
  --text-muted: #444;
  --text-dim: #666;
  --nav-bg: rgba(245,245,240,0.9);
  --nav-bg-scroll: rgba(245,245,240,0.97);
  --shadow-dropdown: rgba(0,0,0,0.12);
  --hero-grid: rgba(0,0,0,0.04);
  --glow-yellow: rgba(212,168,0,0.1);
  --glow-orange: rgba(224,85,0,0.06);
  --tag-bg: rgba(212,168,0,0.08);
  --tag-border: rgba(212,168,0,0.18);
  --hover-bg: rgba(0,0,0,0.04);
  --card-hover-border: rgba(212,168,0,0.4);
  --divider: #D8D8D0;
  --footer-line: rgba(0,0,0,0.06);
}


/* Light theme cursor & hero-badge fix */
[data-theme="light"] .cursor { background: var(--orange); mix-blend-mode: difference; }
[data-theme="light"] .cursor-trail { border-color: rgba(224,85,0,0.4); }
[data-theme="light"] .hero-badge { border-color: rgba(212,168,0,0.4); background: rgba(212,168,0,0.15); }

/* Theme toggle button */
.theme-toggle {
  background: none; border: 1px solid var(--border);
  border-radius: 10px; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem; transition: all 0.3s;
  color: var(--text-muted); margin-right: 8px; flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--yellow); color: var(--yellow); }

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Onest', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }



/* NAVIGATION */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--nav-bg); backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
.nav.nav-scrolled {
  background: var(--nav-bg-scroll);
}
.nav-inner {
  max-width: 1340px; margin: 0 auto; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo {
  font-family: 'Unbounded', sans-serif; font-weight: 800; font-size: 1.5rem;
  color: var(--yellow); text-decoration: none; letter-spacing: -0.02em;
  cursor: inherit; position: relative;
}
.logo::after {
  content: '●'; font-size: 8px; color: var(--orange);
  position: absolute; top: 4px; right: -14px;
  animation: blink 1.2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
.logo span { display: none; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 0.88rem;
  padding: 8px 16px; border-radius: 8px; transition: all 0.2s;
  font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--hover-bg); }
.nav-cta {
  background: var(--yellow); color: var(--black); font-weight: 600;
  padding: 10px 24px; border-radius: 10px; font-size: 0.88rem;
  text-decoration: none; transition: all 0.25s; border: none; cursor: inherit;
  font-family: 'Onest', sans-serif;
}
.nav-cta:hover { background: var(--orange); color: var(--text); transform: translateY(-1px); }

.mobile-toggle {
  display: none; background: none; border: none; cursor: inherit;
  width: 32px; height: 32px; position: relative;
}
.mobile-toggle span {
  display: block; width: 22px; height: 2px; background: var(--white);
  position: absolute; left: 5px; transition: all 0.3s;
}
.mobile-toggle span:nth-child(1) { top: 9px; }
.mobile-toggle span:nth-child(2) { top: 15px; }
.mobile-toggle span:nth-child(3) { top: 21px; }

/* PAGE SECTIONS */
.page { display: none; }
.page.active { display: block; }

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 120px 40px 80px; position: relative; overflow: hidden;
  background-image:
    linear-gradient(var(--hero-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow-yellow) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -100px; left: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--glow-orange) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 1340px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,229,0,0.1); border: 1px solid rgba(255,229,0,0.2);
  padding: 8px 18px; border-radius: 100px; font-size: 0.82rem; color: var(--yellow);
  font-weight: 500; margin-bottom: 32px;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; background: var(--yellow);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-family: 'Unbounded', sans-serif; font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 28px; max-width: 900px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.2rem; color: var(--text-muted); max-width: 580px;
  line-height: 1.65; margin-bottom: 48px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--yellow); color: var(--black); font-weight: 600;
  padding: 16px 36px; border-radius: 14px; font-size: 1rem;
  text-decoration: none; transition: all 0.3s; border: none;
  cursor: inherit; font-family: 'Onest', sans-serif;
}
.btn-primary:hover { background: var(--orange); color: var(--text); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255,107,0,0.3); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--text); font-weight: 500;
  padding: 16px 36px; border-radius: 14px; font-size: 1rem;
  text-decoration: none; transition: all 0.3s;
  border: 1px solid var(--border); cursor: inherit;
  font-family: 'Onest', sans-serif;
}
.btn-secondary:hover { border-color: var(--yellow); color: var(--yellow); }

/* STATS BAR */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--dark-border); border-radius: var(--radius);
  overflow: hidden; margin-top: 80px;
}
.stat-item {
  background: var(--bg-input); padding: 32px; text-align: center;
}
.stat-num {
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  font-size: 2.2rem; color: var(--yellow); margin-bottom: 6px;
}
.stat-label { font-size: 0.85rem; color: var(--text-dim); }

/* SECTIONS */
.section {
  padding: 100px 40px; max-width: 1340px; margin: 0 auto;
}
.section-label {
  font-size: 0.78rem; font-weight: 600; color: var(--yellow);
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 16px;
}
.section-title {
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 24px; max-width: 700px;
}
.section-desc {
  font-size: 1.05rem; color: var(--text-muted); max-width: 600px;
  line-height: 1.65; margin-bottom: 56px;
}

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 32px; transition: all 0.35s;
  cursor: inherit; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { border-color: var(--card-hover-border); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(255,229,0,0.1); display: flex; align-items: center;
  justify-content: center; font-size: 1.6rem; margin-bottom: 24px;
}
.service-card h3 {
  font-family: 'Unbounded', sans-serif; font-weight: 600;
  font-size: 1.2rem; margin-bottom: 14px;
}
.service-card p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; margin-bottom: 20px; }
.service-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--yellow); font-weight: 600; font-size: 0.88rem;
  text-decoration: none; transition: gap 0.2s;
}
.service-link:hover { gap: 14px; }

/* PRICING */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 32px; position: relative;
  transition: all 0.3s;
}
.price-card.featured {
  border-color: var(--yellow); background: linear-gradient(180deg, rgba(255,229,0,0.06) 0%, var(--dark-card) 100%);
}
.price-card.featured::after {
  content: 'Популярный'; position: absolute; top: -1px; right: 24px;
  background: var(--yellow); color: var(--black); font-size: 0.72rem;
  font-weight: 700; padding: 6px 14px; border-radius: 0 0 8px 8px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.price-card h4 {
  font-family: 'Unbounded', sans-serif; font-weight: 600;
  font-size: 1.1rem; margin-bottom: 8px;
}
.price-desc { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 24px; }
.price-amount {
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  font-size: 2.2rem; margin-bottom: 4px;
}
.price-amount span { font-size: 0.85rem; font-weight: 400; color: var(--text-dim); }
.price-period { font-size: 0.82rem; color: var(--text-dim); margin-bottom: 28px; }
.price-features { list-style: none; margin-bottom: 32px; }
.price-features li {
  padding: 10px 0; font-size: 0.9rem; color: var(--text-muted);
  border-bottom: 1px solid var(--footer-line);
  display: flex; align-items: center; gap: 10px;
}
.price-features li::before { content: '✓'; color: var(--yellow); font-weight: 700; font-size: 0.85rem; }
.price-btn {
  width: 100%; padding: 14px; border-radius: 12px; font-weight: 600;
  font-size: 0.92rem; text-align: center; cursor: inherit;
  transition: all 0.3s; font-family: 'Onest', sans-serif; border: none;
}
.price-btn-outline {
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.price-btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.price-btn-filled {
  background: var(--yellow); color: var(--black);
}
.price-btn-filled:hover { background: var(--orange); color: var(--text); }

/* REVIEWS */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 20px; }
.review-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 32px;
}
.review-stars { color: var(--yellow); font-size: 1rem; margin-bottom: 18px; letter-spacing: 4px; }
.review-text { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; color: var(--black);
}
.review-name { font-weight: 600; font-size: 0.92rem; }
.review-company { font-size: 0.82rem; color: var(--text-dim); }

/* CONTACT FORM */
.contact-section {
  padding: 100px 40px; max-width: 1340px; margin: 0 auto;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 48px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 500;
  color: var(--text-muted); margin-bottom: 8px;
}
.form-group input, .form-group textarea {
  width: 100%; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 18px; color: var(--text);
  font-size: 0.95rem; font-family: 'Onest', sans-serif;
  transition: border-color 0.2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--yellow);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Custom select dropdown */
.custom-select {
  position: relative; width: 100%; user-select: none;
}
.custom-select-trigger {
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 18px; color: var(--text-dim);
  font-size: 0.95rem; font-family: 'Onest', sans-serif;
  cursor: inherit; display: flex; align-items: center;
  justify-content: space-between; transition: border-color 0.2s;
}
.custom-select-trigger svg {
  color: var(--text-dim); transition: transform 0.3s, color 0.2s; flex-shrink: 0;
}
.custom-select.open .custom-select-trigger {
  border-color: var(--yellow); color: var(--text);
}
.custom-select.open .custom-select-trigger svg {
  transform: rotate(180deg); color: var(--yellow);
}
.custom-select.has-value .custom-select-trigger { color: var(--text); }
.custom-select-options {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden; z-index: 50;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.25s ease;
  box-shadow: 0 16px 48px var(--shadow-dropdown);
}
.custom-select.open .custom-select-options {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.custom-select-option {
  padding: 13px 18px; font-size: 0.92rem; color: var(--text-muted);
  cursor: inherit; transition: all 0.15s; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.custom-select-option:last-child { border-bottom: none; }
.custom-select-option:hover {
  background: rgba(255,229,0,0.08); color: var(--text);
}
.custom-select-option.selected {
  background: rgba(255,229,0,0.1); color: var(--yellow);
}
.cso-icon { font-size: 1rem; width: 22px; text-align: center; }
.form-submit {
  width: 100%; padding: 16px; background: var(--yellow); color: var(--black);
  border: none; border-radius: 14px; font-weight: 700; font-size: 1rem;
  cursor: inherit; font-family: 'Onest', sans-serif; transition: all 0.3s;
}
.form-submit:hover { background: var(--orange); color: var(--text); }

.contact-info h3 {
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  font-size: 1.8rem; margin-bottom: 20px; line-height: 1.2;
}
.contact-info p { color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; }
.contact-detail {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--footer-line);
}
.contact-detail-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255,229,0,0.1); display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.contact-detail-text .label { font-size: 0.78rem; color: var(--text-dim); margin-bottom: 2px; }
.contact-detail-text .value { font-weight: 500; font-size: 0.95rem; }
.contact-detail-text .value a { color: var(--text); text-decoration: none; }
.contact-detail-text .value a:hover { color: var(--yellow); }

/* INNER PAGE HERO */
.inner-hero {
  padding: 140px 40px 60px; max-width: 1340px; margin: 0 auto;
}
.inner-hero h1 {
  font-family: 'Unbounded', sans-serif; font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 20px;
}
.inner-hero h1 .highlight {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.inner-hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 650px; line-height: 1.65; }

/* FEATURE LIST */
.features-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.feature-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; display: flex; gap: 20px;
  transition: all 0.3s;
}
.feature-item:hover { border-color: var(--card-hover-border); }
.feature-num {
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  font-size: 1.6rem; color: var(--yellow); flex-shrink: 0;
  width: 48px;
}
.feature-item h4 { font-weight: 600; margin-bottom: 8px; font-size: 1.05rem; }
.feature-item p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.6; }

/* PROCESS STEPS */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 48px; }
.step-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; text-align: center;
  position: relative;
}
.step-num {
  font-family: 'Unbounded', sans-serif; font-weight: 800;
  font-size: 3rem; color: rgba(255,229,0,0.1); position: absolute;
  top: 16px; right: 24px;
}
.step-card h4 { font-weight: 600; margin-bottom: 10px; font-size: 1rem; position: relative; z-index: 1; }
.step-card p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.6; position: relative; z-index: 1; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border); padding: 60px 40px 40px;
}
.footer-inner {
  max-width: 1340px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand .logo { display: inline-block; margin-bottom: 16px; }
.footer-brand p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.6; max-width: 280px; }
.footer-col h5 {
  font-family: 'Unbounded', sans-serif; font-weight: 600;
  font-size: 0.85rem; margin-bottom: 18px; color: var(--text);
}
.footer-col a {
  display: block; color: var(--text-dim); font-size: 0.88rem;
  text-decoration: none; margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  max-width: 1340px; margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid var(--footer-line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: var(--text-dim);
}

/* SERVICE FULL CARDS */
.service-full {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 48px; margin-bottom: 20px;
  display: flex; gap: 36px; cursor: inherit; transition: all 0.35s;
  position: relative; overflow: hidden;
}
.service-full::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--yellow), var(--orange));
  opacity: 0; transition: opacity 0.3s;
}
.service-full:hover { border-color: var(--card-hover-border); transform: translateX(4px); }
.service-full:hover::before { opacity: 1; }
.service-full-num {
  font-family: 'Unbounded', sans-serif; font-weight: 800;
  font-size: 3.5rem; color: rgba(255,229,0,0.08); line-height: 1;
  flex-shrink: 0; width: 80px;
}
.service-full-content { flex: 1; }
.service-full-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.service-full-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(255,229,0,0.1); display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; flex-shrink: 0;
}
.service-full-header h3 {
  font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 1.3rem;
}
.service-full-desc {
  color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; margin-bottom: 20px;
}
.service-full-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.service-full-tags span {
  background: var(--tag-bg); border: 1px solid var(--tag-border);
  color: var(--text-muted); font-size: 0.78rem; padding: 6px 14px;
  border-radius: 100px; font-weight: 500;
}

/* SYNERGY GRID */
.synergy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.synergy-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; transition: all 0.3s;
}
.synergy-card:hover { border-color: var(--card-hover-border); }
.synergy-formula {
  font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 1.05rem;
  color: var(--yellow); margin-bottom: 12px;
}
.synergy-card p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.65; }

@media (max-width: 768px) {
  .service-full { flex-direction: column; gap: 16px; padding: 28px; }
  .service-full-num { font-size: 2.5rem; width: auto; }
  .synergy-grid { grid-template-columns: 1fr; }
}

/* DIVIDER */
.section-divider {
  max-width: 1340px; margin: 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--divider), transparent);
}

/* EXPERT ARTICLE */
.article-section {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 48px; margin-top: 48px;
}
.article-section h3 {
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  font-size: 1.4rem; margin-bottom: 24px; line-height: 1.3;
}
.article-section p {
  color: var(--text-muted); font-size: 0.95rem; line-height: 1.8;
  margin-bottom: 18px;
}
.article-section h4 {
  font-family: 'Unbounded', sans-serif; font-weight: 600;
  font-size: 1.05rem; margin: 32px 0 14px; color: var(--text);
}
.article-section blockquote {
  border-left: 3px solid var(--yellow); padding: 20px 24px;
  margin: 28px 0; background: var(--tag-bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.article-section blockquote p { margin-bottom: 10px; color: var(--text); font-style: italic; }
.expert-badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 4px; font-style: normal;
}
.expert-avatar {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.8rem; color: var(--black); flex-shrink: 0;
}
.expert-name { font-weight: 600; font-size: 0.85rem; color: var(--text); }
.expert-role { font-size: 0.78rem; color: var(--text-dim); }

@media (max-width: 768px) {
  .article-section { padding: 28px; }
}



/* ANIMATIONS */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate { opacity: 0; animation: fadeInUp 0.7s ease forwards; }
.animate.delay-1 { animation-delay: 0.1s; }
.animate.delay-2 { animation-delay: 0.2s; }
.animate.delay-3 { animation-delay: 0.3s; }
.animate.delay-4 { animation-delay: 0.4s; }
.animate.delay-5 { animation-delay: 0.5s; }

/* MOBILE NAV */
.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--bg); backdrop-filter: blur(20px);
  z-index: 999; flex-direction: column; padding: 24px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text); text-decoration: none; font-size: 1.1rem;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .hero { padding: 120px 20px 60px; }
  .section { padding: 60px 20px; }
  .inner-hero { padding: 120px 20px 40px; }
  .contact-section { padding: 60px 20px; }
  .contact-form { padding: 28px; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer { padding: 40px 20px 24px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons a, .hero-buttons button { width: 100%; text-align: center; justify-content: center; }
  .reviews-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .stats-bar { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}
@media (pointer: coarse), (max-width: 1024px) {
  a, button, .service-card, .service-full, .price-card, .feature-item,
  .review-card, .synergy-card, .step-card, .nav-cta, .btn-primary,
  .btn-secondary, .price-btn, .form-submit, .custom-select-trigger,
  .custom-select-option, .theme-toggle, .mobile-toggle, .service-link { cursor: pointer !important; }
}


/* Animated glowing border for AI-employee cards */
@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.card-hot {
  position: relative;
  border: none !important;
  overflow: visible !important;
}
.card-hot-border {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: conic-gradient(
    from var(--border-angle),
    transparent 25%,
    var(--orange) 40%,
    var(--yellow) 50%,
    var(--orange) 60%,
    transparent 75%
  );
  z-index: -1;
  animation: spinBorder 3s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 2px;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.card-hot:hover .card-hot-border {
  animation: spinBorder 3s linear infinite, fillBorder 0.6s ease forwards;
}
.card-hot::before {
  display: none !important;
}
.card-hot::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  border: 2px solid var(--orange);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  pointer-events: none;
  box-shadow: 0 0 20px rgba(255,107,0,0.3), inset 0 0 20px rgba(255,107,0,0.05);
}
.card-hot:hover::after {
  opacity: 1;
}
.card-hot:hover .card-hot-border {
  opacity: 0;
  transition: opacity 0.8s ease 0.3s;
}
.card-hot:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(255,107,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}
@keyframes spinBorder {
  to { --border-angle: 360deg; }
}


/* Shorter text on mobile */
@media (max-width: 768px) {
  .hero p, .inner-hero p { font-size: 0.95rem; }
  .section-desc { font-size: 0.92rem; }
  .article-section p { font-size: 0.88rem; }
  .service-full-desc { font-size: 0.88rem; }
  .hero h1, .inner-hero h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .section-title { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .stats-bar { margin-top: 40px; }
  .stat-num { font-size: 1.6rem; }
  .hero-buttons { margin-top: 32px; }
  .feature-item p, .step-card p, .synergy-card p { font-size: 0.84rem; }
  .review-text { font-size: 0.88rem; }
  .price-features li { font-size: 0.84rem; }
}