 :root{
  --container: 1100px;
  --accent: #007aff; /* blue accent used for Download App */
  --text:#0b1220;
  --muted:#6b7280;
  --bg:#f6f6f8;
  --card:#ffffff;
  --radius:12px;
}

*{box-sizing:border-box}
html,body{height:100%;margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial;color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}
.container{max-width:var(--container);margin:0 auto;padding:20px}

/* Topbar / header (shared style used across pages) */
header {background-color: white;}
.topbar{display:flex;align-items:center;justify-content:space-between;padding:12px 0;background:var(--card);border-bottom:1px solid rgba(0,0,0,0.04);border-radius:0}
.brand{display:flex;align-items:center;gap:12px}
.brand-logo{height:44px}
.site-nav{display:flex;align-items:center;gap:12px}
.nav-link{margin-left:6px;text-decoration:none;color:var(--text);font-weight:600;padding:6px 8px;border-radius:8px}
.nav-link:hover{background:rgba(0,0,0,0.03)}
.lang-switch{margin-left:8px;text-decoration:none;color:var(--accent);font-weight:700;padding:8px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center}
.lang-switch:hover{background:rgba(0,122,255,0.06)}

/* Hide the checkbox itself */
.menu-toggle-input {
  display: none;
}

/* Hide the hamburger button on desktop */
.menu-button {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.menu-button span {
  width: 25px;
  height: 3px;
  background-color: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* Buttons */
.btn{border-radius:10px;padding:10px 14px;text-decoration:none;display:inline-block}
.btn-primary{background:var(--accent);color:#fff}
.btn-iClaraTM {
  background-color: #0056b3; /* Corporate Blue */
  color: #fff;
}

.btn-iClaraPFM {
  background-color: #28a745; /* Success Green */
  color: #fff;
}
.btn-outline{border:1px solid rgba(10,10,10,0.06);color:var(--text);background:#fff}
.appstore-btn{background:var(--accent);color:#fff;padding:8px 12px;border-radius:8px;text-decoration:none}
.btn-link{text-decoration:none;color:var(--text);padding:6px 8px}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns for desktop */
  align-items: center;
  gap: 30px;
  padding: 40px 0;
}
.hero-copy h1{font-size:48px;margin:0}
.lead{font-size:20px;font-weight:600;margin:8px 0}
.sub{color:var(--muted);margin:10px 0 18px}
.cta-group{display:flex;gap:12px}
.hero-image img{width:100%;max-width:320px;border-radius:18px;box-shadow:0 10px 30px rgba(0,0,0,0.08)}

/* Content cards and layout */
.card{background:var(--card);border-radius:var(--radius);padding:18px;margin:18px 0;box-shadow:0 4px 14px rgba(10,10,30,0.04)}
.card img{max-width:100%;height:auto;border-radius:8px}
/* Mobile default: stacked */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem; /* space between blocks */
}

/* Make sure both elements behave properly */
.two-col > div,
.two-col > aside {
  width: 100%;
}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:18px}
.feature{background:var(--card);padding:14px;border-radius:12px;box-shadow:0 6px 16px rgba(20,30,40,0.04)}
.feature img{width:100%;height:auto;border-radius:8px}
.feature h3{margin:12px 0 6px}
.feature p{color:var(--muted);margin:0}

/* Personas and detailed features */
.personas{margin-top:36px}
.persona-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:12px}
.persona-card{background:var(--card);padding:10px;border-radius:10px;text-align:center}
.persona-card img{width:100%;border-radius:8px}
.persona-card figcaption p{color:var(--muted);margin:8px 0 0}
.detailed-features{margin-top:36px}
.df-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:center;margin-bottom:22px}
.df-row.alt{direction:rtl}
.df-row.alt .df-text{direction:ltr}
.df-media img{width:100%;border-radius:10px}
.df-text h3{margin-top:0}
.df-text p{color:var(--muted)}

