/* ============================================================
   MARKETECH-SOLUTIONS.COM — Bannerbear-style Redesign
   Inspired by bannerbear.com (original design)
   ============================================================ */

/* ---- CSS Custom Properties ---- */
:root {
  --yellow: #FFD700;
  --green: #69CF95;
  --blue-accent: #64DAEE;
  --royal-blue: #3E8DFF;
  --pale-blue: #C6DDFF;
  --light-grey: #EEEEEE;
  --off-white: #F8F8F2;
  --code-bg: #383A59;
  --code-fg: #F8F8F8;
  --code-keyword: #8BE9FD;
  --code-operator: #FF79C6;
  --code-string: #F1FA8C;
  --link-blue: #007AFF;
  --red: #FF0000;
  --black: #000000;
  --white: #FFFFFF;
  --text-muted: #666;
  --nav-h: 80px;
  --container-w: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Roboto Mono', 'SF Mono', 'Fira Code', monospace;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--link-blue); text-decoration: none; transition: all 0.2s; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; vertical-align: middle; }

/* ---- Typography ---- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 65.6px); }
h2 { font-size: clamp(2rem, 3.6vw, 43.2px); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { color: var(--black); }
code { font-family: var(--font-mono); }

/* ---- Container ---- */
.container { width: 100%; max-width: var(--container-w); margin: 0 auto; padding: 0 20px; }
.container_inner { width: 100%; }

/* ---- Big Layer (Full-width section wrapper) ---- */
.biglayer { width: 100%; position: relative; }
.biglayer.has_drip::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 40px;
  background: inherit;
  clip-path: url(#drip-clip);
  pointer-events: none;
  z-index: 2;
}
.fill_yellow { background: var(--yellow); }
.fill_white { background: var(--white); }
.fill_blue { background: var(--blue-accent); }
.fill_light_grey { background: var(--light-grey); }
.fill_pale_blue { background: var(--pale-blue); }
.fill_royal_blue { background: var(--royal-blue); }
.fill_black { background: var(--black); }

/* ---- Columns (Bulma-like grid) ---- */
.columns { display: flex; flex-wrap: wrap; margin: -10px; }
.columns.is-gapless { margin: 0; }
.columns.is-gapless > .column { padding: 0; }
.columns.is-vcentered { align-items: center; }
.column { flex: 1; padding: 10px; min-width: 0; }
.column.is-half { flex: 0 0 50%; max-width: 50%; }
.column.is-three-fifths { flex: 0 0 60%; max-width: 60%; }
.column.is-two-fifths { flex: 0 0 40%; max-width: 40%; }
.column.is-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
.column.is-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.column.is-3 { flex: 0 0 25%; max-width: 25%; }
.column.is-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }
.column.is-1 { flex: 0 0 8.3333%; max-width: 8.3333%; }

/* ---- Level (Bulma-like horizontal alignment) ---- */
.level { display: flex; align-items: center; justify-content: space-between; }
.level-left { display: flex; align-items: center; }
.level-right { display: flex; align-items: center; margin-left: auto; }
.level-item { display: flex; align-items: center; }

/* ---- Navigation ---- */
.navbar {
  background: var(--yellow);
  height: var(--nav-h);
  position: relative;
  z-index: 3000;
  border-bottom: none;
}
.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.navbar-brand {
  display: flex;
  align-items: center;
}
.navbar-brand img {
  height: 38px;
  width: auto;
}
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0;
}
.navbar-item {
  display: flex;
  align-items: center;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}
