/* Modern Landing Page Styles for Lavrilo */

/* Button loader styles */
.button-loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-left-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Registration success styles */
.registration-success {
  text-align: center;
  padding: 40px 20px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
}

.success-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.registration-success h3 {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

.registration-success p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 10px;
}

/* Inclusivity Section */
.inclusivity-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.inclusivity-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.inclusivity-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.inclusivity-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.inclusivity-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.inclusivity-feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.inclusivity-feature .feature-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-light);
  flex-shrink: 0;
  padding: 10px;
}

.inclusivity-feature .feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.inclusivity-feature .feature-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.inclusivity-feature .feature-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.inclusivity-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.animated-stats-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.animated-stat-card {
  background: white;
  padding: 25px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 140px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.animated-stat-card:nth-child(1) { animation-delay: 0.1s; }
.animated-stat-card:nth-child(2) { animation-delay: 0.3s; }
.animated-stat-card:nth-child(3) { animation-delay: 0.5s; }

.animated-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}


.stat-number-animated {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 5px;
  display: block;
}

.stat-label-animated {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
}

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


.inclusivity-stats {
  display: flex;
  gap: 30px;
}

.inclusivity-stats .stat-item {
  text-align: center;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  min-width: 80px;
}

.inclusivity-stats .stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.inclusivity-stats .stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Monetization Section */
.monetization-section {
  padding: 80px 0;
  background: white;
}

.monetization-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.monetization-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.monetization-hero-image {
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.monetization-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: gentle-float 3s ease-in-out infinite;
}

@keyframes gentle-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.monetization-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.monetization-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.monetization-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
}

.monetization-feature {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.monetization-feature .feature-icon {
  width: 60px;
  height: 60px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-light);
  flex-shrink: 0;
  padding: 10px;
}

.monetization-feature .feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.monetization-feature .feature-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.monetization-feature .feature-content p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.monetization-note {
  padding: 20px;
  background: var(--background-light);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.monetization-note p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Mobile Responsiveness for New Sections */
@media (max-width: 768px) {
  .inclusivity-content,
  .monetization-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .inclusivity-text h2,
  .monetization-text h2 {
    font-size: 2rem;
  }
  
  .inclusivity-subtitle,
  .monetization-subtitle {
    font-size: 1.1rem;
  }
  
  .inclusivity-stats {
    gap: 15px;
  }
  
  .inclusivity-stats .stat-item {
    padding: 15px;
    min-width: 70px;
  }
  
  .pride-gradient {
    width: 250px;
    height: 150px;
  }
}

:root {
  --primary-color: #ff4458;
  --primary-dark: #e63946;
  --secondary-color: #6c5ce7;
  --accent-color: #a29bfe;
  --text-primary: #2d3436;
  --text-secondary: #636e72;
  --text-light: #b2bec3;
  --background-light: #f8f9fa;
  --background-white: #ffffff;
  --border-light: #e9ecef;
  --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-heavy: 0 10px 40px rgba(0,0,0,0.2);
  --gradient-primary: linear-gradient(135deg, #ff4458 0%, #ff6b7a 100%);
  --gradient-secondary: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  --gradient-hero: linear-gradient(135deg, #ff4458 0%, #6c5ce7 100%);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Стили для иконок */
.feature-icon-img {
  width: 100px;
  height: 100px;
  border: none !important;
  outline: none !important;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo h2 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 1.8rem;
}

.nav-logo a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.nav-logo a:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  margin: 2px 0;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-hero-primary, .btn-hero-secondary, .btn-registration {
  padding: 12px 24px;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-light);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
}

.btn-hero-primary {
  background: var(--gradient-primary);
  color: white;
  padding: 16px 32px;
  font-size: 1.1rem;
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
  animation: pulse 2s infinite;
}

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

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 68, 88, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 68, 88, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 68, 88, 0);
  }
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-registration {
  background: var(--gradient-primary);
  color: white;
  width: 100%;
  padding: 18px;
  font-size: 1.2rem;
  margin-top: 20px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
}

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

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* Modern Floating Elements Animation */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.float-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 68, 88, 0.3), rgba(108, 92, 231, 0.3));
  animation: modernFloat 12s infinite linear;
}

.element-1 {
  width: 20px;
  height: 20px;
  left: 15%;
  animation-delay: 0s;
  animation-duration: 15s;
}

.element-2 {
  width: 30px;
  height: 30px;
  left: 30%;
  animation-delay: 3s;
  animation-duration: 18s;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.4), rgba(162, 155, 254, 0.4));
}

.element-3 {
  width: 15px;
  height: 15px;
  left: 55%;
  animation-delay: 6s;
  animation-duration: 12s;
  border-radius: 20%;
  background: linear-gradient(135deg, rgba(255, 68, 88, 0.5), rgba(255, 107, 122, 0.5));
}

.element-4 {
  width: 25px;
  height: 25px;
  left: 75%;
  animation-delay: 9s;
  animation-duration: 20s;
  background: linear-gradient(135deg, rgba(162, 155, 254, 0.3), rgba(255, 107, 157, 0.3));
}

.element-5 {
  width: 18px;
  height: 18px;
  left: 85%;
  animation-delay: 2s;
  animation-duration: 14s;
  border-radius: 30%;
}

.element-6 {
  width: 22px;
  height: 22px;
  left: 8%;
  animation-delay: 5s;
  animation-duration: 16s;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.4), rgba(108, 92, 231, 0.4));
}

