/* =============================================
   NovaWebDesign — Complete Stylesheet
   Organizat pe secțiuni, comentat clar
   ============================================= */

/* =============================================
   1. RESET & VARIABLES
   ============================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --accent-primary: #8B5CF6;
  --accent-secondary: #22D3EE;
  --accent-gradient: linear-gradient(135deg, #8B5CF6 0%, #22D3EE 100%);
  --text-primary: #F5F5F7;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(12px);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-max: 1200px;
  --section-padding: clamp(4rem, 8vw, 8rem);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* =============================================
   2. LAYOUT
   ============================================= */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

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

#pachete {
  position: relative;
}

#pachete::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.15) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 50% 10%, rgba(139,92,246,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 90% 40%, rgba(34,211,238,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 75%, rgba(255,255,255,0.15) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 45% 45%, rgba(139,92,246,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 65% 25%, rgba(255,255,255,0.2) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 70%, rgba(34,211,238,0.15) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.18) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 85%, rgba(255,255,255,0.12) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 75% 55%, rgba(139,92,246,0.15) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

#pachete > .container {
  position: relative;
  z-index: 1;
}

.page-section {
  padding-top: calc(var(--section-padding) + 4rem);
}



/* =============================================
   3. SCROLL PROGRESS BAR
   ============================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-gradient);
  z-index: 9999;
  transition: width 0.1s linear, height 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.scroll-progress.scroll-mid {
  height: 5px;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5), 0 0 40px rgba(139, 92, 246, 0.2);
}

.scroll-progress.scroll-high {
  height: 8px;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.7), 0 0 60px rgba(34, 211, 238, 0.3);
}

.scroll-progress.scroll-max {
  height: 100vh;
  width: 100% !important;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.03) 0%, rgba(139, 92, 246, 0.08) 50%, rgba(34, 211, 238, 0.05) 100%);
  box-shadow: none;
  animation: scrollExplode 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes scrollExplode {
  0% { height: 100vh; opacity: 0; }
  40% { opacity: 1; }
  100% { height: 100vh; opacity: 0.6; }
}

/* =============================================
   4. NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem clamp(1rem, 4vw, 2rem);
  transition: background var(--transition-slow), backdrop-filter var(--transition-slow), border-color var(--transition-slow);
  border-bottom: 1px solid transparent;
}

.navbar-scrolled,
.navbar.scrolled {
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-subtle);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-logo span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-normal);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent-gradient);
  color: white !important;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.3);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

/* Hamburger */
.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: transform var(--transition-normal), opacity var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu-links a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.mobile-menu-links a:hover {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-logo {
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .nav-logo.logo-hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
  }
}

/* =============================================
   5. HERO
   ============================================= */
#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.fallback-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: none;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(139, 92, 246, 0.07) 60px,
      rgba(139, 92, 246, 0.07) 61px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(139, 92, 246, 0.07) 60px,
      rgba(139, 92, 246, 0.07) 61px
    );
}

.fallback-grid.visible {
  display: block;
}

.hero {
  position: relative;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
  clip-path: inset(0);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 1.5rem;
  will-change: transform, opacity, filter;
  transform-style: preserve-3d;
  perspective: 800px;
}

.hero-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-secondary);
  margin-bottom: 1.5rem;
  opacity: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  min-height: 1.05em;
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}

.hero-title .word .char {
  display: inline-block;
}

.hero-title .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 1s ease 2.5s forwards;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--accent-primary);
  border-bottom: 2px solid var(--accent-primary);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* =============================================
   6. SECTION HEADERS
   ============================================= */
.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-secondary);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   7. BUTTONS
   ============================================= */
.btn-primary {
  background: var(--accent-gradient);
  color: white;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.35);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: inline-block;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border-subtle);
  transition: background var(--transition-normal), border-color var(--transition-normal);
  display: inline-block;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
}

/* =============================================
   8. CARDS (Glassmorphism)
   ============================================= */
.card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.1);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

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

/* =============================================
   9. ABOUT SECTION
   ============================================= */
.section-about {
  position: relative;
  overflow: hidden;
}

/* Floating gradient orbs */
.about-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.about-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
}

.about-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-primary);
  top: -10%;
  right: -10%;
  animation: orbFloat1 12s ease-in-out infinite;
}

.about-orb-2 {
  width: 350px;
  height: 350px;
  background: var(--accent-secondary);
  bottom: -5%;
  left: -5%;
  animation: orbFloat2 15s ease-in-out infinite;
}

.about-orb-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  top: 40%;
  left: 30%;
  animation: orbFloat3 10s ease-in-out infinite;
}

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

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

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -30px) scale(1.15); }
}

/* Mouse glow */
.about-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform;
}

.section-about:hover .about-glow {
  opacity: 1;
}

/* Word-by-word reveal */
.about-title .word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) rotateX(-20deg);
  transform-origin: bottom center;
  filter: blur(4px);
}

.about-title .accent-word {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stats row */
.about-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3.5rem;
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent-secondary);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--accent-primary), transparent);
  opacity: 0;
}

/* About cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.about-card {
  position: relative;
  overflow: hidden;
}

/* Card glow on hover */
.about-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
}

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

/* Icon animation */
.about-icon {
  position: relative;
  z-index: 1;
}

.about-icon svg {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-card:hover .about-icon svg {
  transform: scale(1.15) rotate(-5deg);
}

/* Bottom accent line on cards */
.about-card-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-gradient);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.about-card:hover .about-card-line {
  width: 100%;
}

/* Card content above glow */
.about-card h3,
.about-card p {
  position: relative;
  z-index: 1;
}

/* Card shimmer on hover */
.about-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  transform: skewX(-15deg);
  transition: left 0.8s ease;
  pointer-events: none;
  z-index: 0;
}

.about-card:hover::after {
  left: 125%;
}

/* Stats gradient underline */
.about-stats::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 1px;
}

/* Stat number glow effect */
.stat-number {
  position: relative;
}

