/* ============================================
   ANTIGRAVITY — Design System
   Palette: Deep Black + Gold/Cream
   Fonts: Playfair Display (serif) + Inter (sans)
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --black: #0a0a0a;
  --black-light: #111111;
  --black-card: #161616;
  --black-border: #222222;
  --gold: #c9a84c;
  --gold-light: #e2c97e;
  --gold-dark: #a8872e;
  --cream: #f5f0e8;
  --cream-dark: #d4c9b5;
  --white: #fafaf8;
  --gray: #888888;
  --gray-dark: #555555;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--black);
  color: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-sans); border: none; background: none; }

/* --- Utility --- */
.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }
.section-pad { padding: 100px 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 0.5em;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}
.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

/* --- Fade-in Animations --- */
/* Elements are only hidden when JS is confirmed working (html.js class).
   If JS fails (e.g. Instagram WebView), content stays fully visible. */
.js .fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.js .fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.js .fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}
.logo-img {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  object-fit: contain;
  margin-right: 12px;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--cream-dark);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  color: var(--black) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--cream);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(201,168,76,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(201,168,76,0.05) 0%, transparent 50%);
  z-index: 0;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.3);
  color: var(--black);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--cream);
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--black-border);
  transition: var(--transition);
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================
   ECOSYSTEM SECTION
   ============================================ */
.ecosystem {
  background: var(--black-light);
}
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.ecosystem-card {
  display: flex;
  flex-direction: column;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.ecosystem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(201,168,76,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.ecosystem-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,168,76,0.35);
  box-shadow: var(--shadow-gold);
  color: inherit;
}
.ecosystem-card:hover::before {
  opacity: 1;
}
.ecosystem-card--new {
  border-color: rgba(201,168,76,0.2);
}
.ecosystem-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.2rem;
}
.ecosystem-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.ecosystem-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
  flex: 1;
}
.ecosystem-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--black-border);
}
.ecosystem-price {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
}
.ecosystem-price small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--gray);
}
.ecosystem-arrow {
  width: 40px;
  height: 40px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  transition: var(--transition);
}
.ecosystem-card:hover .ecosystem-arrow {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* Product Badge */
.product-badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 1;
}
.product-badge--inline {
  position: static;
  display: inline-flex;
  margin-bottom: 1.2rem;
}

/* ============================================
   VOIXDEVIS / SAAS SECTION
   ============================================ */
.saas-section {
  position: relative;
  overflow: hidden;
}
.saas-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.saas-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.saas-content {
  position: relative;
  z-index: 1;
}
.saas-description {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 2rem;
}
.saas-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.saas-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  transition: border-color var(--transition), transform var(--transition);
  text-align: left;
}
.saas-feature-item:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateX(6px);
}
.saas-feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 36px;
  text-align: center;
}
.saas-feature-item strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}
.saas-feature-item span {
  color: var(--gray);
  font-size: 0.85rem;
}
.saas-pricing-line {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
}
.saas-price {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.saas-price small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--gray);
}
.saas-price-note {
  color: var(--gray);
  font-size: 0.85rem;
}

/* VoixDevis Visual */
.saas-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.saas-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, rgba(201,168,76,0.04) 40%, transparent 70%);
  border-radius: 50%;
  animation: phoneGlowPulse 4s ease-in-out infinite;
  pointer-events: none;
}
.saas-visual img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5)) drop-shadow(0 0 30px rgba(201,168,76,0.08));
}


/* ============================================
   GALLERY / MODELS SECTION
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.gallery-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  border: 1px solid var(--black-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-gold);
}
.gallery-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-card:hover img { transform: scale(1.1); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: background var(--transition);
}
.gallery-card:hover .gallery-overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(10,10,10,0.95) 100%);
}
.gallery-overlay h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}
.gallery-overlay p {
  font-size: 0.85rem;
  color: var(--gold);
}
.gallery-overlay .arrow {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 36px; height: 36px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: var(--transition);
}
.gallery-card:hover .arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing { background: var(--black-light); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}
.pricing-card:hover {
  transform: translateY(-6px);
}
.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.pricing-card h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin: 1rem 0;
}
.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray);
}
.pricing-card .price-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 2rem;
}
.pricing-features {
  margin-bottom: 2rem;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--cream-dark);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pricing-features li .check {
  color: var(--gold);
  font-size: 1.1rem;
}
.pricing-card .btn-primary,
.pricing-card .btn-secondary { width: 100%; justify-content: center; }

/* ============================================
   PROCESS / STEPS SECTION
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
}
.step-card { text-align: center; padding: 2rem; }
.step-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  margin-bottom: 1rem;
}
.step-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
}
.step-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.step-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   MOBILE UX EXPERIENCE
   ============================================ */
