/* Modern CSS Reset and Variables */
:root {
  --primary-color: #dc2626;
  --primary-dark: #b91c1c;
  --primary-light: #fee2e2;
  --secondary-color: #64748b;
  --accent-color: #f97316;
  --text-color: #1e293b;
  --text-muted: #64748b;
  --background: #ffffff;
  --surface: #f8fafc;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1280px;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Layout and Container */
main {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Styles */
header.container {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

header.container.scrolled {
  box-shadow: var(--shadow-sm);
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
  letter-spacing: -0.025em;
}

.mobile-menu {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-color);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.mobile-menu:hover {
  background-color: var(--surface);
}

.mobile-menu:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary-color);
}

nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
  border-radius: 1px;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--primary-color);
}

.nav-cta {
  background-color: var(--primary-color);
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-cta:active {
  transform: translateY(0);
}

/* Hero Section */
#hero {
  padding: 6rem 0 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 90vh;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 50%, rgba(220, 38, 38, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  text-align: left;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  animation: slideInLeft 0.8s ease-out;
}

.hero-badge i {
  color: #fbbf24;
}

.hero-content h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-color);
  animation: slideInLeft 0.8s ease-out 0.1s both;
}

.hero-content .highlight {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-content .highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
  transform: scaleX(0);
  animation: expandWidth 1s ease-out 0.8s forwards;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 540px;
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.cta-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  animation: slideInLeft 0.8s ease-out 0.3s both;
}

.primary-cta,
.secondary-cta {
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
}

.primary-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  box-shadow: var(--shadow-md);
}

.primary-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.primary-cta:hover::before {
  left: 100%;
}

.secondary-cta {
  background-color: transparent;
  border: 2px solid var(--border);
  color: var(--text-color);
}

.primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.secondary-cta:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.primary-cta:active,
.secondary-cta:active {
  transform: translateY(-1px);
}

.trust-badges {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  animation: slideInLeft 0.8s ease-out 0.4s both;
}

.trust-badges span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  background-color: var(--surface);
  border-radius: 8px;
  transition: var(--transition);
}