.stat-item:hover .stat-number {
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* Section label sparkle */
.section-label {
  position: relative;
  display: inline-block;
}

.section-label::after {
  content: '✦';
  margin-left: 0.5rem;
  font-size: 0.7em;
  opacity: 0.5;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 0.8; transform: scale(1.2) rotate(180deg); }
}

/* About section title glow on hover */
.about-title:hover .accent-word {
  text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

/* Card number indicator */
.about-card {
  counter-increment: about-counter;
}

.about-card h3::before {
  content: '0' counter(about-counter);
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.about-grid {
  counter-reset: about-counter;
}

/* =============================================
   10. PRICING (rebuilt — simple grid, no conflicts)
   ============================================= */
.pachete-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.pachet-card {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.3s ease;
}

.pachet-card:hover {
  border-color: rgba(139,92,246,0.25);
  box-shadow: 0 8px 30px rgba(139,92,246,0.08);
  transform: translateY(-4px);
}

.pachet-popular {
  border-color: rgba(139,92,246,0.35);
  box-shadow: 0 0 25px rgba(139,92,246,0.1);
  transform: scale(1.05);
  z-index: 2;
}

.pachet-popular:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 12px 40px rgba(139,92,246,0.15);
}

.pachet-premium {
  border-color: rgba(34,211,238,0.2);
}

.pachet-premium:hover {
  border-color: rgba(34,211,238,0.4);
  box-shadow: 0 8px 30px rgba(34,211,238,0.08);
}

/* Badge (only absolute positioned element) */
.pachet-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
  z-index: 3;
}

.pachet-badge-premium {
  background: linear-gradient(135deg, #22D3EE, #8B5CF6);
}

/* Header */
.pachet-header {
  margin-bottom: 1.5rem;
}

.pachet-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.pachet-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 0.5rem 0;
}

.pachet-currency {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.pachet-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.pachet-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Features */
.pachet-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.pachet-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
}

.pachet-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gradient);
}

.pachet-features li:hover {
  color: var(--text-primary);
}

/* For text */
.pachet-for {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* CTA button */
.pachet-btn {
  width: 100%;
  text-align: center;
  display: block;
}

/* =============================================
   11. PORTFOLIO
   ============================================= */
.portfolio-filters {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  background: transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
}

.filter-btn.active {
  background: var(--accent-gradient);
  color: white;
  border-color: transparent;
}

/* Carousel — spans full viewport width */
.portfolio-carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 calc(-1 * clamp(1rem, 4vw, 2rem));
  padding: 2rem clamp(1rem, 4vw, 2rem);
  perspective: 1200px;
}

.portfolio-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2rem 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  transform-style: preserve-3d;
}

.portfolio-carousel::-webkit-scrollbar {
  display: none;
}

.portfolio-carousel.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.portfolio-panel {
  flex: 0 0 min(80vw, 380px);
  scroll-snap-align: center;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s ease;
  transform: scale(0.9);
  opacity: 0.55;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  will-change: transform, opacity;
  transform-style: preserve-3d;
  animation: panelFloat 8s ease-in-out infinite;
}

/* Staggered floating animation for each panel */
.portfolio-panel:nth-child(1) { animation-delay: 0s; }
.portfolio-panel:nth-child(2) { animation-delay: -1.1s; }
.portfolio-panel:nth-child(3) { animation-delay: -2.3s; }
.portfolio-panel:nth-child(4) { animation-delay: -3.5s; }
.portfolio-panel:nth-child(5) { animation-delay: -4.7s; }
.portfolio-panel:nth-child(6) { animation-delay: -5.9s; }
.portfolio-panel:nth-child(7) { animation-delay: -7.1s; }
.portfolio-panel:nth-child(8) { animation-delay: -8.3s; }

@keyframes panelFloat {
  0%, 100% { 
    transform: scale(0.9) translateY(0) rotateX(0deg) rotateY(0deg); 
  }
  25% { 
    transform: scale(0.9) translateY(-4px) rotateX(0.5deg) rotateY(-0.5deg); 
  }
  50% { 
    transform: scale(0.9) translateY(-2px) rotateX(-0.3deg) rotateY(0.3deg); 
  }
  75% { 
    transform: scale(0.9) translateY(-6px) rotateX(0.2deg) rotateY(-0.2deg); 
  }
}

.portfolio-panel.is-active {
  transform: scale(1) translateY(0) rotateX(0) rotateY(0);
  opacity: 1;
  border-color: var(--accent-primary);
  animation: none; /* Stop floating when active */
}

.portfolio-panel:hover:not(.is-active) {
  transform: scale(0.95) translateY(-8px) rotateX(1deg) rotateY(-1deg);
  opacity: 0.8;
  border-color: rgba(139, 92, 246, 0.4);
}

.portfolio-panel.hidden {
  display: none;
}

/* Panel gradient hover effect */
.portfolio-panel:hover .panel-gradient span {
  color: rgba(139, 92, 246, 0.4);
  transition: color 0.4s ease;
}

/* Dots navigation */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.is-active {
  background: var(--accent-primary);
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
  width: 24px;
  border-radius: 100px;
}

/* Panel Mockup */
.panel-mockup {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
}

.panel-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 2;
  position: relative;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #EF4444; }
.browser-dots span:nth-child(2) { background: #F59E0B; }
.browser-dots span:nth-child(3) { background: #22C55E; }

.browser-url {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Panel gradient placeholder (no photos) */
.panel-gradient {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  position: relative;
  overflow: hidden;
}

.panel-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.015) 3px,
    rgba(255, 255, 255, 0.015) 6px
  );
  pointer-events: none;
  z-index: 1;
}

.panel-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(139, 92, 246, 0.15), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(34, 211, 238, 0.12), transparent 50%);
  pointer-events: none;
}