.mobile-ux {
  position: relative;
  overflow: hidden;
}
.mobile-ux::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.mobile-ux::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.mobile-ux-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 1rem;
}

/* Phone Mockup */
.mobile-ux-phone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, rgba(201,168,76,0.05) 40%, transparent 70%);
  border-radius: 50%;
  animation: phoneGlowPulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes phoneGlowPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.phone-wrapper {
  position: relative;
  z-index: 1;
  max-width: 340px;
  transition: transform 0.3s ease-out;
}
.phone-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.5)) drop-shadow(0 0 40px rgba(201,168,76,0.1));
}

/* Stat Bubble */
.phone-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 16px;
  padding: 1rem 2rem;
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 2;
}
.phone-stat-number {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.phone-stat-label {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 0.3rem;
  letter-spacing: 0.5px;
}

/* UX Features */
.mobile-ux-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ux-feature {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.5rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.ux-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  opacity: 0;
  transition: opacity var(--transition);
}
.ux-feature:hover {
  transform: translateX(8px);
  border-color: rgba(201,168,76,0.3);
  box-shadow: var(--shadow-gold);
}
.ux-feature:hover::before {
  opacity: 1;
}

.ux-feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.ux-feature h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.ux-feature p {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--black-border);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 500;
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-question .icon {
  font-size: 1.4rem;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}
.faq-item.active .faq-answer {
  max-height: 300px;
}
.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black-light);
  border-top: 1px solid var(--black-border);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; display: inline-flex; }
.footer-brand p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 40px; height: 40px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-dark);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.footer h4 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: var(--gray);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 0.8rem; }
.contact-form input,
.contact-form textarea {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--gray-dark); }
.contact-form textarea { min-height: 90px; }
.contact-form .btn-primary {
  align-self: flex-start;
  font-size: 0.9rem;
  padding: 0.8rem 2rem;
}

