/* ==========================================================================
   WEBROS 3D SPATIAL DIGITAL AGENCY STYLESHEET
   Refractive Dark Glassmorphism, 3D Spatial Visuals & High Conversion UI
   ========================================================================== */

:root {
  --bg-dark: #070709;
  --bg-card: rgba(18, 18, 24, 0.75);
  --primary-pink: #ff00e5;
  --primary-glow: rgba(255, 0, 229, 0.4);
  --cyan: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.4);
  --yellow: #ffe600;
  --yellow-glow: rgba(255, 230, 0, 0.4);
  
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border-glass: rgba(255, 255, 255, 0.1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Cyber Grid Background & Glow Orbs */
.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(rgba(255, 0, 229, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 229, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(600px) rotateX(60deg) scale(2);
  transform-origin: top center;
  z-index: -2;
  pointer-events: none;
  animation: gridMove 25s linear infinite;
}

@keyframes gridMove {
  0% { transform: perspective(600px) rotateX(60deg) translateY(0) scale(2); }
  100% { transform: perspective(600px) rotateX(60deg) translateY(60px) scale(2); }
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.3;
}
.orb-pink { width: 600px; height: 600px; background: radial-gradient(circle, var(--primary-pink) 0%, transparent 70%); top: -150px; right: -150px; }
.orb-cyan { width: 500px; height: 500px; background: radial-gradient(circle, var(--cyan) 0%, transparent 70%); bottom: -100px; left: -150px; }

/* Navigation */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(7, 7, 9, 0.8);
}

.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo-badge {
  width: 38px; height: 38px; background: linear-gradient(135deg, var(--primary-pink), var(--cyan));
  color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; box-shadow: 0 0 15px var(--primary-glow);
}
.nav-title { font-family: var(--font-heading); font-weight: 900; font-size: 1.3rem; letter-spacing: 1px; }
.nav-sub { color: var(--cyan); font-size: 0.75rem; font-weight: 700; margin-left: 6px; }

.nav-links { display: flex; gap: 2rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: #fff; }

/* Buttons */
.btn {
  padding: 0.8rem 1.8rem; border-radius: 50px; font-weight: 800; font-family: var(--font-body);
  text-decoration: none; cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none; display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem;
}
.btn-primary { background: linear-gradient(135deg, var(--primary-pink), #a855f7); color: #fff; }
.btn-glow { box-shadow: 0 0 25px var(--primary-glow); }
.btn-glow:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 0 35px var(--primary-glow); }
.btn-whatsapp { background: rgba(37, 211, 102, 0.15); color: #25d366; border: 1px solid rgba(37, 211, 102, 0.4); }
.btn-whatsapp:hover { background: #25d366; color: #000; transform: translateY(-3px); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn-xl { padding: 1.15rem 2.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* Hero Section */
.hero-section {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 6% 4rem 6%;
  gap: 4rem;
}

.glass-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-glass);
  padding: 6px 16px; border-radius: 30px; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 1px; margin-bottom: 1.5rem;
}

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; animation: pulse 2s infinite; }
.pulse-dot.magenta { background: var(--primary-pink); box-shadow: 0 0 10px var(--primary-pink); }
.pulse-dot.cyan { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.pulse-dot.yellow { background: var(--yellow); box-shadow: 0 0 10px var(--yellow); }

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-family: var(--font-heading); font-size: 3.8rem; font-weight: 900;
  line-height: 1.05; text-transform: uppercase; margin-bottom: 1.5rem;
}

.gradient-script-pink { background: linear-gradient(135deg, #ff00e5, #ff52ec); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-style: italic; }
.gradient-script-cyan { background: linear-gradient(135deg, #00f0ff, #0088ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-style: italic; }
.gradient-script-yellow { background: linear-gradient(135deg, #ffe600, #ff9900); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-style: italic; }

.hero-subtitle { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 2.5rem; max-width: 560px; }

.hero-cta-group { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 3rem; }

.trust-bar {
  display: flex; gap: 2rem; border-top: 1px solid var(--border-glass);
  padding-top: 1.5rem; color: var(--text-muted); font-size: 0.85rem; font-weight: 700;
}

.hero-3d-frame {
  width: 100%; height: 500px; position: relative;
}

/* Glass Cards & Grids */
.glass-card {
  background: var(--bg-card); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass); border-radius: 24px; padding: 2rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.glass-card:hover {
  transform: translateY(-8px); border-color: var(--primary-pink);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px var(--primary-glow);
}

.glass-card-lg {
  background: rgba(18, 18, 24, 0.85); backdrop-filter: blur(30px);
  border: 1px solid var(--border-glass); border-radius: 32px; padding: 4rem 3.5rem;
}

/* Section Common */
.showcase-section, .calculator-section, .packages-section { padding: 6rem 6%; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-title { font-family: var(--font-heading); font-size: 3.2rem; font-weight: 900; text-transform: uppercase; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0.5rem auto 0 auto; }

/* Prototypes Showcase */
.prototype-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.proto-badge {
  display: inline-block; background: rgba(0, 240, 255, 0.15); color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.3); font-size: 0.75rem; font-weight: 800;
  padding: 4px 12px; border-radius: 20px; margin-bottom: 1.25rem;
}
.proto-card h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; margin-bottom: 0.5rem; }
.proto-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.75rem; min-height: 50px; }
.proto-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-glass); padding-top: 1.25rem; }
.proto-price { font-weight: 700; color: var(--cyan); font-size: 0.9rem; }

/* Interactive Calculator */
.calc-card { max-width: 1100px; margin: 0 auto; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.calc-label { font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; margin-bottom: 1.25rem; display: block; color: var(--yellow); }

.radio-group, .checkbox-group { display: flex; flex-direction: column; gap: 1rem; }
.radio-card, .checkbox-card {
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-glass);
  padding: 1.25rem; border-radius: 16px; cursor: pointer; display: flex; align-items: center; gap: 1rem;
  transition: all 0.3s;
}
.radio-card.active, .radio-card:hover, .checkbox-card:hover {
  background: rgba(255, 230, 0, 0.08); border-color: var(--yellow);
}
.radio-card strong, .checkbox-card span { display: block; font-weight: 700; }
.radio-card span { color: var(--text-muted); font-size: 0.85rem; }
.checkbox-card { justify-content: space-between; }
.checkbox-card strong { color: var(--yellow); }

.calc-total-box {
  background: rgba(255, 230, 0, 0.05); border: 1px solid var(--yellow);
  padding: 2.5rem; border-radius: 24px; text-align: center;
}
.total-label { color: var(--text-muted); font-size: 1rem; text-transform: uppercase; font-weight: 700; }
.total-price { font-family: var(--font-heading); font-size: 4rem; font-weight: 900; color: var(--yellow); margin: 0.5rem 0; }
.total-note { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.75rem; }

/* Pricing Packages */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; max-width: 1200px; margin: 0 auto; }
.pkg-card { position: relative; }
.pkg-card.featured { border-color: var(--primary-pink); box-shadow: 0 0 35px var(--primary-glow); }
.pkg-badge { position: absolute; top: -14px; right: 20px; background: var(--primary-pink); color: #fff; font-size: 0.7rem; font-weight: 900; padding: 4px 12px; border-radius: 20px; }
.pkg-card h3 { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 900; }
.pkg-price { font-family: var(--font-heading); font-size: 3rem; font-weight: 900; color: var(--primary-pink); margin: 0.5rem 0; }
.pkg-desc { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.75rem; min-height: 45px; }
.pkg-features { list-style: none; margin-bottom: 2rem; }
.pkg-features li { padding: 0.5rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: var(--text-main); font-size: 0.95rem; }

/* Footer */
footer { text-align: center; padding: 4rem 6%; border-top: 1px solid var(--border-glass); color: var(--text-muted); font-size: 0.95rem; }
.footer-content { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.copyright { font-size: 0.8rem; color: var(--text-dim); }

/* Modal */
.modal-backdrop {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(20px); z-index: 1000;
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: all 0.3s;
}
.modal-backdrop.active { opacity: 1; pointer-events: auto; }
.modal-glass { width: 90%; max-width: 500px; padding: 2.5rem; border-radius: 28px; position: relative; }
.modal-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--text-muted); font-size: 2rem; cursor: pointer; }
.price-summary-box { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-glass); padding: 1.25rem; border-radius: 16px; margin: 1.5rem 0; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.95rem; }
.summary-row.highlight { border-top: 1px solid var(--border-glass); padding-top: 0.5rem; margin-top: 0.5rem; font-size: 1.1rem; }
.text-pink { color: var(--primary-pink); }
.payment-instructions { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.5rem; text-align: center; }

@media (max-width: 900px) {
  .hero-section { grid-template-columns: 1fr; text-align: center; }
  .hero-title { font-size: 2.8rem; }
  .hero-cta-group { justify-content: center; }
  .trust-bar { justify-content: center; flex-wrap: wrap; }
  .calc-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
