/* ============================================================
   GRAPHISOFT × MEDIALOGIC — ARCHICAD STUDIO LANDING PAGE
   CSS by Medialogic Dubai | Authorized Distributor MENA
   ============================================================ */

/* --- CSS Variables (Graphisoft Facelift 2025 Design Tokens) --- */
:root {
  --gs-primary:        #150d12;
  --gs-surface:        #291923;
  --gs-secondary:      #e7e6e6;
  --gs-archicad:       #33b3da;
  --gs-archicad-light: #b0e2f1;
  --gs-archicad-bg:    #e6f6fa;
  --gs-white:          #ffffff;
  --gs-light:          #f1f1f2;
  --gs-lighter:        #fafafa;
  --gs-border:         #dad8d9;
  --gs-text:           #231f20;
  --gs-muted:          #5f6062;
  --gs-mono:           'IBM Plex Mono', Consolas, 'Liberation Mono', Menlo, monospace;
  --gs-sans:           'Inter', Arial, sans-serif;
  --radius-card:       20px;
  --radius-btn:        999px;
  --nav-height:        54px;
  --tab-height:        40px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--gs-sans);
  color: var(--gs-text);
  background: var(--gs-white);
  line-height: 1.5;
  letter-spacing: -0.25px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1;
  hyphens: auto;
  text-wrap: balance;
  letter-spacing: -0.5px;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.67rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2.2rem); }
h4 { font-size: 1.25rem; font-weight: 700; }

.eyebrow {
  font-family: var(--gs-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gs-text);
  display: block;
  margin-bottom: 0.5rem;
}

/* --- Layout Utilities --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.col-6  { flex: 0 0 calc(50% - 0.75rem); }
.col-12 { flex: 0 0 100%; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--gs-white);
  border-bottom: 1px solid var(--gs-border);
  height: var(--nav-height);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gs-text);
}

.nav-logo img {
  height: 28px;
  width: auto;
}

.nav-logo .distributor-badge {
  font-family: var(--gs-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  background: var(--gs-archicad-light);
  color: var(--gs-primary);
  padding: 2px 8px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  color: var(--gs-text);
  transition: background 0.15s;
}

.nav-links a:hover { background: var(--gs-light); }

.nav-ctas {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--gs-sans);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--gs-primary);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-outline {
  background: transparent;
  color: var(--gs-primary);
}
.btn-outline:hover { background: var(--gs-light); }

.btn-primary {
  background: var(--gs-surface);
  color: var(--gs-white);
  border-color: var(--gs-primary);
}
.btn-primary:hover { background: var(--gs-light); color: var(--gs-primary); }

.btn-archicad {
  background: var(--gs-archicad);
  color: var(--gs-primary);
  border-color: var(--gs-archicad);
}
.btn-archicad:hover { background: #1fa3cf; color: var(--gs-white); }

.btn-lg {
  font-size: 0.875rem;
  padding: 0.75rem 1.75rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--gs-text);
}

/* ============================================================
   HERO — Full-bleed bg image, dark bento card floats on top-left
   No overlay. Image 100% cover. Bento has margin from edges.
   ============================================================ */
#hero {
  position: relative;
  min-height: clamp(400px, 62vh, 660px);
  overflow: hidden;
  background: #1a1a1a;
}

/* Full-bleed background image — NO opacity overlay */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

/* hide old unused elements */
.hero-bg, .hero-accent, .hero-accent-2 { display: none; }
.hero-img-panel { display: none; }
.hero-layout { display: contents; }

/* Inner wrapper */
.hero-inner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: clamp(400px, 62vh, 660px);
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2.5rem;
}

/* Floating dark bento card */
.hero-bento {
  background: var(--gs-surface);
  border-radius: var(--radius-card);
  padding: 2rem 2.25rem;
  width: 100%;
  max-width: 640px;
  animation: heroBentoIn 0.5s ease forwards;
}

@keyframes heroBentoIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-product-logos {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-family: var(--gs-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #a0a0b0;
  margin-bottom: 0.75rem;
  letter-spacing: 0.3px;
}

.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 700;
  color: var(--gs-white);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: #c8c4cc;
  margin-bottom: 1.75rem;
  line-height: 1.55;
}

