/* --- Design System & Variables --- */
:root {
  --motrixa-primary: #1B3D2F;
  --color-accent-terracotta: #C18E66;
  --white: #FFFFFF;
  --app-bg: #F9F7F2;
  --app-text: #2D2D2D;
  --app-text-muted: #666666;
  --app-border: #E5E2D9;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --section-padding: 120px 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: var(--app-bg); color: var(--app-text); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; transition: var(--transition-smooth); }
img { max-width: 100%; height: auto; }

/* --- Navigation --- */
#main-header { padding: 24px 0; position: absolute; width: 100%; top: 0; z-index: 100; }
#main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 40px; width: auto; }
.nav-menu { display: flex; gap: 32px; }
.nav-menu a { color: var(--motrixa-primary); font-weight: 600; font-size: 0.95rem; }
.nav-menu a:hover { color: var(--color-accent-terracotta); }
.header-actions { display: flex; align-items: center; gap: 24px; }
.btn-login { color: var(--motrixa-primary); font-weight: 700; font-size: 0.95rem; }
.btn { padding: 14px 28px; border-radius: 12px; font-weight: 700; display: inline-block; cursor: pointer; border: none; }
.btn-primary { background-color: var(--color-accent-terracotta); color: var(--white); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(193, 142, 102, 0.3); }

.btn-apple-store {
  background: #050505;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.3);
}

.btn-apple-store:hover {
  background: #111;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.apple-store-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.apple-store-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.apple-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.apple-store-text small {
  font-size: 0.7rem;
  letter-spacing: 0.3px;
  font-weight: 600;
  opacity: 0.85;
}

.apple-store-text strong {
  font-size: 0.95rem;
  font-weight: 700;
}

/* --- Hero Section (Delicate & Premium) --- */
.hero { padding: 200px 0 120px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.hero-content h1 { font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1.1; color: var(--motrixa-primary); margin-bottom: 24px; letter-spacing: -2px; }
.hero-content p { font-size: 1.25rem; color: var(--app-text-muted); margin-bottom: 40px; max-width: 520px; }

.hero-image { position: relative; }
.hero-scene { position: relative; width: 100%; }
.aurora-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.aurora-blob { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.12; animation: pulseGlow 8s infinite alternate ease-in-out; }
.aurora-blob.one { width: 300px; height: 300px; background: var(--motrixa-primary); top: -50px; right: 0; }
.aurora-blob.two { width: 400px; height: 400px; background: var(--color-accent-terracotta); bottom: -100px; left: -50px; animation-delay: -3s; }

.main-display { position: relative; z-index: 1; }
.hero-img { width: 100%; display: block; filter: drop-shadow(0 30px 60px rgba(27, 61, 47, 0.15)); }

.floating-card { 
  position: absolute; background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(20px) saturate(180%); 
  padding: 12px 18px; border-radius: 18px; display: flex; gap: 12px; align-items: center; 
  border: 1px solid rgba(255, 255, 255, 0.5); z-index: 2; animation: floatSoft 6s infinite ease-in-out; 
  box-shadow: 0 15px 35px rgba(0,0,0,0.05); color: var(--app-text);
}
.card-1 { top: -10px; right: -20px; }
.card-2 { bottom: 40px; left: -40px; animation-delay: -3s; }
.card-3 { top: 35%; left: -60px; animation-delay: -4.5s; }
.card-icon { width: 38px; height: 38px; background: var(--motrixa-primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.card-info span { display: block; font-size: 0.7rem; color: var(--app-text-muted); font-weight: 700; text-transform: uppercase; }
.card-info strong { display: block; font-size: 0.85rem; color: var(--motrixa-primary); font-weight: 800; }

/* Social Proof (Instant) */
.social-proof { margin-top: 100px; padding-top: 40px; border-top: 1px solid var(--app-border); text-align: center; }
.social-proof p { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--app-text-muted); opacity: 0.5; margin-bottom: 32px; }
.brand-grid { display: flex; justify-content: space-between; align-items: center; opacity: 0.45; flex-wrap: wrap; gap: 30px; }
.brand { font-weight: 900; font-size: 1.1rem; letter-spacing: 1px; color: var(--motrixa-primary); }

/* --- Differential (App Showcase) --- */
.differential { background-color: var(--motrixa-primary); padding: 140px 0; color: var(--white); position: relative; overflow: hidden; }
.diff-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.d-blob { position: absolute; width: 800px; height: 800px; background: var(--color-accent-terracotta); filter: blur(150px); opacity: 0.08; top: -20%; right: -10%; animation: pulseGlow 10s infinite alternate ease-in-out; }
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; position: relative; z-index: 1; }
.badge { display: inline-block; padding: 6px 16px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 100px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; margin-bottom: 24px; color: var(--color-accent-terracotta); }
.diff-content h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1; margin-bottom: 24px; }
.benefit-list li { display: flex; gap: 20px; margin-bottom: 32px; }
.benefit-list .icon { width: 52px; height: 52px; background: rgba(255, 255, 255, 0.05); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.phone-container { position: relative; width: 320px; margin: 0 auto; }
.phone-frame { width: 100%; aspect-ratio: 9 / 19; background: #000; border-radius: 40px; border: 12px solid #1a1a1a; position: relative; box-shadow: 0 50px 100px rgba(0,0,0,0.5); overflow: hidden; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; display: block; }
.notif-card { position: absolute; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); padding: 16px; border-radius: 16px; display: flex; gap: 12px; align-items: center; width: 240px; z-index: 3; animation: floatSoft 6s infinite alternate ease-in-out; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); color: var(--app-text); }
.notif-card.n1 { top: 15%; right: -100px; }
.notif-card.n2 { bottom: 20%; left: -100px; animation-delay: -3s; }

/* --- Features (Zig Zag) --- */
.features { padding: var(--section-padding); background: var(--white); position: relative; overflow: hidden; }
.features .section-header { text-align: center; margin-bottom: 80px; position: relative; z-index: 1; }
.section-header h1,
.section-header h2 { font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1.2; color: var(--motrixa-primary); margin-bottom: 18px; font-weight: 800; letter-spacing: -1px; }
.section-header h1 span,
.section-header h2 span { color: var(--color-accent-terracotta); background: linear-gradient(90deg, var(--color-accent-terracotta) 0%, #D4A373 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-header p { font-size: 1.15rem; color: var(--app-text-muted); max-width: 660px; margin: 0 auto; line-height: 1.6; }
.tech-grid { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(27, 61, 47, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 61, 47, 0.03) 1px, transparent 1px); background-size: 50px 50px; mask-image: radial-gradient(circle at center, black, transparent 80%); }
.f-blob { position: absolute; width: 600px; height: 600px; border-radius: 50%; filter: blur(120px); opacity: 0.1; }
.f-one { background: var(--motrixa-primary); top: 10%; right: -200px; }
.f-two { background: var(--color-accent-terracotta); bottom: 10%; left: -200px; }
.feature-item { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; margin-bottom: 160px; position: relative; z-index: 1; }
.feature-item:nth-child(even) .feature-content { order: 2; }
.feature-item:nth-child(even) .feature-visual { order: 1; }
.feature-tag { display: inline-block; padding: 6px 16px; background: rgba(193, 142, 102, 0.08); color: var(--color-accent-terracotta); border: 1px solid rgba(193, 142, 102, 0.18); border-radius: 100px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.feature-visual { background: var(--white); border-radius: 20px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1); border: 1px solid var(--app-border); overflow: hidden; width: 100%; aspect-ratio: 1852 / 1050; display: flex; flex-direction: column; animation: floatSoft 8s ease-in-out infinite; }
.feature-visual img { flex: 1; width: 100%; object-fit: cover; display: block; min-height: 0; }
.window-header { background: #f9f7f2; padding: 12px 16px; border-bottom: 1px solid var(--app-border); display: flex; gap: 6px; }
.window-dots span { width: 10px; height: 10px; border-radius: 50%; }
.window-dots span:nth-child(1) { background: #FF5F56; }
.window-dots span:nth-child(2) { background: #FFBD2E; }
.window-dots span:nth-child(3) { background: #27C93F; }

/* --- Ecosystem (Bento Grid) --- */
.ecosystem { padding: var(--section-padding); background-color: var(--app-bg); position: relative; overflow: hidden; }
.f-three { position: absolute; width: 1000px; height: 1000px; background: var(--color-accent-terracotta); top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; filter: blur(180px); opacity: 0.08; }
.ecosystem .section-header { text-align: center; margin-bottom: 80px; position: relative; z-index: 1; }
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 320px; gap: 24px; position: relative; z-index: 1; }
.bento-card { background: var(--white); border-radius: 24px; padding: 32px; border: 1px solid var(--app-border); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; transition: var(--transition-smooth); overflow: hidden; position: relative; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); }
.bento-card:hover { transform: translateY(-6px); border-color: var(--color-accent-terracotta); box-shadow: 0 20px 40px rgba(27, 61, 47, 0.06); }
.b-stock, .b-wa, .b-perm, .b-pos { grid-column: span 2; }
.b-fin { grid-column: span 2; grid-row: span 2; }

.b-content { display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.b-icon { font-size: 1.8rem; margin-bottom: 4px; display: inline-block; }
.bento-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--motrixa-primary); margin: 0; }
.bento-card p { font-size: 0.95rem; color: var(--color-text-light); line-height: 1.5; margin: 0; }

/* 1. Controle de Estoque Visual */
.bento-stock-visual { display: flex; flex-direction: column; gap: 12px; margin-top: auto; z-index: 2; }
.stock-item-badge { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-radius: 16px; font-size: 0.9rem; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02); transition: var(--transition-smooth); border: 1px solid transparent; }
.stock-item-badge:hover { transform: translateX(4px); }
.stock-item-badge.success { background: rgba(46, 125, 50, 0.05); border-color: rgba(46, 125, 50, 0.1); color: #2E7D32; }
.stock-item-badge.warning { background: rgba(230, 81, 0, 0.05); border-color: rgba(230, 81, 0, 0.1); color: #E65100; }
.stock-name { font-weight: 600; }
.stock-qty { font-weight: 700; padding: 4px 10px; border-radius: 8px; font-size: 0.8rem; }
.success .stock-qty { background: rgba(46, 125, 50, 0.1); }
.warning .stock-qty { background: rgba(230, 81, 0, 0.1); animation: pulseSoft 2s infinite alternate ease-in-out; }

/* 2. WhatsApp Automático Visual */
.bento-wa-visual { display: flex; flex-direction: column; justify-content: center; padding: 20px; border-radius: 20px; background: linear-gradient(135deg, rgba(37, 211, 102, 0.05) 0%, rgba(255, 255, 255, 0.8) 100%); border: 1px solid rgba(37, 211, 102, 0.15); height: 120px; margin-top: auto; position: relative; overflow: hidden; z-index: 2; }
.bento-wa-visual::after { content: ''; position: absolute; right: -20px; bottom: -20px; width: 80px; height: 80px; background: rgba(37, 211, 102, 0.05); border-radius: 50%; filter: blur(15px); }
.chat-bubble { background: var(--white); padding: 14px; border-radius: 16px 16px 0 16px; font-size: 0.85rem; line-height: 1.4; color: var(--app-text); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04); align-self: flex-end; max-width: 95%; position: relative; border: 1px solid rgba(0, 0, 0, 0.02); animation: floatSoft 4s infinite alternate ease-in-out; }
.chat-bubble.left { background: #E1FFC7; border-color: rgba(37, 211, 102, 0.1); }
.chat-text { font-weight: 500; }
.chat-meta { font-size: 0.7rem; color: #888; margin-top: 6px; display: flex; justify-content: flex-end; align-items: center; gap: 4px; }

/* 3. Gestão Financeira Visual */
.bento-fin-visual { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; background: linear-gradient(180deg, #FAFAFA 0%, #F5F5F5 100%); border: 1px solid var(--app-border); padding: 28px; border-radius: 20px; height: 100%; margin-top: auto; z-index: 2; }
.fin-kpi { display: flex; flex-direction: column; gap: 6px; }
.kpi-label { font-size: 0.8rem; color: var(--color-text-light); font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; }
.kpi-val { font-size: 2.4rem; font-weight: 800; color: var(--motrixa-primary); letter-spacing: -1.2px; line-height: 1.1; }
.kpi-trend { font-size: 0.85rem; color: #2E7D32; font-weight: 700; background: rgba(46, 125, 50, 0.1); padding: 4px 10px; border-radius: 20px; align-self: flex-start; margin-top: 4px; }
.fin-bars { display: flex; align-items: flex-end; justify-content: space-between; height: 140px; padding-top: 10px; border-bottom: 2px solid rgba(0, 0, 0, 0.05); gap: 16px; }
.fin-bar { flex: 1; background: rgba(0, 0, 0, 0.06); border-radius: 8px 8px 0 0; height: var(--height); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); position: relative; }
.fin-bar::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; top: 0; background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%); border-radius: 8px 8px 0 0; }
.fin-bar:hover { transform: scaleY(1.05); }
.fin-bar.active { background: var(--color-accent-terracotta); box-shadow: 0 10px 24px rgba(193, 142, 102, 0.35); }

/* 4. Controle de Acessos Visual */
.bento-perm-visual { display: flex; flex-direction: column; gap: 12px; margin-top: auto; z-index: 2; }
.user-row { display: flex; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--app-border); padding: 12px 18px; border-radius: 16px; transition: var(--transition-smooth); }
.user-row:hover { background: var(--white); border-color: rgba(193, 142, 102, 0.3); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); transform: translateY(-2px); }
.user-info { display: flex; align-items: center; gap: 12px; }
.user-avatar { width: 32px; height: 32px; background: #E0E0E0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05); }
.user-name { font-size: 0.88rem; font-weight: 600; color: var(--motrixa-primary); }
.perm-badge { font-size: 0.72rem; font-weight: 800; padding: 6px 12px; border-radius: 30px; text-transform: uppercase; letter-spacing: 0.3px; }
.perm-badge.full { background: rgba(46, 125, 50, 0.1); color: #2E7D32; border: 1px solid rgba(46, 125, 50, 0.05); }
.perm-badge.OS { background: rgba(25, 118, 210, 0.1); color: #1976D2; border: 1px solid rgba(25, 118, 210, 0.05); }

/* 5. Venda de Balcão Visual */
.bento-pos-visual { display: flex; flex-direction: column; margin-top: auto; z-index: 2; }
.pos-receipt { background: var(--white); border: 1px solid var(--app-border); border-radius: 20px; padding: 18px 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); position: relative; overflow: hidden; }
.pos-receipt::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--color-accent-terracotta) 0%, #D4A373 100%); }
.receipt-header { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--color-text-light); margin-bottom: 14px; border-bottom: 1px dashed var(--app-border); padding-bottom: 10px; display: flex; justify-content: space-between; }
.receipt-item { display: flex; justify-content: space-between; align-items: center; font-size: 0.88rem; color: var(--motrixa-primary); margin-bottom: 12px; }
.receipt-item span { font-weight: 500; }
.receipt-item strong { font-weight: 700; }
.receipt-total { display: flex; justify-content: space-between; align-items: center; font-size: 0.95rem; color: var(--motrixa-primary); border-top: 1px dashed var(--app-border); padding-top: 12px; margin-top: 8px; }
.receipt-total span { font-weight: 700; }
.receipt-total strong { color: var(--color-accent-terracotta); font-weight: 800; font-size: 1.1rem; }

@keyframes pulseSoft {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

/* --- Video Tour (Cinema) --- */
.video-tour { 
  padding: 120px 0; 
  background: radial-gradient(circle at top, #142a20 0%, #0a140f 100%); 
  color: var(--white); 
  position: relative; 
  overflow: hidden; 
  text-align: center; 
}
.video-bg-glow { 
  position: absolute; 
  top: 55%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  width: 70%; 
  height: 70%; 
  background: radial-gradient(circle, rgba(193, 142, 102, 0.22) 0%, rgba(212, 163, 115, 0.05) 50%, transparent 80%); 
  filter: blur(100px); 
  opacity: 0.85; 
  animation: pulseGlow 8s infinite alternate ease-in-out; 
  z-index: 0; 
  pointer-events: none; 
}
.video-header { 
  margin-bottom: 60px; 
  position: relative; 
  z-index: 2; 
}
.video-header .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-terracotta);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--color-accent-terracotta);
  animation: badgePulse 2s infinite ease-in-out;
}
@keyframes badgePulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

/* --- CTA Final --- */
.cta-final { 
    padding: 100px 0; 
    background-color: var(--app-bg); 
    position: relative; 
    overflow: hidden; 
}
.cta-box {
    background: linear-gradient(135deg, var(--motrixa-primary) 0%, #0c2018 100%);
    border-radius: 40px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(27, 61, 47, 0.25);
    border: 1px solid rgba(193, 142, 102, 0.15);
    text-align: center;
    z-index: 1;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(193, 142, 102, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: rotateGlow 20s infinite linear;
}
.cta-box::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.06) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: rotateGlow 25s infinite linear reverse;
}
.cta-content { 
    position: relative; 
    z-index: 2; 
}
.cta-content h2 { 
    font-size: clamp(2.2rem, 5vw, 3.4rem); 
    color: var(--white); 
    font-weight: 800;
    margin-bottom: 20px; 
    line-height: 1.2;
    letter-spacing: -1px;
}
.cta-content h2 span {
    color: var(--color-accent-terracotta);
    background: linear-gradient(90deg, var(--color-accent-terracotta) 0%, #E6C594 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.cta-content p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.6;
}
.cta-actions { 
    display: flex; 
    gap: 20px; 
    justify-content: center; 
    margin-top: 0; 
}
.cta-actions .btn-primary {
    background-color: var(--color-accent-terracotta);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(193, 142, 102, 0.3);
}
.cta-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(193, 142, 102, 0.45);
}
.cta-actions .btn-outline { 
    border: 2px solid rgba(255, 255, 255, 0.2); 
    color: var(--white); 
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(10px);
}
.cta-actions .btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Footer --- */
.main-footer {
  padding: 80px 0 0;
  background: var(--motrixa-primary);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 28px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--color-accent-terracotta);
  border-color: var(--color-accent-terracotta);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(193, 142, 102, 0.25);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--color-accent-terracotta);
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fc-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.footer-contact li a,
.footer-contact li span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-contact li a:hover {
  color: var(--color-accent-terracotta);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-dev a {
  color: var(--color-accent-terracotta);
  font-weight: 700;
}

.footer-dev a:hover {
  text-decoration: underline;
}


/* Animations */
@keyframes floatSoft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }

/* --- Pricing Section --- */
.pricing { padding: 120px 0 88px; position: relative; overflow: hidden; background: var(--white); }
.p-blob { position: absolute; width: 600px; height: 600px; background: var(--motrixa-primary); filter: blur(120px); opacity: 0.05; top: 10%; right: -200px; }

.billing-toggle-wrapper { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.billing-toggle-wrapper span { font-weight: 700; color: var(--app-text-muted); font-size: 1rem; }
.save-badge { background: var(--color-accent-terracotta); color: var(--white); padding: 4px 10px; border-radius: 100px; font-size: 0.75rem; margin-left: 8px; }

/* Toggle Switch */
.switch { position: relative; display: inline-block; width: 60px; height: 34px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--app-border); transition: .4s; }
.slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; transition: .4s; }
input:checked + .slider { background-color: var(--color-accent-terracotta); }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 60px auto 0; align-items: stretch; max-width: 1180px; }
.pricing-card { background: var(--white); border: 1px solid var(--app-border); border-radius: 32px; padding: 40px 28px; transition: var(--transition-smooth); position: relative; display: flex; flex-direction: column; min-width: 0; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 40px 80px rgba(27, 61, 47, 0.1); }

