* {
  box-sizing: border-box;
}

:root {
  --bg: #0b0d14;
  --bg-section: rgba(20, 24, 36, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f1f5f9; /* Slate 100 */
  --muted: #94a3b8; /* Slate 400 */
  --primary: #ffffff; /* White headings */
  --accent: #e73991; /* Zyntra Pink */
  --accent-secondary: #ff7650; /* Zyntra Orange */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  /* Fundo escuro com degradê suave focado nas cores do logo (Rosa/Laranja) de forma sutil e elegante */
  background: 
    radial-gradient(circle at 85% 0%, rgba(231, 57, 145, 0.12), transparent 45%),
    radial-gradient(circle at 15% 100%, rgba(255, 118, 80, 0.08), transparent 45%),
    #0b0d14;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
  color: var(--primary);
}

.eyebrow {
  display: block;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.eyebrow.center {
  text-align: center;
}

.section-subtitle {
  color: var(--muted);
  line-height: 1.6;
  font-size: 16px;
  max-width: 600px;
  margin: 16px auto 0;
}

/* Layout */
.site-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 40px;
}

/* Topbar Sticky */
.topbar.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 13, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.topbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.brand img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 8px rgba(231, 57, 145, 0.3));
}

.brand:hover img {
  transform: scale(1.02);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border-radius: 6px;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  text-decoration: none;
  font-size: 15px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  box-shadow: 0 4px 15px rgba(231, 57, 145, 0.25);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(231, 57, 145, 0.4);
  filter: brightness(1.1);
}

.btn-top {
  min-height: 38px;
  padding: 0 20px;
  font-size: 14px;
}

.btn-large {
  min-height: 52px;
  padding: 0 36px;
  font-size: 16px;
}

/* Solid Card Component */
.glass-card, .solid-card {
  background: rgba(22, 26, 38, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover, .solid-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(231, 57, 145, 0.3);
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
  padding: 100px 24px 40px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(rgba(11, 13, 20, 0.85), rgba(11, 13, 20, 0.98)),
    url("img/hero-zyntra-corporate.jpg") center/cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--primary);
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* Intro Grid */
.intro-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 0;
  max-width: 800px;
  margin: 0 auto;
}

.intro-copy h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.intro-copy p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 18px;
}

/* Technical Section */
.technical {
  padding: 100px 0 20px;
  text-align: center;
}

.technical h2 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.trace-box {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
}

.trace-header h3 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--primary);
}

.trace-header p {
  color: var(--muted);
  line-height: 1.6;
}

.trace-lists {
  display: flex;
  gap: 32px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.check-list li {
  color: var(--text);
  font-size: 15px;
  margin-bottom: 16px;
  padding-left: 28px;
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 400;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 20px;
  background: rgba(231, 57, 145, 0.1);
  border: 1px solid rgba(231, 57, 145, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-list li::after {
  content: '\2713';
  position: absolute;
  left: 5.5px;
  color: var(--accent);
  font-size: 11px;
  font-weight: bold;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  padding: 20px 0 100px;
}

.bento-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-item h3 {
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--primary);
}

.bento-item p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
  margin: 0;
}

.item-1 {
  grid-column: span 2;
}

.item-2 {
  grid-column: span 1;
}

.item-3 {
  grid-column: span 3;
  min-height: 350px;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 60px;
}

.card-demo-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 13, 20, 0.95) 0%, rgba(11, 13, 20, 0.8) 50%, rgba(11, 13, 20, 0.95) 100%),
    url("img/network-card-corporate.jpg") center/cover no-repeat;
  z-index: 0;
}

.item-3 .bento-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.item-3 h3 {
  font-size: 32px;
  color: #ffffff;
}

.item-3 p {
  margin-bottom: 30px;
  font-size: 18px;
  color: var(--muted);
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.footer-contact {
  width: 100%;
  text-align: center;
  margin-top: 24px;
  line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  opacity: 0;
}

.hero.fade-in { animation-delay: 0.1s; }
.intro-grid.fade-in { animation-delay: 0.2s; }
.technical.fade-in { animation-delay: 0.3s; }
.bento-grid.fade-in { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
  .hero {
    padding: 100px 24px 60px;
    min-height: 70vh;
  }
  .trace-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .item-1, .item-2, .item-3 {
    grid-column: span 1;
  }
  .trace-lists {
    flex-direction: column;
    gap: 16px;
  }
  .item-3 {
    padding: 40px 24px;
  }
  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
