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

:root {
    --color-cyan: #00D4D4;
    --color-cyan-light: #E5F8F8;
    --color-dark: #0A1628;
    --color-text: #1A1A1A;
    --color-text-light: #666666;
    --color-green: #00D48A;
    --color-orange: #FF9500;
    --color-pink: #FF006B;
    --color-yellow: #FFD700;
    --color-white: #FFFFFF;
    --color-gray-light: #F8F9FA;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
}

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

.header {
    background: rgba(255, 255, 255, 0.75); /* transparent */
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(10px);
}


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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav {
    display: flex;
    gap: var(--spacing-lg);
}

.nav a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--color-cyan);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.btn-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    transition: color 0.2s;
}

.btn-link:hover {
    color: var(--color-cyan);
}

.btn-primary { 
background: var(--color-cyan); 
color: var(--color-white); 
text-decoration: none; 
padding: 10px 20px; 
border-radius: 8px; 
font-weight: 600; 
font-size: 15px; 
transition: all 0.2s; 
display: inline-block; 
border: none; 
cursor: pointer; 
}



.btn-primary:hover {
    background: #00B8B8;
    transform: translateY(-1px);
}

.btn-large {
    padding: 14px 28px;
    font-size: 16px;
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
    display: inline-block;
    border: 1px solid #E5E7EB;
}

.btn-secondary:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
}

.btn-secondary-outline {
    background: transparent;
    color: var(--color-text);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
    display: inline-block;
    border: 2px solid var(--color-text);
}

.btn-secondary-outline:hover {
    background: var(--color-text);
    color: var(--color-white);
}

.hero {
    padding: var(--spacing-3xl) 0 var(--spacing-2xl) 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FDFD 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.hero-text {
    max-width: 600px;
}

.badge {
    display: inline-block;
    background: var(--color-cyan-light);
    color: var(--color-cyan);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.text-cyan {
    color: var(--color-cyan);
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 14px;
    color: var(--color-text);
}

.feature-item svg {
    color: var(--color-cyan);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.hero-footnote {
    font-size: 14px;
    color: var(--color-text-light);
}

.hero-image {
    position: relative;
}

.image-placeholder {
    border-radius: 16px;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    background: var(--color-white);
    padding: var(--spacing-sm);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    animation: float 3s ease-in-out infinite;
}

.job-complete {
    top: 20px;
    right: 20px;
}

.auto-scheduled {
    bottom: 20px;
    left: 20px;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--color-cyan-light);
    color: var(--color-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 20px;
}

.card-label {
    font-size: 12px;
    color: var(--color-text-light);
}

.card-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.stats {
display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid #E5E7EB;
    max-width: 700px;     /* 🔥 THIS is the fix */
    margin: 0;  
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-light);
}

.features-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-white);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-badge {
    display: inline-block;
    background: var(--color-gray-light);
    color: var(--color-text-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.cyan-badge {
    background: var(--color-cyan-light);
    color: var(--color-cyan);
}

.section-header h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.section-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--color-cyan);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 212, 212, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: var(--spacing-sm);
}

.feature-icon.cyan {
    background: var(--color-cyan-light);
    color: var(--color-cyan);
}

.feature-icon.green {
    background: #E5F8F0;
    color: var(--color-green);
}

.feature-icon.orange {
    background: #FFF5E5;
    color: var(--color-orange);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-light);
}

.integrations-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-gray-light);
}

.integration-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.integration-feature {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--color-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.integration-feature h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text);
}

.integration-feature p {
    font-size: 14px;
    color: var(--color-text-light);
}

.integrations-section .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 48px auto var(--spacing-2xl) auto;
  white-space: nowrap;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.integration-logo {
  background: var(--color-white);
  padding: var(--spacing-md);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 100px;
  border: 1px solid #E5E7EB;
  transition: all 0.3s;
}

.integration-logo img {
  max-width: 110px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
}



.integration-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.logo-placeholder {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
    line-height: 1.3;
}

.logo-placeholder.cyan-bg {
    background: var(--color-cyan);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 6px;
}

.logo-placeholder.pink-bg {
    background: var(--color-pink);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 6px;
}

.logo-placeholder.yellow-bg {
    background: var(--color-yellow);
    color: var(--color-text);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 6px;
}

.ai-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-white);
}

.ai-agents-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-md);
}

.ai-agent-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 16px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s;
}

.ai-agent-card:hover {
    border-color: var(--color-cyan);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 212, 212, 0.1);
}

.agent-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: var(--spacing-sm);
}

.agent-icon.cyan {
    background: var(--color-cyan-light);
    color: var(--color-cyan);
}

.ai-agent-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.ai-agent-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text-light);
}

.stats-banner {
    background: linear-gradient(135deg, var(--color-cyan) 0%, #00B8D4 100%);
    padding: var(--spacing-2xl) 0;
}

.stats-banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.stats-banner-item {
    text-align: center;
}

.stats-banner-value {
    font-size: 56px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-xs);
}