.pricing-card.recommended { background: var(--motrixa-primary); color: var(--white); border-color: var(--motrixa-primary); transform: scale(1.05); z-index: 2; box-shadow: 0 50px 100px rgba(27, 61, 47, 0.2); }
.pricing-card.recommended:hover { transform: translateY(-10px) scale(1.05); }

.popular-badge { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: var(--color-accent-terracotta); color: var(--white); padding: 6px 20px; border-radius: 100px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.p-header h3 { font-size: clamp(1.65rem, 2vw, 1.9rem); margin-bottom: 8px; }
.p-header p { font-size: 1rem; opacity: 0.7; margin-bottom: 32px; }

.price-box { margin-bottom: 8px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 2px 8px; }
.price-box .currency { font-size: 1.2rem; font-weight: 700; margin-right: 4px; }
.price-box strong { font-size: clamp(2.8rem, 5vw, 3.5rem); line-height: 1; letter-spacing: -2px; }
.price-box .period { font-size: 1rem; opacity: 0.7; margin-left: 0; flex-basis: 100%; }

.price-billed { font-size: 0.78rem; color: var(--app-text-muted); margin-bottom: 32px; font-weight: 500; }
.recommended .price-billed { color: rgba(255, 255, 255, 0.6); }

.pricing-payment-info { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 60px; color: var(--app-text-muted); font-size: 0.82rem; }
.pricing-payment-info strong { color: var(--app-text); font-weight: 700; }

.p-features { list-style: none; margin-bottom: 40px; flex: 1; }
.p-features li { margin-bottom: 14px; display: flex; gap: 12px; font-size: 0.95rem; line-height: 1.5; }
.p-features li .check { color: var(--color-accent-terracotta); font-weight: 800; }
.recommended .p-features li .check { color: var(--color-accent-terracotta); }

.full-width { width: 100%; text-align: center; }

/* Pricing Card Buttons UI/UX Polish */
.pricing-card .btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 24px;
  font-size: 0.95rem;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  box-sizing: border-box;
}

