/* Modern Home Page Styles */

/* CSS Variables - Using base.css variables for consistency */
:root {
  --hero-primary-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  --hero-secondary-gradient: linear-gradient(90deg, var(--white-color), var(--light-color));
  --cta-gradient: linear-gradient(90deg, var(--success-color), #20c997);
  --gpt-gradient: linear-gradient(135deg, #ff006e, #8338ec, #3a86ff);
  --hero-shadow: var(--shadow-lg);
  --hover-transform: translateY(-3px);
  --border-radius-large: var(--radius-xxl);
  --border-radius-pill: var(--radius-full);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 15vh;
  display: flex;
  align-items: center;
  overflow: visible;
  background: var(--hero-primary-gradient);
  border-radius: var(--border-radius-large);
}

/* Enhanced text container for better spacing */
.hero-text-container {
  padding-left: 1rem;
}

@media (max-width: 992px) {
  .hero-text-container {
    padding-left: 0.75rem;
  }
}

@media (max-width: 768px) {
  .hero-text-container {
    padding-left: 0.5rem;
  }
}

/* Accessibility improvements */
.hero-section:focus-within {
  outline: 2px solid #ffffff;
  outline-offset: -2px;
}

/* High contrast support */
@media (prefers-contrast: high) {
  .gradient-text {
    background: linear-gradient(90deg, #ffffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .trust-badge {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.3);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .animated-gradient,
  .floating-icon,
  .hero-image,
  .hero-image-tilt,
  .featurette-image-tilt {
    animation: none !important;
  }

  .hero-image-tilt-inner,
  .featurette-image-tilt-inner {
    transition: none !important;
  }

  .hero-image-tilt:hover .hero-image-tilt-inner,
  .featurette-odd:hover .featurette-image-tilt-inner,
  .featurette-even:hover .featurette-image-tilt-inner {
    transform: none !important;
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.animated-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #007bff, #0056b3, #17a2b8, #138496);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  opacity: 0.1;
  border-radius: 30px;
  overflow: hidden;
}

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

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
  will-change: transform;
  transform: translateZ(0);
}

.icon-1 { top: 20%; left: 5%; animation-delay: 0s; }
.icon-2 { top: 60%; right: 8%; animation-delay: 2.5s; }
.icon-3 { bottom: 30%; right: 20%; animation-delay: 5s; }

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1rem;
}

/* Override Bootstrap padding to reduce hero section height */
.hero-content .row {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

@media (max-width: 992px) {
  .hero-content {
    padding-left: 1rem;
    padding-right: 0.75rem;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding-left: 0.75rem;
    padding-right: 0.5rem;
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  padding-left: 0.5rem;
}

.gradient-text {
  background: var(--hero-secondary-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.5rem;
}

.hero-subtitle {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.5rem;
  padding-left: 0.5rem;
}

.hero-description {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
  padding-left: 0.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  padding-left: 0.5rem;
}

.hero-cta {
  background: var(--cta-gradient);
  border: none;
  padding: 1rem 2.5rem;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--border-radius-pill);
}

.hero-cta:hover {
  transform: var(--hover-transform);
  box-shadow: 0 15px 40px rgba(40, 167, 69, 0.4);
  text-decoration: none;
}

.trust-indicators {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-badge {
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.gpt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--gpt-gradient);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-pill);
  backdrop-filter: blur(10px);
  border: 2px solid #ff006e;
  transition: var(--transition-normal);
  animation: cyberpunkGlow 3s ease-in-out infinite alternate;
  text-align: center;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.4);
}

.gpt-badge i {
  font-size: 1.3rem;
  animation: cyberpunkBolt 1.2s ease-in-out infinite;
  filter: drop-shadow(0 0 10px #ff006e);
  color: #ffbe0b;
}

.gpt-badge:hover {
  transform: translateY(-3px);
  border-color: #ffbe0b;
  box-shadow:
    0 0 15px #ff006e,
    0 0 25px #8338ec,
    0 0 35px #3a86ff,
    0 0 45px #ffbe0b,
    inset 0 0 25px rgba(255, 190, 11, 0.3);
  background: linear-gradient(135deg, #ff006e, #8338ec, #3a86ff, #ffbe0b);
}

@keyframes cyberpunkGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(131, 56, 236, 0.6);
  }
}

@keyframes cyberpunkBolt {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 10px #ff006e);
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px #8338ec);
  }
}

.hero-image {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin: -60px 0;
  transform: scale(1.08);
  border-radius: 20px;
}

/* Middle mode specific adjustments */
@media (max-width: 992px) {
  .hero-content {
    padding-left: 1rem;
    padding-right: 0.75rem;
  }

  .hero-image {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .hero-section {
    min-height: 20vh;
  }

  /* Move hero image downward in tablet mode to prevent overlap with button and badge */
  .hero-image-tilt {
    margin-top: 60px;
  }

  .hero-image-tilt img {
    margin-top: 60px;
    margin-bottom: 20px;
  }

  /* Move band reveal feature upward in tablet mode */
  .band-reveal-container {
    margin-top: -6rem;
  }
}

/* Hero Responsive */
@media (max-width: 768px) {
  .hero-section { min-height: 18vh; border-radius: 20px; }
  .hero-title { font-size: 2.2rem; margin-bottom: 1rem; padding-left: 0; }
  .subtitle { font-size: 1.3rem; }
  .hero-description { font-size: 1rem; margin-bottom: 1.5rem; padding-left: 0; }
  .hero-buttons { flex-direction: column; gap: 0.8rem; padding-left: 0; }
  .hero-subtitle { padding-left: 0; }
  .hero-image-tilt { margin: 40px 0 10px 0; }
  .hero-image-tilt img { margin: 40px 0 10px 0; transform: scale(1); }

  /* Hide floating elements on mobile for better performance */
  .floating-elements { display: none; }

  /* Move Press Here image downward in mobile mode */
  .press-here-container {
    margin-top: -2rem !important;
    margin-left: -4rem !important;
  }

  /* Add more space after Press Here image to prevent overlap with featurette */
  .featurette-divider {
    margin-top: 4rem !important;
    margin-bottom: 8rem !important;
  }

  /* Move band reveal feature upward in mobile mode */
  .band-reveal-container {
    margin-top: -2rem !important;
  }

  /* Reduce main content margins on mobile */
  .extend-container {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    padding: 1rem !important;
  }

  .inner-content {
    margin-top: 0rem !important;
    margin-left: 0rem !important;
    margin-right: 0rem !important;
    margin-bottom: 0rem !important;
  }

  /* Reduce marketing section padding on mobile */
  .marketing {
    padding: 2rem 0 !important;
  }

}

/* Legacy Hero Carousel Enhancements (deprecated) */
.hero-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    margin-top: 2rem;
    margin-bottom: 3rem;
    border: none;
}

.carousel-item {
    height: 80vh;
    min-height: 500px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.carousel-item:hover img {
    transform: scale(1.03);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 0 3rem;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-item.active .carousel-caption {
    opacity: 1;
    transform: translateY(0);
}

.carousel-caption h1 {
    font-weight: 800;
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.carousel-caption p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 1.8rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
}

/* Featurettes Modernization */
.marketing {
    padding: 5rem 0;
}

.featurette-divider {
    margin: 4rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.featurette-heading {
    font-weight: 700;
    letter-spacing: -0.03rem;
    margin-bottom: 1.5rem;
    position: relative;
    font-size: 2.2rem;
    line-height: 1.2;
}

.featurette-heading:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00bfff);
    margin-top: 1.2rem;
    border-radius: 2px;
}

.featurette-image {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 5px solid #fff;
    transform: translateY(0);
}

.featurette:hover .featurette-image {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #555;
    font-weight: 400;
}

/* Buttons & CTAs - Consolidated Button Styles */
.btn-primary,
.btn-outline-light,
.btn-warning {
    padding: 0.9rem 2.2rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    background-color: #0069d9;
}

.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-warning {
    border: none;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

/* Hover Effects */
.featurette:hover .featurette-heading {
    color: #007bff;
    transition: color 0.3s ease;
}

/* Responsive Improvements */
@media (max-width: 992px) {
    .carousel-item {
        height: 65vh;
        min-height: 450px;
    }
    
    .carousel-caption {
        padding: 2rem;
        margin: 0 2rem;
    }
    
    .carousel-caption h1 {
        font-size: 2.2rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
    }
    
    .featurette-divider {
        margin: 3rem 0;
    }
    
    .featurette-heading {
        font-size: 1.9rem;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .carousel-caption h1 {
        font-size: 1.9rem;
    }
    
    .carousel-caption p {
        font-size: 1.05rem;
    }
    
    .featurette-heading {
        font-size: 1.7rem;
    }
    
    .lead {
        font-size: 1.05rem;
    }
    
    .marketing {
        padding: 3rem 0;
    }

    .featurette-divider {
        margin: 1.5rem 0;
    }
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section Entrance Animations */
.hero-title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInDown 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInDown 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-description {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

.hero-image-tilt {
    background-color: transparent;
    perspective: 1000px;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 1s ease forwards;
    animation-delay: 0.5s;
}

.hero-image-tilt-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.4s;
    transform-style: preserve-3d;
}

.hero-image-tilt:hover .hero-image-tilt-inner {
    transform: rotateY(-5deg);
}

.hero-image-tilt img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin: -60px 0;
}

/* Featurette Image Tilt Animations */
.featurette-image-tilt {
    background-color: transparent;
    perspective: 1000px;
}

.featurette-image-tilt-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.4s;
    transform-style: preserve-3d;
}

/* Odd featurettes tilt to the right (positive rotation) */
.featurette-odd:hover .featurette-image-tilt-inner {
    transform: rotateY(-5deg);
}

/* Even featurettes tilt to the left (negative rotation) */
.featurette-even:hover .featurette-image-tilt-inner {
    transform: rotateY(5deg);
}

.featurette-image-tilt img {
    border-radius: 5px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.featurette-image-tilt:hover img {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Entrance Animation Keyframes */
@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero elements will be visible on page load */
.hero-title,
.hero-subtitle,
.hero-description,
.hero-buttons,
.hero-image,
.hero-image-tilt {
    animation-fill-mode: forwards;
}

/* Gradient Backgrounds */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Section Spacing */
.section-padding {
    padding: 5rem 0;
}

/* Modern Card Styles */
.modern-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: none;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* float animation moved to top level - removing duplicate */

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Text Styles */
.text-gradient {
    background: linear-gradient(90deg, #007bff, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Shadow Text */
.shadow-text {
     color: #ffffff;
     text-shadow: 0 0 3px rgb(255, 182, 73), 0 0 7px rgba(255, 255, 255);
     font-weight: 600;
     font-size: 1.1em;
}

.shadow-text:hover {
    text-decoration: none;
}

/* btn-custom removed - conflicts with existing button styles, use .btn-primary instead */

/* Image Hover Effects */
.image-container {
    position: relative;
    overflow: hidden;
}

.image-container img {
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.image-container:hover img {
    transform: scale(1.05);
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover::before {
    opacity: 1;
}

/* Override image-container effects for featurette tilt containers */
.featurette-image-tilt .image-container {
    overflow: visible;
}

.featurette-image-tilt .image-container:hover img {
    transform: none;
}

.featurette-image-tilt .image-container::before,
.featurette-image-tilt .image-container:hover::before {
    opacity: 0;
}

/* Icon Styles */
.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff, #00bfff);
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    border-radius: 20px;
    margin: 5rem 0;
}

.stats-item {
    text-align: center;
    padding: 1.5rem;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Testimonial Section */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 1.5rem;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #007bff;
    margin: -50px auto 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: #fff;
}

.faq-section .featurette-heading {
    position: relative;
    margin-bottom: 3rem;
}

.faq-section .featurette-heading:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #00bfff);
    margin: 1.2rem auto;
    border-radius: 2px;
}

.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 15px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.accordion-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.accordion-button {
    padding: 1.5rem;
    font-size: 1.1rem;
    border-radius: 15px;
    background-color: #f8f9fa;
    color: #212529;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    color: #007bff;
    background-color: #f8f9fa;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.accordion-button:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.accordion-button::after {
    width: 1.5rem;
    height: 1.5rem;
    background-size: 1.5rem;
}

.accordion-body {
    padding: 1.5rem;
    line-height: 1.7;
    color: #555;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #007bff, #00bfff);
    color: white;
    padding: 5rem 0;
    border-radius: 20px;
    text-align: center;
    margin: 5rem 0;
}

.cta-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-subheading {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

/* Footer Improvements */
footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    padding: 2rem 0 !important;
    margin-top: 3rem !important;
}