/**
 * COMPONENT STYLES
 *
 * Reusable UI components:
 * - Buttons and interactive elements
 * - Phone mockups and previews
 * - App store buttons
 * - Glassmorphic blobs and effects
 */

/* Reusable Component Styles */

/* Header Links */
.header-link {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header-link:hover {
  color: white;
}

/* App Store Buttons */
.app-buttons {
  width: 100%;
  max-width: 32rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

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

.app-store-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 1rem;
  border: 2px solid #6b7280;
  background: rgba(107, 114, 128, 0.2);
  backdrop-filter: var(--blur-light);
  -webkit-backdrop-filter: var(--blur-light);
  text-decoration: none;
  color: black;
  transition: all 0.3s ease;
  min-height: 5rem;
}

.app-store-btn:hover {
  border-color: black;
  background: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.app-store-btn img {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.5rem;
}

.app-store-btn .title {
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.app-store-btn .subtitle {
  font-size: 0.75rem;
  color: #1b5634bb;
  text-align: center;
}

/* CTA Button */
.cta-container {
  margin-bottom: 2rem;
  width: 100%;
  max-width: 40rem;
}

.cta-button {
  background: var(--gradient-primary);
  opacity: 0.8;
  color: white;
  border: 1px solid rgba(34, 197, 94, 0.5);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
  padding: 1rem 2rem;
  font-size: 1.2rem;
  border-radius: 0.5rem;
  cursor: pointer;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition-fast), box-shadow 0.2s ease;
  font-weight: 600;
  display: block;
}

/* Phone Mockups */
.app-preview {
  margin-bottom: 2rem;
  position: relative;
  width: 100%;
  max-width: 32rem;
  overflow: visible;
  padding: 0 2rem;
}

.phone-mockups {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.phone {
  background: #374151;
  border-radius: 0.5rem;
  border: 2.5px solid #1a202d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.phone-1 {
  width: 3rem;
  height: 6rem;
  transform: rotate(12deg);
  opacity: 0.8;
}

.phone-2 {
  width: 3.5rem;
  height: 7rem;
  transform: rotate(-6deg);
  opacity: 1.0;
}

.phone-3 {
  width: 4rem;
  height: 8rem;
  z-index: 10;
}

.phone-4 {
  width: 3.5rem;
  height: 7rem;
  transform: rotate(6deg);
  opacity: 1.0;
}

.phone-5 {
  width: 3rem;
  height: 6rem;
  transform: rotate(-12deg);
  opacity: 0.8;
}

.phone-inner {
  width: 100%;
  height: 100%;
  border-radius: 0.375rem;
  border: 1px solid #6b7280;
  overflow: hidden;
}

.phone-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.375rem;
  filter: brightness(1) contrast(0.9);
  transform: scale(1.1) translateY(6px);
}

/* Animated Phone Preview */
.animated-phone-container {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 208px;
  perspective: 1000px;
  gap: 6rem;
  filter: drop-shadow(0 5px 20px rgba(0,0,0,0.20));
}

.animated-phone {
  position: relative;
  width: 117px;
  height: 241px;
  margin-left: 6rem;
  opacity: 90%;
}

.features-list {
  position: relative;
  width: 330px;
  max-width: 330px;
  min-height: 5.5rem;
  text-align: center;
  flex-shrink: 0;
}

.feature-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  font-size: 1.5rem;
  line-height: 1.5;
  color: black;
  margin: 0;
  padding-left: 1rem;
  text-align: left;
}

.feature-item::before {
  content: none;
}

.gradient-text-2 {
  background: var(--gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientShift 3s ease-in-out infinite;
}

.phone-mockup {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 1.5s ease-in-out;
}

/* Slide visibility control */
.slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Info Text */
.info-text {
  margin-top: 2rem;
  text-align: center;
  opacity: 0.9;
}

.info-text p {
  font-size: 0.875rem;
  color: #4b5563;
}

/* Scroll Screen Animation */
.scroll-screen {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70vw;
  max-width: 1300px;
  opacity: .5;
  z-index: 2;
  pointer-events: none;
  animation: scrollFade 8s linear infinite;
  mask-image: linear-gradient(to bottom, black 60%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent);
}

/* Glassmorphic Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
  z-index: 1;
  mix-blend-mode: overlay;
  animation: float 15s ease-in-out infinite;
  pointer-events: none;
}

.blob-1 {
  background: linear-gradient(135deg, rgba(255, 94, 58, 0.7) 50%, rgba(255, 149, 0, 0.7) 100%);
  width: 300px;
  height: 300px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.blob-2 {
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.65) 0%, rgba(255, 94, 58, 0.65) 100%);
  width: 400px;
  height: 400px;
  bottom: 15%;
  right: 10%;
  animation-delay: 3s;
}

.blob-3 {
  background: linear-gradient(135deg, rgba(255, 94, 58, 0.55) 0%, rgba(255, 149, 0, 0.55) 100%);
  width: 250px;
  height: 250px;
  top: 60%;
  left: 50%;
  animation-delay: 6s;
}

/* Subtle Hover Effects for Interactive Elements */
.button, input[type="submit"], .interactive-element {
  transition: all 0.3s ease;
  transform: translateZ(0); /* Enable hardware acceleration */
}

.button:hover, input[type="submit"]:hover, .interactive-element:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Subtle Floating Animation for Main Content (disabled) */
.main-content {
  animation: none; /* removed per request */
}