.hero-distributor-note {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  color: #9090a8;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}

.hero-distributor-note svg { flex-shrink: 0; margin-top: 2px; }
.hero-distributor-note strong { color: var(--gs-archicad); }

/* ============================================================
   STICKY TAB MENU
   ============================================================ */
#tabmenu {
  position: sticky;
  top: var(--nav-height);
  z-index: 990;
  background: var(--gs-surface);
  color: var(--gs-white);
  height: var(--tab-height);
  border-bottom: none;
}

.tabmenu-inner {
  display: flex;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 0;
}

.tabmenu-inner::-webkit-scrollbar { display: none; }

.tab-link {
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
  font-family: var(--gs-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
  cursor: pointer;
  position: relative;
}

.tab-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gs-white);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.tab-link:hover { color: var(--gs-white); }
.tab-link.active { color: var(--gs-white); font-weight: 600; }
.tab-link.active::after { transform: scaleX(1); }

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section-pad {
  padding: 3.5rem 0;
}

.section-pad-sm {
  padding: 2rem 0;
}

/* ============================================================
   OVERVIEW SECTION
   ============================================================ */
#overview {
  padding: 5rem 0;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.overview-image {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.overview-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.overview-content h2 {
  margin-bottom: 1.5rem;
}

.pain-list {
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pain-list li {
  padding: 0 0 0 1.25rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--gs-text);
  line-height: 1.5;
}

.pain-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gs-text);
}

.overview-cta {
  margin-top: 2rem;
}

/* ============================================================
   WHY ARCHICAD — ACCORDION SECTION
   ============================================================ */
#why_archicad {
  background: var(--gs-white);
  padding: 5rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2.5rem;
}

.benefits-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.accordion-item {
  border-bottom: 1px solid var(--gs-border);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 1rem 1.1rem 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--gs-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gs-text);
  gap: 1rem;
  transition: color 0.15s;
}

.accordion-header:hover { color: var(--gs-archicad); }

.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--gs-muted);
}

.accordion-item.open .accordion-icon {
  transform: rotate(90deg);
  color: var(--gs-archicad);
}

.accordion-item.open .accordion-header {
  color: var(--gs-primary);
}

.accordion-body {
  display: none;
  padding: 0 0 1.25rem 0;
}

.accordion-body.open { display: block; }

.accordion-body img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 1rem;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.accordion-body p {
  font-size: 0.9rem;
  color: var(--gs-muted);
  line-height: 1.6;
}

/* Benefits Right Column — image display */
.benefits-visual {
  position: sticky;
  top: calc(var(--nav-height) + var(--tab-height) + 1.5rem);
}

.benefits-visual img {
  width: 100%;
  border-radius: var(--radius-card);
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* ============================================================
   INFOCARD — BIM Should Feel Right
   ============================================================ */
.infocard-archicad {
  background: var(--gs-archicad-light);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.infocard-archicad h3 {
  margin-bottom: 0.75rem;
}

.infocard-archicad p {
  color: var(--gs-muted);
  margin-bottom: 1.75rem;
  font-size: 1rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--gs-light);
  padding: 4rem 0;
}

.testimonials-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--gs-white);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--gs-text);
  line-height: 1.65;
  flex: 1;
}

.testimonial-quote::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 0;
  vertical-align: -0.9rem;
  color: var(--gs-archicad);
  margin-right: 2px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gs-border);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gs-archicad-light);
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--gs-text);
}

.testimonial-role {
  font-size: 0.775rem;
  color: var(--gs-muted);
}

/* ============================================================
   CASE STUDIES
   ============================================================ */
#case_studies {
  padding: 5rem 0;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.case-card {
  background: var(--gs-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  border-color: var(--gs-border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.case-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.case-card:hover .case-card-img img {
  transform: scale(1.04);
}

.case-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.case-card-tag {
  font-family: var(--gs-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--gs-muted);
  letter-spacing: 0.3px;
}

.case-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gs-primary);
  line-height: 1.3;
}

.case-card-desc {
  font-size: 0.85rem;
  color: var(--gs-muted);
  line-height: 1.55;
  flex: 1;
}

/* ============================================================
   HOW TO SWITCH
   ============================================================ */
#switch {
  background: var(--gs-white);
  padding: 5rem 0;
}

