/* ========================================
   AiStudio.id — Vibe Coding Landing Page
   Premium Dark Mode + Glassmorphism + Gradients
   ======================================== */

/* ===== CSS RESET & VARIABLES ===== */
:root {
  --bg-primary: #06060a;
  --bg-secondary: #0c0c14;
  --bg-card: rgba(15, 15, 25, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);

  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b80;

  --accent-purple: #7c3aed;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --accent-green: #10b981;
  --accent-orange: #f59e0b;

  --gradient-primary: linear-gradient(135deg, #7c3aed, #06b6d4);
  --gradient-secondary: linear-gradient(135deg, #ec4899, #7c3aed);
  --gradient-warm: linear-gradient(135deg, #f59e0b, #ef4444);

  --border-color: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(124, 58, 237, 0.3);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Outfit", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;

  --nav-height: 72px;
  --container-max: 1200px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTION SHARED ===== */
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--accent-purple);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.1rem;
  border-radius: var(--radius-lg);
}

.btn-icon {
  font-size: 1.2em;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(6, 6, 10, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  z-index: 1001;
}

.logo-icon {
  font-size: 1.6rem;
}

.logo-accent {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 50px;
  background: var(--gradient-primary);
  color: white;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.cta-arrow {
  transition: transform 0.3s ease;
}

.nav-cta:hover .cta-arrow {
  transform: translateX(3px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 40px) 0 80px;
  overflow: hidden;
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-purple);
  top: -20%;
  right: -10%;
  opacity: 0.15;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: var(--accent-cyan);
  bottom: -20%;
  left: -10%;
  opacity: 0.1;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 30%,
    transparent 70%
  );
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-purple);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-primary);
  animation: fadeInUp 0.8s ease 0.1s both;
}

.typing-wrapper {
  display: inline;
}

.typing-text {
  color: var(--accent-cyan);
}

.typing-cursor {
  color: var(--accent-cyan);
  animation: blink 1s step-end infinite;
  font-weight: 300;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle strong {
  color: var(--text-primary);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-avatars {
  display: flex;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
}

.avatar:first-child {
  margin-left: 0;
}

.hero-trust-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-trust-text strong {
  color: var(--text-primary);
}

/* Code Window */
.hero-visual {
  position: relative;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.code-window {
  background: rgba(10, 10, 20, 0.9);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(20px);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-color);
}

.code-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red {
  background: #ff5f57;
}
.dot.yellow {
  background: #febc2e;
}
.dot.green {
  background: #28c840;
}

.code-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.code-body {
  padding: 24px;
  overflow-x: auto;
}

.code-body pre {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.8;
}

.code-comment {
  color: #6a6a80;
}
.code-keyword {
  color: #c792ea;
}
.code-var {
  color: #82aaff;
}
.code-string {
  color: #c3e88d;
}
.code-func {
  color: #82aaff;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(15, 15, 25, 0.9);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.floating-icon {
  font-size: 1.2rem;
}

.card-1 {
  top: -15px;
  right: -10px;
  animation: float-1 6s ease-in-out infinite;
  border-color: rgba(245, 158, 11, 0.3);
}

.card-2 {
  bottom: 80px;
  left: -30px;
  animation: float-2 7s ease-in-out infinite;
  border-color: rgba(6, 182, 212, 0.3);
}

.card-3 {
  bottom: -10px;
  right: 40px;
  animation: float-3 5s ease-in-out infinite;
  border-color: rgba(124, 58, 237, 0.3);
}

@keyframes float-1 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

@keyframes float-2 {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(-2deg);
  }
}

@keyframes float-3 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: linear-gradient(135deg, #0e0e1a, #141428);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 40px 0;
  position: relative;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border-color);
}

/* ===== VALUE PROPOSITION ===== */
.value-prop {
  padding: 100px 0;
  position: relative;
}

.value-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.value-visual {
  position: relative;
}

.value-image-wrapper {
  position: relative;
}

.value-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--accent-purple);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Comparison Card */
.comparison-card {
  display: flex;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.comparison-side {
  flex: 1;
  padding: 28px 24px;
}

.comparison-side h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.comparison-side ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.comparison-side li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 4px;
}

.comparison-side.old {
  background: rgba(239, 68, 68, 0.05);
  border-right: 1px solid var(--border-color);
}

.comparison-side.old li {
  color: rgba(239, 68, 68, 0.7);
}

.comparison-side.new {
  background: rgba(16, 185, 129, 0.05);
}

.comparison-side.new li {
  color: rgba(16, 185, 129, 0.8);
}