.trust-badges span:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.trust-badges i {
  color: var(--primary-color);
  font-size: 1.125rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-visual {
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.central-element {
  position: relative;
  z-index: 2;
  transform: translateZ(50px);
}

.central-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  animation: pulse 3s ease-in-out infinite;
  transform: translateZ(30px);
}

.central-icon i {
  font-size: 3rem;
  color: white;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  opacity: 0.3;
  animation: pulseRing 4s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  background: var(--background);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  color: var(--text-color);
  border: 1px solid var(--border);
  transition: var(--transition);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-width: 140px;
  z-index: 1;
}

/* Netflix Card Styles */
.floating-card .netflix-logo-small {
  font-family: 'Arial Black', 'Helvetica Bold', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #E50914;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.floating-card span {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-color);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Brand-specific styles */
.floating-card.card-1 {
  background: linear-gradient(135deg, #000000, #141414);
}

.floating-card.card-1 span {
  color: #ffffff;
}

.floating-card.card-2 {
  background: linear-gradient(135deg, #000000, #1A1A1A);
}

.floating-card.card-2 i {
  color: #A2AAAD;
}

.floating-card.card-2 span {
  color: #ffffff;
}

.floating-card.card-3 {
  background: linear-gradient(135deg, #232F3E, #131921);
}

.floating-card.card-3 i {
  color: #FF9900;
}

.floating-card.card-3 span {
  color: #ffffff;
}

.floating-card.card-4 {
  background: linear-gradient(135deg, #7400B8, #6930C3);
}

.floating-card.card-4 i {
  color: #ffffff;
}

.floating-card.card-4 span {
  color: #ffffff;
}

/* Update hover effects */
.floating-card:hover {
  transform: translateY(-5px) translateZ(20px) scale(1.05);
  box-shadow: var(--shadow-xl);
  border-color: rgba(255, 255, 255, 0.1);
  z-index: 3;
}

.floating-card i {
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

/* Reposition cards to avoid overlap */
.floating-card.card-1 {
  top: 5%;
  left: 5%;
  transform: translateZ(20px);
  animation: float1 6s ease-in-out infinite;
}

.floating-card.card-2 {
  top: 8%;
  right: 8%;
  transform: translateZ(40px);
  animation: float2 7s ease-in-out infinite;
}

.floating-card.card-3 {
  bottom: 8%;
  left: 8%;
  transform: translateZ(30px);
  animation: float3 8s ease-in-out infinite;
}

.floating-card.card-4 {
  bottom: 5%;
  right: 5%;
  transform: translateZ(50px);
  animation: float4 7.5s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-card {
    padding: 0.75rem 1.25rem;
    min-width: 120px;
  }

  .floating-card span {
    font-size: 0.875rem;
  }

  .floating-card i {
    font-size: 1.25rem;
  }

  .floating-card .netflix-logo-small {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .floating-card {
    padding: 0.5rem 1rem;
    min-width: 100px;
  }

  .floating-card span {
    font-size: 0.8125rem;
  }

  .floating-card i {
    font-size: 1rem;
  }

  .floating-card .netflix-logo-small {
    font-size: 1.125rem;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes expandWidth {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1) translateZ(30px); }
  50% { transform: scale(1.05) translateZ(30px); }
}

@keyframes pulseRing {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.3;
  }
}

@keyframes float1 {
  0%, 100% { transform: translate3d(0, 0, 20px) rotate(0deg); }
  25% { transform: translate3d(5px, -10px, 20px) rotate(1deg); }
  50% { transform: translate3d(0, -5px, 20px) rotate(-0.5deg); }
  75% { transform: translate3d(-5px, -8px, 20px) rotate(0.5deg); }
}

@keyframes float2 {
  0%, 100% { transform: translate3d(0, 0, 40px) rotate(0deg); }
  25% { transform: translate3d(-8px, -8px, 40px) rotate(-1deg); }
  50% { transform: translate3d(0, -10px, 40px) rotate(0.5deg); }
  75% { transform: translate3d(6px, -6px, 40px) rotate(-0.5deg); }
}

@keyframes float3 {
  0%, 100% { transform: translate3d(0, 0, 30px) rotate(0deg); }
  25% { transform: translate3d(8px, -8px, 30px) rotate(0.5deg); }
  50% { transform: translate3d(0, -6px, 30px) rotate(-0.5deg); }
  75% { transform: translate3d(-6px, -10px, 30px) rotate(0.25deg); }
}

@keyframes float4 {
  0%, 100% { transform: translate3d(0, 0, 50px) rotate(0deg); }
  25% { transform: translate3d(-6px, -10px, 50px) rotate(-0.5deg); }
  50% { transform: translate3d(0, -5px, 50px) rotate(0.75deg); }
  75% { transform: translate3d(8px, -8px, 50px) rotate(-0.25deg); }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(1deg);
  }
  50% {
    transform: translateY(-5px) rotate(-1deg);
  }
  75% {
    transform: translateY(-15px) rotate(0.5deg);
  }
}

/* Features Section */
#features {
  padding: 6rem 0;
  background-color: var(--surface);
  position: relative;
}

#features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h3 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  color: var(--text-color);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

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

.feature {
  background: var(--background);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition-slow);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: var(--transition-slow);
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.feature:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon i {
  font-size: 1.25rem;
  color: white;
}

.feature-content h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.feature-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.learn-more {
  color: var(--primary-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: 6px;
  margin-left: -0.5rem;
}

.learn-more i {
  font-size: 0.75rem;
  transition: var(--transition);
}

.learn-more:hover {
  color: var(--primary-dark);
  background-color: var(--primary-light);
}

.learn-more:hover i {
  transform: translateX(4px);
}

/* Vouchers Section */
#vouchers {
  padding: 6rem 0;
}

.search-container {
  max-width: 600px;
  margin: 0 auto 4rem;
}

.search-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.search-wrapper i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

#searchInput {
  width: 100%;
  padding: 1rem 1rem 1rem 2.75rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--background);
}

#searchInput:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}

#searchInput::placeholder {
  color: var(--text-muted);
}

.filter-tags {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background-color: var(--background);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  font-weight: 500;
}

.tag.active,
.tag:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.tag:active {
  transform: translateY(0);
}

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

.voucher {
  background: var(--background);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition-slow);
  border: 1px solid var(--border);
  position: relative;
}

.voucher:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Voucher brand styles */
.voucher-header {
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--surface), var(--background));
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 140px;
  overflow: hidden;
}

.voucher-header i {
  font-size: 3.5rem;
  transition: var(--transition);
}

.voucher:hover .voucher-header i {
  transform: scale(1.1);
}

