/* ========================================
   PREMIUM DESIGN v2.0 - LibrianAI
   Outstanding, Captivating Design
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #ffe600;
  --primary-dark: #f5d800;
  --secondary: #00d4ff;
  --accent: #ff0080;
  --bg-primary: #000;
  --bg-secondary: #0a0a0a;
  --bg-tertiary: #111;
  --text-primary: #fff;
  --text-secondary: #ccc;
  --text-muted: #666;
  --border: #333;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== Navigation v2 ===== */
.nav-v2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 40px;
  background: transparent;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-v2.scrolled {
  background: rgba(0, 0, 0, 0.8);
  padding: 16px 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-v2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.logo-v2::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.nav-v2:hover .logo-v2::after {
  transform: scaleX(1);
}

/* ===== Hero v2 - Animated Gradient Background ===== */
.hero-v2 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 20px 80px;
  background: radial-gradient(ellipse at top, rgba(255, 230, 0, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at bottom right, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
              radial-gradient(ellipse at bottom left, rgba(255, 0, 128, 0.1) 0%, transparent 50%),
              #000;
}

/* Hero background video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25; /* subtle */
  filter: contrast(1.05) saturate(1.1);
  z-index: 0;
  pointer-events: none;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
  bottom: -150px;
  right: -150px;
  animation-delay: -7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: 50%;
  right: 10%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content-v2 {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title-v2 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #fff 0%, var(--primary) 50%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease-in-out infinite;
  background-size: 200% 200%;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-subtitle-v2 {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Play teaser button (shown on iOS) */
.hero-play-btn {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.ios .hero-play-btn { display: inline-flex; }

/* Modal video */
.video-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; }
.video-modal[hidden] { display: none; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.video-modal-content { position: relative; width: min(900px, 92vw); border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.video-modal-close { position: absolute; top: 8px; right: 12px; background: rgba(0,0,0,0.6); color: #fff; border: none; font-size: 24px; line-height: 1; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }

/* Hero actions (buttons) */
.hero-actions-v2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-v2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all 0.22s ease;
  border: 1px solid transparent;
  position: relative;
  z-index: 1;
}

.btn-primary-v2 {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #111111;
  border-color: rgba(255, 230, 0, 0.35);
  box-shadow: 0 8px 18px rgba(255, 230, 0, 0.22);
}

.btn-primary-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 230, 0, 0.30);
}

.btn-ghost-v2 {
  background: rgba(255, 255, 255, 0.06);
  color: #eaeaea;
  border-color: var(--glass-border);
  backdrop-filter: blur(12px);
}

.btn-ghost-v2:hover {
  border-color: var(--primary);
  background: rgba(255, 230, 0, 0.12);
  color: #111111;
  transform: translateY(-2px);
}

/* Focus visibility */
.btn-v2:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.35);
}

@media (max-width: 768px) {
  .btn-v2 {
    padding: 11px 16px;
    font-size: 0.9rem;
    border-radius: 9px;
  }
  .hero-actions-v2 {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  /* Center brand on mobile; side controls stay fixed */
  .nav-v2 {
    padding: 14px 18px;
  }
  .nav-content {
    justify-content: center;
  }
  .logo-v2 {
    margin: 0 auto;
  }
}

.hero-stats-v2 {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 64px;
}

.stat-card-v2 {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px 40px;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 160px;
}

.stat-card-v2:hover {
  transform: translateY(-8px) scale(1.05);
  background: rgba(255, 230, 0, 0.1);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(255, 230, 0, 0.2);
}

.stat-number-v2 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label-v2 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}

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

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.mouse::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* ===== Clients (from main index) ===== */
.clients-section {
  background: #0a0a0a;
  padding: 60px 0;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}
.clients-section .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0; /* keep spacing consistent with index.php */
}
.clients-label {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}
.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
  padding: 20px 0;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: grayscale(70%) brightness(0.95);
  height: 80px;
}
.client-logo img {
  max-width: 180px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.client-logo:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

/* ===== Featured Reels (grid) ===== */
.reels-section-v2 {
  padding: 80px 20px 40px;
  background: var(--bg-primary);
}
.reels-grid-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.reel-card-v2 {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  aspect-ratio: 9 / 16; /* vertical video ratio */
}
.reel-card-v2 .reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reel-card-v2::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 40%);
  pointer-events: none;
}
.reel-label {
  position: absolute;
  left: 12px; bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.reel-card-v2:hover {
  transform: translateY(-4px);
  transition: transform 0.25s ease;
}

@media (max-width: 992px) {
  .reels-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .reels-grid-v2 { grid-template-columns: 1fr; }
  .reels-section-v2 { padding: 56px 16px 24px; }
}

/* Fallback for browsers without aspect-ratio support (older mobile Safari/Android) */
@supports not (aspect-ratio: 1 / 1) {
  .reel-card-v2 { position: relative; }
  .reel-card-v2::before {
    content: '';
    display: block;
    padding-top: 177.78%; /* 9:16 */
  }
  .reel-card-v2 .reel-video { position: absolute; inset: 0; }
}

/* ===== Container v2 ===== */
.container-v2 {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* ===== About v2 - 3D Card Effect ===== */
.about-section-v2 {
  padding: 120px 20px;
  background: var(--bg-primary);
  position: relative;
}

.section-title-v2 {
  text-align: center;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 64px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-card-v2 {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 64px;
  backdrop-filter: blur(20px);
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all 0.4s;
}

.about-card-v2::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 230, 0, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.about-card-v2:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.about-card-v2:hover::before {
  opacity: 1;
}

.about-header-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 24px;
}

.about-avatar-v2 {
  position: relative;
}

.avatar-glow {
  position: absolute;
  inset: -8px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.5;
  animation: pulse 3s ease-in-out infinite;
}

.about-name-v2 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.linkedin-link-v2 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: #0077b5;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.linkedin-link-v2:hover {
  background: rgba(0, 119, 181, 0.1);
  border-color: #0077b5;
  transform: translateY(-2px);
}

.about-intro-v2 {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.stats-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stat-box-v2 {
  text-align: center;
  padding: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.stat-box-v2:hover {
  transform: translateY(-4px);
  background: rgba(255, 230, 0, 0.05);
  border-color: var(--primary);
}

.stat-icon-v2 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.stat-value-v2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-desc-v2 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== Contact v2 - Animated Form ===== */
.contact-section-v2 {
  padding: 120px 20px;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.contact-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 230, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.contact-card-v2 {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 64px;
  backdrop-filter: blur(20px);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.form-group-v2 {
  margin-bottom: 24px;
}

.form-group-v2 label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group-v2 input,
.form-group-v2 textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group-v2 input:focus,
.form-group-v2 textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 4px rgba(255, 230, 0, 0.1);
}

.form-group-v2 input::placeholder,
.form-group-v2 textarea::placeholder {
  color: var(--text-muted);
}

.contact-section-v2 .btn-v2 {
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: 12px;
  color: #000;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.contact-section-v2 .btn-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  opacity: 0;
  transition: opacity 0.3s;
}

.contact-section-v2 .btn-v2:hover::before {
  opacity: 1;
}

.contact-section-v2 .btn-v2 span,
.contact-section-v2 .btn-v2 svg {
  position: relative;
  z-index: 1;
}

.contact-section-v2 .btn-v2:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255, 230, 0, 0.3);
}

#contact-feedback-v2 {
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: 12px;
  text-align: center;
}

#contact-feedback-v2.success {
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid rgba(0, 255, 0, 0.3);
  color: #4ade80;
}