.pricing-card .btn-outline {
  background: transparent;
  border: 2px solid var(--color-accent-terracotta);
  color: var(--color-accent-terracotta);
}

.pricing-card .btn-outline:hover {
  background: var(--color-accent-terracotta);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(193, 142, 102, 0.25);
}

.pricing-card .btn-primary {
  background: var(--color-accent-terracotta);
  color: var(--white);
  border: 2px solid var(--color-accent-terracotta);
}

.pricing-card .btn-primary:hover {
  background: #d4a373;
  border-color: #d4a373;
  color: #1b3d2f;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(193, 142, 102, 0.4);
}

/* Specific styling for recommended card button */
.pricing-card.recommended .btn-primary {
  background: var(--color-accent-terracotta);
  color: var(--white);
  border-color: var(--color-accent-terracotta);
}

.pricing-card.recommended .btn-primary:hover {
  background: var(--white);
  color: var(--motrixa-primary);
  border-color: var(--white);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.25);
}

@media (min-width: 1280px) {
  .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1440px;
  }

  .pricing-card {
    padding: 40px 24px;
  }

  .price-box strong {
    font-size: 3rem;
  }
}
.video-wrapper { 
  max-width: 940px; 
  margin: 0 auto; 
  position: relative; 
  z-index: 2; 
  animation: floatSoft 8s infinite ease-in-out;
  padding: 0 20px;
}

