
:root{
  --primary:#1976d2;
  --secondary:#00bcd4;
  --ink:#0b1020;
  --muted:#5b677a;
  --bg:#f7f9fc;
  --card:#ffffff;
  --accent:#ff5aa5;
  --warning:#ffa726;
  --success:#2e7d32;
  --border:rgba(13,30,80,.08);
  --mainthemecolor: #3b82f6;  /* #039ae0; */
}

.challenge-text {
  color: #64748b;
}

.headerlogotext{color: var(--mainthemecolor);
font-size: 20px;
}
.logo:hover{text-decoration:none}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,sans-serif;color:var(--ink);background:var(--bg);}
a{color:#0a6fb5;text-decoration:none}
a:hover{text-decoration:none}
.container{max-width:1180px;margin:0 auto;padding:0 24px}
.button{display:inline-block;padding:14px 20px;border-radius:12px;background:linear-gradient(135deg,var(--primary),var(--secondary));color:white;font-weight:600;border:none;box-shadow:0 8px 24px rgba(16,24,40,.12)}
.button.secondary{background:transparent;border:1px solid var(--border);color:var(--ink)}
.button.white{background:white;color:var(--ink);border:1px solid var(--border)}
.nav a.button{
  background: transparent;
  border: 2px solid #3b82f6;
  color: #3b82f6;
  box-shadow: none;
}

/* Specific styles for navigation buttons */
.nav a.button.contact-button {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.nav a.button.login-button {
  background: #3b82f6;
  color: white;
  border: 2px solid #3b82f6;
  padding: 8px 16px;
  font-size: 0.9rem;
}
.nav{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.9);backdrop-filter:blur(8px);border-bottom:1px solid var(--border)}
.nav .inner{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.logo{display:flex;align-items:center;gap:12px}
.logo img{height:34px}
.logo span{font-weight:500;letter-spacing:.4px}
.nav a{margin:0 4px;font-weight:600;color:#293142}
.nav nav{display:flex;align-items:center;gap:8px}
.hero{padding:88px 0 40px;background:
 radial-gradient(1200px 500px at 10% -10%, rgba(25,118,210,.12), transparent 60%),
 radial-gradient(1200px 500px at 90% -20%, rgba(255,90,165,.14), transparent 60%),
 radial-gradient(1000px 480px at 50% 20%, rgba(0,188,212,.12), transparent 60%);
 border-bottom:1px solid var(--border);
}

/* Hero-specific process visual styling */
.hero .process-visual {
  height: auto;
  min-height: auto;
  max-height: 300px;
  padding-top: 3em;
  padding-right: 80px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 120px;
  max-width: 300px;
  flex-shrink: 0;
}

.hero .process-visual img {
  max-height: 280px;
  width: auto;
  max-width: 100%;
}
.hero h1{font-size:48px;line-height:1.05;margin:0 0 12px;color:#0c1130;text-align:center; }

.hero .container {
  max-width: 980px;
}

/* Typewriter text styles */
#typewriter-text {
  background: linear-gradient(135deg, #1976d2, #00bcd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}
.hero p{color:#424e63;font-size:20px}
h2{font-size:36px;line-height:1.2;margin:0 0 16px;color:var(--ink)}

/* Responsive h3 styles */
h3 {
  font-size: 1.5rem;
  margin: 0 0 16px;
  color: #1e293b;
  font-weight: 600;
  line-height: 1.3;
}

/* Large h3 for main headings */
h3.large {
  font-size: 2rem;
  margin: 0;
  color: #1e293b;
  font-weight: 600;
}

/* Responsive adjustments for h3 */
@media(max-width:900px){
  h3 {
    font-size: 1.25rem;
  }
  
  h3.large {
    font-size: 1.75rem;
  }
}

@media(max-width:600px){
  h3 {
    font-size: 1.125rem;
  }
  
  h3.large {
    font-size: 1.5rem;
  }
}
.hero-ctas{margin-top:26px;display:flex;gap:12px;flex-wrap:wrap}
.grid{display:grid;gap:20px}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.card{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:22px;box-shadow:0 10px 30px rgba(16,24,40,.06)}
.card h3{margin-top:0}
.badge{display:inline-block;padding:6px 12px;border-radius:999px;border:1px solid var(--border);font-size:12px;color:#3c465f;background:#fff}
.kicker{color:#64708a;font-weight:700;letter-spacing:.15em;text-transform:uppercase}
.footer{margin-top:60px;padding:36px 0;border-top:1px solid var(--border);color:#5a647c;font-size:14px;background:#fff}
.hero img.splash{width:100%;border-radius:16px;border:1px solid var(--border);box-shadow:0 30px 80px rgba(16,24,40,.15);background:#fff}
.section{padding:60px 0}
ul.check{list-style:none;padding:0;margin:0}
ul.check li{margin:10px 0;padding-left:28px;position:relative;color:#2b3245}
ul.check li:before{content:"✓";position:absolute;left:0;top:0;color:var(--success);font-weight:900}
.pricing-cta{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.placeholder{background:#f2f5fb;border-radius:14px;padding:8px}
.placeholder img{width:100%;border-radius:10px}
.post{background:var(--card);padding:22px;border-radius:16px;border:1px solid var(--border);box-shadow:0 10px 30px rgba(16,24,40,.06)}
.post h3{margin-top:0}
.code{font-family:ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;background:#eef2ff;padding:2px 6px;border-radius:6px;border:1px solid var(--border)}
.eyebrow{display:inline-block;background:#e7f5ff;border:1px solid #c7e8ff;color:#084d79;font-weight:700;border-radius:999px;padding:4px 10px;font-size:12px}

/* Process visual styling for transparent background images */
.process-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: var(--bg);
  border-radius: 16px;
  height: 100%;
  min-height: 400px;
}

.process-visual img {
  width: 100%;
  max-width: 300px;
  max-height: 400px; /* Limit height to prevent stretching */
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(16,24,40,0.1));
}

/* Ensure proper spacing for all content sections */
.section.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 24px;
}

/* Ensure grid items don't extend beyond container */
.grid .card,
.grid .post,
.grid .placeholder {
  max-width: 100%;
  box-sizing: border-box;
}

/* Two-column pricing and trial layout */
.pricing-trial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 20px 0;
}

.pricing-section,
.trial-section {
  display: flex;
  flex-direction: column;
}

/* Subtle pricing section styles */
.pricing-highlight {
  text-align: center;
  background: linear-gradient(135deg, rgba(25,118,210,.03), rgba(0,188,212,.03));
  border: 2px solid rgba(25,118,210,.08);
  border-radius: 20px;
  padding: 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pricing-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(25,118,210,.04), transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(0,188,212,.04), transparent 50%);
  pointer-events: none;
}

.pricing-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(25,118,210,.8), rgba(0,188,212,.8));
  color: white;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.pricing-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

/* Subtle trial section styles */
.trial-highlight {
  text-align: center;
  background: linear-gradient(135deg, rgba(255,90,165,.03), rgba(255,167,38,.03));
  border: 2px solid rgba(255,90,165,.08);
  border-radius: 20px;
  padding: 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trial-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,90,165,.04), transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255,167,38,.04), transparent 50%);
  pointer-events: none;
}

.trial-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255,90,165,.8), rgba(255,167,38,.8));
  color: white;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.trial-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, var(--accent), var(--warning));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trial-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

.pricing-cta,
.trial-cta {
  margin-top: auto;
  position: relative;
  z-index: 1;
}
@media(max-width:900px){
  .container {
    padding: 0 20px;
  }
  .section.container {
    padding: 60px 20px;
  }
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .hero h1{font-size:44px}
  
 
  /* Mobile responsive hero process visual */
  .hero .process-visual {
    order: 0;
    margin-top: 0;
    max-height: 250px;
    width: auto;
    justify-content: flex-end;
  }
  
  .hero .process-visual img {
    max-height: 220px;
  }
  
  /* Mobile responsive process visual */
  .process-visual {
    margin-bottom: 20px;
    padding: 16px;
    height: auto;
    min-height: auto;
  }
  
  .process-visual img {
    max-width: 250px;
  }
  h2{font-size:32px}
  .hero-ctas{justify-content:center}
  
  /* Mobile responsive pricing and trial styles */
  .pricing-trial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .pricing-highlight,
  .trial-highlight {
    padding: 30px 20px;
  }
  
  .pricing-title,
  .trial-title {
    font-size: 36px;
  }
  
  .pricing-subtitle,
  .trial-subtitle {
    font-size: 16px;
  }
  
  /* Fix navigation spacing when wrapped in mobile */
  .nav .inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
  }
  
  .nav nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
    justify-content: flex-start;
  }
  
  .nav nav a {
    padding: 6px 10px;
    font-size: 14px;
  }
  
  .nav nav a.button {
    padding: 8px 16px;
    margin-left: auto;
    font-size: 14px;
  }
  
  /* Improve phase separation on product page */
  .section.container.grid.grid-2 {
    gap: 40px;
  }
  
  .section.container.grid.grid-2 .card {
    position: relative;
    border-left: 4px solid var(--primary);
    margin-bottom: 20px;
  }
  
  .section.container.grid.grid-2 .card h3 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 16px;
    position: relative;
    padding-left: 40px;
  }
  
  .section.container.grid.grid-2 .card h3:before {
    content: attr(data-phase);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
  }
  
  .section.container.grid.grid-2 .placeholder {
    margin-bottom: 20px;
    border: 2px solid var(--border);
    background: var(--bg);
    position: relative;
  }
  
  .section.container.grid.grid-2 .placeholder:before {
    content: "Phase " attr(data-phase);
    position: absolute;
    top: -12px;
    left: 16px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
  }
  
  .section.container.grid.grid-2 .placeholder img {
    display: block;
    max-width: 100%;
    height: auto;
  }
}