.switch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 2.5rem;
}

.switch-image {
  border-radius: var(--radius-card);
  overflow: hidden;
}

.switch-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.switch-steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.switch-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gs-archicad-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-icon svg {
  width: 18px;
  height: 18px;
  color: var(--gs-primary);
}

.step-content h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--gs-primary);
}

.step-content p {
  font-size: 0.875rem;
  color: var(--gs-muted);
  line-height: 1.55;
}

/* Switch Steps — "Keep working" block */
.switch-howto {
  background: var(--gs-light);
  border-radius: var(--radius-card);
  padding: 3rem 2rem;
  margin-top: 3rem;
}

.switch-howto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.switch-howto img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

/* ============================================================
   ARCHICAD IN ACTION (GATED DEMO)
   ============================================================ */
#watch_video {
  padding: 5rem 0;
  background: var(--gs-white);
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.action-content ul {
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.action-content ul li {
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.5;
}

.action-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gs-archicad);
  font-size: 0.85rem;
}

.action-content p {
  font-size: 0.95rem;
  color: var(--gs-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.action-content .learn-list {
  margin-top: 1rem;
}

/* Contact Form Card */
.contact-card {
  background: var(--gs-archicad-bg);
  border-radius: var(--radius-card);
  padding: 2rem;
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gs-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--gs-primary);
  border-radius: 0;
  padding: 0.5rem 0;
  font-family: var(--gs-sans);
  font-size: 0.95rem;
  color: var(--gs-primary);
  outline: none;
  transition: border-color 0.15s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--gs-archicad);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaaaaa;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23231f20' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.25rem center / 12px;
  padding-right: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  border: none;
  cursor: pointer;
  accent-color: var(--gs-primary);
  border-bottom: none;
}

.form-check label {
  font-size: 0.78rem;
  color: var(--gs-muted);
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  margin: 0;
}

.form-check label a {
  color: var(--gs-primary);
  text-decoration: underline;
}

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.form-success.visible { display: block; }

.form-success h4 {
  margin-bottom: 0.5rem;
  color: var(--gs-primary);
}

.form-success p {
  color: var(--gs-muted);
  font-size: 0.9rem;
}

/* ============================================================
   MEDIALOGIC CTA BANNER
   ============================================================ */
.ml-banner {
  background: var(--gs-surface);
  color: var(--gs-white);
  padding: 2.5rem 0;
}

.ml-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.ml-banner h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--gs-white);
  margin-bottom: 0.5rem;
}

.ml-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

.ml-banner .btn {
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--gs-light);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--gs-border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {}

.footer-brand img {
  height: 22px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--gs-muted);
  line-height: 1.6;
  max-width: 240px;
  margin-bottom: 1rem;
}

.footer-col h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-family: var(--gs-mono);
  margin-bottom: 1rem;
  color: var(--gs-text);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: var(--gs-muted);
  transition: color 0.15s;
}

.footer-col ul a:hover { color: var(--gs-text); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--gs-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--gs-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: var(--gs-muted);
  transition: color 0.15s;
}

.footer-bottom-links a:hover { color: var(--gs-text); }

/* Contact info in footer */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--gs-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gs-archicad);
  width: 14px;
  height: 14px;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — Mobile-first breakpoints
   xs  : < 480px   (small phones)
   sm  : 480–767px (large phones / small tablets portrait)
   md  : 768–1023px (tablets landscape / small laptops)
   lg  : 1024–1279px (laptops)
   xl  : 1280–1399px (desktops)
   xxl : 1400px+  (large desktops — base layout already set)
   ============================================================ */

/* ── Large Desktop (≥ 1400px) ─────────────────────────────── */
@media (min-width: 1400px) {
  .container { padding: 0 2rem; }
  .hero-inner { padding: 2.5rem 3rem; }
  .tabmenu-inner { padding: 0 2rem; }
  .section-pad { padding: 4rem 0; }
}