.comparison-time {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.comparison-side.old .comparison-time {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.comparison-side.new .comparison-time {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.comparison-vs {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--accent-purple);
  z-index: 2;
}

/* Value Features */
.value-content .section-tag {
  margin-bottom: 16px;
}

.value-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.value-feature {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.value-feature:hover {
  background: var(--bg-glass);
  border-color: var(--border-color);
  transform: translateX(8px);
}

.feature-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.feature-info h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.feature-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== TRUSTED BY ===== */
.trusted-by {
  padding: 50px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.trusted-label {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-item {
  padding: 10px 24px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  cursor: default;
}

.logo-item:hover {
  color: var(--text-primary);
  border-color: var(--accent-purple);
  background: rgba(124, 58, 237, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.15);
}

/* ===== VIBE CODING SECTION ===== */
.vibe-section {
  padding: 100px 0;
  background: linear-gradient(
    180deg,
    var(--bg-primary) 0%,
    #0a0a18 50%,
    var(--bg-primary) 100%
  );
  position: relative;
  overflow: hidden;
}

.vibe-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.vibe-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
}

.vibe-glow-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-purple);
  top: 10%;
  left: -15%;
  opacity: 0.08;
}

.vibe-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-cyan);
  bottom: 10%;
  right: -10%;
  opacity: 0.06;
}

.vibe-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.vibe-header .section-subtitle {
  margin-top: 8px;
}

.vibe-header .section-subtitle strong {
  color: var(--text-primary);
}

.vibe-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.vibe-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.vibe-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.vibe-step:hover {
  border-color: var(--accent-purple);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.vibe-step:hover::before {
  opacity: 0.03;
}

.step-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(124, 58, 237, 0.08);
  line-height: 1;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.vibe-step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.vibe-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ===== PROGRAMS ===== */
.programs {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.programs-header {
  text-align: center;
  margin-bottom: 40px;
}

.programs-header .section-subtitle {
  margin-top: 8px;
}

/* Program Tabs */
.program-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 6px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

/* Program Panels */
.program-panel {
  display: none;
}

.program-panel.active {
  display: block;
  animation: fadeInUp 0.5s ease;
}

.program-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.program-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s ease;
  position: relative;
}

.program-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: var(--shadow-glow);
}

.program-card.featured {
  border-color: rgba(124, 58, 237, 0.3);
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.05),
    rgba(6, 182, 212, 0.05)
  );
}

.card-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 4px 16px;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.program-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.card-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.card-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.card-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== SHOWCASE ===== */
.showcase {
  padding: 100px 0;
}

.showcase-header {
  text-align: center;
  margin-bottom: 50px;
}

.showcase-header .section-subtitle {
  margin-top: 8px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.showcase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: var(--shadow-glow);
}

.showcase-preview {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-emoji {
  font-size: 3.5rem;
}

.showcase-info {
  padding: 20px;
}

.showcase-info h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.showcase-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.showcase-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-green);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 50px;
}

.testimonials-header .section-subtitle {
  margin-top: 8px;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: var(--shadow-glow);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: -10px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== FAQ ===== */
.faq {
  padding: 100px 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-container {
  max-width: 800px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(124, 58, 237, 0.2);
}

.faq-item.active {
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent-purple);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--accent-purple);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

/* ===== CTA FINAL ===== */
.cta-final {
  padding: 100px 0;
  background: linear-gradient(
    180deg,
    var(--bg-primary) 0%,
    #0e0a1a 50%,
    var(--bg-primary) 100%
  );
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.cta-glow-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-purple);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
}

.cta-glow-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-cyan);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.05;
}

.cta-container {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== FOOTER ===== */
.footer {
  background: #050508;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 50px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.2);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: var(--accent-purple);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  animation: wa-bounce 3s infinite;
}

.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

@keyframes wa-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    max-width: 550px;
    margin: 0 auto;
  }

  .vibe-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 32px;
    gap: 24px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--border-color);
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--nav-height) + 20px);
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .floating-card {
    display: none;
  }

  .stats-container {
    flex-direction: column;
    gap: 16px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .stat-number,
  .stat-suffix {
    font-size: 2rem;
  }

  .vibe-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .program-cards {
    grid-template-columns: 1fr;
  }

  .program-tabs {
    flex-direction: column;
    border-radius: var(--radius-md);
  }

  .tab-btn {
    text-align: center;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-cards {
    grid-template-columns: 1fr;
  }

  .comparison-card {
    flex-direction: column;
  }

  .comparison-vs {
    top: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
    margin: -22px auto;
  }

  .comparison-side.old {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .code-body pre {
    font-size: 0.75rem;
  }

  .vibe-step {
    padding: 28px 20px;
  }

  .program-card {
    padding: 28px;
  }

  .testimonial-card {
    padding: 28px;
  }

  .btn-large {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
}
