/* Font loading optimization (no remote fonts but ready for Inter) */
@font-face {
  font-family: 'system';
  font-display: swap;
  src: local('-apple-system'), local('BlinkMacSystemFont'), local('Segoe UI'), local('Roboto');
}

:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #d1fae5;
  --primary-50: #ecfdf5;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --dark: #0a1d12;
  --gray-900: #1f2937;
  --gray-700: #4b5563;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --success: #10b981;
  --warning: #f59e0b;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow: 0 4px 12px rgba(15,23,42,.08);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

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

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
p  { color: var(--gray-700); }

/* BREADCRUMB */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--gray-700);
  text-decoration: none;
  transition: color .15s;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--gray-300); font-weight: 300; }
.breadcrumb [aria-current="page"] { color: var(--gray-900); font-weight: 500; }

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--dark);
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  box-shadow: var(--shadow);
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--gray-700);
  font-weight: 500;
  font-size: .95rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-actions { display: flex; gap: 10px; align-items: center; }

.lang-switch {
  display: flex;
  gap: 4px;
  font-size: .85rem;
  background: var(--gray-100);
  padding: 4px;
  border-radius: 8px;
}
.lang-switch a {
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--gray-700);
  font-weight: 600;
}
.lang-switch a.active { background: var(--white); color: var(--primary); box-shadow: var(--shadow-sm); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, background .2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(5,150,105,.3);
}
.btn-primary:hover { background: var(--primary-dark); color: var(--white); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--gray-900);
  border: 1px solid var(--gray-300);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 14px 28px; font-size: 1rem; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: .3s;
}

/* HERO */
.hero {
  padding: 80px 0 60px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(5,150,105,.12), transparent 60%),
    radial-gradient(800px 400px at 0% 100%, rgba(0,194,168,.08), transparent 60%),
    var(--white);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 18px; }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 40px;
  display: flex;
  gap: 28px;
  font-size: .9rem;
  color: var(--gray-500);
  flex-wrap: wrap;
}
.hero-trust strong { color: var(--dark); display: block; font-size: 1.4rem; }

.hero-screenshot {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}
.screenshot-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}
.screenshot-bar i {
  width: 11px; height: 11px; border-radius: 50%;
  background: #ff5f57;
}
.screenshot-bar i:nth-child(2) { background: #febc2e; }
.screenshot-bar i:nth-child(3) { background: #28c840; }
.dashboard-mock {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 380px;
}
.dash-side {
  background: var(--dark);
  color: #cbd5e1;
  padding: 18px 12px;
  font-size: .85rem;
}
.dash-side .dash-logo {
  color: var(--white);
  font-weight: 700;
  margin-bottom: 22px;
  padding: 0 8px;
}
.dash-side ul { list-style: none; }
.dash-side li {
  padding: 9px 12px;
  border-radius: 8px;
  margin-bottom: 4px;
  cursor: default;
}
.dash-side li.on { background: rgba(255,255,255,.1); color: var(--white); }
.dash-main { padding: 18px; background: var(--gray-50); }
.dash-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.kpi {
  background: var(--white);
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--gray-200);
}
.kpi small { color: var(--gray-500); font-size: .7rem; }
.kpi b { display: block; font-size: 1.05rem; color: var(--dark); margin-top: 4px; }
.kpi .up { color: var(--success); font-size: .7rem; }
.dash-table {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--gray-200);
  padding: 14px;
}
.dash-table .row {
  display: grid;
  grid-template-columns: 1fr 1fr 80px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .8rem;
  align-items: center;
}
.dash-table .row:last-child { border-bottom: none; }
.tag {
  background: #d1fae5;
  color: #065f46;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: .7rem;
  text-align: center;
}
.tag.warn { background: #fef3c7; color: #92400e; }

/* SECTIONS */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head p { font-size: 1.05rem; }
.bg-soft { background: var(--gray-50); }

/* FEATURE GRID */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(5,150,105,.3);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}
.feature-card h3 { font-size: 1.1rem; }
.feature-card p { font-size: .95rem; }

