/*
Theme Name: ATLANT AI Automation Systems
Theme URI: https://atlant-marketing.com
Author: ATLANT AI
Author URI: https://atlant-marketing.com
Description: Custom WordPress theme for ATLANT AI Automation Systems — AI automation, AI agents, n8n workflows and business process automation.
Version: 1.8.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: atlant-ai
*/

:root {
  --bg: #f8fafc;
  --dark: #020617;
  --dark-2: #0f172a;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --cyan: #22d3ee;
  --emerald: #10b981;
  --blue-glow: rgba(59, 130, 246, .22);
  --cyan-glow: rgba(34, 211, 238, .12);
  --shadow: 0 24px 70px rgba(15, 23, 42, .12);
  --soft-shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(2, 6, 23, .92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
}
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  color: var(--dark);
  font-weight: 900;
  letter-spacing: -.05em;
}
.brand-title { font-size: 19px; line-height: 1; font-weight: 900; letter-spacing: -.03em; }
.brand-subtitle { margin-top: 4px; font-size: 12px; color: #94a3b8; }
.nav { display: flex; align-items: center; gap: 28px; color: #cbd5e1; font-size: 14px; }
.nav a:hover { color: #fff; }
.mobile-nav-note { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 0;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: #e2e8f0; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #1e293b; }
.btn-outline-light { border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.11); }
.btn-full { width: 100%; }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  padding: 110px 0 120px;
}
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -170px;
  width: 560px;
  height: 560px;
  transform: translateX(-50%);
  background: var(--blue-glow);
  border-radius: 999px;
  filter: blur(70px);
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 110px;
  width: 420px;
  height: 420px;
  background: var(--cyan-glow);
  border-radius: 999px;
  filter: blur(70px);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 58px;
}
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  font-size: 14px;
}
.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .98;
  letter-spacing: -.06em;
}
.hero p {
  margin: 28px 0 0;
  max-width: 700px;
  color: #cbd5e1;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 620px;
  gap: 14px;
  margin-top: 42px;
}
.stat {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  border-radius: 22px;
  padding: 18px;
}
.stat strong { display: block; font-size: 32px; line-height: 1; }
.stat span { display: block; margin-top: 8px; color: #94a3b8; font-size: 14px; }

.workflow-card-wrap {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  border-radius: 34px;
  padding: 16px;
  box-shadow: 0 30px 100px rgba(0,0,0,.3);
}
.workflow-card {
  background: #fff;
  color: var(--text);
  border-radius: 26px;
  padding: 22px;
}
.workflow-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; gap:16px; }
.workflow-eyebrow { color:#64748b; font-size:14px; font-weight:800; }
.workflow-title { font-size:22px; font-weight:900; }
.status {
  background: #dcfce7;
  color: #047857;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 12px;
}
.workflow-list { display:grid; gap:13px; }
.workflow-item {
  display: flex;
  align-items:center;
  gap:16px;
  background:#f8fafc;
  border:1px solid var(--line);
  border-radius:20px;
  padding:15px;
}
.icon-box {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:var(--dark);
  color:#fff;
  font-size:20px;
}
.workflow-item strong { display:block; line-height:1.25; }
.workflow-item span { display:block; color:#64748b; font-size:14px; margin-top:3px; }
.check { margin-left:auto; color: var(--emerald); font-weight:900; }

.section { padding: 90px 0; }
.section-white { background: #fff; }
.section-dark { background: var(--dark); color: #fff; }
.section-label {
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:999px;
  box-shadow: 0 5px 20px rgba(15,23,42,.05);
  font-weight:800;
  color:#334155;
  font-size:14px;
  margin-bottom:18px;
}
.section-dark .section-label { background: rgba(255,255,255,.1); color:#fff; border-color:rgba(255,255,255,.12); }
.section-title {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.section-text { margin: 20px 0 0; color: var(--muted); font-size:18px; line-height:1.8; }
.section-dark .section-text { color:#cbd5e1; }
.two-col { display:grid; grid-template-columns: .82fr 1.18fr; gap: 52px; align-items:start; }
.cards-4 { display:grid; grid-template-columns: repeat(4,1fr); gap:22px; }
.cards-2 { display:grid; grid-template-columns: repeat(2,1fr); gap:22px; }
.card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); box-shadow: var(--soft-shadow); padding:28px; }
.card:hover { box-shadow: var(--shadow); }
.card h3 { margin: 18px 0 0; font-size: 22px; line-height:1.2; letter-spacing:-.02em; }
.card p { margin: 12px 0 0; color: var(--muted); line-height:1.75; }
.tech-card { display:flex; align-items:center; gap:16px; padding:24px; }
.tech-card strong { font-size:17px; }

.demo-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items:center; }
.feature-list { margin-top: 28px; display:grid; gap:14px; }
.feature-item { display:flex; gap:11px; color:#334155; }
.feature-item .tick { color: var(--emerald); font-weight:900; }
.demo-box { background:#fff; border:1px solid var(--line); border-radius:28px; padding:16px; box-shadow: var(--shadow); }
.demo-head { display:flex; justify-content:space-between; align-items:center; gap:12px; border-radius:20px; padding:14px 16px; background:var(--dark); color:#fff; margin-bottom:16px; }
.demo-steps { display:grid; grid-template-columns: repeat(4,1fr); gap:10px; }
.demo-step { padding:16px; border:1px solid var(--line); background:#f8fafc; border-radius:18px; }
.demo-step:first-child { background:var(--dark); color:#fff; border-color:var(--dark); }
.demo-step .demo-icon { font-size:21px; margin-bottom:10px; }
.demo-step strong { font-size:14px; display:block; line-height:1.3; }
.demo-step span { display:block; margin-top:5px; font-size:12px; color:#64748b; }
.demo-step:first-child span { color:#cbd5e1; }
.code-box { margin-top:14px; background:#f8fafc; border:1px solid var(--line); border-radius:20px; padding:18px; }
.code-title { text-transform:uppercase; letter-spacing:.12em; color:#64748b; font-weight:900; font-size:12px; margin-bottom:10px; }
pre { margin:0; white-space:pre-wrap; overflow:auto; background: var(--dark); color:#a7f3d0; border-radius:16px; padding:18px; font-size:14px; line-height:1.5; }

.process-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:22px; }
.step-number { font-size:54px; line-height:1; font-weight: 950; color:#e2e8f0; margin-bottom:28px; }
.dark-card { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); border-radius:var(--radius); padding:28px; }
.dark-card .big-icon { font-size:32px; margin-bottom:18px; }
.dark-card h3 { margin:0; font-size:22px; }
.dark-card p { margin:12px 0 0; color:#cbd5e1; }
.pricing-head { text-align:center; max-width:760px; margin:0 auto 52px; }
.pricing-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.price-card { background:#fff; border:1px solid var(--line); border-radius:30px; padding:34px; box-shadow: var(--soft-shadow); }
.price-card.featured { background:var(--dark); border-color:var(--dark); color:#fff; box-shadow: var(--shadow); transform: translateY(-8px); }
.price-badge { display:inline-flex; background:#fff; color:var(--dark); border-radius:999px; padding:6px 11px; font-weight:900; font-size:12px; margin-bottom:18px; }
.price-card h3 { margin:0; font-size:24px; }
.price { margin-top:16px; font-size:40px; font-weight:950; line-height:1; letter-spacing:-.04em; }
.price-card p { color:var(--muted); }
.price-card.featured p { color:#cbd5e1; }
.price-list { display:grid; gap:11px; margin: 26px 0 30px; }
.price-list div { display:flex; gap:10px; }
.price-list .tick { color: var(--emerald); font-weight:900; }
.price-card.featured .tick { color: var(--cyan); }

.cta-panel { background:var(--dark); color:#fff; border-radius:36px; padding:56px; }
.cta-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:52px; align-items:start; }
.form-card { background:#fff; color:var(--text); border-radius:28px; padding:28px; }
.form-grid { display:grid; gap:14px; }
.input, .textarea {
  width:100%; border:1px solid var(--line); border-radius:18px; padding:14px 16px; font:inherit; outline:none; background:#fff;
}
.textarea { min-height:130px; resize:vertical; }
.input:focus, .textarea:focus { border-color: var(--dark); }
.form-note { font-size:12px; color:#64748b; margin:0; }

.site-footer { background: #020617; color:#cbd5e1; padding: 60px 0 30px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display:grid; grid-template-columns:1.25fr .75fr .75fr .9fr; gap:34px; }
.footer-brand { color:#fff; font-size:22px; font-weight:950; letter-spacing:-.04em; }
.footer-text { color:#94a3b8; margin:14px 0 0; max-width:420px; }
.footer-title { color:#fff; font-weight:900; margin-bottom:14px; }
.footer-links { display:grid; gap:10px; }
.footer-links a { color:#cbd5e1; }
.footer-links a:hover { color:#fff; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; border-top:1px solid rgba(255,255,255,.08); margin-top:42px; padding-top:24px; color:#94a3b8; font-size:14px; }

@media (max-width: 980px) {
  .nav { display:none; }
  .hero-grid, .two-col, .demo-grid, .cta-grid { grid-template-columns:1fr; }
  .cards-4, .process-grid, .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .hero { padding:80px 0; }
}
@media (max-width: 680px) {
  .container { width:min(100% - 26px, 1180px); }
  .header-inner { min-height:68px; }
  .header-inner .btn { display:none; }
  .hero h1 { font-size:42px; }
  .hero-stats, .cards-4, .cards-2, .process-grid, .pricing-grid, .demo-steps, .footer-grid { grid-template-columns:1fr; }
  .section { padding:64px 0; }
  .cta-panel { padding:28px; border-radius:28px; }
  .price-card.featured { transform:none; }
}


/* ATLANT AI v1.1 updates: custom logo, social links and video demo */
.brand-logo-img,
.footer-logo-img {
  display: inline-flex;
  align-items: center;
}
.brand-logo-img img.custom-logo {
  max-height: 48px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
}
.footer-logo-img img.custom-logo {
  max-height: 64px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
  filter: none;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  min-height: 42px;
}
.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.social-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff !important;
  font-size: 14px;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.social-link:hover {
  transform: translateY(-2px);
  background: rgba(34,211,238,.16);
  border-color: rgba(34,211,238,.45);
}
.demo-steps-five {
  grid-template-columns: repeat(5,1fr);
}
.demo-step {
  font: inherit;
  text-align: left;
  cursor: default;
}
.demo-step.active,
.demo-step:first-child {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.demo-step.active span,
.demo-step:first-child span {
  color:#cbd5e1;
}
.demo-video-wrap {
  margin-top: 14px;
  border: 1px solid var(--line);
  background: #020617;
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 18px 45px rgba(15,23,42,.14);
}
.demo-video {
  width: 100%;
  display: block;
  border-radius: 16px;
  background: #020617;
  aspect-ratio: 16 / 9;
}
.demo-video-note {
  margin: 12px 4px 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}
@media (max-width: 980px) {
  .demo-steps-five { grid-template-columns: 1fr 1fr; }
  .brand-logo-img img.custom-logo { max-width: 190px; }
}
@media (max-width: 640px) {
  .demo-steps-five { grid-template-columns: 1fr; }
  .brand-logo-img img.custom-logo { max-height: 42px; max-width: 170px; }
}

/* ATLANT AI v1.3: stable header + 5 demo video tabs */
.site-header .container.header-inner {
  width: min(1280px, calc(100% - 80px));
  max-width: 1280px;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 0;
}
.site-header .brand {
  flex: 0 0 auto;
  min-width: 240px;
  max-width: 300px;
  margin: 0;
  padding: 0;
}
.site-header .brand-logo-img,
.site-header .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  border-radius: 16px;
  overflow: hidden;
}
.site-header .brand-logo-img img.custom-logo,
.site-header .custom-logo {
  height: 58px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  display: block;
  border-radius: 16px;
}
.site-header .nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: 34px;
  white-space: nowrap;
  font-size: 16px;
}
.site-header .btn.btn-light {
  flex: 0 0 auto;
  min-height: 52px;
  padding: 14px 28px;
  white-space: nowrap;
}
.demo-step {
  cursor: pointer;
}
.demo-step:first-child:not(.active) {
  background: #f8fafc;
  color: var(--text);
  border-color: var(--line);
}
.demo-step:first-child:not(.active) span {
  color: #64748b;
}
.demo-empty {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  color: #cbd5e1;
  padding: 38px 24px;
  border-radius: 16px;
  background: #020617;
}
.demo-empty-icon {
  font-size: 42px;
}
.demo-empty strong {
  color: #fff;
  font-size: 18px;
}
.demo-empty span {
  max-width: 420px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}
.demo-video-wrap.is-empty {
  background: #020617;
}
@media (max-width: 980px) {
  .site-header .container.header-inner {
    width: min(100% - 32px, 1280px);
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    min-height: auto;
  }
  .site-header .brand { min-width: 0; max-width: 230px; }
  .site-header .brand-logo-img img.custom-logo,
  .site-header .custom-logo {
    height: 46px;
    max-width: 230px;
  }
  .site-header .nav {
    order: 3;
    width: 100%;
    flex: 0 0 100%;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }
}


/* ATLANT AI v1.6: mobile polish + form shortcode cleanup support */
@media (max-width: 768px) {
  html, body { max-width: 100% !important; overflow-x: hidden !important; }
  .container { width: calc(100% - 28px) !important; max-width: 100% !important; margin-left: auto !important; margin-right: auto !important; }

  .site-header { position: sticky !important; top: 0 !important; padding: 0 !important; }
  .site-header .container.header-inner {
    width: 100% !important; max-width: 100% !important; margin: 0 !important;
    padding: 14px 16px 16px !important; min-height: auto !important;
    display: flex !important; flex-direction: column !important; align-items: center !important;
    justify-content: center !important; gap: 12px !important; transform: none !important;
  }
  .site-header .brand {
    order: 1 !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important;
    flex: none !important; display: flex !important; justify-content: center !important; align-items: center !important;
    margin: 0 !important; padding: 0 !important; transform: none !important;
  }
  .site-header .brand-logo-img, .site-header .custom-logo-link {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    border-radius: 14px !important; overflow: hidden !important;
  }
  .site-header .brand-logo-img img.custom-logo, .site-header .custom-logo {
    height: 48px !important; max-width: 240px !important; width: auto !important;
    object-fit: contain !important; border-radius: 14px !important;
  }
  .site-header .btn.btn-light {
    order: 2 !important; display: inline-flex !important; width: auto !important; min-width: 220px !important;
    min-height: 44px !important; padding: 11px 22px !important; margin: 0 !important;
    font-size: 14px !important; line-height: 1.2 !important; transform: none !important;
  }
  .site-header .nav {
    order: 3 !important; width: 100% !important; max-width: 340px !important; flex: none !important;
    display: flex !important; align-items: center !important; justify-content: center !important; flex-wrap: wrap !important;
    gap: 10px 18px !important; margin: 0 auto !important; padding: 0 !important; white-space: normal !important;
    transform: none !important;
  }
  .site-header .nav a { font-size: 14px !important; line-height: 1.15 !important; font-weight: 800 !important; }

  .hero { padding: 56px 0 68px !important; }
  .hero-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 34px !important; width: 100% !important; }
  .badges { justify-content: flex-start !important; gap: 10px !important; margin-bottom: 24px !important; }
  .badge { max-width: 100% !important; font-size: 13px !important; padding: 9px 13px !important; line-height: 1.25 !important; }
  .hero h1 {
    max-width: 100% !important; font-size: clamp(34px, 10vw, 44px) !important; line-height: 1.08 !important;
    letter-spacing: -0.045em !important; word-break: normal !important; overflow-wrap: normal !important;
  }
  .hero p { max-width: 100% !important; font-size: 17px !important; line-height: 1.65 !important; }

  .hero-actions { display: grid !important; grid-template-columns: 1fr !important; gap: 12px !important; }
  .hero-actions .btn { width: 100% !important; min-height: 52px !important; }
  .hero-stats { display: grid !important; grid-template-columns: 1fr !important; max-width: 100% !important; gap: 12px !important; }

  .workflow-card-wrap, .workflow-card { width: 100% !important; max-width: 100% !important; }
  .workflow-card-wrap { padding: 10px !important; border-radius: 24px !important; }
  .workflow-card { padding: 16px !important; border-radius: 20px !important; }
  .workflow-item { padding: 13px !important; gap: 12px !important; }
  .workflow-item strong { font-size: 14px !important; }
  .workflow-item span { font-size: 12px !important; }

  .section { padding: 64px 0 !important; }
  .two-col, .demo-grid, .cta-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .cards-4, .cards-2, .process-grid, .pricing-grid, .footer-grid { grid-template-columns: 1fr !important; }
  .demo-steps-five { grid-template-columns: 1fr !important; }
  .cta-panel { padding: 26px !important; border-radius: 26px !important; }
  .form-card { padding: 20px !important; border-radius: 22px !important; }
}

@media (max-width: 420px) {
  .site-header .brand-logo-img img.custom-logo, .site-header .custom-logo { height: 44px !important; max-width: 220px !important; }
  .site-header .nav { max-width: 300px !important; gap: 10px 14px !important; }
  .site-header .nav a { font-size: 13.5px !important; }
  .hero h1 { font-size: 34px !important; }
}

/* ATLANT AI v1.6 stable footer/social + mobile fixes */
.social-links{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:22px;}
.social-link{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:13px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);color:#fff;text-decoration:none;transition:transform .2s ease,background .2s ease,border-color .2s ease;}
.social-link:hover{transform:translateY(-2px);background:rgba(255,255,255,.13);border-color:rgba(34,211,238,.45);}
.social-link svg{width:19px;height:19px;display:block;fill:currentColor;}
.social-link.facebook{color:#60a5fa}.social-link.instagram{color:#fb7185}.social-link.linkedin{color:#38bdf8}.social-link.telegram{color:#38bdf8}.social-link.tiktok{color:#f472b6}.social-link.youtube{color:#ef4444}
.footer-logo-img .custom-logo-link{display:inline-flex!important;line-height:0!important;border-radius:16px!important;overflow:hidden!important;}
.footer-logo-img img.custom-logo,.site-footer .custom-logo{max-height:58px!important;max-width:280px!important;width:auto!important;border-radius:16px!important;display:block!important;}

@media (max-width: 768px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important;}
  .site-header .container.header-inner{width:100%!important;max-width:100%!important;margin:0!important;padding:14px 16px 16px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:12px!important;transform:none!important;}
  .site-header .brand{order:1!important;width:100%!important;max-width:100%!important;flex:none!important;display:flex!important;justify-content:center!important;align-items:center!important;margin:0!important;padding:0!important;}
  .site-header .brand-logo-img,.site-header .custom-logo-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:14px!important;overflow:hidden!important;}
  .site-header .brand-logo-img img.custom-logo,.site-header .custom-logo{height:46px!important;max-width:230px!important;width:auto!important;object-fit:contain!important;border-radius:14px!important;}
  .site-header .btn.btn-light{order:2!important;display:inline-flex!important;width:auto!important;min-width:220px!important;min-height:44px!important;padding:11px 22px!important;margin:0!important;font-size:14px!important;line-height:1.2!important;transform:none!important;}
  .site-header .nav{order:3!important;width:100%!important;max-width:340px!important;flex:none!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:10px 18px!important;margin:0 auto!important;padding:0!important;white-space:normal!important;transform:none!important;}
  .site-header .nav a{font-size:14px!important;line-height:1.15!important;font-weight:800!important;}
  .container{width:calc(100% - 28px)!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;}
  .hero{padding:52px 0 68px!important;}
  .hero-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:34px!important;width:100%!important;}
  .hero-copy,.hero-visual{min-width:0!important;width:100%!important;max-width:100%!important;}
  .badges{justify-content:flex-start!important;gap:10px!important;margin-bottom:24px!important;}
  .badge{max-width:100%!important;font-size:13px!important;padding:9px 13px!important;line-height:1.25!important;}
  .hero h1{max-width:100%!important;font-size:clamp(30px,8.7vw,38px)!important;line-height:1.08!important;letter-spacing:-0.04em!important;word-break:normal!important;overflow-wrap:break-word!important;hyphens:auto!important;}
  .hero p{max-width:100%!important;font-size:16px!important;line-height:1.65!important;overflow-wrap:break-word!important;}
  .hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;}
  .hero-actions .btn{width:100%!important;min-height:52px!important;justify-content:center!important;}
  .hero-stats{display:grid!important;grid-template-columns:1fr!important;max-width:100%!important;gap:12px!important;}
  .workflow-card-wrap,.workflow-card{width:100%!important;max-width:100%!important;}
  .workflow-card-wrap{padding:10px!important;border-radius:24px!important;}
  .workflow-card{padding:16px!important;border-radius:20px!important;}
  .workflow-item{padding:13px!important;gap:12px!important;}
  .workflow-item strong{font-size:14px!important;}
  .workflow-item span{font-size:12px!important;}
  .section{padding:64px 0!important;}
  .two-col,.demo-grid,.cta-grid{grid-template-columns:minmax(0,1fr)!important;gap:32px!important;}
  .cards-4,.cards-2,.process-grid,.pricing-grid,.footer-grid{grid-template-columns:minmax(0,1fr)!important;}
  .demo-steps-five{grid-template-columns:minmax(0,1fr)!important;}
  .cta-panel{padding:26px!important;border-radius:26px!important;}
  .form-card{padding:20px!important;border-radius:22px!important;}
}
@media (max-width:420px){
  .site-header .brand-logo-img img.custom-logo,.site-header .custom-logo{height:44px!important;max-width:220px!important;}
  .site-header .nav{max-width:315px!important;gap:10px 14px!important;}
  .site-header .nav a{font-size:13.5px!important;}
  .hero h1{font-size:32px!important;}
}

.social-letter{font-weight:900;font-size:15px;line-height:1;text-transform:uppercase;}
.social-link.instagram .social-letter{font-size:22px;}
.social-link.youtube .social-letter{font-size:13px;}
.social-link.telegram .social-letter{font-size:13px;}


/* ATLANT AI v1.8 premium social icons */
.social-links{display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;margin-top:22px!important;}
.social-link{width:40px!important;height:40px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:14px!important;background:rgba(255,255,255,.075)!important;border:1px solid rgba(255,255,255,.12)!important;color:#e2e8f0!important;text-decoration:none!important;transition:transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease!important;cursor:pointer!important;position:relative!important;z-index:3!important;}
.social-link:hover{transform:translateY(-2px) scale(1.04)!important;background:rgba(255,255,255,.14)!important;border-color:rgba(34,211,238,.55)!important;}
.social-link svg{width:20px!important;height:20px!important;display:block!important;fill:currentColor!important;pointer-events:none!important;}
.social-link.facebook{color:#60a5fa!important;}.social-link.instagram{color:#fb7185!important;}.social-link.linkedin{color:#38bdf8!important;}.social-link.telegram{color:#38bdf8!important;}.social-link.tiktok{color:#f472b6!important;}.social-link.youtube{color:#ef4444!important;}