.video-mockup-window {
  background: #111a14;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(193, 142, 102, 0.05);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.5s ease;
}

.video-wrapper:hover .video-mockup-window {
  transform: translateY(-8px);
  box-shadow: 0 40px 85px rgba(0, 0, 0, 0.9), 0 0 60px rgba(193, 142, 102, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}

.window-header {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.window-dots {
  display: flex;
  gap: 6px;
  position: absolute;
  left: 16px;
  align-items: center;
}

.window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.window-title {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.4);
}

.video-player {
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
  overflow: hidden;
}

.video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* YouTube Lazy Facade */
.yt-facade {
  position: absolute;
  inset: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

.yt-facade-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
  transition: background 0.4s ease;
}

.yt-facade:hover .yt-facade-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.yt-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
}

.yt-facade:hover img {
  transform: scale(1.04);
  opacity: 0.95;
}

.yt-play-btn {
  position: absolute;
  z-index: 2;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.play-btn-glass {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(193, 142, 102, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(193, 142, 102, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 2;
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.play-btn-glass svg {
  width: 22px;
  height: 22px;
  margin-left: 4px;
  fill: currentColor;
}

.play-btn-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--color-accent-terracotta);
  opacity: 0;
  z-index: 1;
  animation: playRipple 2.5s infinite cubic-bezier(0.25, 0, 0, 1);
}

@keyframes playRipple {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.yt-facade:hover .yt-play-btn {
  transform: scale(1.12);
}

.yt-facade:hover .play-btn-glass {
  background: var(--white);
  color: var(--color-accent-terracotta);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4), inset 0 2px 4px rgba(255, 255, 255, 1);
}

.yt-facade:hover .play-btn-pulse {
  animation-duration: 1.5s;
  border-color: var(--white);
}

.recommended .p-features li { color: rgba(255, 255, 255, 0.8); }
.recommended .p-features li strong { color: var(--white); }
.recommended .p-header h3 { color: var(--white); }
.recommended .p-header p { color: rgba(255, 255, 255, 0.7); }
.recommended .price-box { color: var(--white); }

/* --- FAQ Section --- */
.faq-section {
  padding: var(--section-padding);
  background: var(--app-bg);
  position: relative;
  overflow: hidden;
}

.faq-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
}

.faq-blob {
  position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.08;
}

.faq-blob-1 {
  width: 600px; height: 600px; background: var(--motrixa-primary);
  top: -10%; right: -5%; animation: pulseGlow 10s infinite alternate ease-in-out;
}

.faq-blob-2 {
  width: 500px; height: 500px; background: var(--color-accent-terracotta);
  bottom: -15%; left: -5%; animation: pulseGlow 12s infinite alternate ease-in-out; animation-delay: -4s;
}

.faq-section .section-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 1;
}