/* MODULE BLOCKS (FEATURES PAGE) */
.module {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-200);
}
.module:last-child { border-bottom: none; }
.module.reverse > .module-text { order: 2; }
.module-text h2 { margin-bottom: 14px; }
.module-text ul { list-style: none; margin-top: 18px; }
.module-text ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--gray-700);
}
.module-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 8px;
  width: 20px; height: 20px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 700;
}
.module-img {
  background: linear-gradient(135deg, var(--primary-light), #f0fdf4);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.module-img .mock-card {
  background: var(--white);
  border-radius: 12px;
  padding: 18px;
  border: 1px solid var(--gray-200);
  margin-bottom: 12px;
}
.mock-card h4 { font-size: .95rem; margin-bottom: 10px; color: var(--dark); }
.mock-row {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: var(--gray-700);
  padding: 6px 0;
  border-bottom: 1px dashed var(--gray-200);
}
.mock-row:last-child { border-bottom: none; }

/* PRICING */
.pricing-toggle {
  display: inline-flex;
  background: var(--gray-100);
  padding: 6px;
  border-radius: 10px;
  margin: 0 auto 40px;
  gap: 4px;
}
.pricing-toggle button {
  border: none;
  background: transparent;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  color: var(--gray-700);
  font-size: .9rem;
}
.pricing-toggle button.on {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.pricing-toggle .save {
  font-size: .7rem;
  background: var(--accent);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 30px 60px rgba(5,150,105,.18);
  position: relative;
  transform: scale(1.03);
}
.price-card.featured::before {
  content: "Ən populyar";
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
}
.price-card h3 { font-size: 1.2rem; }
.price-card .price {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--dark);
  margin: 16px 0 4px;
}
.price-card .price small { font-size: .9rem; color: var(--gray-500); font-weight: 500; }
.price-card .desc { color: var(--gray-500); font-size: .9rem; margin-bottom: 20px; }
.price-card ul { list-style: none; flex: 1; margin-bottom: 24px; }
.price-card ul li {
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: .92rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.price-card ul li:last-child { border-bottom: none; }
.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* BLOG */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: grid;
  place-items: center;
  color: white;
  font-size: 3rem;
}
.blog-thumb.alt { background: linear-gradient(135deg, #00c2a8, #0d8e7c); }
.blog-thumb.alt2 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.blog-thumb.alt3 { background: linear-gradient(135deg, #6366f1, #4338ca); }
.blog-thumb.alt4 { background: linear-gradient(135deg, #ec4899, #be185d); }
.blog-thumb.alt5 { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.blog-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-body .meta {
  font-size: .8rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.blog-body h3 { font-size: 1.1rem; margin-bottom: 10px; flex: 1; }
.blog-body h3 a { color: var(--dark); }
.blog-body h3 a:hover { color: var(--primary); }
.blog-body p { font-size: .9rem; margin-bottom: 14px; }
.read-more { font-weight: 600; font-size: .9rem; }

/* ARTICLE */
.article-hero {
  background: var(--gray-50);
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--gray-200);
}
.article-hero .meta { color: var(--gray-500); font-size: .9rem; margin-bottom: 12px; }
.article-hero h1 { max-width: 800px; }
.article-body {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 24px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}
.article-body > p:first-of-type::first-letter {
  float: left;
  font-size: 4rem;
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(135deg, #059669, #047857);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 12px;
  padding-top: 6px;
}
.article-body h2 {
  margin: 48px 0 18px;
  font-size: 1.85rem;
  font-weight: 800;
  color: #0b1733;
  letter-spacing: -.01em;
  position: relative;
  padding-left: 18px;
}
.article-body h2::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 6px;
  background: linear-gradient(180deg, #059669, #047857);
  border-radius: 3px;
}
.article-body h3 {
  margin: 32px 0 12px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
}
.article-body p { margin-bottom: 18px; }
.article-body strong { color: #0b1733; font-weight: 700; }
.article-body a {
  color: #059669;
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(180deg, transparent 90%, rgba(5,150,105,.25) 90%);
  background-size: 100% 100%;
  transition: background-size .2s, color .2s;
}
.article-body a:hover {
  color: #047857;
  background-size: 100% 200%;
}

/* Lists with custom bullets */
.article-body ul, .article-body ol {
  margin: 20px 0;
  padding-left: 0;
  list-style: none;
}
.article-body ul li, .article-body ol li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: #334155;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669, #047857);
}
.article-body ol {
  counter-reset: ol-counter;
}
.article-body ol li {
  counter-increment: ol-counter;
}
.article-body ol li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669, #047857);
  color: white;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(5,150,105,.3);
}

/* Tables */
.article-body table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 28px 0;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15,23,42,.06);
  border: 1px solid #e2e8f0;
}
.article-body table thead tr,
.article-body table tr:first-child {
  background: linear-gradient(135deg, #059669, #047857);
}
.article-body table th,
.article-body table tr:first-child td {
  color: white;
  font-weight: 700;
  text-align: left;
  padding: 14px 18px;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.article-body table td {
  padding: 12px 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: .95rem;
}
.article-body table tr:not(:first-child):hover { background: #f8fafc; }
.article-body table tr:last-child td { border-bottom: none; }
.article-body table tr:nth-child(even):not(:first-child) { background: #fafbfc; }
.article-body table strong { color: #059669; }

/* Code/inline */
.article-body code {
  background: #ecfdf5;
  color: #059669;
  padding: 2px 8px;
  border-radius: 5px;
  font-size: .9em;
  font-family: 'SF Mono', Menlo, monospace;
  font-weight: 600;
}

/* Blockquotes */
.article-body blockquote {
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  border-left: 4px solid #059669;
  margin: 28px 0;
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #475569;
  position: relative;
}
.article-body blockquote::before {
  content: """;
  position: absolute;
  top: -10px; left: 14px;
  font-size: 4rem;
  color: #059669;
  line-height: 1;
  opacity: .3;
}

/* Images */
.article-body img {
  border-radius: 12px;
  margin: 24px 0;
  box-shadow: 0 8px 24px rgba(15,23,42,.1);
}

/* Callout boxes — used via inline class in content */
.article-body .callout-info,
.article-body .callout-tip,
.article-body .callout-warn,
.article-body .callout-success {
  border-radius: 12px;
  padding: 18px 22px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: start;
}
.article-body .callout-info { background: #ecfdf5; border-left: 4px solid #059669; color: #064e3b; }
.article-body .callout-tip { background: #f0fdf4; border-left: 4px solid #10b981; color: #065f46; }
.article-body .callout-warn { background: #fffbeb; border-left: 4px solid #f59e0b; color: #78350f; }
.article-body .callout-success { background: #f0fdf4; border-left: 4px solid #22c55e; color: #14532d; }

/* Highlight stat blocks */
.article-body .stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 28px 0;
}
.article-body .stat-grid > div {
  background: linear-gradient(135deg, #ecfdf5, #f0fdf4);
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}
.article-body .stat-grid b {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #059669, #047857);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.article-body .stat-grid span {
  font-size: .85rem;
  color: #64748b;
  margin-top: 4px;
  display: block;
}

/* HR */
.article-body hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
  margin: 40px 0;
}

@media (max-width: 720px) {
  .article-body { font-size: 1rem; padding: 0 18px; }
  .article-body h2 { font-size: 1.5rem; }
  .article-body table { font-size: .85rem; }
  .article-body table th, .article-body table td { padding: 10px 12px; }
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
}
.contact-info { padding-right: 20px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  transition: border-color .2s;
}
.contact-card:hover { border-color: var(--primary); }
.contact-card .ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-card h4 { margin-bottom: 4px; font-size: 1rem; }
.contact-card a { color: var(--gray-700); }

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
  color: var(--gray-900);
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  font-size: .95rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-status {
  display: none;
  padding: 12px 16px;
  border-radius: 10px;
  margin-top: 14px;
  font-size: .9rem;
}
.form-status.ok { display: block; background: #d1fae5; color: #065f46; }
.form-status.err { display: block; background: #fee2e2; color: #991b1b; }

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 70px 24px;
  border-radius: var(--radius-lg);
  margin: 60px 24px;
}
.cta-band h2 { color: white; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 26px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: white; color: var(--primary); }
.cta-band .btn-primary:hover { background: var(--gray-100); }

/* FOOTER */
.site-footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 60px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: white; font-size: 1rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #94a3b8; font-size: .9rem; }
.footer-grid a:hover { color: white; }
.footer-grid p { color: #94a3b8; font-size: .9rem; }
.footer-grid .logo { color: white; margin-bottom: 16px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

/* WHATSAPP FLOAT */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  z-index: 90;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); color: white; }
.wa-float svg { width: 30px; height: 30px; fill: white; }

/* ABOUT */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.stat-box {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px 16px;
}
.stat-box b {
  display: block;
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 4px;
}
.stat-box span { color: var(--gray-700); font-size: .9rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 18px;
}
.avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  font-size: 1.8rem;
  font-weight: 700;
}
.team-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card span { color: var(--gray-500); font-size: .9rem; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
  font-size: 1.02rem;
}
.faq-q::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 400;
  transition: transform .2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding-top: 12px;
  color: var(--gray-700);
  font-size: .95rem;
}
.faq-item.open .faq-a { display: block; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero-grid, .module, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .module.reverse > .module-text { order: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    gap: 14px;
    align-items: flex-start;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .nav-actions .btn-ghost { display: none; }
  section { padding: 60px 0; }
  .hero { padding: 50px 0 40px; }
  .form-row.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .dashboard-mock { grid-template-columns: 1fr; }
  .dash-side { display: none; }
}

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

/* ============== DEMO MODAL ============== */
.demo-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: flex-start; justify-content: center; padding: 24px; overflow-y: auto; }
.demo-modal.open { display: flex; }
.demo-modal-backdrop { position: absolute; inset: 0; background: rgba(10,29,18,.55); backdrop-filter: blur(4px); }
.demo-modal-dialog { position: relative; background: white; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.35); max-width: 480px; width: 100%; padding: 32px 28px; margin-top: 60px; animation: demoSlideUp .25s cubic-bezier(.2,.9,.2,1); }
@keyframes demoSlideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.demo-modal-close { position: absolute; top: 14px; right: 14px; background: none; border: none; font-size: 30px; line-height: 1; color: #64748b; cursor: pointer; padding: 0; width: 32px; height: 32px; }
.demo-modal-close:hover { color: #0a1d12; }
.demo-modal-eyebrow { display: inline-block; background: #d1fae5; color: #047857; padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 12px; }
.demo-modal-header h2 { margin: 0 0 8px; font-size: 1.5rem; line-height: 1.3; }
.demo-modal-header p { margin: 0 0 22px; color: #475569; font-size: .95rem; }
.demo-modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.demo-modal-form input { width: 100%; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 10px; font-size: .95rem; font-family: inherit; background: white; margin-bottom: 10px; transition: border-color .15s, box-shadow .15s; }
.demo-modal-form input:focus { outline: none; border-color: #059669; box-shadow: 0 0 0 3px rgba(5,150,105,.12); }
.demo-modal-submit { margin-top: 6px; width: 100%; }
.demo-modal-submit:disabled { opacity: .6; cursor: wait; }
.demo-modal-note { margin: 14px 0 0; color: #64748b; font-size: .78rem; text-align: center; line-height: 1.7; }
.demo-modal-status { margin-top: 14px; font-size: .9rem; padding: 10px 14px; border-radius: 10px; display: none; }
.demo-modal-status.ok { display: block; background: #d1fae5; color: #065f46; }
.demo-modal-status.err { display: block; background: #fee2e2; color: #991b1b; }
.demo-modal-status.loading { display: block; background: #fef3c7; color: #92400e; }
@media (max-width: 480px) { .demo-modal-row { grid-template-columns: 1fr; } .demo-modal-dialog { padding: 24px 18px; margin-top: 30px; } }
body.modal-open { overflow: hidden; }
