/* ==========================
   RESPONSIVE HERO SECTION CSS
   Mobile-first design (320px+)
   ========================== */

/* Hero Section Container */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #eff6ff 100%);
  padding: 0;
  margin: 0;
  padding-top: 5rem;
}

/* Animated Background */
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gradient-orb {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  mix-blend-mode: multiply;
  filter: blur(40px);
  opacity: 0.7;
  animation: float 6s ease-in-out infinite;
}

.gradient-orb-1 {
  top: 80px;
  left: 40px;
  background: linear-gradient(45deg, rgba(59, 130, 246, 0.2), rgba(147, 51, 234, 0.2));
}

.gradient-orb-2 {
  top: 160px;
  right: 40px;
  background: linear-gradient(45deg, rgba(147, 51, 234, 0.2), rgba(236, 72, 153, 0.2));
  animation-delay: -2s;
}

.gradient-orb-3 {
  bottom: -32px;
  left: 80px;
  background: linear-gradient(45deg, rgba(236, 72, 153, 0.2), rgba(249, 115, 22, 0.2));
  animation-delay: -4s;
}

/* Container */
.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
}

/* Grid Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - 2rem);
}

/* Content Section */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

/* PLR Badge */
.plr-badge-wrapper {
  display: flex;
  justify-content: center;
}

.plr-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #10b981, #0d9488);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
  max-width: 100%;
  overflow: hidden;
}

.plr-badge:hover {
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.plr-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plr-text {
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.plr-commercial {
  margin-left: 0.5rem;
  font-size: 0.625rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Main Headline */
.hero-headline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.main-title {
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 900;
  color: #1f2937;
  line-height: 0.85;
  letter-spacing: -0.025em;
  margin: 0;
}

.title-line {
  display: block;
}

.title-gradient {
  display: block;
  background: linear-gradient(135deg, #2563eb, #9333ea, #4f46e5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.title-underline {
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 100%;
  height: 1rem;
  z-index: -1;
}

.title-line-small {
  margin-top: 0.5rem;
}

.title-accent {
  display: block;
  background: linear-gradient(135deg, #f97316, #dc2626);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: #6b7280;
  line-height: 1.6;
  max-width: 100%;
  margin: 0 auto;
  font-weight: 500;
}

.subtitle-blue {
  font-weight: 700;
  color: #2563eb;
}

.subtitle-purple {
  font-weight: 700;
  color: #9333ea;
}

.subtitle-break {
  display: none;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 100%;
}

.feature-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.feature-card-special {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(13, 148, 136, 0.05));
  border: 2px solid rgba(16, 185, 129, 0.2);
}

.feature-bg-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .feature-bg-overlay {
  opacity: 1;
}

.feature-bg-blue {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(147, 51, 234, 0.05));
}

.feature-bg-emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(13, 148, 136, 0.05));
}

.feature-bg-purple {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.05), rgba(236, 72, 153, 0.05));
}

.feature-bg-special {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(13, 148, 136, 0.1));
}