.panel-gradient-3d { background: linear-gradient(135deg, #0f0a1a 0%, #1a0f2e 50%, #0d1117 100%); }
.panel-gradient-landing { background: linear-gradient(135deg, #0a1628 0%, #131b2e 50%, #0f172a 100%); }
.panel-gradient-dashboard { background: linear-gradient(135deg, #0c1222 0%, #111827 50%, #0a1628 100%); }
.panel-gradient-ecommerce { background: linear-gradient(135deg, #1a0a1e 0%, #0f172a 50%, #1e0a28 100%); }
.panel-gradient-webapp { background: linear-gradient(135deg, #0a1a1a 0%, #0f1f1f 50%, #0a1628 100%); }

.panel-gradient span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(139, 92, 246, 0.25);
  letter-spacing: 0.1em;
  z-index: 2;
  position: relative;
  user-select: none;
}

/* Panel Info */
.panel-info {
  padding: 0 0.5rem;
}

.panel-info h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0.75rem 0 0.5rem;
  /* Curved text effect via SVG path */
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.panel-info p {
  color: #b0b0c0;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  transform: perspective(600px) rotateX(2deg);
  transform-origin: center top;
}

.panel-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-3d { background: rgba(139,92,246,0.15); color: #8B5CF6; }
.tag-landing { background: rgba(245,158,11,0.15); color: #F59E0B; }
.tag-dashboard { background: rgba(34,211,238,0.15); color: #22D3EE; }
.tag-ecommerce { background: rgba(34,197,94,0.15); color: #22C55E; }
.tag-webapp { background: rgba(239,68,68,0.15); color: #EF4444; }

.panel-package {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--accent-primary);
  font-weight: 600;
}

/* Carousel Navigation */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-primary);
}

.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

@media (max-width: 768px) {
  .carousel-btn {
    width: 36px;
    height: 36px;
  }
  .carousel-prev { left: 0.5rem; }
  .carousel-next { right: 0.5rem; }
}

/* =============================================
   12. PORTFOLIO MODAL
   ============================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  padding: 2rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.modal-body {
  padding: 2.5rem;
}

.modal-body h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-body .modal-tag {
  margin-bottom: 1rem;
}

.modal-body .modal-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.modal-body .modal-tech {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--accent-secondary);
}

.modal-body .modal-tech strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
}

.modal-body .modal-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.modal-body .modal-images img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.modal-body .modal-package-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 600;
}

/* =============================================
   12B. 3D LAPTOP VIEWER
   ============================================= */
.laptop-section {
  position: relative;
  overflow: hidden;
}

/* Theme selector pills */
.laptop-themes {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.laptop-theme-btn {
  padding: 0.45rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.laptop-theme-btn:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  color: var(--text-primary);
}

.laptop-theme-btn.active {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

/* Viewer wrapper */
.laptop-viewer-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
  position: relative;
  padding: 2rem 0;
}

.laptop-canvas-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 10;
  z-index: 2;
}

.laptop-canvas-container canvas {
  width: 100% !important;
  height: 100% !important;
  cursor: grab;
  touch-action: none;
}

.laptop-canvas-container canvas:active {
  cursor: grabbing;
}

/* Glow behind laptop */
.laptop-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.2) 0%, rgba(34, 211, 238, 0.08) 40%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* Floating showcase cards — stylized glass morphism UI mocks */
.showcase-card {
  position: absolute;
  width: 160px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.15);
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.85) 0%, rgba(18, 18, 26, 0.75) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.5), 
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 0 1px rgba(139, 92, 246, 0.05);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  animation: showcaseFloat 10s ease-in-out infinite;
}

.showcase-card.visible {
  opacity: 1;
}

.showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.4), rgba(34, 211, 238, 0.25), transparent);
  z-index: 2;
}

.showcase-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(34, 211, 238, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.showcase-card-mock {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  position: relative;
  z-index: 1;
}

.showcase-mock-bar {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.showcase-mock-dots {
  display: flex;
  gap: 3px;
}

.showcase-mock-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.showcase-mock-dots span:nth-child(1) { background: #EF4444; }
.showcase-mock-dots span:nth-child(2) { background: #F59E0B; }
.showcase-mock-dots span:nth-child(3) { background: #22C55E; }

.showcase-mock-url {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(139, 92, 246, 0.08), rgba(255, 255, 255, 0.05));
}

.showcase-mock-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.3rem;
}

.showcase-mock-hero {
  height: 32px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(34, 211, 238, 0.12));
  position: relative;
  overflow: hidden;
}

.showcase-mock-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.showcase-mock-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
}

@keyframes shimmer {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

.showcase-mock-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.showcase-mock-line {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
  animation: linePulse 2s ease-in-out infinite;
}

.showcase-mock-line:nth-child(1) { width: 80%; animation-delay: 0s; }
.showcase-mock-line:nth-child(2) { width: 60%; animation-delay: 0.3s; }
.showcase-mock-line:nth-child(3) { width: 70%; animation-delay: 0.6s; }

@keyframes linePulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.showcase-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 1;
}

.showcase-card-label span {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
}

.showcase-card-label .showcase-tag {
  font-size: 0.5rem;
  padding: 0.1rem 0.35rem;
  border-radius: 100px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.showcase-tag-landing {
  background: rgba(245, 158, 11, 0.12);
  color: #F59E0B;
  border-color: rgba(245, 158, 11, 0.2);
}

.showcase-tag-dashboard {
  background: rgba(34, 211, 238, 0.12);
  color: #22D3EE;
  border-color: rgba(34, 211, 238, 0.2);
}

.showcase-tag-ecommerce {
  background: rgba(34, 197, 94, 0.12);
  color: #22C55E;
  border-color: rgba(34, 197, 94, 0.2);
}

/* Card positioning + floating with unique animations */
.showcase-card-1 {
  top: 8%;
  left: 1%;
  animation-name: showcaseFloat1;
  animation-duration: 9s;
}

.showcase-card-2 {
  top: 3%;
  right: 1%;
  animation-name: showcaseFloat2;
  animation-duration: 11s;
}

.showcase-card-3 {
  bottom: 12%;
  right: 3%;
  animation-name: showcaseFloat3;
  animation-duration: 10s;
}

@keyframes showcaseFloat1 {
  0%, 100% { transform: translateY(0) rotate(-2deg) scale(1); }
  20% { transform: translateY(-5px) rotate(-1deg) scale(1.01); }
  40% { transform: translateY(-8px) rotate(-2.5deg) scale(1); }
  60% { transform: translateY(-3px) rotate(-1.5deg) scale(0.99); }
  80% { transform: translateY(-6px) rotate(-2deg) scale(1); }
}

@keyframes showcaseFloat2 {
  0%, 100% { transform: translateY(0) rotate(1.5deg) scale(1); }
  25% { transform: translateY(-7px) rotate(2.5deg) scale(1.01); }
  50% { transform: translateY(-4px) rotate(1deg) scale(0.995); }
  75% { transform: translateY(-9px) rotate(2deg) scale(1.005); }
}

@keyframes showcaseFloat3 {
  0%, 100% { transform: translateY(0) rotate(-1deg) scale(1); }
  33% { transform: translateY(-6px) rotate(0deg) scale(1.015); }
  66% { transform: translateY(-2px) rotate(-1.5deg) scale(0.99); }
}

@keyframes showcaseFloat {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-4px) rotate(0deg) scale(1); }
}

/* Hint */
.laptop-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.laptop-hint.hidden {
  opacity: 0;
}

.laptop-hint-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.25);
  animation: hintPulse 2s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.3); }
  50% { transform: scale(1.1); box-shadow: 0 0 12px 4px rgba(139, 92, 246, 0.15); }
}

