/* ========================================
   ICENSA — Landing Page Styles
   Premium Dark Theme with Gold Accents
   ======================================== */

/* ====== RESET & BASE ====== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #0d1117;
  --bg-card: #161b22;
  --bg-card-hover: #1c2333;
  --border-color: rgba(197, 168, 97, 0.12);
  --border-color-hover: rgba(197, 168, 97, 0.3);

  --gold: #c5a861;
  --gold-light: #e8d5a3;
  --gold-dark: #a08a4a;
  --gold-gradient: linear-gradient(135deg, #c5a861, #e8d5a3, #c5a861);

  --text-primary: #e6edf3;
  --text-secondary: #8b949e;
  --text-muted: #484f58;

  --green: #3fb950;
  --red: #f85149;
  --blue: #58a6ff;
  --whatsapp: #25d366;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(197, 168, 97, 0.15);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0a0e17;
  box-shadow: 0 4px 15px rgba(197, 168, 97, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(197, 168, 97, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border: 1.5px solid var(--border-color-hover);
}

.btn-outline:hover {
  background: rgba(197, 168, 97, 0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
}

.btn-ghost:hover {
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.05);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* ====== GRADIENT TEXT ====== */
.gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 14, 23, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text-primary);
}

.logo-icon {
  font-size: 1.6rem;
}

.logo-text {
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-actions .btn {
  font-size: 0.9rem;
  padding: 10px 20px;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s;
  border-radius: 2px;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ====== HERO ====== */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 168, 97, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -100px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(88, 166, 255, 0.04), transparent 70%);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(197, 168, 97, 0.08);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ====== APP MOCKUP ====== */
.app-mockup {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s;
}

.app-mockup:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(1deg);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
}

.mockup-dots span:nth-child(1) {
  background: var(--red);
}

.mockup-dots span:nth-child(2) {
  background: #f0c541;
}

.mockup-dots span:nth-child(3) {
  background: var(--green);
}

.mockup-url {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 12px;
  border-radius: 6px;
  flex: 1;
  text-align: center;
}

.mockup-body {
  display: flex;
  min-height: 280px;
}

.mockup-sidebar {
  width: 140px;
  padding: 12px 8px;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mockup-nav-item {
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  color: var(--text-secondary);
  cursor: default;
}

.mockup-nav-item.active {
  background: rgba(197, 168, 97, 0.1);
  color: var(--gold-light);
}

.mockup-content {
  flex: 1;
  padding: 16px;
}

.mockup-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.mockup-stat {
  background: var(--bg-card);
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.ms-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.ms-value {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
}

.mockup-table {
  background: var(--bg-card);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.mt-header {
  padding: 10px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
}

.mt-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 0.65rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mt-row .gold {
  color: var(--gold-light);
  font-weight: 600;
}

/* ====== SECTIONS ====== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background: var(--bg-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ====== PAIN POINTS ====== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.pain-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(248, 81, 73, 0.1);
}

.pain-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.pain-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ====== FEATURES ====== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 168, 97, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card>p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ====== TRUST / SECURITY ====== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.trust-card {
  background: var(--bg-card);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.trust-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
}

.trust-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.trust-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.trust-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ====== HOW IT WORKS ====== */
.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
}

.step-card {
  background: var(--bg-card);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  flex: 1;
  max-width: 320px;
  text-align: center;
  transition: all 0.3s;
}

.step-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
}

.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  color: var(--gold);
  flex-shrink: 0;
}

.install-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(197, 168, 97, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  max-width: 700px;
  margin: 0 auto;
}

.install-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.install-content h4 {
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gold-light);
}

.install-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ====== PRICING PREVIEW ====== */
.pricing-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.pricing-preview-card {
  background: var(--bg-card);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.pricing-preview-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
}

.pricing-preview-card.featured {
  border-color: var(--gold);
  background: linear-gradient(to bottom, rgba(197, 168, 97, 0.06), var(--bg-card));
  box-shadow: var(--shadow-glow);
}

.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-gradient);
  color: #0a0e17;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.plan-features-short {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features-short li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 24px;
  position: relative;
}

.plan-features-short li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.pricing-cta {
  text-align: center;
}

.pricing-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ====== CTA SECTION ====== */
.cta-section {
  padding: 60px 0 100px;
}

.cta-card {
  background: linear-gradient(135deg, rgba(197, 168, 97, 0.08), rgba(197, 168, 97, 0.02));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
}

.cta-card h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ====== FOOTER ====== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-links p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ====== ANIMATIONS ====== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grids */
.pain-grid [data-animate]:nth-child(2),
.features-grid [data-animate]:nth-child(2),
.pricing-preview-grid [data-animate]:nth-child(2),
.trust-grid [data-animate]:nth-child(2) {
  transition-delay: 0.1s;
}

.pain-grid [data-animate]:nth-child(3),
.features-grid [data-animate]:nth-child(3),
.pricing-preview-grid [data-animate]:nth-child(3),
.trust-grid [data-animate]:nth-child(3) {
  transition-delay: 0.2s;
}

.pain-grid [data-animate]:nth-child(4),
.features-grid [data-animate]:nth-child(4),
.trust-grid [data-animate]:nth-child(4) {
  transition-delay: 0.3s;
}

.pain-grid [data-animate]:nth-child(5),
.features-grid [data-animate]:nth-child(5) {
  transition-delay: 0.4s;
}

.pain-grid [data-animate]:nth-child(6),
.features-grid [data-animate]:nth-child(6) {
  transition-delay: 0.5s;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .pain-grid,
  .features-grid,
  .pricing-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .steps-grid {
    flex-direction: column;
  }

  .step-connector {
    transform: rotate(90deg);
  }

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

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .pain-grid,
  .features-grid,
  .pricing-preview-grid {
    grid-template-columns: 1fr;
  }

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

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

  .cta-card h2 {
    font-size: 1.5rem;
  }

  .plan-price {
    font-size: 2rem;
  }
}

/* Unlimited golden sparkle line animation */
.unlimited-sparkle {
  background: linear-gradient(90deg, #d4af37 0%, #fff6d9 20%, #d4af37 40%, #ffedb3 60%, #d4af37 80%, #fff6d9 100%);
  background-size: 200% auto;
  color: transparent !important;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine-sparkle 2.5s linear infinite;
  display: inline-block;
  font-weight: bold;
}

@keyframes shine-sparkle {
  to {
    background-position: 200% center;
  }
}