/* ==========================================
   CUSTOM PROPERTIES
   ========================================== */

:root {
  /* Fonts: Satoshi + Inter */
  --font-heading: 'Satoshi', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Cores baseadas na Logo (Navy #0b3567 & Orange #f18018) */
  --color-bg: #030a14;
  --color-text: #f8fafc;
  --color-text-muted: #94a3b8;
  
  --color-primary: #f18018;
  --color-primary-hover: #ff9d42;
  --color-secondary: #0b3567;
  --color-secondary-light: #164a8a;
  
  --color-glass: rgba(11, 53, 103, 0.25);
  --color-glass-border: rgba(255, 255, 255, 0.1);
  
  --color-glass-light: rgba(255, 255, 255, 0.6);
  --color-glass-border-light: rgba(255, 255, 255, 0.8);

  /* Typography Sizing */
  --fs-heading: 40px;
  --fs-body: 24px;

  /* Spacing */
  --section-py: clamp(4rem, 10vw, 8rem);
  --container-px: clamp(1.5rem, 5vw, 2.5rem);
  --container-max: 1200px;
}

@media (max-width: 900px) {
  :root {
    --fs-heading: 28px;
    --fs-body: 16px;
  }
}


/* ==========================================
   RESET
   ========================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.dark-apple-theme {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-size: var(--fs-heading);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================
   LAYOUT
   ========================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

/* ==========================================
   TYPOGRAPHY CONSTRAINTS & GRADIENTS
   ========================================== */

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.gradient-text-alt {
  background: linear-gradient(135deg, var(--color-primary) 0%, #ffc085 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ==========================================
   INTERACTIONS & MOTION
   ========================================== */

.hover-lift {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.float-loop {
  animation: float 6s ease-in-out infinite;
}

/* ==========================================
   GLASSMORPHISM
   ========================================== */

.glass-panel {
  background: var(--color-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--color-glass-border);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   HERO SECTION
   ========================================== */

.glass-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
  overflow: hidden;
  background-color: #ffffff;
  color: #111827;
}

.glass-hero .glass-panel {
  background: var(--color-glass-light);
  border-color: var(--color-glass-border-light);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.glass-hero .gradient-text {
  background: linear-gradient(135deg, #111827 0%, #4b5563 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-bg-orbs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.6;
  mix-blend-mode: multiply;
}

.orb-orange {
  top: -10%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  background: var(--color-primary);
  animation: float 10s ease-in-out infinite reverse;
}

.orb-blue {
  bottom: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: var(--color-secondary-light);
  animation: float 12s ease-in-out infinite;
}

.hero-container-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-visual-top {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 210px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-premium {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(241, 128, 24, 0.1);
  border: 1px solid rgba(241, 128, 24, 0.2);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--color-primary);
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #4b5563;
  margin-bottom: 3rem;
  max-width: 600px;
}

@media (max-width: 900px) {
  .hero-subheadline {
    margin-left: auto;
    margin-right: auto;
  }
}

.btn {
  display: inline-block;
  padding: 1.25rem 2.5rem;
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 100px;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(241, 128, 24, 0.4);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 8px 30px rgba(241, 128, 24, 0.6);
}

.hero-logo {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.2));
  position: relative;
  z-index: 2;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */

.features-section {
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 4rem;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.feature-card p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */

.products-container {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 4rem;
  position: relative;
}

.products-sticky {
  position: sticky;
  top: 120px;
  height: fit-content;
  padding-bottom: 2rem;
}

.products-sticky .section-title {
  text-align: left;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--color-text);
}

.products-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 4rem;
}

.product-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.product-item:last-child {
  border-bottom: none;
}

.product-item h3 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-text);
  transition: color 0.3s ease, transform 0.3s ease;
}

.product-item p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.product-item:hover h3 {
  color: var(--color-primary);
  transform: translateX(8px);
}

@media (max-width: 900px) {
  .products-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .products-sticky {
    position: static;
    padding-bottom: 0;
  }
  .products-list {
    padding-bottom: 0;
  }
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-section {
  padding: clamp(6rem, 15vw, 10rem) 0;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg);
}

.cta-spotlight {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vw;
  background: radial-gradient(circle, rgba(241, 128, 24, 0.15) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  position: relative;
}

.cta-headline {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.cta-subheadline {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .cta-section {
    padding: 6rem 0;
  }
}

/* ==========================================
   FOOTER (Template base)
   ========================================== */
.footer {
  text-align: center;
  padding: 2rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-glass-border);
  margin-top: 5rem;
  font-size: 0.875rem;
}