@keyframes modernFloat {
  0% {
    transform: translateY(100vh) translateX(0px) rotate(0deg) scale(0);
    opacity: 0;
  }
  5% {
    opacity: 1;
    transform: translateY(90vh) translateX(10px) rotate(45deg) scale(1);
  }
  25% {
    transform: translateY(70vh) translateX(-20px) rotate(180deg) scale(1.2);
  }
  50% {
    transform: translateY(40vh) translateX(30px) rotate(270deg) scale(0.8);
  }
  75% {
    transform: translateY(20vh) translateX(-10px) rotate(360deg) scale(1.1);
  }
  95% {
    opacity: 1;
    transform: translateY(5vh) translateX(15px) rotate(405deg) scale(0.9);
  }
  100% {
    transform: translateY(-10vh) translateX(0px) rotate(450deg) scale(0);
    opacity: 0;
  }
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(45deg, #ffd700, #ff69b4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffd700;
}

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

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--background-light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4458, #ff6b9d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  box-shadow: 0 8px 25px rgba(255, 68, 88, 0.3);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-circle {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(255, 68, 88, 0.4);
}

.feature-icon-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(255, 68, 88, 0.3);
  transition: all 0.3s ease;
  padding: 15px;
}

.feature-icon-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.feature-card:hover .feature-icon-image {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(255, 68, 88, 0.4);
}

.feature-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.step-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Removed red line */

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

/* Removed step numbers */

.step-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.step-icon-image {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.step-icon-image img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.step-card h3 {
  color: var(--text-primary);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.step-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Download App Section - Removed */

/* Live Profiles Section */
.live-profiles {
  padding: 100px 0;
  background: white;
}

.profile-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid var(--border-light);
  background: white;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 60px 0;
  position: relative;
  overflow: hidden; /* ensure bottom fade hides card shadows/edges */
}

.profile-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.profile-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.profile-info {
  padding: 15px;
}

.profile-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.profile-details {
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.profile-location {
  color: var(--text-light);
  font-size: 0.8rem;
}

.profile-skeleton {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.skeleton-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

.skeleton-text {
  height: 20px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  margin: 10px 20px;
  border-radius: 4px;
}

.skeleton-text.short {
  width: 60%;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.profiles-actions {
  text-align: center;
  margin-top: 40px;
}

.profiles-actions .btn-secondary {
  margin-right: 20px;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: var(--background-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px 0;
}

@media (max-width: 1200px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

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

.success-img {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.stars {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 0.9rem;
}

.testimonial-author strong {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-author span {
  display: block;
  color: var(--text-light);
  font-size: 0.8rem;
  margin-top: 3px;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: var(--gradient-hero);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.0rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.registration-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: var(--shadow-medium);
}

.form-step h3 {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.form-row input {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
}

.form-row input::placeholder {
  color: var(--text-light);
}

/* Custom Select Dropdown */
.custom-select {
  position: relative;
  flex: 1;
}

.custom-select select {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
  padding-right: 45px;
}

.custom-select select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.custom-select select option {
  background: white;
  color: var(--text-primary);
  padding: 10px;
}

.form-disclaimer {
  font-size: 0.2rem;
  opacity: 0.8;
  margin-top: 10px;
  line-height: 1.2;
  color: white;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #fef7f7 0%, #f8f6ff 100%);
  color: var(--text-primary);
  padding: 60px 0 20px;
  position: relative;
  border-top: 1px solid var(--border-light);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 68, 88, 0.03) 0%, rgba(108, 92, 231, 0.03) 100%);
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
}

.footer-column h4 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .profiles-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
  }
  
  .profile-image {
    height: 160px;
  }
}

@media (max-width: 768px) {
  /* Show hamburger menu */
  .hamburger {
    display: flex;
  }
  
  /* Hide nav menu by default, show when active */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 20px 0;
    gap: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-menu .btn-secondary,
  .nav-menu .btn-primary {
    margin: 0 20px;
    width: calc(100% - 40px);
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    gap: 30px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .profiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 40px 10px;
    max-width: 100%;
  }
  
  .profile-card {
    max-width: 180px;
    margin: 0 auto;
  }
  
  .profile-image {
    height: 140px;
  }
  
  .profile-info {
    padding: 12px;
  }
  
  .profile-name {
    font-size: 1rem;
  }
  
  .profile-details {
    font-size: 0.85rem;
  }
  
  .profile-location {
    font-size: 0.75rem;
  }
  
  .testimonials-grid {
    margin: 0;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .testimonial-card {
    min-width: 280px;
    padding: 30px 20px;
  }
  
  .form-row {
    flex-direction: column;
  }
  
  .registration-form {
    padding: 30px 20px;
    max-width: 90%;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .nav-menu {
    gap: 15px;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .nav-container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .registration-form {
    padding: 30px 20px;
  }
  
  .profiles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 30px 5px;
  }
  
  .profile-card {
    max-width: 160px;
  }
  
  .profile-image {
    height: 120px;
  }
  
  .profile-info {
    padding: 10px;
  }
  
  .profile-name {
    font-size: 0.9rem;
    margin-bottom: 2px;
  }
  
  .profile-details {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }
  
  .profile-location {
    font-size: 0.7rem;
  }
}

/* Desktop: force exactly 5 profiles per row */
@media (min-width: 769px) {
  .profiles-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Blur/gradient overlay below mid of second row */
.profiles-blur-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0; /* set via JS */
  height: 0; /* set via JS */
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.65) 35%, rgba(255,255,255,0.9) 70%, rgba(255,255,255,1) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
}

/* Ensure the very bottom also fades to pure white */
.profiles-grid::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
  z-index: 1;
}

/* Icon styles for features */
.icon-secure, .icon-chat, .icon-location {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  position: relative;
}

.icon-secure::before {
  content: "🔒";
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.icon-chat::before {
  content: "💬";
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.icon-location::before {
  content: "📍";
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}