/* Footer */
.site-footer{background:#fff;border-top:1px solid rgba(0,0,0,0.03);padding:18px 0;margin-top:30px}
.footer-inner{
	display: grid;
	align-items:center;
	justify-content:space-between;
	gap:18px
}
.footer-left{
	display:flex;
	gap:12px;
	align-items:center
}
.footer-right a{
	margin-left:12px;
	text-decoration:none;
	color:var(--text)
}
.footer-logo{height:40px}
.attribution,.footer-note{padding:8px 0;text-align:center;color:var(--muted)}
.footer-note{margin-top:12px}
.center-card{text-align:center}

/* Utility */
.muted-note{font-size:14px;color:var(--muted);margin-top:8px}
.small{font-size:13px;color:var(--muted)}
.sr-only{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.feature-anchors{margin-top:12px;display:flex;gap:8px;flex-wrap:wrap}
.footer-note small{color:var(--muted)}
.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#f2f4f7;padding:6px 8px;border-radius:6px;display:inline-block}
.inline-img{max-width:100%;border-radius:8px;box-shadow:0 6px 18px rgba(0,0,0,0.04);margin-top:12px}
.faq-intro{margin:18px 0;color:var(--muted)}
.faq-search{display:flex;gap:8px;margin:12px 0}
.faq-search input{flex:1;padding:10px;border-radius:10px;border:1px solid rgba(0,0,0,0.06)}
.faq-list{margin-top:18px}
details{background:var(--card);padding:14px;border-radius:10px;margin-bottom:10px}
summary{font-weight:600;cursor:pointer;outline:none}
.faq-body{margin-top:10px;color:var(--muted)}
.support-contact{display:flex;gap:18px;align-items:flex-start;margin-top:18px}
.contact-box{background:var(--card);padding:14px;border-radius:10px}


/* Version history */
.version-history__items {
    padding-top: 0px;
    list-style: none;
}
.version-history__item {
    padding-top: 11px;
    padding-bottom: 12px;
    border-top: 1px solid #d6d6d6;
}
.version-history__item__version-number {
    margin-top: 0px;
    margin-bottom: 10px;
    float: left;
    font-size: 13px;
    line-height: 1.38462;
    font-weight: 600;
    letter-spacing: -.005em;
    font-family: "SF Pro Text", "SF Pro Icons", "Apple WebExp Icons Custom", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.version-history__item__release-date {
    float: right;
    margin-bottom: 10px;
    color: #636366;
    font-size: 13px;
    line-height: 1.38462;
    font-weight: 400;
    letter-spacing: -.005em;
    font-family: "SF Pro Text", "SF Pro Icons", "Apple WebExp Icons Custom", "Helvetica Neue", "Helvetica", "Arial", "sans-serif";
}
.version-history__item__release-notes {
    margin-bottom: 21px;
    clear: both;
    font-size: 13px;
    line-height: 1.38462;
    font-weight: 400;
    letter-spacing: -.005em;
    font-family: "SF Pro Text", "SF Pro Icons", "Apple WebExp Icons Custom", "Helvetica Neue", "Helvetica", "Arial", "sans-serif";
}



@media (max-width:520px){
  .feature-grid{grid-template-columns:1fr}
  .hero {
    grid-template-columns: 1fr; /* Force a single column */
    text-align: center;         /* Optional: centers text for a better mobile look */
  }

  .hero-copy {
    order: 1; /* Ensures text stays on top */
  }

  .hero-image {
    order: 2; /* Ensures image stays below text */
    margin-top: 18px;
    display: flex;
    justify-content: center; /* Centers the image */
  }

  .hero-image img {
    max-width: 280px; /* Scales the image down for small screens */
  }

  .cta-group {
    flex-direction: column;
    gap: 8px;
    align-items: center; /* Centers buttons if text-align is centered */
  }
  .site-nav{flex-wrap:wrap;gap:6px}
  .nav-link{font-size:14px;padding:6px}
  .appstore-btn{padding:8px 10px}
  /* Show the hamburger icon */
  .menu-button {
    display: flex;
  }

  /* Position the nav as a dropdown */
  .site-nav {
    display: none; /* Hide by default */
    position: absolute;
    top: 70px; /* Adjust based on your header height */
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    z-index: 100;
  }

  /* Show the nav when checkbox is checked */
  .menu-toggle-input:checked ~ .site-nav {
    display: flex;
  }

  /* Optional: Animate hamburger to 'X' when open */
  .menu-toggle-input:checked + .menu-button span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle-input:checked + .menu-button span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle-input:checked + .menu-button span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* Contenedor principal */
.ai-assistant {
    margin: 40px auto;
    padding: 25px;
    max-width: 600px;
    background-color: #f5f5f7; /* Gris claro estilo Apple */
    border-radius: 18px;
    text-align: center;
    border: 1px solid #d2d2d7;
}

/* Título del asistente */
.ai-assistant--title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Contenedor de botones */
.ai-assistant--buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Estilo base de los botones de IA */
.ai-assistant--buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: white;
}

.ai-assistant--buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ai-assistant--buttons svg {
    flex-shrink: 0;
}

/* Colores específicos de cada plataforma */
.btn--chatgpt {
    background-color: #10a37f; /* Verde oficial de OpenAI */
}

.btn--perplexity {
    background-color: #00aacc; /* Azul característico */
}

.btn--grok {
    background-color: #000000; /* Tono negro de Grok */
}

/* Ajuste para móviles */
@media (max-width: 480px) {
    .blog-ai-assistant--buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .blog-ai-assistant--buttons .btn {
        justify-content: center;
    }
}

/* Desktop layout */
@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 2fr 1fr; /* content + smaller sidebar */
    align-items: start;
  }
  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer-right {
    justify-self: end; /* pushes right block to the right */
  }
}