/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pill-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 90%;
}

/* Platforms Banner */
.platforms-banner {
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.platforms-title {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.platforms-icons {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.platform-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
}

.platform-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.3s ease, transform 0.3s ease;
}

/* Active platform (Google Meet) */
.platform-icon.active img {
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.platform-icon.active:hover img {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
}

/* Coming soon platforms (Grayed out) */
.platform-icon.coming-soon {
  opacity: 0.5;
  cursor: help;
}

.platform-icon.coming-soon img {
  filter: grayscale(100%) contrast(0.8) brightness(1.2);
}

.platform-icon.coming-soon:hover {
  opacity: 0.8;
}

/* Coming soon tag */
.coming-soon-tag {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-dark);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.65rem;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 10;
  pointer-events: none;
  font-weight: 600;
}

/* Tooltip arrow */
.coming-soon-tag::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--bg-dark);
  border-right: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.platform-icon.coming-soon:hover .coming-soon-tag {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Mockup UI */
.hero-image {
  position: relative;
  perspective: 1000px;
}

.mockup {
  transform: rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
  overflow: hidden;
}

.mockup:hover {
  transform: rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.mockup-header {
  padding: 12px 16px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
}

.dots {
  display: flex;
  gap: 6px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f56;
}

.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.mockup-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 auto;
  transform: translateX(-24px); /* offset dots width */
}

.mockup.settings-mockup {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.settings-preview {
  padding-top: 0;
}

.scroll-container {
  max-height: 600px;
  overflow-y: auto;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.scroll-container img {
  width: 100%;
  display: block;
}

.mockup-video {
  padding: 0;
  margin: 0;
}

.mockup-video iframe {
  aspect-ratio: 16/9;
  border: none;
  display: block;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.mockup-body {
  padding: 20px;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.video-placeholder {
  aspect-ratio: 16/9;
  border-radius: 12px;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.user-1 {
  background: linear-gradient(45deg, rgba(79, 70, 229, 0.2), rgba(0,0,0,0.4));
}

.user-2 {
  background: linear-gradient(45deg, rgba(0, 240, 255, 0.1), rgba(0,0,0,0.4));
}

.mockup-captions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.caption-line {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.caption-line.original {
  background: rgba(255,255,255,0.05);
}

.caption-line.translated {
  background: rgba(139, 92, 246, 0.15);
  border-left: 3px solid var(--accent-purple);
}

.speaker {
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 8px;
}

.badge {
  display: inline-block;
  background: var(--accent-purple);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 8px;
}

/* Sections General */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  transition: transform 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Magic glow on hover added via JS */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(30, 30, 45, 0.5);
  border-color: rgba(255,255,255,0.15);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.provider-icons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
  align-items: center;
}

.provider-icons img {
  height: 20px;
  width: auto;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.provider-icons img:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* How It Works Section */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 40px;
  position: relative;
}

.step-card {
  position: relative;
  padding: 40px 32px 32px 32px;
  text-align: center;
  border-radius: 24px;
}

.step-number {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
  border: 4px solid var(--bg-dark);
}

.step-card h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.step-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-item {
  background: rgba(255,255,255,0.02);
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

.gallery-item img {
  width: 100%;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.gallery-item h3 {
  margin-top: 16px;
  font-size: 1.1rem;
  color: var(--text-main);
  text-align: center;
}

/* FAQ Section */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(139, 92, 246, 0.4);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--accent-cyan);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
  padding: 0 24px;
  padding-bottom: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.faq-item.active .faq-answer p {
  padding-bottom: 24px;
}

/* CTA Section */
.cta-section {
  text-align: center;
}

.cta-box {
  padding: 60px 40px;
  background: linear-gradient(to right, rgba(20,20,30,0.6), rgba(30,20,40,0.6));
  position: relative;
  overflow: hidden;
}

.cta-box::after {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 300px; height: 300px;
  background: var(--accent-purple);
  filter: blur(150px);
  opacity: 0.2;
  z-index: -1;
}

.cta-box h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta-box p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Animations extra delay */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

/* Responsive Specific */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    margin: 0 auto 32px auto;
  }
  
  .mockup {
    transform: none;
  }
  
  .mockup:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 600px) {
  .nav-links a:not(.btn) {
    display: none;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
}

/* Custom Scrollbar for Mockups */
.scroll-container::-webkit-scrollbar {
  width: 8px;
}
.scroll-container::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.2);
  border-bottom-right-radius: 20px;
}
.scroll-container::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.5); /* var(--accent-purple) */
  border-radius: 4px;
}
.scroll-container::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.show {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.show .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10000;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--accent-cyan);
}

.clickable-image {
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.clickable-image:hover {
  transform: translateY(-5px);
  filter: brightness(1.1);
}

.lightbox-prev,
.lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 40px;
  transition: 0.3s ease;
  user-select: none;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 10000;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
  color: var(--accent-cyan);
}
