/* ============================================================
   CHAOS DESIGN SYSTEM 2026 ◢ Brutalist + Chaotic
   НЕТ СЕТОК • НЕТ СИММЕТРИИ • НЕТ ПРАВИЛ
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;700;900&family=Rubik:wght@400;600;800;900&display=swap');

:root {
  --pink: #FF6BA8;
  --blue: #4D9FFF;
  --purple: #9D5CFF;
  --yellow: #FFD93D;
  --cyan: #3CDFFF;
  --orange: #FF8C42;
  --bg: #FFF8F0;
  --dark: #1A1A2E;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Rubik', sans-serif;
}

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

html, body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--dark);
  overflow-x: hidden;
  position: relative;
}

/* ============================================================
   CHAOTIC BACKGROUND
   ============================================================ */

.chaos-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.chaos-shape {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  background: var(--color);
  opacity: 0.08;
  filter: blur(80px);
  transform: rotate(var(--rotation));
  animation: chaosFloat 20s ease-in-out infinite;
}

@keyframes chaosFloat {
  0%, 100% { transform: rotate(var(--rotation)) translate(0, 0); }
  33% { transform: rotate(calc(var(--rotation) + 45deg)) translate(50px, -50px); }
  66% { transform: rotate(calc(var(--rotation) - 60deg)) translate(-30px, 30px); }
}

/* ============================================================
   DIAGONAL NAVIGATION
   ============================================================ */

.diagonal-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 3rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--dark);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
}

.logo-chaos {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-weight: 900;
}

.logo-star {
  font-size: 2rem;
  color: var(--yellow);
  animation: spinStar 3s linear infinite;
}

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

.logo-text {
  font-size: 1.5rem;
  color: var(--dark);
  letter-spacing: -1px;
}

.logo-play {
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-item {
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transform: rotate(calc(var(--angle) * 1deg));
  transition: all 0.3s;
  display: inline-block;
}

.nav-item:hover {
  color: var(--pink);
  transform: rotate(0deg) scale(1.1);
}

.cta-chaos {
  background: var(--dark);
  color: white;
  padding: 0.8rem 2rem;
  border: 3px solid var(--dark);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  transform: skew(-5deg);
  box-shadow: 4px 4px 0 var(--pink);
}

.cta-chaos:hover {
  transform: skew(-5deg) translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--pink);
}

.cta-arrow {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.3s;
}

.cta-chaos:hover .cta-arrow {
  transform: translateX(5px);
}

/* ============================================================
   HERO CHAOS
   ============================================================ */

.hero-chaos {
  min-height: 100vh;
  padding: 10rem 3rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* HUGE Title */
.title-chaos {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.9;
  letter-spacing: -5px;
  margin-bottom: 3rem;
  position: relative;
}

.title-line {
  display: block;
  transform-origin: left center;
}

.title-line:nth-child(1) {
  transform: rotate(-2deg);
  color: var(--dark);
}

.title-english {
  transform: rotate(3deg) translateX(10%);
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(157, 92, 255, 0.3)); }
  50% { filter: drop-shadow(0 0 40px rgba(157, 92, 255, 0.6)); }
}

.title-play {
  transform: rotate(-4deg) translateX(-5%);
  color: var(--yellow);
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
}

/* Scattered Text */
.text-scattered {
  position: absolute;
  top: 30%;
  right: 5%;
  width: 300px;
}

.scatter-1, .scatter-2, .scatter-3 {
  background: white;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
  border: 3px solid var(--dark);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
}

.scatter-1 {
  transform: rotate(calc(var(--angle) * 1deg));
  background: #FFE5F1;
}

.scatter-2 {
  transform: rotate(calc(var(--angle) * 1deg));
  background: #E5F1FF;
}

.scatter-3 {
  transform: rotate(calc(var(--angle) * 1deg));
  background: #FFF9E5;
}

