/* Shared styles for LARIANS international demo pages */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --accent: #6D28D9;
  --accent2: #A855F7;
  --text: #17111F;
  --text2: #64748b;
  --bg: #F8F6FF;
  --card: rgba(255,255,255,0.9);
  --border: rgba(109,40,217,0.10);
  --r: 16px;
}
html { font-family: 'Manrope', 'Inter', sans-serif; color: var(--text); background: var(--bg); overflow-x: hidden; scroll-behavior: smooth; }
body { overflow-x: hidden; }
.container { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
section { padding: 56px 0; }
.section--alt { background: rgba(245,242,255,0.55); }
h1,h2,h3 { line-height: 1.2; }
a { color: var(--accent); }

/* Badge */
.demo-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(109,40,217,0.09); border: 1px solid rgba(109,40,217,0.16); border-radius: 999px; padding: 5px 12px; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .04em; text-transform: uppercase; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border: none; cursor: pointer; font-family: inherit; font-weight: 700; border-radius: 999px; text-decoration: none; transition: opacity .2s, transform .15s; }
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; padding: 13px 26px; font-size: 15px; }
.btn--ghost { background: rgba(109,40,217,0.07); color: var(--accent); padding: 12px 24px; font-size: 15px; border: 1px solid rgba(109,40,217,0.18); }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text2); text-decoration: none; padding: 7px 14px; border-radius: 999px; background: rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.07); }
.btn--back:hover { color: var(--accent); background: rgba(109,40,217,0.06); }

/* Top bar */
.demo-topbar { background: rgba(248,246,255,0.96); border-bottom: 1px solid rgba(109,40,217,0.08); padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); }
.demo-topbar__info { font-size: 12px; color: var(--text2); font-weight: 500; }
.demo-topbar__info strong { color: var(--accent); }
.demo-topbar__actions { display: flex; gap: 8px; align-items: center; }

/* Hero */
.demo-hero { padding: 64px 0 52px; position: relative; overflow: hidden; }
.demo-hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(168,85,247,0.12) 0%, transparent 70%); pointer-events: none; }
.demo-hero__badge { margin-bottom: 18px; }
.demo-hero__title { font-size: clamp(26px,4vw,46px); font-weight: 800; margin-bottom: 12px; }
.demo-hero__title span { color: var(--accent); }
.demo-hero__sub { font-size: 17px; color: var(--text2); line-height: 1.65; margin-bottom: 28px; max-width: 560px; }
.demo-hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Section title */
.sec-title { font-size: clamp(20px,3vw,30px); font-weight: 800; margin-bottom: 10px; }
.sec-sub { font-size: 15px; color: var(--text2); margin-bottom: 32px; line-height: 1.6; }

/* Cards grid */
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cards-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; }
.card__icon { font-size: 26px; margin-bottom: 10px; }
.card__title { font-size: 15px; font-weight: 700; margin-bottom: 7px; }
.card__text { font-size: 14px; color: var(--text2); line-height: 1.6; }
.card__price { font-size: 22px; font-weight: 800; color: var(--accent); margin: 8px 0 4px; }
.card__note { font-size: 12px; color: var(--text2); }

/* Price list */
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(109,40,217,0.07); font-size: 14px; }
.price-row:last-child { border-bottom: none; }
.price-row__name { font-weight: 600; }
.price-row__price { font-weight: 700; color: var(--accent); }

/* Feature list */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.feature-list li::before { content: '✓'; color: var(--accent); font-weight: 800; flex-shrink: 0; }

/* FAQ */
.faq-item { border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 10px; overflow: hidden; }
.faq-q { padding: 16px 18px; font-weight: 700; font-size: 14px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--card); }
.faq-q::after { content: '+'; font-size: 18px; color: var(--accent); flex-shrink: 0; }
.faq-a { display: none; padding: 0 18px 16px; font-size: 14px; color: var(--text2); line-height: 1.65; background: var(--card); }
.faq-item.is-open .faq-q::after { content: '−'; }
.faq-item.is-open .faq-a { display: block; }

/* Contact form */
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field label { font-size: 12px; font-weight: 700; color: var(--text2); text-transform: uppercase; letter-spacing: .04em; }
.form-field input, .form-field textarea, .form-field select { border: 1px solid rgba(109,40,217,0.18); border-radius: 10px; padding: 11px 14px; font-size: 16px; font-family: inherit; background: rgba(255,255,255,0.95); color: var(--text); outline: none; transition: border-color .2s; width: 100%; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--accent); }
.form-field textarea { min-height: 90px; resize: vertical; }
.form-note { font-size: 12px; color: var(--text2); text-align: center; }

/* Gallery placeholder */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.gallery-item { border-radius: 12px; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 24px; }

/* Info block */
.info-block { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: rgba(109,40,217,0.05); border-radius: 12px; border-left: 3px solid rgba(109,40,217,0.35); }
.info-block__text { font-size: 14px; color: var(--text); line-height: 1.6; }

/* Footer */
.demo-footer { background: rgba(255,255,255,0.6); border-top: 1px solid rgba(109,40,217,0.08); padding: 20px 0; text-align: center; }
.demo-footer__text { font-size: 12px; color: var(--text2); }

/* Map placeholder */
.map-placeholder { border-radius: var(--r); background: linear-gradient(135deg, rgba(109,40,217,0.06), rgba(168,85,247,0.04)); border: 1px solid var(--border); height: 200px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; color: var(--text2); font-size: 14px; }

/* Review card */
.review-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; }
.review-card__stars { color: #f59e0b; font-size: 14px; margin-bottom: 8px; }
.review-card__text { font-size: 13px; color: var(--text); line-height: 1.6; margin-bottom: 10px; font-style: italic; }
.review-card__author { font-size: 12px; color: var(--text2); font-weight: 600; }

/* CTA bottom */
.cta-block { text-align: center; background: linear-gradient(135deg, rgba(109,40,217,0.07), rgba(168,85,247,0.05)); border: 1px solid rgba(109,40,217,0.12); border-radius: 24px; padding: 48px 32px; }
.cta-block__title { font-size: clamp(20px,3vw,30px); font-weight: 800; margin-bottom: 10px; }
.cta-block__text { font-size: 15px; color: var(--text2); margin-bottom: 24px; }
.cta-block__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Mobile */
@media (max-width: 767px) {
  section { padding: 36px 0; }
  .cards-3 { grid-template-columns: 1fr; gap: 12px; }
  .cards-2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .demo-topbar { flex-wrap: wrap; }
  .btn--primary, .btn--ghost { width: 100%; justify-content: center; min-height: 48px; }
  .demo-hero__btns { flex-direction: column; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .cards-3 { grid-template-columns: repeat(2,1fr); }
}