/* ── Desktop (1280–1399px) ────────────────────────────────── */
@media (max-width: 1399px) {
  .hero-bento { max-width: 580px; }
}

/* ── Laptop (1024–1279px) ─────────────────────────────────── */
@media (max-width: 1279px) {
  .distributor-badge  { display: none; }
  .benefits-grid      { grid-template-columns: 1fr; }
  .benefits-visual    { display: none; }
  .footer-inner       { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-bento         { max-width: 540px; }
  .hero-inner         { padding: 3rem 2.5rem; }
}

/* ── Tablet Landscape (768–1023px) ───────────────────────── */
@media (max-width: 1023px) {
  :root {
    --nav-height: 60px;
    --tab-height: 44px;
  }

  .nav-links          { display: none; }
  .nav-toggle         { display: block; }
  .nav-ctas .btn-outline { display: none; }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--gs-white);
    border-bottom: 1px solid var(--gs-border);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    z-index: 999;
  }

  .nav-links.mobile-open a {
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--gs-border);
  }

  .nav-links.mobile-open a:last-child { border-bottom: none; }

  /* hero: image still full-bleed, bento full width */
  #hero               { min-height: 75vh; }
  .hero-inner         { min-height: 75vh; padding: 2.5rem 2rem; align-items: flex-end; }
  .hero-bento         { max-width: 100%; }

  .overview-grid      { grid-template-columns: 1fr; }
  .overview-image     { order: -1; }
  .testimonials-inner { grid-template-columns: 1fr 1fr; }
  .case-studies-grid  { grid-template-columns: 1fr 1fr; }
  .switch-grid        { grid-template-columns: 1fr; }
  .switch-howto-inner { grid-template-columns: 1fr; }
  .action-grid        { grid-template-columns: 1fr; }
  .footer-inner       { grid-template-columns: 1fr 1fr; }
  .ml-banner-inner    { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .section-pad        { padding: 3.5rem 0; }
  .section-pad-sm     { padding: 2rem 0; }
}

/* ── Tablet Portrait (600–767px) ─────────────────────────── */
@media (max-width: 767px) {
  :root {
    --nav-height: 56px;
    --tab-height: 42px;
  }

  .container          { padding: 0 1.25rem; }

  #hero               { min-height: 70vh; }
  .hero-inner         { min-height: 70vh; padding: 2rem 1.5rem; align-items: flex-end; }
  .hero-bento         { max-width: 100%; padding: 2rem 1.75rem; }
  .hero-distributor-note { flex-wrap: wrap; }

  .testimonials-inner { grid-template-columns: 1fr; }
  .case-studies-grid  { grid-template-columns: 1fr; }
  .footer-inner       { grid-template-columns: 1fr 1fr; }
  .footer-brand       { grid-column: 1 / -1; }
  .switch-howto img   { display: none; }
  .switch-howto-inner { grid-template-columns: 1fr; }
  .tab-link           { padding: 0 0.75rem; font-size: 0.68rem; }
  .section-pad        { padding: 3rem 0; }
  .infocard-archicad  { padding: 2.5rem 1.5rem; }
  .ml-banner-inner > div:last-child { flex-direction: column; width: 100%; }
  .ml-banner-inner > div:last-child .btn { width: 100%; justify-content: center; }
}

/* ── Large Phone (480–599px) ─────────────────────────────── */
@media (max-width: 599px) {
  #hero               { min-height: 65vh; }
  .hero-inner         { min-height: 65vh; padding: 1.5rem 1.25rem; align-items: flex-end; }
  .hero-bento         { padding: 1.5rem; }
  .hero-title         { font-size: 2rem; line-height: 1.1; }
  .hero-subtitle      { font-size: 0.9rem; }
  .hero-bento .btn    { width: 100%; justify-content: center; }

  h2                  { font-size: 1.6rem; }
  h3                  { font-size: 1.3rem; }

  .nav-logo > span:first-of-type { display: none; }
  .form-row           { grid-template-columns: 1fr; }
  .footer-inner       { grid-template-columns: 1fr; }
  .case-studies-grid  { grid-template-columns: 1fr; }
  .testimonials-inner { grid-template-columns: 1fr; }
  .section-pad        { padding: 2.5rem 0; }
  .section-pad-sm     { padding: 1.5rem 0; }
  .tab-link           { font-size: 0.65rem; padding: 0 0.6rem; letter-spacing: 0; }
  .nav-ctas .btn-outline { display: none; }
}

