/* Modern Education Landing Page - Main Styles */

/* CSS Variables */
:root {
  /* Colors */
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #a5b4fc;
  --secondary: #f59e0b;
  --accent: #ec4899;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--white);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-8);
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
  margin-bottom: var(--space-4);
  color: var(--gray-600);
}

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

a:hover {
  color: var(--primary-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

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

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

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.full-width {
  width: 100%;
}

/* Navigation */
.modern-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  z-index: 1000;
  transition: var(--transition-normal);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.brand-logo {
  height: 40px;
  width: auto;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition-fast);
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero-modern {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #fefefe 0%, #f8fafc 50%, #f1f5f9 100%);
  overflow: hidden;
  padding: var(--space-8) 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-16);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.hero-content {
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: var(--space-6);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.badge-icon {
  font-size: 1rem;
}

.hero-title {
  margin-bottom: var(--space-6);
}

.title-line {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
}

.title-line.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-700);
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-1);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-700);
}

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

.visual-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 500px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--radius-2xl);
}

.visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.visual-container:hover .visual-overlay {
  opacity: 1;
}

.play-button {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.play-button:hover {
  transform: scale(1.1);
}

.play-button svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  margin-left: 4px;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.section-title {
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto var(--space-4);
}

.section-description {
  font-size: 1rem;
  color: var(--gray-700);
  max-width: 800px;
  margin: 0 auto var(--space-8);
  line-height: 1.6;
}

/* About Section */
.about-modern {
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  position: relative;
  z-index: 1;
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-text {
  display: grid;
  gap: var(--space-8);
}

.about-card {
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.about-card h3 {
  margin-bottom: var(--space-3);
  color: var(--gray-900);
}

.about-card p {
  color: var(--gray-600);
  margin: 0;
}

.about-image {
  position: sticky;
  top: 0;
  align-self: start;
  height: fit-content;
}

.instructor-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.image-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: var(--white);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.badge-text {
  font-weight: 600;
  color: var(--primary);
}

/* Course Section */
.course-section {
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
  z-index: 1;
}

/* Course Hero - Udemy Style */
.course-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
  margin-bottom: var(--space-16);
}

.course-video {
  position: relative;
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Video Thumbnail Styles */
.video-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-thumbnail:hover {
  transform: scale(1.02);
}

.thumbnail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
}

.video-thumbnail:hover .play-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.play-button-large {
  width: 80px;
  height: 80px;
  background: var(--primary-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.video-thumbnail:hover .play-button-large {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(99, 102, 241, 0.6);
}

.play-button-large svg {
  width: 32px;
  height: 32px;
  color: var(--white);
  margin-left: 4px; /* Play button icon offset */
}

.play-text {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.course-info {
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  position: sticky;
  top: var(--space-8);
}

.course-badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.course-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.course-description {
  color: var(--gray-600);
  margin-bottom: var(--space-6);
  line-height: 1.6;
  font-size: 1rem;
}

/* Course Benefits - Under Video */
.course-benefits {
  margin-top: var(--space-6);
  padding: var(--space-6);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.benefits-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  text-align: center;
}

.benefits-list {
  display: grid;
  gap: var(--space-4);
}

.benefit-item-simple {
  padding: var(--space-4);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition-normal);
}

.benefit-item-simple:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.benefit-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-2);
}

.benefit-description {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

.course-features {
  margin-bottom: var(--space-6);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

.course-cta {
  text-align: center;
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: 1.125rem;
  font-weight: 600;
}

.cta-note {
  margin-top: var(--space-3);
  font-size: 0.875rem;
  color: var(--gray-500);
  font-style: italic;
}

/* Course Details */
.course-details {
  background: var(--white);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.details-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-8);
  text-align: center;
}

.modules-grid {
  display: grid;
  gap: var(--space-6);
}

.module-card {
  padding: var(--space-6);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition-normal);
}

.module-card:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.module-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.module-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.module-info {
  flex: 1;
}

.module-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: var(--space-1);
}

.module-lessons {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
}

.module-description {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

.module-description p {
  margin-bottom: var(--space-2);
  font-size: 0.875rem;
}

.module-description p:last-child {
  margin-bottom: 0;
}

.module-description strong {
  color: var(--gray-800);
  font-weight: 600;
}

/* Instagram Reels Section */
.instagram-reels {
  padding: var(--space-20) 0;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.reels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.reel-item {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16; /* Dikey format (Instagram Reel) */
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  background: var(--gray-100);
}

.reel-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.reel-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.reel-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-xl);
}

/* Instagram embed'lerindeki gereksiz elementleri gizle */
.reel-container iframe {
  /* Instagram embed'lerinin üst ve alt kısımlarını gizle */
  clip-path: inset(60px 0 80px 0);
  margin-top: -60px;
  margin-bottom: -80px;
  height: calc(100% + 140px);
}

.instagram-cta {
  text-align: center;
  margin-top: var(--space-8);
}

.instagram-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--white);
  border: none;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.instagram-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.instagram-cta .btn-icon {
  width: 20px;
  height: 20px;
}