/* =============================================
   13. PROCESS (Sticky Scroll)
   ============================================= */
.process-wrapper {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
}

.process-sticky {
  position: sticky;
  top: 50%;
  transform: translateY(-50%);
}

.process-visual {
  text-align: center;
}

.process-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-top: 1.5rem;
  transition: all var(--transition-slow);
}

.process-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.step-dot.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.4);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 2rem 0;
}

.process-step {
  opacity: 0.3;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.process-step.active {
  opacity: 1;
  transform: translateY(0);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 600px;
}

@media (max-width: 768px) {
  .process-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .process-sticky {
    position: relative;
    top: auto;
    transform: none;
    display: flex;
    justify-content: center;
  }
  .process-visual {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
  .process-step-indicator {
    flex-direction: row;
  }
  .process-number {
    font-size: 3rem;
  }
}

/* =============================================
   14. TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  padding: 2rem;
}

.testimonial-stars {
  color: #F59E0B;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =============================================
   15. FAQ
   ============================================= */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-primary);
}

.faq-arrow {
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  color: var(--text-muted);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* =============================================
   16. CTA SECTION
   ============================================= */
.cta-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* =============================================
   16B. ORBIT CTA (Showcase link)
   ============================================= */
.orbit-cta-section {
  padding: 5rem 0;
  position: relative;
}

.orbit-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: orbitCtaGlow 4s ease-in-out infinite alternate;
}

@keyframes orbitCtaGlow {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.orbit-cta-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.orbit-cta-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.orbit-cta-btn {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  padding: 20px 48px;
}

.orbit-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 0 0 12px 4px rgba(139, 92, 246, 0.6);
  top: 50%;
  left: 50%;
  animation: orbit 6s linear infinite;
}

.orbit-dot:nth-child(2) {
  animation-duration: 9s;
  animation-direction: reverse;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 8px 3px rgba(34, 211, 238, 0.5);
}

.orbit-dot:nth-child(3) {
  animation-duration: 4s;
  width: 5px;
  height: 5px;
  box-shadow: 0 0 6px 2px rgba(139, 92, 246, 0.4);
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(140px) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(140px) rotate(-360deg); }
}

@media (max-width: 768px) {
  .orbit-cta-section {
    padding: 3rem 0;
  }
  .orbit-cta-section::before {
    width: 250px;
    height: 250px;
  }
  .orbit-cta-wrap { padding: 40px 20px; display: inline-flex; }
  .orbit-cta-btn { font-size: 1rem; padding: 16px 36px; }
  .orbit-dot { width: 8px; height: 8px; }
  .orbit-dot:nth-child(2) { width: 6px; height: 6px; }
  .orbit-dot:nth-child(3) { width: 4px; height: 4px; }
  @keyframes orbit {
    from { transform: rotate(0deg) translateX(90px) rotate(0deg); }
    to   { transform: rotate(360deg) translateX(90px) rotate(-360deg); }
  }
}

/* =============================================
   17. FOOTER
   ============================================= */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  background: rgba(139, 92, 246, 0.08);
}

.footer-links-group h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links-group a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 0.35rem 0;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   18. COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(18, 18, 26, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  z-index: 3000;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.cookie-content p {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-accept,
.cookie-reject {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .cookie-buttons {
    width: 100%;
  }
  .cookie-accept,
  .cookie-reject {
    flex: 1;
  }
  .cookie-banner.visible {
    bottom: 60px;
  }
}

/* =============================================
   10B. PRICING SPEED SLIDER + MINI CHECKOUT
   ============================================= */
.pricing-speed-section {
  margin-top: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.pricing-speed-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-speed-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.pricing-speed-subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.pricing-slider {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pricing-slider:hover,
.pricing-slider.active {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.08);
}

/* Timeline */
.speed-timeline {
  position: relative;
  height: 40px;
  margin-top: 0.5rem;
}

.timeline-marker {
  position: absolute;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.timeline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-dot.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
}

.timeline-dot-hot {
  background: rgba(255, 0, 0, 0.3);
  border-color: rgba(255, 0, 0, 0.5);
}

.timeline-dot-hot.active {
  background: #FF0000;
  border-color: #FF0000;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.7);
}

.timeline-text {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.3s ease;
}

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

.timeline-text-hot {
  color: rgba(255, 0, 0, 0.5);
}

.timeline-text-hot.active {
  color: #FF0000;
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.3);
}

/* Mini Checkout */
.mini-checkout {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.mini-checkout:hover {
  border-color: rgba(139, 92, 246, 0.2);
}

.mini-checkout-inner {
  padding: 1.5rem;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.checkout-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkout-value {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.checkout-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0.5rem 0;
}

.checkout-total .checkout-label {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

.checkout-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: text-shadow 0.3s ease;
}

.checkout-price.breaking {
  -webkit-text-fill-color: #FF0000;
  animation: pricePulse 0.5s ease infinite alternate;
}

@keyframes pricePulse {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.3); text-shadow: 0 0 20px rgba(255, 0, 0, 0.5); }
}

.checkout-btn {
  width: 100%;
  margin-top: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* =============================================
   19. CONTACT PAGE
   ============================================= */

/* Contact floating orbs */
.contact-page {
  position: relative;
  overflow: hidden;
}

.contact-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.contact-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
}

.contact-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--accent-primary);
  top: -5%;
  right: -5%;
  animation: orbFloat1 14s ease-in-out infinite;
}

