/* Design Tokens - Ultra Premium */
:root {
    --bg-base: #000000;
    --bg-elevated: #0a0a0a;
    --bg-surface: #111111;
    --brand-green: #1cd760;
    --brand-green-glow: rgba(28, 215, 96, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(255, 255, 255, 0.15);
    
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --bezier-smooth: cubic-bezier(0.16, 1, 0.3, 1); /* Apple-like smooth spring */
    --transition-fast: 0.3s var(--bezier-smooth);
    --transition-slow: 0.8s var(--bezier-smooth);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-base);
}

body.ultra-dark {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--brand-green);
    color: #000;
}

/* Typography Defaults */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.display-1 { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 800; letter-spacing: -0.04em; }
.display-2 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem; }
.display-3 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }

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

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--brand-green);
    animation: blink 1s step-end infinite;
    margin-left: 5px;
    vertical-align: bottom;
    height: 1.1em;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.text-green-glow {
    color: var(--brand-green);
    text-shadow: 0 0 30px var(--brand-green-glow);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}
.text-center { text-align: center; }
.justify-center { justify-content: center; }
.relative { position: relative; }
.mb-2 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 4rem; }
.mt-1 { margin-top: 1rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.w-100 { width: 100%; text-align: center; }
.section-padding { padding: 8rem 0; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* Global Background (Clean Ultra Dark) */
body.ultra-dark {
    background: radial-gradient(circle at top center, #050a07 0%, #000000 70%);
}

/* Buttons (Premium Feel) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 100px; /* Pill shape */
    transition: var(--transition-fast);
    cursor: pointer;
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-sm {
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
}

.btn-solid-green {
    background-color: var(--brand-green);
    color: #000;
    border: 1px solid var(--brand-green);
    box-shadow: 0 0 20px rgba(28, 215, 96, 0.2);
}

.btn-solid-green:hover {
    background-color: #1ed760;
    box-shadow: 0 0 40px rgba(28, 215, 96, 0.4);
    transform: scale(1.02);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-highlight);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--brand-green);
    background-color: rgba(28, 215, 96, 0.05);
    color: var(--brand-green);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    padding: 1.2rem 1.5rem;
}
.btn-ghost:hover {
    color: var(--brand-green);
    transform: translateX(5px);
}

/* Magnetic Items (JS will handle transform, CSS handles transition) */
.magnetic {
    transition: transform 0.2s cubic-bezier(0.1, 0.7, 0.1, 1);
}

/* Header */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-slow);
}

.header.scrolled {
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.2rem;
}

.nav {
    display: flex;
    gap: 2.5rem;
    background: rgba(255,255,255,0.03);
    padding: 0.5rem 2rem;
    border-radius: 100px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(10px);
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
}

