/* 
   DEVELOP! App Website Styles
   A modern, responsive design for the DEVELOP! coding app
*/

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #5d21d0;
  background: linear-gradient(
    135deg,
    rgba(93, 33, 208, 1) 0%,
    rgba(74, 24, 170, 1) 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top: 5px solid var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 15px rgba(255, 218, 74, 0.5);
}

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

/* Base Styles */
:root {
  --primary-color: #5d21d0;
  --primary-dark: #4a18aa;
  --primary-light: #7c47e9;
  --secondary-color: #ffda4a;
  --secondary-dark: #f0cb3d;
  --secondary-light: #ffe97d;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --background-light: #f9fafb;
  --background-dark: #111827;
  --white: #ffffff;
  --black: #000000;
  --border-color: #e5e7eb;
  --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-light);
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(93, 33, 208, 0.1) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 218, 74, 0.15) 0%,
      transparent 35%
    ),
    linear-gradient(
      135deg,
      rgba(255, 218, 74, 0.05) 0%,
      rgba(93, 33, 208, 0.05) 100%
    );
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 2rem;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.primary-btn {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: var(--white);
  border: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.primary-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-color)
  );
  transition: all 0.3s;
  z-index: -1;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 14px rgba(93, 33, 208, 0.3);
}

.primary-btn:hover::after {
  height: 100%;
}

.secondary-btn {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.secondary-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 218, 74, 0.2),
    transparent
  );
  transition: all 0.4s;
  z-index: -1;
}

.secondary-btn:hover {
  color: var(--primary-dark);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 218, 74, 0.3);
}

.secondary-btn:hover::before {
  left: 100%;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(
    to right,
    rgba(93, 33, 208, 0.97),
    rgba(124, 71, 233, 0.97)
  );
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 2px 20px rgba(93, 33, 208, 0.4);
  z-index: 1000;
  padding: 15px 0;
  border-bottom: 3px solid rgba(255, 218, 74, 0.8);
}

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

.logo img {
  height: 75px;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  font-weight: 500;
  position: relative;
  color: var(--white);
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  transition: var(--transition);
  opacity: 0;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
  opacity: 1;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 150px 0 100px;
  background: linear-gradient(
    135deg,
    rgba(93, 33, 208, 0.18) 0%,
    rgba(132, 68, 224, 0.15) 25%,
    rgba(255, 218, 74, 0.2) 50%,
    rgba(240, 203, 61, 0.15) 75%,
    rgba(93, 33, 208, 0.12) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 15% 25%,
      rgba(93, 33, 208, 0.25) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(255, 218, 74, 0.2) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 65% 35%,
      rgba(132, 68, 224, 0.15) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 35% 65%,
      rgba(240, 203, 61, 0.18) 0%,
      transparent 35%
    );
  z-index: -1;
  animation: subtle-float 20s ease-in-out infinite alternate;
}

@keyframes subtle-float {
  0% {
    background-position: 0% 0%, 100% 100%, 50% 30%, 30% 70%;
  }
  100% {
    background-position: 15% 15%, 85% 85%, 65% 45%, 45% 55%;
  }
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  padding-right: 30px;
  background: rgba(255, 245, 220, 0.3);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 218, 74, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(255, 193, 7, 0.3);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.hero-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.hero-image img:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
  box-shadow: 0 20px 40px rgba(93, 33, 208, 0.3);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
  background: linear-gradient(to right, var(--primary-color), #8844e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #634700;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  display: inline-block;
}

.hero h2::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--secondary-color),
    var(--secondary-light)
  );
  border-radius: 3px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.hero-buttons .primary-btn {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: var(--white);
  border: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(93, 33, 208, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(93, 33, 208, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(93, 33, 208, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(93, 33, 208, 0);
  }
}

/* Features Section */
.features {
  padding: 100px 0;
  background-color: var(--background-light);
  background-image: linear-gradient(
    to bottom,
    rgba(93, 33, 208, 0.07) 0%,
    rgba(255, 218, 74, 0.08) 100%
  );
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.7)
  );
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: 2px solid rgba(255, 218, 74, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px -10px rgba(93, 33, 208, 0.2),
    0 0 15px rgba(255, 218, 74, 0.3);
  border-color: rgba(255, 218, 74, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-light);
}

/* App Preview Section */
.app-preview {
  padding: 100px 0;
  background-color: var(--background-light);
  background-image: radial-gradient(
      circle at 10% 20%,
      rgba(93, 33, 208, 0.12) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 80% 60%,
      rgba(255, 218, 74, 0.18) 0%,
      transparent 35%
    );
  position: relative;
  overflow: visible;
}

.app-preview::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(93, 33, 208, 0.15) 0%,
    transparent 70%
  );
  top: -50px;
  right: 5%;
  z-index: 0;
  animation: float-circle 20s ease-in-out infinite alternate;
}