.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--app-border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(193, 142, 102, 0.3);
  box-shadow: 0 8px 32px rgba(27, 61, 47, 0.06);
}

.faq-item.active {
  border-color: var(--color-accent-terracotta);
  box-shadow: 0 16px 48px rgba(27, 61, 47, 0.08);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  gap: 20px;
  transition: var(--transition-smooth);
}

.faq-trigger:hover {
  background: rgba(27, 61, 47, 0.015);
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--motrixa-primary);
  line-height: 1.4;
}

.faq-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 61, 47, 0.05);
  border-radius: 10px;
  color: var(--motrixa-primary);
  transition: var(--transition-smooth);
}

.faq-icon svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
  background: var(--motrixa-primary);
  color: var(--white);
}

.faq-item.active .faq-icon svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 28px 24px;
  color: var(--app-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-help {
  margin-top: 36px;
  text-align: center;
}

.faq-help p {
  margin-bottom: 16px;
  color: var(--app-text-muted);
}

/* --- Contact Section --- */
.contact-section {
  padding: 140px 0;
  background: linear-gradient(160deg, #0f2b1f 0%, #132e22 40%, #1a3a2c 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0;
}

.contact-blob {
  position: absolute; border-radius: 50%; filter: blur(150px);
}

.contact-blob-1 {
  width: 700px; height: 700px; background: var(--color-accent-terracotta);
  opacity: 0.1; top: -20%; left: -10%;
  animation: pulseGlow 10s infinite alternate ease-in-out;
}

.contact-blob-2 {
  width: 500px; height: 500px; background: var(--color-accent-terracotta);
  opacity: 0.06; bottom: -15%; right: -10%;
  animation: pulseGlow 12s infinite alternate ease-in-out; animation-delay: -5s;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-info .badge {
  margin-bottom: 24px;
}

.contact-info h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.contact-info > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 48px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: var(--transition-smooth);
}

.channel-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(8px);
}

.channel-icon {
  width: 48px; height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.channel-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.channel-text span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.channel-text a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.channel-text a:hover {
  color: var(--color-accent-terracotta);
}

.contact-info .btn-outline {
  margin-top: 28px;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.contact-info .btn-outline:hover {
  border-color: var(--color-accent-terracotta);
  color: var(--color-accent-terracotta);
  background: rgba(255, 255, 255, 0.06);
}

/* Contact Form Card (Glassmorphism) */
.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  padding: 44px;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent-terracotta);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(193, 142, 102, 0.15);
}

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  background: var(--motrixa-primary);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  grid-column: 1 / -1;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
}