/* Additional breakpoint for very small mobile devices */
@media(max-width:600px){
  .container {
    padding: 0 16px;
  }
  .section.container {
    padding: 60px 16px;
  }
  .nav .inner {
    padding: 12px 0;
    gap: 12px;
  }
  
  .nav nav {
    gap: 2px;
  }
  
  .nav nav a {
    padding: 4px 8px;
    font-size: 12px;
  }
  
  .nav nav a.button {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .hero h1 {
    font-size: 37px;
  }
    
  .hero p {
    font-size: 18px;
  }

  h2{font-size:28px}

  
  .section.container.grid.grid-2 .card h3 {
    font-size: 18px;
    padding-left: 36px;
  }
  
  .section.container.grid.grid-2 .card h3:before {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  
  /* Very small mobile process visual adjustments */
  .process-visual {
    padding: 12px;
  }
  
  .process-visual img {
    max-width: 200px;
  }
  
  /* Very small mobile hero process visual */
  .hero .process-visual {
    max-height: 200px;
    min-width: 100px;
    padding-right: 20px;
  }
  
  .hero .process-visual img {
    max-height: 180px;
    max-width: 120px;
  }
  
  /* Handle very narrow screens */
  @media (max-width: 480px) {
    .hero .process-visual {
      max-height: 180px;
      min-width: 80px;
      padding-right: 10px;
      /* To leave space for the buttons on the right side */
      padding-bottom: 40px;
    }
    
    .hero .process-visual img {
      max-height: 160px;
      max-width: 100px;
    }
 
  }
}

/* Image popup modal styles */
.image-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.image-popup-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-popup-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-popup-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  color: #555;
  transition: all 0.2s ease;
  z-index: 10001;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
}

.image-popup-close:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 0, 0, 0.2);
  color: #333;
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.image-popup-close:active {
  transform: scale(0.95);
}

.image-popup-close:before {
  content: "×";
  line-height: 1;
}

/* Make clickable images have a subtle hover effect */
.clickable-image {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clickable-image:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Mobile responsive popup */
@media (max-width: 768px) {
  .image-popup-container {
    max-width: 95vw;
    max-height: 95vh;
    padding: 20px;
  }
  
  .image-popup-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-width: 1px;
  }
}

/* Responsive "How it works" section */
@media (max-width: 900px) {
  /* Make step containers stack vertically on narrow screens */
  .step-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
    margin-bottom: 80px !important;
  }
  
  /* Ensure step numbers maintain circular shape */
  .step-number {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    flex-shrink: 0 !important;
  }
  
  /* Remove order properties that were used for alternating layout */
  .step-container > div {
    order: unset !important;
  }
  
  /* Ensure images come after text content */
  .step-container > div:last-child {
    order: 2;
  }
  
  .step-container > div:first-child {
    order: 1;
  }
}

/* Additional responsive adjustments for very narrow screens */
@media (max-width: 600px) {
  .step-container {
    gap: 30px !important;
    margin-bottom: 60px !important;
  }
  
  .step-number {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    min-height: 45px !important;
    font-size: 1.25rem !important;
  }
}