/* Phone Chaos */
.phone-chaos {
  position: absolute;
  top: 15%;
  right: 30%;
  width: 280px;
  animation: phoneFloat 4s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.phone-frame {
  background: var(--dark);
  border-radius: 40px;
  padding: 15px;
  border: 5px solid var(--dark);
  box-shadow: 10px 10px 0 var(--purple);
  transform: rotate(-5deg);
}

.phone-content {
  background: linear-gradient(180deg, #FFE5F1, #E5F1FF);
  border-radius: 30px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.phone-emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 2s ease-in-out infinite;
}

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

.phone-wave {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 2rem;
}

.phone-mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  width: 100%;
}

.mini-card {
  aspect-ratio: 1;
  background: white;
  border: 3px solid var(--dark);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: cardPop 0.6s var(--delay) both;
}

@keyframes cardPop {
  from { transform: scale(0) rotate(180deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

/* Floating Badges */
.float-badge {
  position: absolute;
  background: var(--yellow);
  color: var(--dark);
  padding: 0.5rem 1rem;
  font-weight: 900;
  border: 3px solid var(--dark);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  font-family: var(--font-heading);
  animation: badgeFloat 3s ease-in-out infinite;
}

.badge-1 {
  top: -20px;
  right: -30px;
  background: var(--pink);
  color: white;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 20px;
  left: -40px;
  background: var(--cyan);
  animation-delay: 1s;
}

.badge-3 {
  top: 50%;
  left: -50px;
  background: var(--orange);
  color: white;
  animation-delay: 2s;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(5deg); }
}

/* CTA Buttons */
.cta-group {
  margin-top: 3rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-mega {
  position: relative;
  background: var(--pink);
  color: white;
  padding: 1.5rem 3rem;
  border: 5px solid var(--dark);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  cursor: pointer;
  overflow: hidden;
  transform: skew(-3deg);
  box-shadow: 8px 8px 0 var(--dark);
  transition: all 0.3s;
}

.btn-mega:hover {
  transform: skew(-3deg) translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--dark);
}

.btn-text {
  position: relative;
  z-index: 2;
}

.btn-icon {
  font-size: 2rem;
  margin-left: 0.5rem;
}

.btn-small {
  background: white;
  color: var(--dark);
  padding: 1rem 2rem;
  border: 3px solid var(--dark);
  font-weight: 700;
  cursor: pointer;
  transform: rotate(calc(var(--angle) * 1deg));
  transition: all 0.3s;
}

.btn-small:hover {
  background: var(--dark);
  color: white;
  transform: rotate(0deg);
}

/* Decorative Circles */
.deco-circle {
  position: absolute;
  font-size: 3rem;
  animation: float 8s ease-in-out infinite;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
}

.deco-1 { top: 10%; left: 10%; animation-delay: 0s; }
.deco-2 { top: 20%; right: 10%; animation-delay: 2s; }
.deco-3 { bottom: 20%; left: 15%; animation-delay: 4s; }
.deco-4 { bottom: 15%; right: 20%; animation-delay: 6s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(10deg); }
  75% { transform: translateY(-10px) rotate(-10deg); }
}

/* ============================================================
   BENTO SECTION (Irregular Grid)
   ============================================================ */

.bento-section {
  padding: 8rem 3rem;
  background: white;
}

.bento-container {
  max-width: 1400px;
  margin: 0 auto;
}

.bento-title {
  margin-bottom: 4rem;
}

.bento-title h2 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -3px;
}

/* Glitch Effect */
.glitch {
  position: relative;
  display: inline-block;
  color: var(--pink);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  animation: glitch-1 0.3s infinite;
  color: var(--cyan);
  z-index: -1;
}

.glitch::after {
  animation: glitch-2 0.3s infinite;
  color: var(--purple);
  z-index: -2;
}

@keyframes glitch-1 {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

@keyframes glitch-2 {
  0% { transform: translate(0); }
  20% { transform: translate(2px, -2px); }
  40% { transform: translate(2px, 2px); }
  60% { transform: translate(-2px, -2px); }
  80% { transform: translate(-2px, 2px); }
  100% { transform: translate(0); }
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  grid-auto-rows: 200px;
}

.bento-card {
  background: var(--bg);
  padding: 2rem;
  border: 4px solid var(--dark);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
  transform: rotate(calc(var(--angle) * 1deg));
  transition: all 0.3s;
}

.bento-card:hover {
  transform: rotate(0deg) translate(-3px, -3px);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.15);
}

.bento-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.bento-card h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.bento-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.8;
}

/* Grid Sizes */
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
  background: #FFE5F1;
}