.app-preview::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 218, 74, 0.18) 0%,
    transparent 70%
  );
  bottom: 10%;
  left: 5%;
  z-index: 0;
  animation: float-circle 15s ease-in-out infinite alternate-reverse;
}

.preview-gallery {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 70px;
  margin-bottom: 60px; /* Increased for more vertical space */
  overflow: visible; /* Changed from hidden to visible to allow images to extend outside */
  position: relative;
  padding: 80px 0; /* Increased padding to ensure enough space for images */
  min-height: 600px; /* Set minimum height to accommodate the staggered images */
}

.preview-carousel {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 1;
}

.preview-image {
  width: 300px;
  height: 600px;
  flex: 0 0 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
  border: 4px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(45deg, var(--primary-color), var(--secondary-color))
      border-box;
  position: relative;
  opacity: 1;
  visibility: visible !important; /* Ensure images are always visible */
  display: block !important; /* Ensure images are always displayed */
}

/* Individual image animations for each preview image - removed rotations */
@keyframes float-up-down-1 {
  0% {
    transform: translateY(-60px);
  }
  50% {
    transform: translateY(-70px);
  }
  100% {
    transform: translateY(-60px);
  }
}

@keyframes float-up-down-2 {
  0% {
    transform: translateY(60px);
  }
  50% {
    transform: translateY(70px);
  }
  100% {
    transform: translateY(60px);
  }
}

.preview-gallery .preview-image:nth-child(1),
.preview-gallery .preview-image:nth-child(3) {
  transform: translateY(-60px) !important;
  animation: float-up-down-1 6s ease-in-out infinite;
}

.preview-gallery .preview-image:nth-child(2) {
  transform: translateY(60px) !important;
  animation: float-up-down-2 6s ease-in-out infinite;
}

/* Apply different animation delays to create a wave effect */
.preview-gallery .preview-image:nth-child(1) {
  animation-delay: 0s;
}

.preview-gallery .preview-image:nth-child(2) {
  animation-delay: 1s;
}

.preview-gallery .preview-image:nth-child(3) {
  animation-delay: 2s;
}

.preview-image.preview-focus,
.preview-image:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 40px rgba(93, 33, 208, 0.4);
  z-index: 2;
  opacity: 1;
  animation-play-state: paused; /* Pause the animation on hover */
}

/* Maintain staggered positions even on hover */
.preview-gallery .preview-image:nth-child(1):hover,
.preview-gallery .preview-image:nth-child(3):hover {
  transform: translateY(-70px) !important;
}

.preview-gallery .preview-image:nth-child(2):hover {
  transform: translateY(50px) !important;
}

.preview-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(93, 33, 208, 0.15),
    rgba(255, 218, 74, 0.2)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.preview-image:hover::after {
  opacity: 1;
}

.preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

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

.preview-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.preview-control {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(93, 33, 208, 0.2);
}

.preview-control:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(93, 33, 208, 0.3);
}

/* About Section */
.about {
  padding: 120px 0;
  background-color: var(--background-light);
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(
    135deg,
    rgba(93, 33, 208, 0.08) 0%,
    rgba(255, 218, 74, 0.1) 100%
  );
}

.about::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(93, 33, 208, 0.12) 0%,
    transparent 70%
  );
  top: -150px;
  right: -100px;
  animation: float-circle 15s ease-in-out infinite alternate;
}

.about::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 218, 74, 0.15) 0%,
    transparent 70%
  );
  bottom: -100px;
  left: -80px;
  animation: float-circle 20s ease-in-out infinite alternate-reverse;
}

@keyframes float-circle {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(30px, 30px);
  }
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(93, 33, 208, 0.15);
  border: 2px solid rgba(255, 218, 74, 0.3);
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(93, 33, 208, 0.2);
}

.about p {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 40px;
  line-height: 1.8;
}

.team-values {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 50px;
  flex-wrap: wrap;
  perspective: 1000px;
}

.value {
  flex: 1;
  min-width: 250px;
  padding: 30px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.7)
  );
  border-radius: var(--border-radius);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(93, 33, 208, 0.15);
  transition: all 0.4s ease;
  transform: translateZ(0) rotateY(0);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.value::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--secondary-color)
  );
  z-index: 2;
}

.value:hover {
  transform: translateY(-15px) rotateY(5deg);
  box-shadow: 0 25px 40px rgba(93, 33, 208, 0.2);
  border-color: rgba(255, 218, 74, 0.5);
}

.value h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.value h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--secondary-color),
    rgba(255, 218, 74, 0.3)
  );
  border-radius: 3px;
}

.value p {
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background-color: var(--primary-color);
  background-image: linear-gradient(
    45deg,
    var(--primary-dark),
    var(--primary-color)
  );
  position: relative;
  color: var(--white);
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.15;
  top: -100px;
  left: -100px;
}