/* ── Small Phone (< 480px) ────────────────────────────────── */
@media (max-width: 479px) {
  :root {
    --nav-height: 52px;
    --tab-height: 40px;
  }

  html { font-size: 15px; }

  .container          { padding: 0 1rem; }

  #hero               { min-height: 60vh; }
  .hero-inner         { min-height: 60vh; padding: 1.25rem 1rem; align-items: flex-end; }
  .hero-bento         { padding: 1.25rem; border-radius: 16px; }
  .hero-title         { font-size: 1.8rem; }

  h2                  { font-size: 1.45rem; }
  h3                  { font-size: 1.2rem; }
  h4                  { font-size: 1rem; }

  .nav-logo > span    { display: none; }
  .distributor-badge  { display: none; }
  .nav-ctas .btn-outline { display: none; }
  .nav-ctas .btn-primary { font-size: 0.72rem; padding: 0.4rem 0.85rem; }

  .tabmenu-inner      { padding: 0 0.75rem; }
  .tab-link           { font-size: 0.6rem; padding: 0 0.5rem; }

  .testimonial-card,
  .case-card,
  .contact-card,
  .infocard-archicad,
  .switch-howto       { border-radius: 16px; }

  .contact-card       { padding: 1.25rem; }
  .step-icon          { width: 34px; height: 34px; }
  .step-icon svg      { width: 15px; height: 15px; }

  .footer-inner       { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom      { flex-direction: column; align-items: flex-start; }
  .ml-banner          { padding: 2rem 0; }
  .accordion-header   { font-size: 0.9rem; padding: 0.9rem 0.75rem 0.9rem 0; }
  .section-pad        { padding: 2rem 0; }
  .infocard-archicad  { padding: 2rem 1rem; margin: 1.5rem 0; }
}

/* ── Print / No-motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-tabs {
  display: flex;
  gap: 0;
  margin: 2rem 0 2.5rem;
  border-bottom: 1px solid var(--gs-border);
}

.pricing-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.6rem 1.25rem;
  font-family: var(--gs-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  cursor: pointer;
  color: var(--gs-muted);
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
}

.pricing-tab.active {
  color: var(--gs-primary);
  border-bottom-color: var(--gs-primary);
  font-weight: 600;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pricing-cards-grid--single {
  grid-template-columns: minmax(260px, 380px);
}

.pricing-card {
  background: #fafafa;
  border: 1px solid var(--gs-border);
  border-radius: var(--radius-card);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pricing-card-header { display: flex; flex-direction: column; gap: 0.6rem; }

.pricing-card-logos {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}

.pricing-card-logos img { display: block; }

.pricing-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gs-primary);
  margin: 0;
}

.pricing-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.pricing-tag {
  background: var(--gs-secondary);
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 3px 9px;
  color: var(--gs-text);
}

.pricing-card-body { flex: 1; }

.pricing-contact-note {
  font-size: 0.82rem;
  color: var(--gs-muted);
  line-height: 1.5;
  margin: 0;
}

.pricing-card-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pricing-card-links .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.72rem;
  padding: 0.5rem 1rem;
}

.pricing-details-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--gs-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--gs-primary);
  letter-spacing: 0.2px;
  text-decoration: none;
  margin-top: 0.25rem;
}

.pricing-details-link:hover { text-decoration: underline; }

.pricing-note {
  font-size: 0.78rem;
  color: var(--gs-muted);
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.6;
}

/* ============================================================
   COMPARE TABLE
   ============================================================ */
.compare-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-card);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--gs-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  min-width: 560px;
}

