/* ============================================
   Intraland.Club — Landpage
   Design system: Deep ocean + ice + history
   ============================================ */

:root {
  /* Colors */
  --bg-deep: #020617;
  --bg-dark: #0c1929;
  --bg-card: #0f2744;
  --bg-card-hover: #133456;
  
  --primary: #38bdf8;
  --primary-dark: #0ea5e9;
  --primary-light: #7dd3fc;
  --accent: #67e8f9;
  
  --text-primary: #f0f9ff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --border: rgba(56, 189, 248, 0.15);
  --glow: rgba(56, 189, 248, 0.25);
  
  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  
  /* Spacing */
  --container: 1140px;
  --header-h: 72px;
  
  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

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

button, input {
  font-family: inherit;
}

/* Background effects */
.bg-aurora {
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(14, 165, 233, 0.18), transparent),
    radial-gradient(ellipse 60% 40% at 80% 10%, rgba(56, 189, 248, 0.12), transparent),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(6, 182, 212, 0.1), transparent);
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
  pointer-events: none;
  z-index: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s;
}

.header.scrolled {
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-img {
  width: 44px;
  height: 44px;
}

.logo-text .accent {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}

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

.nav-link.btn-nav {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--bg-deep);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-link.btn-nav:hover {
  color: var(--bg-deep);
  filter: brightness(1.1);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-light);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

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

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

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s var(--ease);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--bg-deep);
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(14, 165, 233, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: var(--primary);
}

/* Antarctica visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.antarctica-wrapper {
  position: relative;
  width: min(380px, 85vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.antarctica-glow {
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.antarctica-ring {
  position: absolute;
  inset: 5%;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 50%;
  animation: ring-spin 40s linear infinite;
}

.antarctica-ring.ring-2 {
  inset: -5%;
  border-color: rgba(56, 189, 248, 0.1);
  animation-duration: 60s;
  animation-direction: reverse;
}

@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.antarctica-svg {
  width: 75%;
  height: auto;
  color: var(--primary-light);
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.4));
  animation: antarctica-rotate 80s linear infinite;
  /* Counterclockwise = negative rotation */
}

@keyframes antarctica-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.visual-caption {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.5; }
}

/* ========== SECTIONS ========== */
.section {
  position: relative;
  padding: 6rem 0;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-tag.light {
  color: var(--primary-light);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.3s var(--ease);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 14px;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

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

/* Fragments */
.fragmentos {
  background: linear-gradient(180deg, transparent, rgba(12, 25, 41, 0.6), transparent);
}

.fragments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.fragment-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem 2rem;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.fragment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.fragment-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateX(4px);
}

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

.fragment-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.fragment-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

/* YouTube section */
.youtube-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  background: linear-gradient(135deg, var(--bg-card) 0%, #0a2238 100%);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.youtube-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 70%);
  pointer-events: none;
}

.youtube-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin: 0.5rem 0 1rem;
}

.youtube-content p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 480px;
}

.youtube-status {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.status-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.status-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.status-value {
  font-weight: 600;
  color: var(--primary-light);
}

.youtube-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-deep);
  box-shadow: 0 0 0 12px rgba(56, 189, 248, 0.15), 0 0 40px rgba(14, 165, 233, 0.3);
  transition: transform 0.3s var(--ease);
  cursor: default;
}

.play-circle:hover {
  transform: scale(1.05);
}

/* Contato */
.contato {
  text-align: center;
}

.contato-inner {
  max-width: 520px;
  margin: 0 auto;
}

.contato h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 0.75rem;
}

.contato p {
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.notify-form {
  display: flex;
  gap: 0.75rem;
  max-width: 420px;
  margin: 0 auto 0.75rem;
}

.notify-form input {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.notify-form input::placeholder {
  color: var(--text-muted);
}

.notify-form input:focus {
  border-color: var(--primary);
}

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

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: rgba(2, 6, 23, 0.8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

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

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }
  
  .hero-content {
    order: 1;
  }
  
  .hero-visual {
    order: 0;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  
  .fragments-grid {
    grid-template-columns: 1fr;
  }
  
  .youtube-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2.5rem 1.75rem;
  }
  
  .youtube-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .youtube-status {
    justify-content: center;
  }
  
  .youtube-visual {
    order: -1;
  }
  
  .play-circle {
    width: 90px;
    height: 90px;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    border-left: 1px solid var(--border);
    z-index: 105;
  }
  
  .nav.open {
    transform: translateX(0);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero {
    padding-top: calc(var(--header-h) + 1.5rem);
    min-height: auto;
    padding-bottom: 5rem;
  }
  
  .hero-title {
    font-size: 2.4rem;
  }
  
  .antarctica-wrapper {
    width: min(280px, 75vw);
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .notify-form {
    flex-direction: column;
  }
  
  .notify-form .btn {
    width: 100%;
    justify-content: center;
  }
  
  .scroll-indicator {
    display: none;
  }
}

/* Small mobile */
@media (max-width: 400px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .feature-card,
  .fragment-card {
    padding: 1.5rem;
  }
}