.footer-bottom {
  border-top: 1px solid var(--black-border);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  color: var(--gray-dark);
  font-size: 0.8rem;
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 60px; height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}
.whatsapp-btn svg { width: 30px; height: 30px; fill: white; }

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--cream);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .section-pad { padding: 70px 0; }
  .mobile-ux-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .mobile-ux-phone { order: -1; }
  .phone-wrapper { max-width: 280px; }
  .ecosystem-grid { grid-template-columns: 1fr; }
  .saas-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .saas-visual { order: -1; }
  .saas-visual img { max-width: 360px; }
  .saas-content .section-title { text-align: center !important; }
  .saas-content { text-align: center; }
  .saas-pricing-line { justify-content: center; }
  .saas-content .btn-primary { margin: 0 auto; }
  .product-badge--inline { margin: 0 auto 1.2rem; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .section-pad { padding: 50px 0; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .phone-wrapper { max-width: 240px; }
  .phone-glow { width: 240px; height: 240px; }
  .ux-feature { padding: 1.3rem 1.2rem; }
  .ux-feature-icon { width: 44px; height: 44px; min-width: 44px; font-size: 1.2rem; }
  .phone-stat-number { font-size: 1.8rem; }
  .ecosystem-card { padding: 2rem 1.5rem; }
  .ecosystem-card h3 { font-size: 1.25rem; }
  .saas-visual img { max-width: 280px; }
  .saas-glow { width: 250px; height: 250px; }
  .saas-price { font-size: 1.8rem; }
}
@media (max-width: 400px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================
   MODAL OVERLAY — Site Preview
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 2rem;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-window {
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  background: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.modal-overlay.open .modal-window {
  transform: scale(1) translateY(0);
}

/* Browser Chrome */
.modal-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #111;
  border-bottom: 1px solid #2a2a2a;
  flex-shrink: 0;
}
.modal-dots {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}
.modal-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.modal-dots span:nth-child(1) { background: #ff5f57; }
.modal-dots span:nth-child(2) { background: #febc2e; }
.modal-dots span:nth-child(3) { background: #28c840; }
.modal-url-bar {
  flex: 1;
  background: #0a0a0a;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.78rem;
  color: #777;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
}
.modal-url-bar .lock { color: #28c840; font-size: 0.7rem; }

/* Close Button */
.modal-close {
  position: absolute;
  top: 10px; right: 14px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 50%;
  color: #999;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  z-index: 10;
}
.modal-close:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* Site Preview (scrollable) */
.modal-site-preview {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #333 #1a1a1a;
}
.modal-site-preview::-webkit-scrollbar { width: 6px; }
.modal-site-preview::-webkit-scrollbar-track { background: #1a1a1a; }
.modal-site-preview::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

/* Modal CTA footer */
.modal-cta-bar {
  padding: 16px 24px;
  background: #111;
  border-top: 1px solid #2a2a2a;
  text-align: center;
  flex-shrink: 0;
}
.modal-cta-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.modal-cta-bar a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.3);
  color: var(--black);
}

/* ============================================
   MINI-SITE — Professional Preview Styles
   ============================================ */

/* Mini Nav */
.ms-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}
.ms-nav-brand {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
}
.ms-nav-links {
  display: flex;
  gap: 1.2rem;
  opacity: 0.6;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero with photo background */
.ms-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 32px 60px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.ms-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ms-hero > * { position: relative; z-index: 1; }
.ms-hero-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.25);
}
.ms-hero h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.ms-hero .ms-subtitle {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 22px;
  font-style: italic;
}
.ms-btn {
  display: inline-block;
  padding: 10px 26px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  cursor: default;
}
.ms-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* Section base */
.ms-section {
  padding: 44px 32px;
}
.ms-section-line {
  width: 40px;
  height: 2px;
  margin: 0 auto 12px;
  border-radius: 2px;
}
.ms-section h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 6px;
  text-align: center;
}
.ms-section .ms-section-desc {
  font-size: 0.8rem;
  opacity: 0.6;
  text-align: center;
  margin-bottom: 24px;
}

/* Cards Grid */
.ms-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ms-card {
  border-radius: 12px;
  padding: 22px 14px 18px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid transparent;
}
.ms-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.ms-card-icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
  display: block;
}
.ms-card-title {
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 4px;
  display: block;
}
.ms-card-text {
  font-size: 0.72rem;
  opacity: 0.6;
  line-height: 1.5;
  display: block;
}

/* About Section — 2 columns */
.ms-about {
  padding: 44px 32px;
}
.ms-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.ms-about-text h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.ms-about-text p {
  font-size: 0.8rem;
  line-height: 1.8;
  opacity: 0.7;
}
.ms-about-visual {
  border-radius: 12px;
  min-height: 160px;
  background-size: cover;
  background-position: center;
}

/* Info Bar */
.ms-info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  padding: 0;
}
.ms-info-item {
  padding: 22px 14px;
  font-size: 0.75rem;
  line-height: 1.6;
}
.ms-info-icon {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 6px;
}
.ms-info-item strong {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 3px;
}

/* Mini Footer */
.ms-footer {
  padding: 28px 32px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.68rem;
  opacity: 0.5;
  border-top: 1px solid rgba(128,128,128,0.15);
}
.ms-footer-copy { font-family: var(--font-serif); font-size: 0.72rem; }
.ms-footer-links {
  display: flex;
  gap: 12px;
}
.ms-footer-social {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
}

/* Modal Responsive */
@media (max-width: 640px) {
  .modal-overlay { padding: 0.8rem; }
  .modal-window { max-height: 95vh; border-radius: 12px; }
  .ms-nav { padding: 10px 18px; }
  .ms-nav-links { display: none; }
  .ms-hero { padding: 50px 20px 40px; min-height: 200px; }
  .ms-hero h1 { font-size: 1.4rem; }
  .ms-section { padding: 30px 20px; }
  .ms-cards { grid-template-columns: 1fr 1fr; }
  .ms-about { padding: 30px 20px; }
  .ms-about-inner { grid-template-columns: 1fr; }
  .ms-about-visual { min-height: 120px; }
  .ms-info-bar { grid-template-columns: 1fr; }
  .ms-footer { flex-direction: column; text-align: center; padding: 20px; }
}
