:root {
  --bg:#f7fafc;
  --panel:#ffffff;
  --ink:#0f172a;
  --muted:#475569;
  --primary:#2563eb;
  --accent:#10b981;
  --soft:#e2e8f0;
  --border:#e5e7eb;
  --shadow: 0 10px 30px rgba(2,6,23,.08);
  --dark:#0b1220;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 600px at -10% -20%, rgba(37,99,235,.12), transparent 40%),
    radial-gradient(700px 500px at 120% 0%, rgba(16,185,129,.12), transparent 35%),
    var(--bg);
}

/* Layout helpers */

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 16px;
}

.site-main {
  min-height: 70vh;
}

.section {
  padding: 3rem 0;
}

.section-light {
  padding: 3rem 0;
  background: #f9fafb;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

.card {
  background: linear-gradient(180deg, rgba(2,6,23,.03), transparent 30%), var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin: 2rem 0;
}

/* Typography helpers */

.kicker {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.subtle {
  color: var(--muted);
}

.bullet-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0 0 1rem;
}

.bullet-list li {
  margin-bottom: 0.4rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag-list li {
  background: var(--soft);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Buttons */

.button {
  background: linear-gradient(135deg,var(--primary),var(--accent));
  color: #fff;
  border: 0;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.button.small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.button-primary {
  background: linear-gradient(135deg,var(--primary),var(--accent));
  color: #fff;
}

.button-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(37,99,235,0.35);
  box-shadow: none;
}

.button-ghost:hover {
  background: rgba(37,99,235,0.05);
  box-shadow: none;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  /* Aliases for any old classes we used */
  @apply: none;
}

.btn-primary {
  composes: button button-primary;
}

.btn-secondary {
  composes: button;
}

.btn-ghost {
  composes: button button-ghost;
}

/* Alerts */

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.alert.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Tables */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.table th,
.table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

/* Hero */

.hero {
  background: linear-gradient(135deg, #1c7ed6, #22b8cf);
  color: #fff;
  padding: 4rem 0 4.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  font-weight: 800;
  margin: 0 0 1rem;
}

.hero-text p {
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 0 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-trust span::before {
  content: "";
}

.hero-visual img {
  max-width: 100%;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15,23,42,0.35);
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* Generic grids */

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Features */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.feature {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #1c7ed6;
}

/* Pricing */

.pricing-table {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.pricing-card {
  flex: 1 1 280px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  padding: 2rem;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.pricing-card h3 {
  margin-bottom: .5rem;
}

.pricing-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0.5rem 0 0.75rem;
  color: #1c7ed6;
}

.pricing-card .price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: #555;
  margin-right: 4px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.pricing-card ul li {
  margin: .35rem 0;
}

.pricing-card .button {
  margin-top: 0.25rem;
}

.pricing-card.featured {
  border: 2px solid #1c7ed6;
  box-shadow: 0 6px 14px rgba(28,126,214,0.2);
}

.pricing-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

/* Process */

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;

  list-style: none;
  padding-left: 0;
  counter-reset: step;
}

.process-steps li {
  counter-increment: step;
  position: relative;
  padding-left: 0;
}

.process-steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #e8f1ff;
  color: #1c7ed6;
  font-weight: 700;
  margin-right: 0.5rem;
}

.process-steps h3 {
  display: inline;
  font-size: 1.05rem;
  margin-left: 0.15rem;
}



.step {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1c7ed6;
}

.process-cta {
  margin-top: 2rem;
  text-align: center;
}

/* About page */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.about-photo img {
  max-width: 220px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-photo {
    text-align: center;
  }
}

/* Services grid */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.service-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.service-card h3 {
  margin-bottom: .5rem;
}

/* Portfolio */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-items: stretch;
}

.portfolio-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.portfolio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.portfolio-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: #475569;
  font-weight: 600;
  font-size: 1rem;
}

.portfolio-info {
  padding: 1.2rem;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.portfolio-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.portfolio-info p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.75rem;
}

.portfolio-info .note {
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Recent work (home) */

.recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.recent-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.recent-card:hover {
  transform: translateY(-5px);
}

.recent-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.recent-info {
  padding: 1.2rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.recent-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.recent-info p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

/* Testimonials */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}

.testimonial-card .quote {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
}

.testimonial-card .author {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Project detail pages */

.project-details ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.project-details li {
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}

.project-details li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #22b8cf;
  font-weight: bold;
}

.project-gallery {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.project-gallery img {
  border-radius: 8px;
  max-width: 280px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
  cursor: pointer;
}

.project-gallery img:hover {
  transform: scale(1.05);
}

/* Contact form */

.contact-section {
  padding: 3rem 0;
}

.contact-section h2 {
  margin-bottom: 0.5rem;
}

.contact-section p {
  max-width: 640px;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  outline: none;
  background: #fdfdfd;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus,
textarea:focus,
select:focus {
  border-color: #1c7ed6;
  box-shadow: 0 0 0 3px rgba(28, 126, 214, 0.15);
}

textarea {
  resize: vertical;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.95rem;
}

/* CTA */

.cta {
  text-align: center;
  padding: 3rem 2rem;
  background: #f8f9fa;
  border-radius: 12px;
  margin: 2rem 0;
}

.cta h2 {
  margin-bottom: .5rem;
}

.section-cta-final {
  background: #0f172a;
  color: #fff;
  padding: 3rem 0;
}

.cta-final-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.cta-final-inner p {
  max-width: 420px;
}

@media (max-width: 768px) {
  .cta-final-inner {
    flex-direction: column;
    text-align: center;
  }
}

.centered-actions {
  text-align: center;
  margin-top: 2rem;
}

/* Header + nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 12px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  max-height: 44px;
  height: auto;
  width: auto;
  display: block;
}

.logo a {
  font-weight: bold;
  font-size: 1.4rem;
  text-decoration: none;
  color: #1c7ed6;
  display: inline-block;
  white-space: nowrap;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.2s ease;
  display: block;
  padding: 8px 4px;
}

.site-nav a:hover {
  color: #1c7ed6;
}

/* Desktop nav */

.nav-links {
  display: flex;
  gap: 1.5rem;
}

/* Hamburger */

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

/* Hide mobile-only close on desktop */
.close-btn {
  display: none !important;
}

/* Mobile nav */

.mobile-overlay {
  display: none;
}

/* Contact + mobile responsive */

@media (max-width: 900px) {
  .form-row {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    z-index: 2001;
    line-height: 1;
    padding: 6px 10px;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 75%;
    max-width: 300px;
    background: #fff;
    padding: 2rem 1rem;
    box-shadow: 2px 0 12px rgba(0,0,0,.15);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 3001;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.active {
    display: flex !important;
    transform: translateX(0);
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
  }

  .nav-links a:hover {
    color: #1c7ed6;
  }

  .close-btn {
    display: block !important;
    align-self: flex-end;
    margin-bottom: 1rem;
  }

  .close-btn button {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 3000;
  }

  body.mobile-nav-open .mobile-overlay {
    display: block;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-nav {
    margin-left: auto;
  }

  .site-header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }

  .site-header .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    width: 75%;
  }

  .site-header .logo {
    flex: 0 0 auto;
  }  

  .menu-toggle {
    margin-left: auto;
  }  
}

/* Footer */

.site-footer {
  background: #0f172a;
  color: #fff;
  padding: 2rem 1.5rem;
  text-align: center;
}

.site-footer a {
  color: #22b8cf;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ==========================
   Project image lightbox
========================== */

.lightbox {
  display: none;              /* hidden by default */
  position: fixed;            /* sit on top of the page */
  inset: 0;                   /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.lightbox-content {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 35px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}

#lightbox-caption {
  margin-top: 12px;
  color: #fff;
  text-align: center;
}

/* Demo detail pages */

.demo-hero {
  padding-top: 4rem;
}

.demo-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.demo-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(28, 126, 214, 0.08);
  color: #1c7ed6;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.demo-subtitle {
  font-size: 1.05rem;
  margin-top: 0.4rem;
  color: #445;
}

.demo-highlights {
  list-style: none;
  padding-left: 0;
  margin: 0.9rem 0 0.5rem;
}

.demo-highlights li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.97rem;
  margin-bottom: 0.35rem;
}

.demo-highlights li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1c7ed6;
  font-weight: 700;
}

.demo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.demo-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: #666;
}

.demo-hero-media {
  max-width: 520px;
  margin-left: auto;
}

/* simple device frame for screenshots */

.device-frame {
  background: #0f141a;
  border-radius: 18px;
  padding: 0.85rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.device-frame img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

/* slimmer frame for mobile images */
.mobile-frame {
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}

/* panel style boxes */

.two-column-cards {
  gap: 1.75rem;
}

.panel {
  background: #fff;
  border-radius: 12px;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.panel h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.custom-fit-cards {
  align-items: stretch;
  gap: 1.5rem;
}

.panel-top {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.7rem;
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: rgba(28, 126, 214, 0.1);
  color: #1c7ed6;
  font-weight: 600;
}

.badge-soft {
  background: rgba(15, 23, 42, 0.04);
  color: #374151;
}

.panel-main {
  border-left: 3px solid #1c7ed6;
}

.panel-secondary {
  border-left: 3px solid rgba(148, 163, 184, 0.9);
  background: radial-gradient(circle at top left,
    rgba(148, 163, 184, 0.18),
    rgba(255, 255, 255, 0.95));
}

.custom-fit-cards .checklist li::before {
  content: "✓";
  top: -1px;
  font-size: 0.95rem;
  color: #1c7ed6;
}



.checklist {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.checklist li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 1.1rem;
  color: #1c7ed6;
}

/* gallery */

.demo-gallery {
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
}

.demo-gallery-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.demo-shot {
  text-align: center;
}

.demo-shot figcaption {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: #555;
}

.demo-bottom-cta {
  margin-top: 2.2rem;
}

.demo-bottom-cta p {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

/* responsive tweaks */

@media (max-width: 900px) {
  .demo-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .demo-hero-media {
    max-width: 460px;
    margin: 1.5rem auto 0;
  }

  .demo-hero {
    padding-top: 2.5rem;
  }
}

@media (max-width: 600px) {
  .panel {
    padding: 1.05rem 1.1rem;
  }

  .demo-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

.demo-hero-shell {
  background: linear-gradient(135deg, #f6f8fb 0%, #f2f7ff 40%, #f8fafc 100%);
  border-radius: 18px;
  padding: 1.8rem 1.8rem 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.demo-hero-logging .demo-pill {
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
}

.demo-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.75rem;
  margin: 0.9rem 0 0.6rem;
}

.demo-meta-item {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.04);
}

.demo-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #6b7280;
  display: block;
  margin-bottom: 0.15rem;
}

.demo-meta-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111827;
}

.demo-hero-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.3rem;
}

.demo-hero-tag {
  font-size: 0.8rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(255, 255, 255, 0.9);
  color: #374151;
}

/* responsive adjustments */
@media (max-width: 900px) {
  .demo-hero-shell {
    padding: 1.4rem 1.2rem 1.3rem;
  }

  .demo-hero-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.demo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

/* Only if your global .btn styles are light or missing */
.demo-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.demo-hero-actions .btn-primary {
  background: #1c7ed6;
  color: #fff;
  border: 1px solid #1c7ed6;
}

.demo-hero-actions .btn-outline {
  background: transparent;
  color: #1c7ed6;
  border: 1px solid rgba(28, 126, 214, 0.55);
}

/* Dark gallery frames for demo screenshots */

.demo-frame-dark {
  background: #050b11;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
  padding: 1.1rem;
}

.demo-shot img {
  width: 100%;
  border-radius: 14px;
  display: block;
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.demo-shot:hover img {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.demo-shot figcaption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: #e5e7eb;
  text-align: center;
}

.demo-frame-dark + figcaption,
.demo-frame-dark figcaption {
  color: #e5e7eb;
}

.demo-gallery-row-mobile .mobile-frame {
  max-width: 260px;
}

@media (max-width: 800px) {
  .demo-gallery-row {
    grid-template-columns: 1fr;
  }

  .demo-gallery-row-mobile {
    justify-items: center;
  }
}

.section-cta {
  padding-top: 0;
  padding-bottom: 3.5rem;
}

.demo-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #0b1220, #020617);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.55);
  color: #e5e7eb;
}

.demo-cta-text h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.demo-cta-text p {
  margin: 0;
  font-size: 0.97rem;
  color: #cbd5f5;
  max-width: 36rem;
}

.demo-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* tighten buttons slightly in this band if you want */
.demo-cta .btn {
  padding: 0.55rem 1.2rem;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .demo-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* CTA button adjustments */
.demo-cta-actions .btn {
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.demo-cta .btn-primary {
  background: #1c7ed6;
  border-color: #1c7ed6;
  color: #fff;
}

.demo-cta .btn-primary:hover {
  background: #176bb8;
}

.demo-cta .btn-cta-outline {
  color: #e5e7eb;
  border-color: rgba(229, 231, 235, 0.45);
}

.demo-cta .btn-cta-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(229, 231, 235, 0.75);
}

.demo-hero-landscaping .demo-pill {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
}