/* Testimonials Section */
.testimonials-modern {
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.testimonials-grid,
.testimonials-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

/* Testimonials Gallery - More cards per row on larger screens */
@media (min-width: 1200px) {
  .testimonials-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1600px) {
  .testimonials-gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-content {
  margin-bottom: var(--space-6);
}

.quote-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.quote-icon svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.7;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.author-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid var(--primary-100);
}

.author-image:hover {
  border-color: var(--primary-300);
  transform: scale(1.05);
}

.author-name {
  margin-bottom: var(--space-1);
  color: var(--gray-900);
  font-size: 1rem;
}

.author-title {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin: 0;
}

/* CTA Section */
.cta-modern {
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.cta-title {
  color: var(--white);
  margin-bottom: var(--space-4);
}

.cta-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
}

.cta-features {
  display: grid;
  gap: var(--space-4);
}

.cta-features .feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--white);
}

.cta-features .feature-icon {
  color: var(--secondary);
}

.cta-form {
  background: rgba(255, 255, 255, 0.95);
  padding: var(--space-8);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.form-title {
  text-align: center;
  margin-bottom: var(--space-8);
  color: var(--gray-900);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: 500;
  color: var(--gray-700);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: var(--space-4);
  margin-bottom: 0;
}

/* Footer */
.footer-modern {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: var(--white);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer-logo {
  height: 32px;
  width: auto;
}

.footer-brand-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-description {
  color: var(--gray-400);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.footer-social {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.social-link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--gray-800);
  border-radius: var(--radius-lg);
  color: var(--white);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  color: var(--white);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-title {
  margin-bottom: var(--space-6);
  color: var(--white);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: var(--space-3);
}

.footer-links a {
  color: var(--gray-400);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact {
  display: grid;
  gap: var(--space-4);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--gray-400);
}

.contact-item a {
  color: var(--gray-400);
  transition: var(--transition-fast);
}

.contact-item a:hover {
  color: var(--white);
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--gray-800);
}

.footer-copyright {
  color: var(--gray-400);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: var(--space-6);
}

.legal-link {
  color: var(--gray-400);
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.legal-link:hover {
  color: var(--white);
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

/* Loading Popup Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-popup {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.loading-overlay.active .loading-popup {
    transform: scale(1);
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary-600);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--space-4);
}

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

.loading-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-800);
    margin-bottom: var(--space-2);
}

.loading-message {
    font-size: var(--text-base);
    color: var(--gray-600);
    line-height: 1.5;
}

.loading-dots {
    display: inline-block;
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s infinite;
}

/* Instagram CTA Button Styles */
.instagram-cta {
    text-align: center;
    margin-top: var(--space-8);
    padding: var(--space-6) 0;
}

.instagram-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-6);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.instagram-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.instagram-cta .btn-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Testimonial Gallery Popup Styles */
.testimonial-gallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.testimonial-gallery-overlay.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-gallery-popup {
    background: var(--white);
    border-radius: var(--radius-2xl);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.testimonial-gallery-overlay.active .testimonial-gallery-popup {
    transform: scale(1);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6);
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.gallery-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--gray-800);
    margin: 0;
}

.gallery-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-500);
    cursor: pointer;
    padding: var(--space-2);
    line-height: 1;
    transition: color 0.2s ease;
}

.gallery-close:hover {
    color: var(--gray-700);
}

.gallery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    padding: var(--space-6);
    min-height: 400px;
}

.gallery-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gallery-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.gallery-text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.gallery-text {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--gray-700);
    text-align: center;
    margin: 0;
    font-style: italic;
}

.gallery-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.gallery-nav-btn {
    background: var(--primary-600);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.gallery-nav-btn:hover {
    background: var(--primary-700);
    transform: scale(1.05);
}

.gallery-nav-btn:disabled {
    background: var(--gray-300);
    cursor: not-allowed;
    transform: none;
}

.gallery-counter {
    font-size: var(--text-sm);
    color: var(--gray-600);
    font-weight: var(--font-medium);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .testimonial-gallery-popup {
        width: 95%;
        max-height: 95vh;
    }

    .gallery-content {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        padding: var(--space-4);
    }

    .gallery-image-container {
        min-height: 200px;
    }

    .gallery-text {
        font-size: var(--text-base);
    }

    .gallery-navigation {
        padding: var(--space-3) var(--space-4);
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