.contact-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--accent-secondary);
  bottom: 10%;
  left: -5%;
  animation: orbFloat2 12s ease-in-out infinite;
}

.info-banner {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.info-banner p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.info-banner strong {
  color: var(--accent-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-form-card {
  padding: 2.5rem;
}

/* Contact field stagger animation */
.contact-field {
  opacity: 0;
  transform: translateY(20px);
}

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

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

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

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  display: block;
  color: #EF4444;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  min-height: 1.2em;
}

.form-input.error {
  border-color: #EF4444;
}

#formGlobalError {
  color: #EF4444;
  font-size: 0.9rem;
  text-align: center;
  padding: 0.75rem;
  background: rgba(239, 68, 68, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ---- Package Picker (Radio Cards) ---- */
.package-picker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.package-option {
  cursor: pointer;
}

.package-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.package-option-inner {
  position: relative;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.package-option-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-subtle);
  transition: background 0.3s ease, height 0.3s ease;
}

.package-option input:checked + .package-option-inner {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.05);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.06);
  transform: translateY(-1px);
}

.package-option input:checked + .package-option-inner::before {
  background: var(--accent-gradient);
  height: 3px;
}

.package-option input:focus-visible + .package-option-inner {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

.package-option-name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.package-option-price {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.package-option-time {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.package-option-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--accent-gradient);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 4px;
}

.package-option-badge-premium {
  background: linear-gradient(135deg, #F59E0B, #EF4444);
}

/* ---- Budget Slider ---- */
.budget-slider-wrap {
  position: relative;
  padding: 1.5rem 0.5rem 0.5rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.budget-slider-wrap.active {
  transform: scale(1.02);
}

.budget-slider-track {
  position: relative;
  height: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  overflow: visible;
  transition: height 0.3s ease, box-shadow 0.3s ease;
}

/* Glass track */
.glass-track {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05), 0 2px 8px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.budget-slider-wrap.active .budget-slider-track {
  height: 14px;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.08), 0 2px 15px rgba(139, 92, 246, 0.2);
}

/* Glass crack at 24h */
.glass-crack {
  position: absolute;
  right: 2%;
  top: -6px;
  bottom: -6px;
  width: 0;
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.glass-crack::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6), rgba(255, 100, 100, 0.8), rgba(255, 255, 255, 0.6), transparent);
  transform: rotate(2deg);
}

.glass-crack::after {
  content: '';
  position: absolute;
  top: 20%;
  bottom: 30%;
  left: -4px;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, rgba(255, 100, 100, 0.4) 0%, transparent 70%);
  border-radius: 50%;
}