.navbar-item:hover { text-decoration: none; }
.navbar-end { margin-left: auto; display: flex; align-items: center; }
.navbar-item.has-dropdown { padding-right: 8px; }
.navbar-link {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar-link::after {
  content: '▾';
  font-size: 10px;
  margin-left: 2px;
}
.dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 5px;
  box-shadow: 0 9.6px 19.2px -2.4px rgba(10,10,10,0.1), 0 0 0 1px rgba(10,10,10,0.02);
  min-width: 200px;
  z-index: 3001;
  padding: 8px 0;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-item {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 400;
  color: var(--black);
  white-space: nowrap;
}
.dropdown-item:hover { background: var(--light-grey); text-decoration: none; }
.dropdown-divider {
  border-top: 1px solid rgb(237, 237, 237);
  margin: 4px 0;
}
.navbar-burger {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  padding: 8px;
}
.navbar-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  margin: 4px auto;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- Buttons ---- */
.btn, .bigbutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--green);
  color: var(--black);
  border: 2px solid var(--black);
  border-radius: 5px;
  font-family: var(--font);
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  box-shadow: var(--black) 3px 3px 0 0;
  white-space: nowrap;
}
.btn:hover, .bigbutton:hover {
  text-decoration: none;
  transform: translate(-1px, -1px);
  box-shadow: var(--black) 4px 4px 0 0;
}
.btn-lg { padding: 20px 45px; font-size: 24px; }
.btn-md { padding: 14px 32px; font-size: 19.2px; }
.btn-sm { padding: 10px 20px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn-ghost {
  background: transparent;
  box-shadow: none;
  border: none;
  color: var(--link-blue);
  font-weight: 400;
  font-size: 16px;
  padding: 0;
}
.btn-ghost:hover {
  transform: none;
  box-shadow: none;
  text-decoration: underline;
}

/* ---- Badge / Pill ---- */
.badge-new {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  vertical-align: middle;
  line-height: 1;
}

/* ---- Hero Section ---- */
.hero-section {
  background: var(--yellow);
  padding: 40px 0;
  position: relative;
}
.hero-section .container_inner {
  padding: 40px 20px;
}
.hero-text h1 {
  font-size: clamp(2.5rem, 5.5vw, 65.6px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-text p {
  font-size: 24px;
  line-height: 1.5;
  color: var(--black);
  margin-bottom: 24px;
  max-width: 540px;
}
.hero-text .checkmark-row {
  font-size: 16px;
  margin-top: 12px;
  color: var(--black);
}
.hero-text .checkmark-row::before {
  content: '✓ ';
  font-weight: 700;
}

/* ---- Code Window ---- */
.code-window {
  background: var(--code-bg);
  border-radius: 0 0 5px 5px;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.5;
  color: var(--code-fg);
  overflow: hidden;
  margin: -10px 0 0;
}
.code-window .bar {
  background: var(--code-bg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.code-window .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.code-window .dot.r { background: #ff5f57; }
.code-window .dot.y { background: #ffbd2e; }
.code-window .dot.g { background: #28c840; }
.code-window .bar-text { margin-left: auto; color: rgba(255,255,255,0.3); font-size: 12px; font-family: var(--font-mono); }
.code-window pre {
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.5;
  color: var(--code-fg);
  overflow-x: auto;
  white-space: pre;
  background: var(--code-bg);
  margin: 0;
}
.code-window .kw { color: var(--code-keyword); }
.code-window .s { color: var(--code-string); }
.code-window .op { color: var(--code-operator); }
.code-window .cm { color: #6272A4; font-style: italic; }
.code-window .fn { color: var(--code-fg); }
.code-window .num { color: #BD93F9; }

/* ---- Lottie Container ---- */
.lottie-container {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lottie-container img, .lottie-container svg {
  max-width: 100%;
  max-height: 100%;
}

/* ---- Trust Strip ---- */
.trust-strip {
  background: var(--white);
  padding: 30px 0;
  text-align: center;
}
.trust-strip .columns {
  align-items: center;
  justify-content: center;
}
.trust-item {
  text-align: center;
  padding: 10px;
}
.trust-item .trust-logo {
  height: 40px;
  margin-bottom: 8px;
  display: block;
}
.trust-item .trust-label {
  font-size: 20.8px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  display: block;
  line-height: 1.2;
}
.trust-item .trust-sublabel {
  font-size: 20.8px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--black);
  display: block;
  line-height: 1.2;
}

/* ---- Section Base ---- */
.section-block { padding: 60px 0; position: relative; }
.section-block h2 {
  font-size: clamp(2rem, 3.6vw, 43.2px);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-block > .container > .container_inner { padding: 20px 0; }

/* ---- Demo Section (V5) ---- */
.demo-dropdowns {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.demo-dropdowns select {
  background: rgb(54,54,54);
  color: var(--white);
  border: none;
  border-radius: 0;
  padding: 8px 16px;
  font-size: 14px;
  font-family: var(--font);
  cursor: pointer;
}
.demo-cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.demo-card {
  text-align: center;
}
.demo-card .demo-label {
  font-size: 13.6px;
  font-weight: 400;
  line-height: 20.4px;
  margin-bottom: 6px;
  color: var(--black);
}
.demo-card .demo-preview {
  width: 300px;
  height: 300px;
  border: 2px solid var(--black);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--off-white);
  font-size: 14px;
  color: var(--text-muted);
  overflow: hidden;
}

/* ---- Flow Diagram (No Code section) ---- */
.flow-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.flow-box {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 5px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 9.6px 19.2px -2.4px rgba(10,10,10,0.1), 0 0 0 1px rgba(10,10,10,0.02);
  min-width: 160px;
  text-align: center;
}
.flow-arrow { font-size: 24px; color: var(--black); }

/* ---- Demos Grid ---- */
.demos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.demo-play-card {
  border: 2px solid var(--black);
  border-radius: 5px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
}
.demo-play-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.demo-play-card .play-icon {
  width: 60px;
  height: 60px;
  border: 2px solid var(--black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}
.demo-play-card h3 { font-size: 18px; margin-bottom: 8px; }
.demo-play-card p { font-size: 14px; color: var(--text-muted); }

/* ---- Integration / Plugin Grid ---- */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.integration-card {
  border: 2px solid var(--black);
  border-radius: 5px;
  padding: 24px;
  text-align: center;
  background: var(--white);
  transition: all 0.2s;
}
.integration-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.integration-card .int-icon { font-size: 36px; margin-bottom: 8px; display: block; }
.integration-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.integration-card p { font-size: 12px; color: var(--text-muted); }

/* ---- Pricing Page ---- */
.pricing-hero { padding: 60px 0; text-align: center; background: var(--white); }
.pricing-hero h1 { font-size: clamp(2.5rem, 5vw, 60.8px); font-weight: 800; letter-spacing: -0.03em; }
.pricing-hero p { font-size: 20px; margin-top: 12px; }

.pricing-table-wrap {
  overflow-x: auto;
  padding: 0 30px;
}
table.pricing_table_table {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  border: 2px solid var(--black);
  border-radius: 5px;
  border-collapse: collapse;
  background: var(--white);
}
table.pricing_table_table th,
table.pricing_table_table td {
  padding: 15px;
  border: 1px solid var(--black);
  text-align: center;
  font-size: 16px;
  vertical-align: middle;
}
table.pricing_table_table th { font-weight: 700; background: var(--yellow); }
table.pricing_table_table th:first-child { text-align: left; width: 200px; }
table.pricing_table_table th:not(:first-child) { width: 280px; }
table.pricing_table_table td:first-child {
  text-align: left;
  font-weight: 500;
}
table.pricing_table_table .section-header td {
  font-weight: 700;
  text-align: left;
  border-top: 2px solid var(--black);
  background: var(--light-grey);
}
table.pricing_table_table .price-cell .price-number { font-size: 40px; font-weight: 800; }
table.pricing_table_table .price-cell .price-period { font-size: 12.8px; color: var(--text-muted); }
table.pricing_table_table .price-cell .price-label { font-size: 16px; font-weight: 400; display: block; }
table.pricing_table_table .check { color: #008000; font-weight: 700; }
table.pricing_table_table .dash { color: #999; }

.pricing-cta-row td { padding: 20px 15px !important; }
.pricing-cta-row .btn { padding: 20px 0; font-size: 19.2px; display: block; text-align: center; }

/* ---- FAQ Accordion ---- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #ccc; padding: 16px 0; cursor: pointer; }
.faq-item h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item h4::after { content: '+'; font-size: 18px; font-weight: 700; }
.faq-item.open h4::after { content: '−'; }
.faq-item .faq-answer {
  display: none;
  font-size: 16px;
  line-height: 24px;
  padding-top: 8px;
  color: var(--black);
}
.faq-item.open .faq-answer { display: block; }

/* ---- Footer ---- */
.footer-biglayer {
  background: var(--black);
  color: var(--white);
  padding: 40px 0;
}
.footer-biglayer a { color: var(--link-blue); }
.footer-biglayer a:hover { text-decoration: underline; }
.footer-brand {
  font-size: clamp(1.8rem, 2.8vw, 34.56px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}
.footer-columns { display: flex; flex-wrap: wrap; gap: 30px; }
.footer-col { flex: 1; min-width: 150px; }
.footer-col h4 {
  font-size: 16px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 6px;
  opacity: 0.9;
}
.footer-col a:hover { color: var(--link-blue); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--white); }

/* ---- Mobile ---- */
@media (max-width: 1024px) {
  .column.is-half, .column.is-three-fifths, .column.is-two-fifths { flex: 0 0 100%; max-width: 100%; }
  .demos-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-text p { font-size: 20px; }
  .btn-lg { padding: 16px 32px; font-size: 20px; }
}
@media (max-width: 768px) {
  .navbar-burger { display: block; }
  .navbar-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--yellow);
    flex-direction: column;
    padding: 12px 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
    z-index: 3000;
  }
  .navbar-menu.is-active { display: flex; }
  .navbar-item { padding: 10px 0; width: 100%; }
  .dropdown-menu { position: static; border: none; box-shadow: none; background: transparent; padding-left: 16px; }
  .dropdown:hover .dropdown-menu { display: none; }
  .dropdown.is-active .dropdown-menu { display: block; }
  .dropdown-item { color: var(--black); }
  .navbar-end { margin-left: 0; width: 100%; }
  .columns { flex-direction: column; }
  .demos-grid { grid-template-columns: 1fr; }
  .integration-grid { grid-template-columns: 1fr; }
  .demo-cards { flex-direction: column; align-items: center; }
  .footer-col { flex: 0 0 50%; }
  .hero-section .container_inner { padding: 20px 20px; }
  .btn-lg { padding: 14px 28px; font-size: 18px; }
}
@media (max-width: 480px) {
  table.pricing_table_table th:not(:first-child),
  table.pricing_table_table td:not(:first-child) { font-size: 14px; padding: 10px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Demo preview image sizing */
.demo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Demo play card icon sizing */
.demo-play-card img {
  width: 60px;
  height: 60px;
  display: block;
  margin: 0 auto 16px;
}
/* Integration card icon sizing */
.integration-card img {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto 12px;
}

/* Lottie animation sizing */
lottie-player {
  display: block;
  margin: 0 auto;
}