.stats-banner-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-gray-light);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.cta-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.cta-features {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    font-size: 14px;
    color: var(--color-text-light);
}

.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--spacing-2xl) 0 var(--spacing-lg) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo .logo-icon img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--spacing-md);
}


.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--color-cyan);
}

.footer-column h4 {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: var(--spacing-xs);
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--color-cyan);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 42px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai-agents-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-banner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .integration-features {
        grid-template-columns: 1fr;
    }

    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ai-agents-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .stats-banner-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-features {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-xs);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .stat-value {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .stats-banner-value {
        font-size: 36px;
    }

    .cta-content h2 {
        font-size: 32px;
    }
}

/* Integration logos sizing (do not edit above styles) */
.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-placeholder img {
  max-height: 26px; /* change to 22px if needed */
  max-width: 80%;
  width: auto;
  height: auto;
  display: block;
}
/* ===== HERO IMAGE SIZE + FLOATING CARDS FIX (paste at very bottom) ===== */

/* Push hero image block to the right, like the reference */
.hero-image{
  display: flex;
  justify-content: flex-end;
}

/* Control the hero image "card" size */
.hero-image .image-placeholder{
  width: min(640px, 100%);   /* Increase/decrease this to match reference */
  aspect-ratio: 16 / 10;     /* Keeps consistent shape like the sample */
  border-radius: 24px;       /* More premium corners */
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* Make sure your actual <img> fills the card properly */
.hero-image .image-placeholder img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating cards: match the reference (slightly outside corners) */
.hero-image .floating-card{
  border-radius: 14px;
  padding: 14px 16px;
}

/* Top-right: Invoice sent */
.hero-image .job-complete{
  top: 18px;
  right: -22px;  /* outside a bit */
}

/* Bottom-left: Next job */
.hero-image .auto-scheduled{
  bottom: -22px; /* outside a bit */
  left: -22px;   /* outside a bit */
}

/* Mobile: keep cards inside so they don’t go off-screen */
@media (max-width: 768px){
  .hero-image{
    justify-content: center;
  }

  .hero-image .image-placeholder{
    width: min(560px, 100%);
    aspect-ratio: 16 / 11;
  }

  .hero-image .job-complete{
    right: 12px;
    top: 12px;
  }
  .hero-image .auto-scheduled{
    left: 12px;
    bottom: 12px;
  }
}
/* Remove solid color backgrounds from integration logos */
.logo-placeholder.cyan-bg,
.logo-placeholder.pink-bg,
.logo-placeholder.yellow-bg {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.logo-image {
    height: 75px;
    width: auto;
    display: block;
}

/* =========================
   MOBILE RESPONSIVE FIX PACK
   Paste at VERY BOTTOM
   ========================= */

@media (max-width: 768px){

  /* Prevent sideways scroll / layout overflow */
  html, body{
    overflow-x: hidden;
  }

  /* ---------- HEADER FIX ---------- */
  .header-content{
    gap: 12px;
    flex-wrap: wrap;
  }

  .logo{
    flex: 1 1 auto;
    min-width: 160px;
  }

  .header-actions{
    flex: 0 0 auto;
    margin-left: auto;
  }

  /* Stop "Book a Demo" breaking into multiple lines */
  .header .btn-primary{
    white-space: nowrap;
    min-width: 140px;
    text-align: center;
    padding: 10px 14px;
    font-size: 14px;
  }

  /* "Sign In" spacing */
  .header .btn-link{
    padding: 8px 10px;
    white-space: nowrap;
  }

  /* ---------- HERO FIX ---------- */
  .hero{
    padding: 56px 0 40px 0;
  }

  .hero-content{
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary{
    width: 100%;
    text-align: center;
  }

  /* ---------- INTEGRATIONS GRID FIX ---------- */
  .integrations-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .integration-logo{
    min-height: 92px;
    padding: 14px;
  }

  .integration-logo img{
    max-height: 38px;
  }

}

@media (max-width: 480px){

  /* Make header even tighter on very small screens */
  .header .btn-primary{
    min-width: 132px;
    font-size: 13px;
    padding: 10px 12px;
  }

  /* Integrations: still 2 columns but better spacing */
  .integrations-grid{
    gap: 12px;
  }
}
/* =========================
   Keystone Beta Modal (Premium + Stable)
   ========================= */
.ks-modal{
  position: fixed;
  inset: 0;
  z-index: 999999;                 /* stronger than WP overlays */
  isolation: isolate;              /* new stacking context */
  display: block;                  /* keep block so transitions work */
  
  /* animation setup */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.ks-modal.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Backdrop fade */
.ks-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .22s ease;
}

.ks-modal.is-open .ks-modal__backdrop{
  opacity: 1;
}

/* Panel glass + motion */
.ks-modal__panel{
  position: relative;
  z-index: 1; /* ensure panel sits above backdrop */
  width: min(620px, calc(100% - 32px));
  margin: 10vh auto 0 auto;

  /* glass effect */
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.22);

  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform .24s ease, opacity .24s ease;
}

.ks-modal.is-open .ks-modal__panel{
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Top layout with icon */
.ks-modal__top{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-right: 44px; /* space for close button */
}

.ks-modal__icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 22px;
  color: #062a2a;

  background: linear-gradient(135deg, #00D4D4 0%, #7C3AED 55%, #FF006B 100%);
  box-shadow: 0 10px 26px rgba(0, 212, 212, 0.25);
}

.ks-modal__title{
  font-size: 20px;
  font-weight: 750;
  margin: 0 0 6px 0;
  color: var(--color-text);
  letter-spacing: -0.2px;
}

.ks-modal__text{
  margin: 0;
  color: var(--color-text-light);
  line-height: 1.6;
  font-size: 15px;
}

.ks-modal__actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.ks-modal__btn{
  white-space: nowrap;
}

/* Close button nicer */
.ks-modal__close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: transform .15s ease, background .15s ease;
}

.ks-modal__close:hover{
  transform: scale(1.04);
  background: rgba(255,255,255,0.95);
}

/* Mobile */
@media (max-width: 480px){
  .ks-modal__panel{
    margin-top: 12vh;
    padding: 18px;
  }
  .ks-modal__top{
    padding-right: 40px;
  }
  .ks-modal__actions{
    flex-direction: column;
  }
}
/* Legal pages (EULA / Privacy) */
.legal-hero { padding: 56px 0 18px; }
.legal-title { margin: 10px 0 8px; }
.legal-subtitle { margin: 0; }

.legal-content { padding: 28px 0 72px; }
.legal-content .container { max-width: 900px; }

.legal-content h2 { margin: 22px 0 10px; }
.legal-content p { margin: 0 0 12px; line-height: 1.8; }
.legal-content ol { padding-left: 18px; margin: 8px 0 18px; }
.legal-content li { margin: 0 0 10px; }

.definitions dt { font-weight: 700; margin-top: 10px; }
.definitions dd { margin: 6px 0 12px 18px; }

/* ===== DEMO CONTACT SECTION (Scoped) ===== */

#demo-contact-section {
  padding: 84px 20px;
  background: #f8fafc;
}

#demo-contact-section * {
  box-sizing: border-box;
}