.bento-medium {
  grid-column: span 2;
  background: #E5F1FF;
}

.bento-small {
  background: #FFF9E5;
}

.bento-wide {
  grid-column: span 2;
  background: #F0FFE5;
}

.bento-tall {
  grid-row: span 2;
  background: #FFE5FB;
}

.bento-square {
  background: #E5FFFA;
}

/* ============================================================
   STATS DIAGONAL
   ============================================================ */

.stats-diagonal {
  padding: 6rem 3rem;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.stats-diagonal::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.05) 20px,
    transparent 20px,
    transparent 40px
  );
  animation: diagonalMove 20s linear infinite;
}

@keyframes diagonalMove {
  from { transform: translate(0, 0); }
  to { transform: translate(100px, 100px); }
}

.stat-item {
  text-align: center;
  color: white;
  transform: rotate(calc(var(--angle) * 1deg));
  position: relative;
  z-index: 2;
}

.stat-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 4rem;
  line-height: 1;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-weight: 700;
  font-size: 1.1rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

/* ============================================================
   CTA MEGA
   ============================================================ */

.cta-mega-section {
  padding: 10rem 3rem;
  text-align: center;
  position: relative;
}

.cta-mega-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 8rem);
  line-height: 1;
  margin-bottom: 3rem;
  letter-spacing: -3px;
}

.cta-word {
  display: inline-block;
  animation: wordPop 0.6s ease-out both;
}

.cta-word:nth-child(1) { animation-delay: 0s; }
.cta-word:nth-child(2) { animation-delay: 0.1s; }
.cta-word:nth-child(3) { animation-delay: 0.2s; }

@keyframes wordPop {
  from { transform: scale(0) rotate(-180deg); opacity: 0; }
  to { transform: scale(1) rotate(0deg); opacity: 1; }
}

.cta-emoji {
  font-size: 8rem;
  display: block;
  animation: rocketLaunch 2s ease-in-out infinite;
}

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

.btn-download-chaos {
  position: relative;
  background: var(--dark);
  color: white;
  padding: 2rem 4rem;
  border: 6px solid var(--dark);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--pink);
  transition: all 0.3s;
  margin-bottom: 2rem;
}

.btn-download-chaos:hover {
  transform: translate(-5px, -5px);
  box-shadow: 15px 15px 0 var(--pink);
}

.btn-chaos-text {
  position: relative;
  z-index: 2;
}

.btn-chaos-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.platforms-chaos {
  font-weight: 700;
  font-size: 1.1rem;
  opacity: 0.6;
}

.platforms-chaos span {
  margin: 0 0.5rem;
}

/* ============================================================
   GAME CARDS
   ============================================================ */

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.game-card {
  background: white;
  border: 4px solid var(--dark);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
}

.game-card:hover {
  transform: translateY(-10px);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.15);
}

.game-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.game-card h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.game-card p {
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.game-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.85rem;
  border: 2px solid var(--dark);
  margin-top: 0.5rem;
}

/* ============================================================
   PRICING CARDS
   ============================================================ */

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

.pricing-card {
  background: white;
  border: 4px solid var(--dark);
  padding: 2.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  background: linear-gradient(135deg, #FFE5F1, #E5F1FF);
  transform: scale(1.05);
  box-shadow: 10px 10px 0 var(--purple);
}

.pricing-card:hover {
  transform: translateY(-10px) scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: var(--pink);
  color: white;
  padding: 0.5rem 1rem;
  font-weight: 900;
  border: 3px solid var(--dark);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
  transform: rotate(10deg);
}

.pricing-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.pricing-price {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 3.5rem;
  color: var(--pink);
  margin-bottom: 0.5rem;
}

.pricing-period {
  opacity: 0.6;
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.8rem 0;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

.pricing-features li::before {
  content: '✓';
  color: var(--pink);
  font-weight: 900;
  margin-right: 0.5rem;
}

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */

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

.testimonial-card {
  background: white;
  border: 3px solid var(--dark);
  padding: 2rem;
  position: relative;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.1);
  transform: rotate(calc(var(--angle) * 1deg));
  transition: all 0.3s;
}

.testimonial-card:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.15);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}

.testimonial-text {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 3px solid var(--dark);
}