/* Netflix brand */
.netflix-brand {
  background: linear-gradient(135deg, #000000, #141414);
}

.netflix-logo {
  font-family: 'Arial Black', 'Helvetica Bold', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #E50914;
  letter-spacing: -0.05em;
  text-shadow: 0 2px 4px rgba(229, 9, 20, 0.3);
  transition: var(--transition);
}

.netflix-logo span {
  background: linear-gradient(45deg, #E50914, #FF6B6B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 6px rgba(229, 9, 20, 0.2));
}

.voucher:hover .netflix-logo {
  transform: scale(1.1);
}

/* Amazon brand */
.amazon-brand {
  background: linear-gradient(135deg, #232F3E, #131921);
}

.amazon-brand i {
  color: #FF9900;
  filter: drop-shadow(0 4px 6px rgba(255, 153, 0, 0.2));
}

/* Apple brand */
.apple-brand {
  background: linear-gradient(135deg, #000000, #1A1A1A);
}

.apple-brand i {
  color: #A2AAAD;
  filter: drop-shadow(0 4px 6px rgba(162, 170, 173, 0.2));
}

/* Gaming brand */
.gaming-brand {
  background: linear-gradient(135deg, #7400B8, #6930C3);
}

.gaming-brand i {
  color: #ffffff;
  filter: drop-shadow(0 4px 6px rgba(255, 255, 255, 0.2));
}

.fortnite-brand {
  background: linear-gradient(135deg, #1A1A1A 0%, #26A9FF 100%);
}

.lol-brand {
  background: linear-gradient(135deg, #1A1A1A 0%, #C89B3C 100%);
}

/* Badge styling */
.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.voucher:hover .badge {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.voucher-content {
  padding: 2rem;
}

.voucher-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--text-color);
}

.voucher-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.voucher-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.price::before {
  content: '$';
  font-size: 1rem;
  opacity: 0.7;
}

.btn-details {
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 6px;
  transition: var(--transition);
  font-size: 0.9rem;
}

.btn-details:hover {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

.btn-details i {
  transition: var(--transition);
  font-size: 0.8rem;
}

.btn-details:hover i {
  transform: translateX(4px);
}

/* Contact Section */
#contact {
  padding: 6rem 0;
  background-color: var(--surface);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.contact-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

.contact-content {
  text-align: left;
  position: relative;
  z-index: 2;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--background);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon i {
  font-size: 1.25rem;
  color: white;
}

.benefit-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.benefit-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cta-container {
  text-align: center;
}

.cta-button {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  padding: 1.25rem 3rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.rating, .secure-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: var(--background);
  border-radius: 50px;
  border: 1px solid var(--border);
}

.stars {
  display: flex;
  gap: 0.25rem;
  color: #fbbf24;
}

.rating span, .secure-badge span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.contact-visual {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cards-stack {
  position: relative;
  width: 300px;
  height: 400px;
  perspective: 1000px;
}

.card {
  position: absolute;
  width: 280px;
  height: 170px;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
  border: 1px solid var(--border);
  transform-origin: center center;
}

.card-1 {
  transform: rotate(-15deg) translateX(-20px);
  z-index: 3;
  background: linear-gradient(135deg, #000000, #141414);
}

.card-2 {
  transform: rotate(5deg) translateX(20px) translateY(40px);
  z-index: 2;
  background: linear-gradient(135deg, #232F3E, #131921);
}

.card-3 {
  transform: rotate(25deg) translateX(40px) translateY(80px);
  z-index: 1;
  background: linear-gradient(135deg, #7400B8, #6930C3);
}

.cards-stack:hover .card-1 {
  transform: rotate(-20deg) translateX(-30px);
}

.cards-stack:hover .card-2 {
  transform: rotate(0deg) translateX(10px) translateY(40px);
}

.cards-stack:hover .card-3 {
  transform: rotate(20deg) translateX(50px) translateY(80px);
}

.card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: white;
}

.card-content i {
  font-size: 2rem;
}

.card-content span {
  font-weight: 600;
}

.success-badge, .secure-badge-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: white;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  animation: float 6s ease-in-out infinite;
}

.success-badge {
  top: 20%;
  right: -20px;
}

.secure-badge-float {
  bottom: 20%;
  left: -20px;
  animation-delay: 2s;
}

.success-badge i {
  color: #10B981;
}

.secure-badge-float i {
  color: var(--primary-color);
}

@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .contact-visual {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .benefits-grid {
    gap: 1rem;
  }

  .benefit-item {
    padding: 1rem;
  }

  .benefit-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .benefit-icon i {
    font-size: 1rem;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .cards-stack {
    width: 260px;
    height: 350px;
  }

  .card {
    width: 240px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .cta-info {
    flex-direction: column;
    gap: 1rem;
  }

  .rating, .secure-badge {
    width: 100%;
    justify-content: center;
  }

  .cards-stack {
    transform: scale(0.9);
  }
}

/* Footer */
footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  padding: 1rem;
}

.modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: var(--background);
  border-radius: var(--border-radius-lg);
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.modal-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.modal-icon i {
  font-size: 1.5rem;
  color: white;
}

.modal-header h4 {
  font-size: 1.5rem;
  margin: 0 0 0.25rem;
  font-weight: 700;
  color: var(--text-color);
}

.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: 6px;
}

.close-button:hover {
  color: var(--text-color);
  background-color: var(--surface);
}

.modal-body {
  padding: 1.5rem;
}

.price-details {
  background-color: var(--surface);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}

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

.price-row:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.price-row span {
  font-weight: 500;
  color: var(--text-muted);
}

.price-row span:last-child {
  font-weight: 600;
  color: var(--text-color);
}

.price-row.total span:last-child {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 700;
}

.phone-input-container {
  text-align: left;
}

.phone-input-container label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

#phoneInput {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
}

#phoneInput:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgb(59 130 246 / 0.1);
}

.otp-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.otp-info i {
  font-size: 0.8125rem;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.btn-cancel,
.btn-primary {
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
  border: none;
}

.btn-cancel {
  background-color: var(--surface);
  color: var(--text-color);
  border: 1px solid var(--border);
}

.btn-cancel:hover {
  background-color: var(--border);
}

.btn-primary {
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #A78BFA, #8B5CF6);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--border);
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  main {
    padding: 0 1rem;
  }

  .mobile-menu {
    display: block;
  }

  nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--background);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    border-top: 1px solid var(--border);
  }

  nav.active {
    transform: translateY(0);
    opacity: 1;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  #hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    padding: 4rem 0 2rem;
    min-height: auto;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }

  .hero-badge {
    margin: 0 auto 2rem;
  }

  .trust-badges {
    justify-content: center;
  }

  .hero-visual {
    width: 350px;
    height: 350px;
    margin: 0 auto;
  }

  .central-icon {
    width: 90px;
    height: 90px;
  }

  .central-icon i {
    font-size: 2.25rem;
  }

  .pulse-ring {
    width: 160px;
    height: 160px;
  }

  .floating-card {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .floating-card i {
    font-size: 1.25rem;
  }

  .floating-card.card-1 {
    top: 15%;
    left: 0;
    transform: translateZ(20px);
    animation: float1 6s ease-in-out infinite;
  }

  .floating-card.card-2 {
    top: 25%;
    right: 0;
    transform: translateZ(40px);
    animation: float2 7s ease-in-out infinite;
  }

  .floating-card.card-3 {
    bottom: 25%;
    left: 5%;
    transform: translateZ(30px);
    animation: float3 8s ease-in-out infinite;
  }

  .floating-card.card-4 {
    bottom: 20%;
    right: 5%;
    transform: translateZ(50px);
    animation: float4 7.5s ease-in-out infinite;
  }

  .features-grid,
  .voucher-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .contact-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .benefit-item {
    justify-content: center;
  }

  .cta-button {
    margin: 0 auto;
  }

  .modal-content {
    margin: 1rem;
  }
}

@media (max-width: 480px) {
  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-cta,
  .secondary-cta {
    justify-content: center;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .filter-tags {
    gap: 0.5rem;
  }

  .tag {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
  }

  .hero-visual {
    width: 280px;
    height: 280px;
  }

  .central-icon {
    width: 70px;
    height: 70px;
  }

  .central-icon i {
    font-size: 1.75rem;
  }

  .pulse-ring {
    width: 120px;
    height: 120px;
  }

  .floating-card {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .floating-card i {
    font-size: 1rem;
  }

  .floating-card.card-1 {
    top: 8%;
    left: 2%;
  }

  .floating-card.card-2 {
    top: 15%;
    right: 2%;
  }

  .floating-card.card-3 {
    bottom: 15%;
    left: 4%;
  }

  .floating-card.card-4 {
    bottom: 12%;
    right: 4%;
  }

  .hero-image img,
  .contact-image img {
    animation: none;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --background: #0f172a;
    --surface: #1e293b;
    --border: #334155;
    --primary-light: #991b1b;
  }

  header.container {
    background-color: rgba(15, 23, 42, 0.98);
  }

  .feature,
  .voucher {
    border-color: var(--border);
  }

  #searchInput {
    background-color: var(--surface);
    color: var(--text-color);
  }

  .tag {
    background-color: var(--surface);
    border-color: var(--border);
  }

  .benefit-item:hover {
    background-color: var(--surface);
  }

  .learn-more:hover {
    background-color: rgba(220, 38, 38, 0.1);
  }

  .btn-details:hover {
    background-color: rgba(220, 38, 38, 0.1);
  }
}

/* Print styles */
@media print {
  .mobile-menu,
  .nav-cta,
  .cta-group,
  .btn-details,
  .cta-button,
  .modal {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .feature,
  .voucher {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