#demo-contact-section .dc-container {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: start;
}

#demo-contact-section .dc-left h2 {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  margin: 0 0 12px;
  color: #0f172a;
  letter-spacing: -0.02em;
}

#demo-contact-section .dc-left p {
  margin: 0 0 18px;
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
  max-width: 52ch;
}

#demo-contact-section .dc-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: #334155;
  font-size: 14px;
}

#demo-contact-section .dc-points li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}

#demo-contact-section .dc-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #0ea5e9;
  font-weight: 600;
}

#demo-contact-section .dc-right form {
  background: #ffffff;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 26px 55px rgba(2, 6, 23, 0.08);
  border: 1px solid rgba(226,232,240,0.9);
}

#demo-contact-section .dc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

#demo-contact-section .dc-field {
  margin-bottom: 14px;
}

#demo-contact-section label,
#demo-contact-section legend {
  display: block;
  font-size: 13px;
  color: #334155;
  margin-bottom: 8px;
  font-weight: 500;
}

#demo-contact-section input,
#demo-contact-section textarea,
#demo-contact-section select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  color: #0f172a;
  background: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

#demo-contact-section textarea {
  resize: vertical;
  min-height: 110px;
}

#demo-contact-section input:focus,
#demo-contact-section textarea:focus,
#demo-contact-section select:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 4px rgba(14,165,233,0.15);
}

#demo-contact-section .dc-phone {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
}

#demo-contact-section .dc-hint {
  font-size: 12px;
  color: #64748b;
  margin-top: 6px;
}

/* Checkbox group */
#demo-contact-section .dc-fieldset {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 12px 6px;
  margin: 10px 0 14px;
}

#demo-contact-section .dc-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  cursor: pointer;
  border-radius: 10px;
}

#demo-contact-section .dc-check:hover {
  background: #f8fafc;
}

#demo-contact-section .dc-check input {
  width: 16px;
  height: 16px;
  margin: 0;
}

#demo-contact-section button {
  width: 100%;
  padding: 13px 16px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  margin-top: 8px;
}

#demo-contact-section button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(20,184,166,0.22);
}

#demo-contact-section .dc-privacy {
  margin-top: 10px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  text-align: center;
}

/* Responsive */
@media (max-width: 980px) {
  #demo-contact-section .dc-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  #demo-contact-section .dc-row {
    grid-template-columns: 1fr;
  }
  #demo-contact-section .dc-right form {
    padding: 22px;
  }
}