.testimonial-info h4 {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.testimonial-info p {
  font-size: 0.9rem;
  opacity: 0.6;
}

.testimonial-stars {
  color: var(--yellow);
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* ============================================================
   DOWNLOAD SECTION
   ============================================================ */

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.download-card {
  background: white;
  border: 4px solid var(--dark);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.15);
}

.download-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.download-card h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.download-card p {
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.download-btn {
  width: 100%;
  background: var(--dark);
  color: white;
  padding: 1rem;
  border: 3px solid var(--dark);
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 4px 4px 0 var(--pink);
}

.download-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--pink);
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */

.section {
  padding: 6rem 3rem;
}

.section-white {
  background: white;
}

.section-cream {
  background: var(--bg);
}

.section-gradient {
  background: linear-gradient(135deg, #FFE5F1, #E5F1FF);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -2px;
  line-height: 1.1;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* ============================================================
   FEATURE LIST
   ============================================================ */

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

.feature-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.feature-content h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.feature-content p {
  line-height: 1.6;
  opacity: 0.8;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer-chaos {
  background: var(--dark);
  color: white;
  padding: 3rem 3rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copy {
  opacity: 0.5;
  font-size: 0.9rem;
}

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

/* ============================================================
   PRELOADER
   ============================================================ */

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 4rem;
  animation: pulse 1.5s ease-in-out infinite;
}

/* ============================================================
   HAMBURGER MENU
   ============================================================ */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--dark);
  transition: all 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================================
   RIPPLE EFFECT
   ============================================================ */

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-anim {
  to {
    transform: scale(2);
    opacity: 0;
  }
}

/* ============================================================
   CONFETTI
   ============================================================ */

.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  top: -10px;
  z-index: 9999;
  animation: confetti-fall linear forwards;
  pointer-events: none;
}

@keyframes confetti-fall {
  to {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */

.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--pink);
  color: white;
  border: 3px solid var(--dark);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 5px 5px 0 var(--dark);
  opacity: 0;
  visibility: hidden;
  transform: scale(0);
  transition: all 0.3s;
  z-index: 999;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.scroll-top-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 7px 7px 0 var(--dark);
}

/* ============================================================
   FORM VALIDATION
   ============================================================ */

input.error,
textarea.error {
  border-color: #FF6B6B !important;
  background: #FFE5E5 !important;
}

.error-msg {
  color: #FF6B6B;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.5rem;
  display: block;
}

/* ============================================================
   FAQ STYLES
   ============================================================ */

.faq-item {
  background: white;
  border: 3px solid var(--dark);
  margin-bottom: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.faq-question {
  padding: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 2rem;
  font-weight: 900;
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
  color: var(--pink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  line-height: 1.6;
}

/* ============================================================
   FORM STYLES
   ============================================================ */

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 3px solid var(--dark);
  background: white;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--pink);
  box-shadow: 5px 5px 0 rgba(255, 107, 168, 0.2);
  transform: translate(-2px, -2px);
}

button[type="submit"] {
  background: var(--dark);
  color: white;
  padding: 1rem 3rem;
  border: 3px solid var(--dark);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 6px 6px 0 var(--pink);
  transition: all 0.3s;
}

button[type="submit"]:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--pink);
}

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

@media (max-width: 968px) {
  .diagonal-nav {
    padding: 1rem 1.5rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-items {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateX(-100%);
    transition: transform 0.3s;
    border-bottom: 3px solid var(--dark);
  }

  .nav-items.mobile-active {
    transform: translateX(0);
  }

  .nav-item {
    transform: rotate(0deg) !important;
    font-size: 1.2rem;
  }

  .hero-chaos {
    padding: 8rem 1.5rem 4rem;
  }

  .title-chaos {
    font-size: 4rem;
  }

  .text-scattered {
    position: static;
    width: 100%;
    margin-top: 2rem;
  }

  .phone-chaos {
    position: static;
    margin: 3rem auto;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .bento-large,
  .bento-medium,
  .bento-small,
  .bento-wide,
  .bento-tall,
  .bento-square {
    grid-column: span 1;
    grid-row: span 1;
  }

  .stats-diagonal {
    flex-direction: column;
    align-items: center;
  }

  .scroll-top-btn {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
  }
}
