/* ============================================================
   HyperGlobal Token — SaaS Platform Stylesheet
   Palette: Deep Slate #0F172A · Blue #3B82F6 · Cyan #06B6D4
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: #334155;
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 14px; color: #0F172A; }
.section-subtitle { text-align: center; color: #64748B; max-width: 620px; margin: 0 auto 48px; font-size: 1.05rem; line-height: 1.6; }

/* --- Buttons --- */
.btn {
  display: inline-block; padding: 14px 32px; border-radius: 8px;
  font-size: 1rem; font-weight: 600; cursor: pointer; border: none;
  text-align: center; transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary { background: #3B82F6; color: #fff; }
.btn-primary:hover { background: #2563EB; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(59,130,246,.35); }
.btn-outline { background: transparent; color: #3B82F6; border: 2px solid #3B82F6; }
.btn-outline:hover { background: #3B82F6; color: #fff; }
.btn-cta { background: linear-gradient(135deg,#3B82F6,#06B6D4); color: #fff; }
.btn-cta:hover { opacity: .92; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(6,182,212,.3); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; background: #0F172A;
  z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { font-size: 1.25rem; font-weight: 700; color: #fff; letter-spacing: -.3px; }
.logo-text small { display: block; font-size: .52rem; font-weight: 400; text-transform: uppercase; letter-spacing: 2.5px; color: #06B6D4; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { font-weight: 500; font-size: .93rem; color: rgba(255,255,255,.75); }
.main-nav a:hover { color: #06B6D4; }
.header-cta .btn { padding: 10px 22px; font-size: .88rem; }

/* Hamburger */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; width: 28px; height: 22px; position: relative; z-index: 110; }
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after { display: block; background: #fff; height: 2px; width: 28px; border-radius: 2px; position: absolute; transition: all .3s; }
.nav-toggle-label span { top: 50%; transform: translateY(-50%); }
.nav-toggle-label span::before { content: ''; top: -8px; }
.nav-toggle-label span::after { content: ''; top: 8px; }
.nav-toggle:checked + .nav-toggle-label span { background: transparent; }
.nav-toggle:checked + .nav-toggle-label span::before { top: 0; transform: rotate(45deg); background: #fff; }
.nav-toggle:checked + .nav-toggle-label span::after { top: 0; transform: rotate(-45deg); background: #fff; }

/* ============================================================
   HERO — gradient overlay on bg image
   ============================================================ */
.hero { position: relative; min-height: 540px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg,rgba(15,23,42,.94) 0%,rgba(15,23,42,.75) 50%,rgba(15,23,42,.4) 100%); }
.hero-inner { position: relative; z-index: 1; padding: 80px 0 64px; }
.hero-content { max-width: 580px; }
.hero-content h1 { font-size: 2.7rem; line-height: 1.18; margin-bottom: 20px; color: #fff; }
.hero-content h1 em { font-style: normal; background: linear-gradient(135deg,#3B82F6,#06B6D4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p { font-size: 1.12rem; color: rgba(255,255,255,.78); margin-bottom: 32px; line-height: 1.7; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar { padding: 24px 0; background: #0F172A; border-top: 2px solid #1E293B; }
.trust-bar-inner { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.6); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.trust-badge-icon { font-size: 1.3rem; }

/* ============================================================
   FEATURES
   ============================================================ */
.features { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.feature-card {
  text-align: center; padding: 32px 18px; border-radius: 12px;
  background: #fff; border: 1px solid #E2E8F0;
  transition: box-shadow .3s, transform .25s, border-color .25s;
}
.feature-card:hover { box-shadow: 0 8px 30px rgba(15,23,42,.08); transform: translateY(-4px); border-color: #3B82F6; }
.feature-icon { font-size: 2.2rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: #0F172A; }
.feature-card p { color: #64748B; font-size: .88rem; line-height: 1.6; }

/* ============================================================
   PRODUCTS / SERVICES GRID
   ============================================================ */
.products { background: #F1F5F9; }
.products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.product-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  border: 1px solid #E2E8F0; transition: box-shadow .3s, transform .25s;
}
.product-card:hover { box-shadow: 0 12px 36px rgba(15,23,42,.1); transform: translateY(-4px); }
.product-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.product-card-body { padding: 24px; }
.product-card-body h3 { font-size: 1.15rem; margin-bottom: 8px; color: #0F172A; }
.product-card-body p { color: #64748B; font-size: .9rem; line-height: 1.6; margin-bottom: 16px; }
.product-tag { display: inline-block; padding: 4px 12px; border-radius: 20px; background: #EFF6FF; color: #3B82F6; font-size: .75rem; font-weight: 600; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { background: #F1F5F9; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.step { text-align: center; padding: 32px 18px; }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg,#3B82F6,#06B6D4); color: #fff;
  font-size: 1.3rem; font-weight: 700; margin-bottom: 18px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; color: #0F172A; }
.step p { color: #64748B; font-size: .88rem; line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: #fff; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testimonial-card { padding: 28px; border-radius: 12px; background: #F8FAFC; border: 1px solid #E2E8F0; }
.testimonial-text { font-style: italic; color: #475569; margin-bottom: 18px; line-height: 1.8; font-size: .93rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg,#3B82F6,#06B6D4); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .95rem;
}
.testimonial-name { font-weight: 600; font-size: .93rem; color: #0F172A; }
.testimonial-role { font-size: .78rem; color: #94A3B8; }

/* ============================================================
   SEO CONTENT
   ============================================================ */
.seo-content { background: #fff; }
.seo-content-inner { max-width: 800px; margin: 0 auto; }
.seo-content-inner h2 { font-size: 1.45rem; margin-bottom: 14px; margin-top: 28px; color: #0F172A; }
.seo-content-inner h2:first-child { margin-top: 0; }
.seo-content-inner h3 { font-size: 1.1rem; margin-bottom: 10px; margin-top: 22px; color: #0F172A; }
.seo-content-inner p { margin-bottom: 14px; color: #475569; line-height: 1.8; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: #F1F5F9; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #E2E8F0; }
.faq-item summary {
  padding: 16px 0; font-weight: 600; font-size: .98rem; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; color: #0F172A;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: #3B82F6; flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 0 16px; color: #475569; line-height: 1.8; font-size: .93rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0F172A; color: #ccc; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-text small { color: #06B6D4; }
.footer-brand p { margin-top: 10px; font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.45); }
.footer-col h4 { color: #06B6D4; margin-bottom: 12px; font-size: .92rem; }
.footer-col li { margin-bottom: 7px; }
.footer-col a { color: rgba(255,255,255,.55); font-size: .85rem; }
.footer-col a:hover { color: #3B82F6; }
.footer-col li:not(:has(a)) { color: rgba(255,255,255,.45); font-size: .85rem; line-height: 1.5; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.3); }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.5); font-size: .78rem; font-weight: 600;
  transition: background .2s, color .2s;
}
.social-icons a:hover { background: #3B82F6; color: #fff; }

/* ============================================================
   ABOUT US PAGE
   ============================================================ */
.page-hero { background: #0F172A; padding: 56px 0; text-align: center; }
.page-hero h1 { font-size: 2.1rem; color: #fff; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.65); font-size: 1.02rem; max-width: 600px; margin: 0 auto; }

.about-section { padding: 56px 0; }
.about-section:nth-child(even) { background: #F1F5F9; }
.about-section h2 { font-size: 1.4rem; margin-bottom: 14px; color: #0F172A; border-bottom: 3px solid #3B82F6; padding-bottom: 6px; display: inline-block; }
.about-section p { margin-bottom: 12px; color: #475569; line-height: 1.8; }

.differentiators { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 20px; }
.diff-item { background: #fff; padding: 24px; border-radius: 10px; border: 1px solid #E2E8F0; transition: border-color .2s; }
.diff-item:hover { border-color: #3B82F6; }
.diff-item h3 { font-size: 1.02rem; margin-bottom: 6px; color: #3B82F6; }
.diff-item p { font-size: .88rem; }

.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 20px; }
.team-member { text-align: center; padding: 24px 18px; background: #fff; border-radius: 10px; border: 1px solid #E2E8F0; }
.team-avatar {
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(135deg,#3B82F6,#06B6D4); margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem; font-weight: 700;
}
.team-member h3 { font-size: 1.02rem; margin-bottom: 3px; color: #0F172A; }
.team-role { font-weight: 600; color: #3B82F6; margin-bottom: 3px; font-size: .85rem; }
.team-expertise { color: #94A3B8; font-size: .82rem; }

.about-image-block { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-top: 20px; }
.about-image-block.reverse { direction: rtl; }
.about-image-block.reverse > * { direction: ltr; }
.about-image-block img { width: 100%; border-radius: 10px; aspect-ratio: 16/9; object-fit: cover; box-shadow: 0 8px 28px rgba(15,23,42,.08); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-content { padding: 56px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.info-block { margin-bottom: 24px; }
.info-block h2 { font-size: 1.15rem; margin-bottom: 10px; border-bottom: 3px solid #3B82F6; padding-bottom: 6px; color: #0F172A; display: inline-block; }
.info-block li { padding: 4px 0; line-height: 1.6; color: #475569; }
.info-block address { font-style: normal; line-height: 1.8; color: #475569; }
.info-block a { color: #3B82F6; }
.info-block a:hover { text-decoration: underline; }

.contact-form-wrapper h2 { font-size: 1.15rem; margin-bottom: 18px; border-bottom: 3px solid #3B82F6; padding-bottom: 6px; color: #0F172A; display: inline-block; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 5px; font-size: .88rem; color: #0F172A; }
.form-group input,
.form-group textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #E2E8F0; border-radius: 8px;
  font-size: .95rem; font-family: inherit; transition: border-color .2s, box-shadow .2s; background: #fff;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: #3B82F6; box-shadow: 0 0 0 3px rgba(59,130,246,.12); }
.btn-submit {
  display: inline-block; padding: 13px 34px; background: #3B82F6; color: #fff;
  border: none; border-radius: 8px; font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: background .2s, transform .15s;
}
.btn-submit:hover { background: #2563EB; transform: translateY(-1px); }

.showroom-image { margin-top: 20px; border-radius: 10px; overflow: hidden; }
.showroom-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page { max-width: 800px; margin: 0 auto; padding: 56px 20px; line-height: 1.7; color: #334155; }
.legal-page h1 { font-size: 1.9rem; margin-bottom: 6px; color: #0F172A; }
.legal-page .last-updated { color: #94A3B8; font-size: .88rem; margin-bottom: 28px; }
.legal-page h2 { font-size: 1.2rem; margin-top: 32px; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 3px solid #3B82F6; color: #0F172A; display: inline-block; }
.legal-page h3 { font-size: 1.02rem; margin-top: 18px; margin-bottom: 6px; color: #0F172A; }
.legal-page p { margin-bottom: 12px; color: #475569; }
.legal-page ul { padding-left: 22px; margin-bottom: 12px; list-style: disc; }
.legal-page li { padding: 3px 0; line-height: 1.6; color: #475569; }
.legal-page a { color: #3B82F6; }
.legal-page a:hover { text-decoration: underline; }

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #0F172A; color: rgba(255,255,255,.85); padding: 18px 24px;
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,.25); font-size: .9rem;
}
.cookie-banner p { max-width: 620px; line-height: 1.5; }
.cookie-banner a { color: #06B6D4; text-decoration: underline; }
.cookie-btn-group { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 10px 22px; border-radius: 6px; font-size: .88rem; font-weight: 600;
  cursor: pointer; border: none; transition: background .2s;
}
.cookie-btn-accept { background: #3B82F6; color: #fff; }
.cookie-btn-accept:hover { background: #2563EB; }
.cookie-btn-reject { background: transparent; color: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.2); }
.cookie-btn-reject:hover { background: rgba(255,255,255,.08); }
.cookie-banner.hidden { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:992px) {
  .hero-content h1 { font-size: 2.1rem; }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .differentiators { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .about-image-block { grid-template-columns: 1fr; }
  .about-image-block.reverse { direction: ltr; }
}
@media (max-width:768px) {
  .section { padding: 52px 0; }
  .section-title { font-size: 1.55rem; }
  .nav-toggle-label { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #0F172A;
    flex-direction: column; gap: 0; padding: 0; border-bottom: 2px solid #3B82F6;
    display: none; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  }
  .main-nav a { display: block; padding: 13px 20px; border-top: 1px solid rgba(255,255,255,.05); color: rgba(255,255,255,.75); }
  .main-nav a:hover { color: #06B6D4; }
  .nav-toggle:checked ~ .main-nav { display: flex; }
  .header-cta { display: none; }
  .hero { min-height: 380px; }
  .hero-inner { padding: 44px 0 36px; }
  .hero-content h1 { font-size: 1.7rem; }
  .hero-content p { font-size: .95rem; }
  .features-grid,.products-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .team-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.7rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .main-nav a { min-height: 44px; display: flex; align-items: center; }
  .btn { min-height: 48px; padding: 13px 26px; }
  .faq-item summary { min-height: 48px; padding: 14px 0; }
  .cookie-banner { flex-direction: column; text-align: center; padding: 16px; }
}
@media (max-width:480px) {
  .container { padding: 0 14px; }
  .hero-content h1 { font-size: 1.4rem; }
  .section-title { font-size: 1.35rem; }
  .feature-card { padding: 24px 14px; }
  .step { padding: 24px 14px; }
  .testimonial-card { padding: 18px; }
  .legal-page { padding: 36px 14px; }
  .legal-page h1 { font-size: 1.5rem; }
}