.compare-table thead th {
  background: var(--gs-lighter);
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  vertical-align: top;
  border-bottom: 1px solid var(--gs-border);
}

.compare-col-label {
  width: 22%;
  font-weight: 700;
  font-size: 0.85rem !important;
  vertical-align: middle !important;
}

.compare-col-tag {
  font-family: var(--gs-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 12px 12px 0 0;
  margin: -0.85rem -1rem 0.5rem;
  letter-spacing: 0.2px;
}

.compare-tag--flex   { background: #b3aeb1; color: white; }
.compare-tag--popular{ background: #72686e; color: white; }
.compare-tag--lock   { background: var(--gs-surface); color: white; }

.compare-term-sub {
  font-size: 0.72rem;
  color: var(--gs-muted);
  font-weight: 400;
  margin-top: 2px;
}

.compare-row {
  border-bottom: 1px solid var(--gs-border);
}

.compare-row:last-child { border-bottom: none; }

.compare-product-cell {
  padding: 1rem;
  vertical-align: top;
  width: 22%;
}

.compare-product-name {
  font-size: 0.88rem;
  display: block;
  margin-bottom: 0.35rem;
}

.compare-product-logos {
  display: flex;
  gap: 0.25rem;
}

.compare-cell {
  padding: 1rem;
  vertical-align: top;
  font-size: 0.82rem;
  color: var(--gs-muted);
}

.compare-cell--highlight {
  background: rgba(51,179,218,0.05);
  border-left: 2px solid var(--gs-archicad);
  border-right: 2px solid var(--gs-archicad);
}

.compare-cell--na { color: var(--gs-border); text-align: center; vertical-align: middle; }

.compare-contact {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gs-primary);
}

.compare-savings-badge {
  display: inline-block;
  background: #d5dce8;
  border-radius: 12px;
  font-size: 0.68rem;
  padding: 2px 8px;
  margin-top: 0.35rem;
  color: var(--gs-primary);
}

.compare-na { font-size: 1.2rem; display: block; text-align: center; }

.compare-buy-btn {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.7rem !important;
  padding: 0.38rem 0.9rem !important;
  text-align: center;
  width: fit-content;
}

/* Responsive pricing */
@media (max-width: 1023px) {
  .pricing-cards-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 599px) {
  .pricing-cards-grid { grid-template-columns: 1fr; }
  .pricing-cards-grid--single { grid-template-columns: 1fr; }
}

/* ============================================================
   INCLUDED PRODUCTS SECTION
   ============================================================ */
.included-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--gs-border);
}

.included-row:last-of-type { border-bottom: none; }

.included-row--reverse { direction: rtl; }
.included-row--reverse > * { direction: ltr; }

.included-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding: 0.6rem 0.85rem;
  background: var(--gs-white);

  border-radius: 12px;
  width: fit-content;
}

.included-brand {
  font-size: 0.72rem;
  color: var(--gs-muted);
  line-height: 1;
  font-family: var(--gs-mono);
  text-transform: uppercase;
}

.included-product-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gs-primary);
  line-height: 1.2;
}

.included-content p {
  font-size: 0.9rem;
  color: var(--gs-text);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.included-list {
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.included-list li {
  font-size: 0.875rem;
  color: var(--gs-text);
  line-height: 1.5;
  list-style: disc;
}

.included-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--gs-light);
}

.included-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-card);
}

/* Resources strip */
.resources-strip {
  background: var(--gs-light);
  padding: 3rem 0;
  margin-top: 2.5rem;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.resource-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gs-primary);
  line-height: 1.35;
  margin: 0;
}

.resource-desc {
  font-size: 0.82rem;
  color: var(--gs-muted);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--gs-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--gs-primary);
  letter-spacing: 0.2px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 0.5rem;
}

.resource-link:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 1023px) {
  .included-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .included-row--reverse { direction: ltr; }
  .resources-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 599px) {
  .resources-grid { grid-template-columns: 1fr; }
}


.wa-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  width: 72px;
  height: 52px;
 
  display: flex;
  align-items: center;
  justify-content: center;
 
}
.wa-btn:hover {
  transform: scale(1.2);
  
}