#contact-feedback-v2.error {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  color: #f87171;
}

/* ===== Telegram v2 ===== */
.telegram-section-v2 {
  padding: 120px 20px;
  background: var(--bg-primary);
  text-align: center;
}

.section-subtitle-v2 {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.social-buttons-v2 {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.social-btn-v2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(20px);
  transition: all 0.3s;
}

.social-btn-v2:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.telegram-btn-v2:hover {
  border-color: #0088cc;
  box-shadow: 0 12px 24px rgba(0, 136, 204, 0.3);
}

.linkedin-btn-v2:hover {
  border-color: #0077b5;
  box-shadow: 0 12px 24px rgba(0, 119, 181, 0.3);
}

.social-icon-v2 {
  width: 24px;
  height: 24px;
}

.email-btn-v2:hover {
  border-color: var(--secondary);
  box-shadow: 0 12px 24px rgba(0, 212, 255, 0.3);
}

.email-btn-v2 svg {
  width: 24px;
  height: 24px;
}

/* ===== Footer v2 ===== */
.footer-v2 {
  padding: 60px 20px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-v2 {
    min-height: 90vh;
    padding: 100px 20px 60px;
  }
  .client-logo { opacity: 0.85; filter: grayscale(40%) brightness(1); height: 60px; }
  .client-logo img { max-height: 60px; }

  .hero-title-v2 {
    font-size: 2.5rem;
  }

  .hero-stats-v2 {
    gap: 16px;
  }

  .stat-card-v2 {
    padding: 24px;
    min-width: 120px;
  }

  .stat-number-v2 {
    font-size: 2.5rem;
  }

  .about-card-v2 {
    padding: 32px 24px;
  }

  .about-header-v2 {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-grid-v2 {
    grid-template-columns: 1fr;
  }

  .contact-card-v2 {
    padding: 32px 24px;
  }

  .clients-grid-v2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .nav-v2 {
    padding: 16px 20px;
  }
}

/* ===== Animations ===== */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero should be visible immediately */
.hero-v2 {
  opacity: 1 !important;
}

section {
  opacity: 1;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Only apply fade-in animation to non-hero sections, but exclude clients-section */
section:not(.hero-v2):not(.clients-section) {
  opacity: 0;
  transform: translateY(30px);
}

section:not(.hero-v2):not(.clients-section).in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Clients section should always be visible - no fade animation */
.clients-section {
  opacity: 1 !important;
  transform: none !important;
}

/* iOS optimizations: disable heavy animations */
body.ios .gradient-orb {
  display: none !important;
  animation: none !important;
}

body.ios * {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

body.ios section:not(.hero-v2):not(.clients-section) {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ===== New Content Sections v2 ===== */

/* Value Hero Section */
.value-hero-section-v2 {
  padding: 100px 20px 60px;
  background: var(--bg-primary);
  text-align: center;
}

.value-hero-title-v2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 1200px;
  margin: 0 auto;
}

/* Intro Section */
.intro-section-v2 {
  padding: 60px 20px;
  background: var(--bg-primary);
}

.intro-card-v2 {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: blur(20px);
  max-width: 900px;
  margin: 0 auto;
}

.intro-text-large-v2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--text-primary);
  background: linear-gradient(135deg, #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-text-v2 {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Stats & Achievements Section */
.stats-achievements-section-v2 {
  padding: 80px 20px;
  background: var(--bg-primary);
}

.stats-card-v2 {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 48px;
  backdrop-filter: blur(20px);
  max-width: 1000px;
  margin: 0 auto;
}

.stats-text-v2 {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.stats-text-v2 strong {
  color: var(--primary);
  font-weight: 700;
}

.stats-grid-featured-v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}

.stat-featured-v2 {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.3s;
}

.stat-featured-v2:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.stat-number-featured-v2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label-featured-v2 {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Clients Section Updates */
.clients-text-v2 {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 32px auto 16px;
}

.clients-goal-v2 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.8;
  color: var(--text-primary);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Differentiators Section */
.differentiators-section-v2 {
  padding: 100px 20px;
  background: var(--bg-primary);
}

.differentiators-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.diff-card-v2 {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.diff-card-v2:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(255, 230, 0, 0.15);
}

.diff-icon-v2 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.diff-title-v2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.diff-text-v2 {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Focus Section */
.focus-section-v2 {
  padding: 80px 20px;
  background: var(--bg-primary);
}

.focus-card-v2 {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 64px 48px;
  backdrop-filter: blur(20px);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.focus-title-v2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.focus-text-v2 {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.focus-cta-v2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}

/* Offerings Section */
.offerings-section-v2 {
  padding: 100px 20px;
  background: var(--bg-primary);
}

.offerings-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 64px auto 48px;
}

.offering-card-v2 {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.offering-card-v2:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(255, 230, 0, 0.15);
}

.offering-title-v2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.offering-subtitle-v2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-style: italic;
}

.offering-text-v2 {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.offerings-footer-v2 {
  text-align: center;
  margin-top: 64px;
}

.offerings-summary-v2 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.8;
  color: var(--text-primary);
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .stats-grid-featured-v2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .differentiators-grid-v2 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .offerings-grid-v2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .value-hero-title-v2 {
    font-size: 1.8rem;
  }
  
  .intro-card-v2,
  .stats-card-v2,
  .focus-card-v2 {
    padding: 32px 24px;
  }
  
  .intro-text-large-v2 {
    font-size: 1.3rem;
  }
  
  .stat-number-featured-v2 {
    font-size: 2rem;
  }
  
  .diff-card-v2,
  .offering-card-v2 {
    padding: 24px;
  }
}