.glass-crack.visible {
  opacity: 1;
  animation: crackAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes crackAppear {
  0% { opacity: 0; transform: scaleY(0); }
  50% { opacity: 1; transform: scaleY(1.2); }
  100% { opacity: 1; transform: scaleY(1); }
}

.budget-slider-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  border-radius: 5px;
  background: linear-gradient(90deg, #22D3EE, #8B5CF6);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.budget-slider-fill.breaking {
  background: linear-gradient(90deg, #EF4444, #FF0000);
  box-shadow: 0 0 35px rgba(255, 0, 0, 0.7);
  animation: breakingPulse 0.4s ease infinite alternate;
  filter: brightness(1.1);
}

.budget-slider-fill.breaking::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(0deg, rgba(255, 0, 0, 0.15) 0%, transparent 100%);
  animation: barSmoke 1.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes barSmoke {
  0% { opacity: 0.3; transform: translateY(0) scaleY(1); }
  50% { opacity: 0.6; transform: translateY(-8px) scaleY(1.4); }
  100% { opacity: 0.3; transform: translateY(0) scaleY(1); }
}

@keyframes breakingPulse {
  0% { box-shadow: 0 0 25px rgba(255, 0, 0, 0.5); filter: brightness(1); }
  100% { box-shadow: 0 0 50px rgba(255, 0, 0, 1); filter: brightness(1.2); }
}

/* Breaking bar cracks */
.budget-slider-fill.breaking::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  bottom: -4px;
  width: 6px;
  background: #FF0000;
  border-radius: 0 3px 3px 0;
  animation: barCrack 0.3s ease infinite alternate;
}

@keyframes barCrack {
  0% { transform: scaleY(0.8); opacity: 0.7; }
  100% { transform: scaleY(1.2); opacity: 1; }
}

.budget-slider-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  z-index: 2;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease, width 0.3s ease, height 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.budget-slider-wrap.active .budget-slider-thumb {
  width: 34px;
  height: 34px;
}

.budget-slider-thumb:active {
  cursor: grabbing;
  transform: translate(-50%, -50%) scale(1.1);
}

.budget-slider-thumb.breaking {
  border-color: #FF0000;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
  animation: thumbShake 0.15s ease infinite;
}

@keyframes thumbShake {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  25% { transform: translate(-50%, -50%) rotate(-8deg) scale(1.05); }
  75% { transform: translate(-50%, -50%) rotate(8deg) scale(1.05); }
}

.budget-thumb-icon {
  font-size: 14px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.budget-range-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
  margin: 0;
}

.budget-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.budget-label-center {
  color: var(--accent-primary);
  font-weight: 600;
}

.budget-label-right {
  color: var(--accent-secondary);
  transition: color 0.3s ease;
}

.budget-label-right.breaking {
  color: #FF0000;
  animation: textPulse 0.5s ease infinite alternate;
}

/* Snap animation on thumb */
.budget-slider-thumb.snapping {
  transition: left 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease, width 0.3s ease, height 0.3s ease;
}

@keyframes textPulse {
  0% { opacity: 0.7; }
  100% { opacity: 1; text-shadow: 0 0 8px rgba(255, 0, 0, 0.5); }
}

.budget-info {
  text-align: center;
  margin-top: 0.75rem;
  min-height: 50px;
}

.budget-info-normal {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* 2 days info */
.budget-info-2days {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation: twoDaysAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes twoDaysAppear {
  0% { transform: scale(0.7) translateY(10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.budget-two-days-icon {
  font-size: 1.5rem;
  animation: rocketBounce 0.8s ease infinite;
}

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

.budget-two-days-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #8B5CF6, #22D3EE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Guarantee text under slider */
.slider-guarantee {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-style: italic;
  opacity: 0.7;
}

.budget-days {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-primary);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.budget-days.breaking {
  color: #FF0000;
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.budget-info-break {
  animation: breakAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes breakAppear {
  0% { transform: scale(0.3) rotate(-5deg); opacity: 0; }
  60% { transform: scale(1.1) rotate(2deg); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes breakSmoke {
  0% { filter: blur(0px) brightness(1); opacity: 0.85; }
  50% { filter: blur(0.8px) brightness(1.1); opacity: 1; }
  100% { filter: blur(0px) brightness(1); opacity: 0.85; }
}

.budget-break-text {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #F59E0B, #EF4444, #FF0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: breakGlow 0.6s ease infinite alternate, breakMove 1.2s ease infinite alternate;
}

@keyframes breakGlow {
  0% { filter: brightness(1) drop-shadow(0 0 0 transparent); }
  100% { filter: brightness(1.4) drop-shadow(0 0 10px rgba(255, 0, 0, 0.4)); }
}

@keyframes breakMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

.budget-break-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Pepper particles */
.pepper-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 4;
}

.pepper-particle {
  position: absolute;
  font-size: 18px;
  animation: pepperFly 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  pointer-events: none;
}

@keyframes pepperFly {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1.2);
  }
  30% {
    opacity: 1;
    transform: translate(calc(var(--tx) * 0.3), calc(var(--ty) * 0.3)) rotate(calc(var(--rot) * 0.3)) scale(1.4);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.2);
  }
}

/* Contact page checkout summary */
.contact-checkout {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.contact-checkout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-checkout-pkg,
.contact-checkout-speed {
  font-weight: 600;
  color: var(--text-primary);
}

.contact-checkout-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0.35rem 0;
}

.contact-checkout-total {
  font-weight: 600;
}

.contact-checkout-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-checkout-price.breaking {
  -webkit-text-fill-color: #FF0000;
  animation: pricePulse 0.5s ease infinite alternate;
}

@keyframes pepperFly {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1.2);
  }
  30% {
    opacity: 1;
    transform: translate(calc(var(--tx) * 0.3), calc(var(--ty) * 0.3)) rotate(calc(var(--rot) * 0.3)) scale(1.4);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(0.2);
  }
}

/* Submit button */
.contact-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-submit svg {
  transition: transform 0.3s ease;
}

.contact-submit:hover svg {
  transform: translate(3px, -3px);
}

.form-success {
  text-align: center;
  padding: 3rem 2rem;
}

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.form-success p {
  color: var(--text-secondary);
  max-width: 400px;
  margin: 0 auto;
}

/* Contact Info */
.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  padding: 2rem;
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.contact-info-item svg {
  flex-shrink: 0;
  color: var(--accent-primary);
  margin-top: 2px;
}

.contact-info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contact-info-item a,
.contact-info-item p {
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.contact-info-item a:hover {
  color: var(--accent-primary);
}

.contact-benefits li {
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-benefits li::before {
  content: '✓';
  color: var(--accent-secondary);
  font-weight: 700;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   20. BILLING PAGE
   ============================================= */
.billing-card {
  padding: 2.5rem;
}

.billing-header {
  margin-bottom: 1.5rem;
}

.billing-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.billing-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-style: italic;
}

.billing-table-wrapper {
  overflow-x: auto;
}

.billing-table {
  width: 100%;
  border-collapse: collapse;
}

.billing-table th,
.billing-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
}

.billing-table th {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 600;
}

.billing-table td {
  color: var(--text-secondary);
}

.billing-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-paid {
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
}

.status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
}

@media (max-width: 768px) {
  .billing-table th:nth-child(3),
  .billing-table td:nth-child(3) {
    display: none;
  }
}

/* =============================================
   21. ANIMATIONS / UTILITIES
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* (Glitch keyframes are defined in main portfolio CSS above) */

@media (hover: none) and (pointer: coarse) {
  .portfolio-panel {
    transform: scale(0.92);
    opacity: 0.6;
    animation: panelFloat 8s ease-in-out infinite; /* Keep floating on touch devices */
  }
  .portfolio-panel.is-active {
    transform: scale(1);
    opacity: 1;
    animation: none;
  }
  .portfolio-panel:hover:not(.is-active) {
    transform: scale(0.92);
    opacity: 0.6;
  }
}

/* Selection */
::selection {
  background: rgba(139, 92, 246, 0.3);
  color: var(--text-primary);
}

/* Focus States (Accessibility) */
*:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

/* Scrollbar (Desktop) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* =============================================
   22. COMPREHENSIVE MOBILE OPTIMIZATION
   ============================================= */

/* Prevent iOS zoom on input focus */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Smooth scroll on iOS */
@supports (-webkit-touch-callout: none) {
  .portfolio-carousel {
    -webkit-overflow-scrolling: touch;
  }
  .billing-table-wrapper {
    -webkit-overflow-scrolling: touch;
  }
}

/* Touch action for horizontal scroll areas */
.portfolio-carousel {
  touch-action: pan-x pinch-zoom;
}

/* Safe area for notched phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .cookie-banner {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }
  .footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
  .mobile-menu {
    padding-top: env(safe-area-inset-top);
  }
}

/* ---- Mobile: <= 768px ---- */
@media (max-width: 768px) {

  /* Reduce section padding */
  :root {
    --section-padding: clamp(3rem, 6vw, 5rem);
  }

  /* Hero */
  .hero {
    min-height: calc(var(--vh, 1vh) * 100);
    min-height: -webkit-fill-available;
  }

  /* About section mobile */
  .about-orb-1 { width: 250px; height: 250px; }
  .about-orb-2 { width: 180px; height: 180px; }
  .about-orb-3 { width: 120px; height: 120px; }

  .about-stats {
    gap: 1rem;
    padding: 1.5rem 0;
    margin-bottom: 2.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-plus {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .stat-divider {
    height: 35px;
  }

  .about-card-line {
    height: 2px;
  }

  .hero-content {
    padding: 0 1.25rem;
  }

  .hero-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    text-align: center;
    padding: 14px 24px;
    font-size: 0.9rem;
    width: 100%;
  }

  .hero-scroll-indicator {
    bottom: 1.5rem;
  }

  /* Container */
  .container {
    padding: 0 1rem;
  }

  /* Cards — reduce padding */
  .card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .card p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* Section headers */
  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  /* Buttons — bigger touch targets */
  .btn-primary,
  .btn-secondary {
    padding: 14px 24px;
    font-size: 0.9rem;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Filter buttons — bigger touch targets */
  .filter-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    min-height: 44px;
    min-width: 44px;
  }

  /* 3D Laptop Viewer — mobile */
  .laptop-viewer-wrapper {
    min-height: 320px;
  }

  .laptop-canvas-container {
    max-width: 100%;
  }

  .laptop-hint {
    font-size: 0.75rem;
  }

  .showcase-card {
    width: 100px;
  }

  .showcase-card-label {
    font-size: 0.55rem;
    padding: 0.3rem 0.4rem;
  }

  .showcase-card-1 {
    top: 5%;
    left: 0;
  }

  .showcase-card-2 {
    top: 0;
    right: 0;
  }

  .showcase-card-3 {
    bottom: 10%;
    right: 2%;
  }

  /* Disable floating animations on mobile for performance */
  .showcase-card {
    animation: none !important;
  }

  .laptop-theme-btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.7rem;
  }

  /* Pricing — mobile */
  .pachete-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pachet-popular {
    transform: none;
  }

  .pachet-popular:hover {
    transform: translateY(-4px);
  }

  .pachet-card {
    padding: 2rem 1.5rem;
  }

  .pachet-amount {
    font-size: 2.5rem;
  }

  /* Portfolio */
  .portfolio-panel {
    flex: 0 0 88vw;
    animation: none !important; /* Disable floating on mobile for performance */
  }

  .portfolio-panel.is-active {
    transform: scale(1) translateY(0) rotateX(0) rotateY(0);
    animation: none;
  }

  .panel-gradient {
    height: 200px;
  }

  .panel-info h3 {
    font-size: 1.1rem;
  }

  .panel-info p {
    font-size: 0.8rem;
    transform: none;
  }

  .portfolio-filters {
    gap: 0.4rem;
    margin-bottom: 2rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .carousel-prev { left: 0.25rem; }
  .carousel-next { right: 0.25rem; }

  /* Modal */
  .modal-overlay {
    padding: 0.75rem;
    align-items: flex-end;
  }

  .modal-content {
    max-height: 90vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-body h2 {
    font-size: 1.4rem;
  }

  .modal-body .modal-images {
    grid-template-columns: 1fr;
  }

  .modal-body .modal-images img {
    height: 160px;
  }

  .modal-close {
    width: 36px;
    height: 36px;
    top: 0.75rem;
    right: 0.75rem;
  }

  /* Process */
  .process-step h3 {
    font-size: 1.25rem;
  }

  .process-step p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .process-steps {
    gap: 3rem;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  /* FAQ */
  .faq-question {
    font-size: 0.95rem;
    padding: 1rem 0;
    gap: 0.75rem;
  }

  .faq-answer p {
    font-size: 0.9rem;
  }

  .faq-item.active .faq-answer {
    padding-bottom: 1rem;
  }

  /* Contact */
  .contact-form-card {
    padding: 1.5rem;
  }

  .package-picker {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .package-option-inner {
    padding: 0.75rem 0.5rem;
  }

  .package-option-name {
    font-size: 0.8rem;
  }

  .package-option-price {
    font-size: 1.1rem;
  }

  .package-option-time {
    font-size: 0.65rem;
  }

  .package-option-badge {
    font-size: 0.5rem;
    padding: 1px 4px;
  }

  .budget-break-text {
    font-size: 1rem;
  }

  .budget-days {
    font-size: 1.4rem;
  }

  .budget-slider-thumb {
    width: 24px;
    height: 24px;
  }

  .budget-slider-wrap.active .budget-slider-thumb {
    width: 28px;
    height: 28px;
  }

  .budget-thumb-icon {
    font-size: 12px;
  }

  /* Pricing slider mobile */
  .pricing-speed-section {
    margin-top: 2rem;
  }

  .pricing-slider {
    padding: 1.25rem 1rem 0.75rem;
  }

  .speed-timeline {
    height: 35px;
  }

  .slider-guarantee {
    font-size: 0.7rem;
  }

  .budget-two-days-text {
    font-size: 0.85rem;
  }

  .budget-two-days-icon {
    font-size: 1.2rem;
  }

  .mini-checkout-inner {
    padding: 1.25rem;
  }

  .checkout-price {
    font-size: 1.4rem;
  }

  .form-label {
    font-size: 0.75rem;
  }

  .form-input {
    padding: 0.75rem 0.85rem;
    font-size: 16px;
  }

  .form-textarea {
    min-height: 100px;
  }

  .contact-info-card {
    padding: 1.5rem;
  }

  /* CTA section */
  .cta-section .section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .cta-section .section-subtitle {
    font-size: 0.9rem;
  }

  /* Cookie banner */
  .cookie-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .cookie-content p {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
    gap: 0.5rem;
  }

  .cookie-accept,
  .cookie-reject {
    width: 100%;
    min-height: 48px;
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  /* Footer */
  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-brand .nav-logo {
    display: inline-block;
  }

  .footer-brand p {
    max-width: 100%;
    margin: 0.75rem auto 0;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links-group {
    text-align: center;
  }

  .footer-links-group h4 {
    margin-bottom: 0.75rem;
  }

  .footer-links-group a {
    padding: 0.5rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .footer-bottom a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Billing */
  .billing-card {
    padding: 1.5rem;
  }

  .billing-table th,
  .billing-table td {
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
  }

  /* Nav CTA on mobile */
  .nav-cta {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

/* ---- Small phones: <= 375px ---- */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .card {
    padding: 1.25rem;
  }

  .pachet-card {
    padding: 1.25rem 1rem;
  }

  .pachet-amount {
    font-size: 2rem;
  }

  .portfolio-panel {
    flex: 0 0 92vw;
  }

  .panel-gradient {
    height: 170px;
  }

  .mobile-menu-links a {
    font-size: 1.25rem;
  }

  .faq-question {
    font-size: 0.9rem;
  }
}

/* ---- Tablet: 769px - 1024px ---- */
@media (min-width: 769px) and (max-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pachete-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .pachet-popular {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
    transform: scale(1);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---- Touch device overrides ---- */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover transforms on touch — use tap instead */
  .card:hover {
    transform: none;
    border-color: var(--border-subtle);
    box-shadow: none;
  }

  .card:active {
    transform: scale(0.98);
    border-color: rgba(139, 92, 246, 0.3);
  }

  .portfolio-panel:hover {
    transform: scale(0.92);
    opacity: 0.6;
    border-color: transparent;
  }

  .portfolio-panel:active {
    transform: scale(0.95);
    opacity: 0.8;
    border-color: rgba(139, 92, 246, 0.4);
  }

  .portfolio-panel.is-active:hover {
    transform: scale(1);
    opacity: 1;
    border-color: var(--accent-primary);
  }

  .portfolio-panel:active {
    transform: scale(0.97);
  }

  .pachet-popular:hover {
    transform: none;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.1);
  }

  .pachet-popular:active {
    transform: scale(0.98);
  }

  .pachet-card:hover {
    transform: none;
  }

  .pachet-card:active {
    transform: scale(0.98);
  }

  .btn-primary:active {
    transform: scale(0.97);
  }

  .btn-secondary:active {
    background: rgba(255, 255, 255, 0.06);
  }

  .filter-btn:active {
    transform: scale(0.95);
  }

  /* Bigger touch targets on touch devices */
  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .footer-links-group a {
    min-height: 48px;
  }

  .faq-question {
    min-height: 52px;
  }

  /* Disable tilt effect on touch */
  [data-tilt] {
    transform: none !important;
  }

  .about-glow {
    display: none;
  }

  .about-card:hover .about-card-line {
    width: 0;
  }

  .about-card:active .about-card-line {
    width: 100%;
  }

  .about-card:hover .about-icon svg {
    transform: none;
  }

  .about-card:active .about-icon svg {
    transform: scale(1.1);
  }
}

/* ---- High DPI screens ---- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .scroll-progress {
    height: 2px;
  }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-content {
    filter: none !important;
  }

  .scroll-arrow {
    animation: none;
  }

  .hero-scroll-indicator {
    animation: none;
    opacity: 1;
  }

  .pachet-card,
  .pachet-features li,
  .pachet-desc,
  .pachet-for,
  .pachet-btn {
    opacity: 1 !important;
    transform: none !important;
  }

  .about-title .word-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .stat-item {
    opacity: 1 !important;
    transform: none !important;
  }

  .stat-divider {
    opacity: 0.4 !important;
  }

  .about-orb {
    animation: none;
  }

  .budget-slider-fill.breaking::after {
    animation: none;
  }

  .budget-info-break {
    animation: none !important;
  }

  .budget-break-text {
    animation: none;
  }

  .pepper-particle {
    animation: none;
    display: none;
  }

  .budget-info-2days {
    animation: none;
  }

  .budget-two-days-icon {
    animation: none;
  }

  .glass-crack.visible {
    animation: none;
  }

  .slider-guarantee {
    opacity: 1;
  }
}

/* ---- Landscape mode on phones ---- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .mobile-menu-links {
    gap: 1.25rem;
  }
}

/* ---- Mobile bottom bar ---- */
.mobile-bottom-bar { display: none !important; }
@media (max-width: 768px) {
  .navbar .hamburger { display: none !important; }
  .mobile-bottom-bar { display: flex !important; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 9999; background: rgba(10,10,15,0.95); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,0.06); padding: 0.6rem 1.5rem; align-items: center; justify-content: space-between; }
  .mobile-bottom-bar .bottom-hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
  .mobile-bottom-bar .bottom-hamburger span { width: 22px; height: 2px; background: #ffffff; border-radius: 1px; transition: 0.3s; }
  .mobile-bottom-bar .bottom-showcase { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 1rem; background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(34,211,238,0.08)); border: 1px solid rgba(34,211,238,0.3); border-radius: 999px; font-family: 'Space Grotesk', sans-serif; font-weight: 500; font-size: 0.78rem; color: #22D3EE; text-decoration: none; }
  .mobile-bottom-bar .bottom-showcase svg { width: 14px; height: 14px; }
  .mobile-bottom-bar .bottom-brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.85rem; background: linear-gradient(135deg, #8B5CF6, #22D3EE); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none; }
  body { padding-bottom: 60px !important; }
}

/* ---- Print styles ---- */
@media print {
  .navbar,
  .scroll-progress,
  .cookie-banner,
  .hero-scroll-indicator,
  .carousel-btn,
  #hero-canvas,
  .fallback-grid {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .card {
    border: 1px solid #ccc;
    backdrop-filter: none;
    background: white;
  }
}