.hero-glow-bg {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(28, 215, 96, 0.08) 0%, rgba(0,0,0,0) 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.badge-premium {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(28, 215, 96, 0.05);
    border: 1px solid rgba(28, 215, 96, 0.2);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--brand-green);
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Manifesto */
.manifesto {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-premium {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}
.text-premium strong {
    color: var(--text-primary);
}

/* CRESCE Grid */
.cresce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2px; /* For the thin border effect */
    background: var(--border-subtle);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    overflow: hidden;
    margin-top: 4rem;
}

.premium-card {
    background: var(--bg-base);
    padding: 3rem;
    position: relative;
    transition: var(--transition-fast);
}

.card-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(28, 215, 96, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.premium-card:hover .card-glow { opacity: 1; }

.letter-mark {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-green);
    margin-bottom: 1.5rem;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(28, 215, 96, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Entregas */
.dark-gradient {
    background: linear-gradient(180deg, var(--bg-base) 0%, #030805 100%);
}

.entregas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 5rem;
}

.entrega-item {
    display: flex;
    gap: 2rem;
}

.icon-sleek {
    width: 64px; height: 64px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-green);
}

.entrega-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}
.entrega-item p {
    color: var(--text-secondary);
}

/* Processo (Counters) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 4rem;
}

/* DotCard Styles */
.outer {
  position: relative;
  background: transparent;
  width: 100%;
  padding: 1px;
}

.outer .dot {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 8px;
  height: 8px;
  background: var(--brand-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--brand-green), 0 0 20px var(--brand-green);
  z-index: 10;
  animation: moveDot 4s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.outer:hover .dot {
  opacity: 1;
}

@keyframes moveDot {
  0% { top: -4px; left: -4px; }
  25% { top: -4px; left: calc(100% - 4px); }
  50% { top: calc(100% - 4px); left: calc(100% - 4px); }
  75% { top: calc(100% - 4px); left: -4px; }
  100% { top: -4px; left: -4px; }
}

.outer .card {
  position: relative;
  background: rgba(15, 15, 15, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 3rem 1.5rem;
  overflow: hidden;
  z-index: 1;
  backdrop-filter: blur(10px);
}

.outer .ray {
  position: absolute;
  top: -150%;
  left: -150%;
  width: 300%;
  height: 300%;
  background: linear-gradient(to right, transparent, rgba(28, 215, 96, 0.05), transparent);
  transform: rotate(45deg);
  animation: raySweep 5s infinite linear;
  pointer-events: none;
}

@keyframes raySweep {
  0% { transform: translateY(-50%) translateX(-50%) rotate(45deg); }
  100% { transform: translateY(50%) translateX(50%) rotate(45deg); }
}

.outer .line {
  position: absolute;
  background: var(--brand-green);
  opacity: 0.5;
  box-shadow: 0 0 10px var(--brand-green);
}
.outer .line.topl { top: 0; left: 0; height: 1px; width: 0; transition: width 0.4s ease; }
.outer .line.bottoml { bottom: 0; right: 0; height: 1px; width: 0; transition: width 0.4s ease; }
.outer .line.leftl { bottom: 0; left: 0; width: 1px; height: 0; transition: height 0.4s ease; }
.outer .line.rightl { top: 0; right: 0; width: 1px; height: 0; transition: height 0.4s ease; }

.outer:hover .line.topl, .outer:hover .line.bottoml { width: 100%; }
.outer:hover .line.leftl, .outer:hover .line.rightl { height: 100%; }

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
    position: relative;
    z-index: 2;
}

.stat-unit {
    font-size: 1.2rem;
    color: var(--brand-green);
    margin-left: 0.2rem;
}
.stat-unit.prefix {
    margin-left: 0;
    margin-right: 0.2rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    align-items: center;
}

.pricing-tier {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
}

.pricing-tier.featured {
    background: var(--bg-elevated);
    border-color: rgba(28, 215, 96, 0.3);
    padding: 4rem 3rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.glow-border {
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(28,215,96,0.5) 0%, transparent 100%);
    z-index: -1;
    filter: blur(10px);
    opacity: 0.5;
}

.tier-badge {
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, -50%);
    background: var(--brand-green);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.4rem 1.2rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tier-header {
    text-align: center;
    margin-bottom: 2rem;
}
.tier-header h3 { font-size: 1.8rem; }
.tier-header p { color: var(--text-secondary); font-size: 0.9rem; }

.tier-price {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
}
.tier-price .currency { font-size: 1.5rem; margin-right: 0.2rem; }
.tier-price .period { font-size: 1rem; color: var(--text-secondary); font-weight: 500; margin-left: 0.2rem; }

.tier-features {
    margin-bottom: 3rem;
}
.tier-features li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.tier-features li strong {
    color: var(--text-primary);
}
.tier-features li:last-child { border-bottom: none; }

.pricing-disclaimer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer */
.footer-premium {
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0;
    background: #000;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 1rem;
}
.footer-legal p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* --- ANIMATIONS (Apple Style Smooth Reveals) --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--bezier-smooth), transform 1s var(--bezier-smooth);
    will-change: opacity, transform;
}
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s var(--bezier-smooth), transform 1s var(--bezier-smooth);
    will-change: opacity, transform;
}

.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Delays */
.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }
.fade-delay-4 { transition-delay: 0.4s; }

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    .cresce-grid { grid-template-columns: 1fr 1fr; }
    .entregas-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; gap: 4rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav { display: none; }
    .manifesto-grid { grid-template-columns: 1fr; }
    .cresce-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-container { flex-direction: column; gap: 2rem; text-align: center; }
    .display-1 { font-size: 2.5rem; }
}