.form-feedback {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  min-height: 24px;
  transition: var(--transition-smooth);
}

.form-feedback.success {
  color: #27C93F;
}

.form-feedback.error {
  color: #FF5F56;
}

/* --- Responsive Adjustments --- */

/* Hamburger menu button (hidden on desktop) */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--motrixa-primary);
  margin: 6px 0;
  transition: var(--transition-smooth);
  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(6px, -6px);
}

/* ===== Tablet (1024px) ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .diff-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .feature-item {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 100px;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
  }
  
  .b-stock, .b-wa, .b-fin, .b-perm {
    grid-column: span 1;
  }

  .b-pos {
    grid-column: span 2;
  }
  
  .b-fin {
    grid-row: span 1;
  }

  .pricing-grid {
    gap: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 32px;
  }
}

/* ===== Mobile (768px) ===== */
@media (max-width: 768px) {
  :root {
    --section-padding: 80px 16px;
  }

  /* --- Mobile Navigation --- */
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 24px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu a {
    font-size: 1.1rem;
    padding: 8px 0;
    border-bottom: 1px solid var(--app-border);
  }

  .header-actions .btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .btn-login {
    display: none;
  }

  /* --- Hero --- */
  .hero {
    padding: 140px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content p {
    margin: 0 auto 32px;
  }

  .floating-card {
    display: none;
  }

  .social-proof {
    margin-top: 60px;
  }

  .brand-grid {
    justify-content: center;
    gap: 20px;
  }

  .brand {
    font-size: 0.85rem;
  }

  /* --- Differential --- */
  .differential {
    padding: 80px 0;
  }

  .diff-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .diff-content {
    text-align: center;
  }

  .benefit-list li {
    text-align: left;
  }

  .phone-container {
    width: 260px;
  }

  .notif-card {
    display: none;
  }

  /* --- Features --- */
  .feature-item {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 80px;
  }

  .feature-item:nth-child(even) .feature-content { order: 0; }
  .feature-item:nth-child(even) .feature-visual { order: 0; }

  .feature-item:last-child {
    margin-bottom: 0;
  }

  .features .section-header {
    margin-bottom: 48px;
  }

  /* --- Ecosystem --- */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .b-stock, .b-wa, .b-perm, .b-pos, .b-fin {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bento-card {
    min-height: auto;
    padding: 24px;
  }

  /* --- Video Tour --- */
  .video-tour {
    padding: 80px 0;
  }

  .video-wrapper {
    animation: none;
    padding: 0 12px;
  }

  .video-mockup-window {
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  }

  .window-header {
    height: 32px;
    padding: 0 12px;
  }

  .window-dots {
    left: 12px;
    gap: 4px;
  }

  .window-dots span {
    width: 7px;
    height: 7px;
  }

  .window-title {
    font-size: 0.65rem;
  }

  .yt-play-btn {
    width: 60px;
    height: 60px;
  }

  .play-btn-glass {
    width: 50px;
    height: 50px;
  }

  .play-btn-glass svg {
    width: 16px;
    height: 16px;
    margin-left: 3px;
  }

  /* --- Pricing --- */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-card.recommended {
    transform: none;
  }

  .pricing-card.recommended:hover {
    transform: translateY(-10px);
  }

  .pricing-card {
    padding: 36px 24px;
  }

  /* --- CTA --- */
  .cta-final {
    padding: 60px 0;
  }

  .cta-box {
    padding: 50px 24px;
    border-radius: 28px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  /* --- FAQ --- */
  .faq-grid {
    gap: 12px;
  }

  .faq-trigger {
    padding: 20px;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .faq-answer p {
    padding: 0 20px 20px;
    font-size: 0.9rem;
  }

  /* --- Contact --- */
  .contact-section {
    padding: 80px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-info {
    text-align: center;
  }

  .channel-item {
    text-align: left;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 28px;
  }

  /* --- Footer --- */
  .main-footer {
    padding: 60px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-brand p {
    margin: 0 auto 28px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ===== Cookie Consent ===== */

/* --- Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9900;
  background: var(--white);
  border-top: 2px solid var(--app-border);
  box-shadow: 0 -8px 40px rgba(27, 61, 47, 0.12);
  padding: 20px 24px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

/* Ensure pointer cursor on all cookie consent buttons */
.cookie-banner button,
.cookie-modal button {
  cursor: pointer;
}

.cookie-banner__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 260px;
}

.cookie-banner__text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--motrixa-primary);
  margin-bottom: 6px;
}

.cookie-banner__text p {
  font-size: 0.88rem;
  color: var(--app-text-muted);
  line-height: 1.5;
}

.cookie-banner__link {
  color: var(--motrixa-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__link:hover {
  color: var(--color-accent-terracotta);
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}

/* Outline secondary cookie button */
.btn-cookie-outline {
  background: transparent;
  border: 2px solid var(--motrixa-primary);
  color: var(--motrixa-primary);
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-cookie-outline:hover {
  background: var(--motrixa-primary);
  color: var(--white);
}

/* Ghost secondary cookie button */
.btn-cookie-ghost {
  background: transparent;
  border: none;
  color: var(--app-text-muted);
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-cookie-ghost:hover {
  color: var(--motrixa-primary);
}

.cookie-banner .btn-primary {
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 10px;
}

/* --- Modal Overlay --- */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

/* Override browser [hidden] which is overridden by display:flex above */
.cookie-modal[hidden] { display: none; }

.cookie-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 61, 47, 0.55);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-modal--open .cookie-modal__overlay {
  opacity: 1;
}

/* --- Modal Box --- */
.cookie-modal__box {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(27, 61, 47, 0.2);
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.cookie-modal--open .cookie-modal__box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--app-border);
  flex-shrink: 0;
}

.cookie-modal__header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--motrixa-primary);
}

.cookie-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--app-text-muted);
  font-size: 1.5rem;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 8px;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal__close:hover {
  background: var(--app-border);
  color: var(--motrixa-primary);
}

.cookie-modal__body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}

.cookie-modal__body > p {
  font-size: 0.9rem;
  color: var(--app-text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* --- Cookie Category --- */
.cookie-category {
  border: 1px solid var(--app-border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 12px;
}

.cookie-category:last-child {
  margin-bottom: 0;
}

.cookie-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-category__info {
  flex: 1;
}

.cookie-category__info strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--motrixa-primary);
  margin-bottom: 4px;
}

.cookie-category__info span {
  font-size: 0.83rem;
  color: var(--app-text-muted);
  line-height: 1.5;
}

/* "Sempre ativo" badge */
.cookie-always-active {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--motrixa-primary);
  background: rgba(27, 61, 47, 0.08);
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Toggle Switch */
.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle__track {
  width: 44px;
  height: 24px;
  background: var(--app-border);
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.25s ease;
  position: relative;
  display: block;
}

.cookie-toggle__track::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  top: 3px;
  left: 3px;
  transition: transform 0.25s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle__track {
  background: var(--motrixa-primary);
}

.cookie-toggle input:checked + .cookie-toggle__track::after {
  transform: translateX(20px);
}

.cookie-toggle input:focus-visible + .cookie-toggle__track {
  outline: 2px solid var(--color-accent-terracotta);
  outline-offset: 3px;
}

/* --- Modal Footer --- */
.cookie-modal__footer {
  padding: 20px 28px;
  border-top: 1px solid var(--app-border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-modal__footer .btn-cookie-outline {
  padding: 12px 20px;
  font-size: 0.9rem;
}

.cookie-modal__footer .btn-primary {
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 10px;
}

/* --- Footer manage button --- */
.cookie-manage-link {
  background: none;
  border: none;
  cursor: pointer;
  font-size: inherit;
  color: inherit;
  font-family: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--transition-smooth);
}

.cookie-manage-link:hover {
  color: var(--color-accent-terracotta);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 16px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .cookie-banner__actions {
    justify-content: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .cookie-banner__actions .btn,
  .cookie-banner__actions .btn-cookie-outline,
  .cookie-banner__actions .btn-cookie-ghost {
    width: 100%;
    text-align: center;
    padding: 12px 16px;
  }

  .cookie-modal__header,
  .cookie-modal__body,
  .cookie-modal__footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cookie-modal__footer {
    flex-direction: column-reverse;
  }

  .cookie-modal__footer .btn,
  .cookie-modal__footer .btn-cookie-outline {
    width: 100%;
    text-align: center;
  }
}

/* ===== Small Mobile (480px) ===== */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
    letter-spacing: -1px;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .diff-content h2,
  .section-header h2,
  .contact-info h2,
  .cta-content h2 {
    font-size: 1.8rem;
  }

  .phone-container {
    width: 220px;
  }

  .billing-toggle-wrapper {
    flex-wrap: wrap;
    gap: 12px;
  }

  .price-box strong {
    font-size: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}

/* Mobile overlay for nav menu */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* --- Apps Section (Unified Interactive Showcase) --- */
.apps-section {
  padding: 140px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1D222B 0%, #0F1218 100%);
  transition: background 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.apps-section .section-header h2 {
  color: var(--white);
}

.apps-section .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.apps-section.theme-cliente {
  background: linear-gradient(135deg, #1B3D2F 0%, #0F221B 100%);
}

.apps-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.apps-blob {
  position: absolute;
  width: 800px;
  height: 800px;
  filter: blur(150px);
  opacity: 0.15;
  top: -20%;
  left: -10%;
  border-radius: 50%;
  background: var(--color-accent-terracotta);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.apps-section.theme-cliente .apps-blob {
  left: calc(100% - 600px);
  opacity: 0.1;
}

/* Tabs Container */
.apps-toggle-container {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px;
  border-radius: 20px;
  margin-top: 40px;
  gap: 8px;
}

.tab-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-smooth);
  text-align: left;
}

.tab-btn strong {
  display: block;
  font-size: 0.95rem;
  color: inherit;
}

.tab-btn small {
  display: block;
  font-size: 0.75rem;
  opacity: 0.8;
}

.tab-btn .tab-icon {
  font-size: 1.4rem;
}

.tab-btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active {
  background: var(--white);
  color: var(--motrixa-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Grid & Content Layout */
.apps-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  margin-top: 60px;
}

.apps-content-col {
  position: relative;
  min-height: 520px;
}

.tab-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
  pointer-events: none;
}

.tab-pane.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.badge-mini {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--color-accent-terracotta);
}

.tab-pane h3 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.tab-pane p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Buttons actions */
.apps-download-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.btn-app-store {
  background: #050505;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  padding: 10px 18px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.btn-app-store:hover {
  background: #111;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.app-store-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-store-icon svg {
  width: 100%;
  height: 100%;
}

.app-store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.app-store-text small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

.app-store-text strong {
  font-size: 0.95rem;
  font-weight: 700;
}

/* Mockup Mobile */
.phone-showcase-container {
  position: relative;
  width: 320px;
  margin: 0 auto;
}

.phone-screen-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 28px;
}

.phone-screen-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.phone-screen-img.active {
  position: relative;
  opacity: 1;
  z-index: 2;
}

/* Floating cards positioning override */
.apps-notif-cards {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.apps-notif-cards.hidden {
  display: none;
}

.n1-oficina, .n1-cliente {
  top: 15%;
  right: -80px;
}

.n2-oficina, .n2-cliente {
  bottom: 20%;
  left: -80px;
  animation-delay: -3s;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .apps-grid {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .apps-section {
    padding: 80px 0;
  }
  .apps-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 32px;
  }
  .apps-visual-col {
    order: 1; /* Exibe o mockup mobile primeiro, logo abaixo das abas */
  }
  .apps-content-col {
    order: 2; /* Exibe o texto de benefícios depois */
    min-height: auto;
  }
  .tab-pane {
    text-align: left;
  }
  .tab-pane h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-top: 10px;
  }
  .tab-pane > p {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  .phone-showcase-container {
    width: 250px;
  }
  .apps-download-actions {
    justify-content: center;
    gap: 12px;
  }
  .apps-toggle-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 340px;
    margin: 24px auto 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    padding: 4px;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .tab-btn {
    flex: 1;
    width: auto;
    justify-content: center;
    padding: 10px 8px;
    border-radius: 100px;
    gap: 8px;
  }
  .tab-btn strong {
    font-size: 0.85rem;
  }
  .tab-btn small {
    display: none; /* Oculta a descrição longa das abas no mobile */
  }
  .tab-btn .tab-icon {
    font-size: 1.1rem;
  }
  .n1-oficina, .n1-cliente, .n2-oficina, .n2-cliente {
    display: none;
  }
}

/* Subpages layout adjustments */
.subpage-body {
  padding-top: 100px;
}
@media (max-width: 768px) {
  .subpage-body {
    padding-top: 80px;
  }
}

/* PageSpeed Mobile rendering optimizations */
@media (max-width: 768px) {
  .aurora-blob,
  .d-blob,
  .video-bg-glow,
  .p-blob,
  .faq-blob,
  .contact-blob,
  .apps-blob,
  .cta-box::before,
  .cta-box::after {
    animation: none !important;
    filter: blur(40px) !important; /* Reduces blur radius on mobile to speed up paint times */
    opacity: 0.05 !important;
  }
}