.feature-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.feature-icon-blue {
  background: linear-gradient(135deg, #2563eb, #9333ea);
}

.feature-icon-emerald {
  background: linear-gradient(135deg, #10b981, #0d9488);
}

.feature-icon-purple {
  background: linear-gradient(135deg, #9333ea, #ec4899);
}

.feature-icon-special {
  background: linear-gradient(135deg, #10b981, #0d9488);
}

.feature-text {
  flex: 1;
  min-width: 0;
}

.feature-title {
  font-weight: 700;
  color: #1f2937;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.feature-title-special {
  color: #065f46;
}

.feature-desc {
  font-size: 0.875rem;
  color: #6b7280;
}

.feature-desc-special {
  color: #047857;
}

/* Stats Container */
.stats-container {
  position: relative;
  max-width: 100%;
}

.stats-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-radius: 1.5rem;
  padding: 2rem 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

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

.stat-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: scale(1.05);
}

.stat-number {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.stat-number-blue {
  background: linear-gradient(135deg, #2563eb, #9333ea);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-number-orange {
  background: linear-gradient(135deg, #f97316, #dc2626);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-title {
  color: #1f2937;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.75rem;
  color: #6b7280;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 100%;
}

.cta-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb, #9333ea, #4f46e5);
  color: white;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
  transition: all 0.5s ease;
  transform: perspective(1000px) rotateX(0deg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 3.5rem;
}

.cta-primary:hover {
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.4);
  transform: perspective(1000px) rotateX(5deg) translateY(-2px) scale(1.02);
}

.cta-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%) skewX(-12deg);
  transition: transform 1s ease;
}

.cta-primary:hover .cta-shine {
  transform: translateX(100%) skewX(-12deg);
}

.cta-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.75rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.cta-primary:hover .cta-icon {
  transform: rotate(12deg);
}

.cta-text {
  position: relative;
  z-index: 1;
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 2px solid #d1d5db;
  color: #1f2937;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s ease;
  transform: perspective(1000px) rotateX(0deg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 3.5rem;
}

.cta-secondary:hover {
  background: white;
  border-color: #9333ea;
  color: #7c3aed;
  transform: perspective(1000px) rotateX(0deg) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-secondary-text {
  transition: margin-right 0.3s ease;
}

.cta-secondary:hover .cta-secondary-text {
  margin-right: 0.25rem;
}

.cta-secondary-icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.cta-secondary:hover .cta-secondary-icon {
  transform: translateX(0.25rem);
}

/* Trust Indicators */
.trust-indicators {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.trust-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.trust-icon-blue {
  color: #2563eb;
}

.trust-icon-emerald {
  color: #10b981;
}

.trust-icon-purple {
  color: #9333ea;
}

.trust-text {
  font-weight: 500;
  white-space: nowrap;
}

/* Visual Section */
.visual-section {
  position: relative;
  display: flex;
  justify-content: center;
}

.device-mockup {
  position: relative;
  z-index: 10;
  transition: transform 0.7s ease;
}

.device-mockup:hover {
  transform: scale(1.05);
}

.device-frame {
  position: relative;
  background: linear-gradient(180deg, #374151, #1f2937);
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.device-screen {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.screen-content {
  position: relative;
  width: 280px;
  height: 350px;
  padding: 1.5rem;
}

.mockup-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
}

.mockup-badge-text {
  background: linear-gradient(135deg, #10b981, #0d9488);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  animation: pulse 2s infinite;
}

.mockup-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-title {
  font-weight: 700;
  color: #1f2937;
  font-size: 1rem;
  margin: 0;
}

.format-icons {
  display: flex;
  gap: 0.25rem;
}

.format-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.625rem;
  font-weight: 700;
}

.format-icon-p {
  background: #9333ea;
}

.format-icon-f {
  background: #dc2626;
}

.format-icon-c {
  background: #2563eb;
}

.progress-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.progress-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.progress-label {
  color: #6b7280;
}

.progress-value {
  font-weight: 600;
}

.progress-value-blue {
  color: #2563eb;
}

.progress-value-emerald {
  color: #10b981;
}

.progress-bar {
  width: 100%;
  background: #e5e7eb;
  border-radius: 9999px;
  height: 0.75rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 9999px;
  animation: pulse 2s infinite;
}

.progress-fill-blue {
  background: linear-gradient(135deg, #2563eb, #9333ea);
  width: 75%;
}

.progress-fill-emerald {
  background: linear-gradient(135deg, #10b981, #0d9488);
  width: 60%;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
}

.calendar-day {
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 600;
}

.calendar-day-normal {
  background: #dbeafe;
  color: #2563eb;
}

.calendar-day-active {
  background: linear-gradient(135deg, #2563eb, #9333ea);
  color: white;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.calendar-day-weekend {
  background: #fed7aa;
  color: #ea580c;
}

.format-indicators {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.format-indicator {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.format-indicator:hover {
  transform: scale(1.1);
}

.format-indicator-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  margin: 0 auto 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

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

.format-indicator-purple {
  background: linear-gradient(135deg, #9333ea, #a855f7);
}

.format-indicator-red {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

.format-indicator-blue {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.format-indicator-label {
  font-size: 0.625rem;
  font-weight: 500;
  color: #6b7280;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.5s ease;
}

.floating-card-1 {
  top: -1.5rem;
  left: 1rem;
  transform: rotate(-15deg);
  z-index: 10;
}

.floating-card-1:hover {
  transform: rotate(0deg);
}

.floating-card-2 {
  bottom: -1.5rem;
  right: 1rem;
  transform: rotate(12deg);
  z-index: 10;
}

.floating-card-2:hover {
  transform: rotate(0deg);
}

.floating-card-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-card-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-card-icon-emerald {
  background: linear-gradient(135deg, #10b981, #0d9488);
}

.floating-card-icon-blue {
  background: linear-gradient(135deg, #2563eb, #9333ea);
}

.floating-card-text {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
}

/* Decorative Elements */
.deco-element {
  position: absolute;
  border-radius: 1rem;
  opacity: 0.2;
  animation: float 4s ease-in-out infinite;
}

.deco-element-1 {
  top: 4rem;
  right: 4rem;
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, #ec4899, #f97316);
  animation-delay: 0.5s;
}

.deco-element-2 {
  bottom: 5rem;
  left: 2rem;
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #3b82f6, #9333ea);
  border-radius: 50%;
  animation-delay: 1s;
}

.deco-element-3 {
  top: 8rem;
  left: 4rem;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #10b981, #0d9488);
  animation-delay: 1.5s;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
  cursor: pointer;
}

.scroll-text {
  font-size: 0.625rem;
  color: #6b7280;
  font-weight: 500;
}

.scroll-mouse {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid #d1d5db;
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-wheel {
  width: 0.25rem;
  height: 0.75rem;
  background: #9ca3af;
  border-radius: 9999px;
  animation: pulse 2s infinite;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes bounce {
  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40%,
  43% {
    transform: translateX(-50%) translateY(-30px);
  }
  70% {
    transform: translateX(-50%) translateY(-15px);
  }
  90% {
    transform: translateX(-50%) translateY(-4px);
  }
}

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

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

/* Extra Small devices (320px+) */
@media (min-width: 320px) {
  .hero-container {
    padding: 0.75rem;
  }

  .plr-text {
    font-size: 0.625rem;
  }

  .plr-commercial {
    display: none;
  }

  .main-title {
    font-size: clamp(1.75rem, 7vw, 3rem);
  }

  .screen-content {
    width: 240px;
    height: 300px;
    padding: 1rem;
  }

  .floating-card {
    display: none;
  }

  .deco-element {
    display: none;
  }
}

/* Small devices (480px+) */
@media (min-width: 480px) {
  .hero-container {
    padding: 1rem;
  }

  .plr-commercial {
    display: block;
  }

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

  .subtitle-break {
    display: block;
  }

  .screen-content {
    width: 260px;
    height: 320px;
  }

  .floating-card {
    display: block;
  }
}

/* Medium devices (768px+) */
@media (min-width: 768px) {
  .hero-container {
    padding: 1.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .hero-content {
    text-align: left;
  }

  .plr-badge-wrapper {
    justify-content: flex-start;
  }

  .hero-subtitle {
    margin: 0;
  }

  .trust-indicators {
    justify-content: flex-start;
  }

  .cta-buttons {
    flex-direction: row;
  }

  .screen-content {
    width: 280px;
    height: 350px;
    padding: 1.5rem;
  }

  .deco-element {
    display: block;
  }
}

/* Large devices (1024px+) */
@media (min-width: 1024px) {
  .hero-container {
    padding: 2rem;
  }

  .gradient-orb {
    width: 300px;
    height: 300px;
  }

  .main-title {
    font-size: clamp(3rem, 6vw, 5rem);
  }

  .hero-subtitle {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
  }

  .screen-content {
    width: 320px;
    height: 400px;
  }
}

/* Extra Large devices (1280px+) */
@media (min-width: 1280px) {
  .gradient-orb {
    width: 320px;
    height: 320px;
  }

  .main-title {
    font-size: clamp(4rem, 5vw, 6rem);
  }

  .hero-subtitle {
    font-size: clamp(1.5rem, 1.8vw, 2rem);
  }
}

/* Ultra Wide displays (1536px+) */
@media (min-width: 1536px) {
  .main-title {
    font-size: clamp(5rem, 4vw, 7rem);
  }

  .hero-subtitle {
    font-size: clamp(1.75rem, 1.5vw, 2.25rem);
  }
}