.stats::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: var(--secondary-color);
  border-radius: 50%;
  opacity: 0.1;
  bottom: -50px;
  right: 10%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.stat-label {
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }

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

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background-color: var(--background-light);
  position: relative;
  background-image: linear-gradient(
      120deg,
      rgba(255, 218, 74, 0.15) 0%,
      rgba(255, 255, 255, 0) 70%
    ),
    linear-gradient(
      -120deg,
      rgba(93, 33, 208, 0.1) 0%,
      rgba(255, 255, 255, 0) 70%
    );
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 30px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
  box-shadow: 0 0 0 2px rgba(93, 33, 208, 0.2);
}

.testimonials-slider {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial {
  flex: 0 0 calc(100% - 60px);
  min-width: 300px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.7)
  );
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  scroll-snap-align: center;
  transition: var(--transition);
  border: 2px solid rgba(255, 218, 74, 0.2);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(93, 33, 208, 0.15);
  border-color: rgba(255, 218, 74, 0.3);
}

.testimonial-text {
  margin-bottom: 20px;
}

.testimonial-text p {
  font-style: italic;
  color: var(--text-color);
  position: relative;
}

.testimonial-text p::before {
  content: '"';
  font-size: 3rem;
  color: var(--primary-light);
  position: absolute;
  top: -20px;
  left: -10px;
  opacity: 0.3;
}

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

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  flex-shrink: 0;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Download Section */
.download {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--primary-light),
    var(--secondary-color)
  );
  z-index: 1;
}

.download::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  opacity: 0.1;
  bottom: -150px;
  right: -150px;
  z-index: 0;
}

.download .section-title {
  color: var(--white);
}

.download p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  padding: 15px 30px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: var(--border-radius);
  color: var(--white);
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  z-index: 1;
}

.download-btn:hover {
  transform: translateY(-5px);
  background-color: var(--black);
  border-color: var(--secondary-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 0 5px rgba(255, 218, 74, 0.2);
}

.download-btn i {
  font-size: 2rem;
  margin-right: 10px;
}

.download-btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.download-btn small {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: var(--background-light);
  background-image: radial-gradient(
      circle at 90% 10%,
      rgba(93, 33, 208, 0.08) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(255, 218, 74, 0.12) 0%,
      transparent 40%
    );
}

.contact-wrapper {
  display: flex;
  gap: 50px;
  margin-top: 50px;
}

.contact-info,
.contact-form {
  flex: 1;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 5px;
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-item p {
  color: var(--text-light);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  border: 2px solid transparent;
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(93, 33, 208, 0.3);
  border-color: var(--secondary-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.85);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 4px rgba(93, 33, 208, 0.15);
  background-color: #fff;
}

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

/* Footer */
footer {
  background-color: var(--background-dark);
  background-image: linear-gradient(
    to bottom,
    #1a1037 0%,
    var(--background-dark) 100%
  );
  color: var(--white);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color),
    var(--primary-color)
  );
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 75px;
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #a1a1aa;
  transition: var(--transition);
  position: relative;
}

.footer-column ul li a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #a1a1aa;
  font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  box-shadow: var(--box-shadow);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 99;
  border: 2px solid transparent;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary-color)
  );
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(93, 33, 208, 0.3);
  border-color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    padding: 25px;
    margin-bottom: 50px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero p {
    margin: 0 auto 30px;
  }

  .hero-image img {
    transform: perspective(1000px) rotateY(0deg);
    max-width: 90%;
    margin: 0 auto;
  }

  .contact-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 120px 0 70px;
  }

  .hero-content {
    padding: 20px;
    width: 95%;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-image img {
    border-radius: 15px;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }

  .mobile-menu-active li {
    margin: 15px 0;
  }

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

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

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

  .team-values {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-links {
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .preview-image {
    width: 100%;
  }
}

/* FAQ Bölümü Stilleri */
.faq {
  padding: 100px 0;
  background-color: var(--background-light);
  background-image: radial-gradient(
      circle at 20% 80%,
      rgba(93, 33, 208, 0.08) 0%,
      transparent 35%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 218, 74, 0.12) 0%,
      transparent 35%
    );
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: none; /* Başlangıçta gizli */
}

.faq-container.visible {
  display: block; /* Görünür hale gelecek */
}

.faq-item {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85),
    rgba(255, 255, 255, 0.65)
  );
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-color);
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(93, 33, 208, 0.15);
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(93, 33, 208, 0.08);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  transition: all 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: all 0.5s ease;
  line-height: 1.6;
  color: var(--text-color);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 20px 20px;
  background-color: rgba(255, 255, 255, 0.6);
}

/* Force preview images to be visible */
.preview-image {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.preview-image img {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}
