/* style.css */
* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

a {
  color: #4ecdc4;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header & Navigation */
header {
  background-color: #000;
  padding: 0.5rem 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #222;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 180px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #4ecdc4;
  text-decoration: none;
}

.mobile-login-btn {
  display: none;
  background: #4ecdc4;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: bold;
  font-size: 0.9rem;
  text-decoration: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  padding: 14rem 2rem 6rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.hero p {
  font-size: 1.25rem;
  color: #aaa;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: #4ecdc4;
  color: #000;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(78, 205, 196, 0.3);
  text-decoration: none;
}

/* Services Section */
.services {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #111;
  border: 1px solid #222;
  border-radius: 10px;
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #4ecdc4;
}

.service-card h3 {
  color: #4ecdc4;
  margin-top: 0;
  font-size: 1.5rem;
}

.service-card p {
  color: #aaa;
  margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
  background-color: #0a0a0a;
  padding: 5rem 2rem;
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.steps {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: #4ecdc4;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  color: #aaa;
}

/* Search Section */
.search-section {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.search-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.search-form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  padding: 1rem 1.5rem;
  width: 350px;
  max-width: 100%;
  border: 2px solid #333;
  border-radius: 50px;
  background-color: #111;
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
  border-color: #4ecdc4;
}

input::placeholder {
  color: #666;
}

button {
  padding: 1rem 2rem;
  background-color: #4ecdc4;
  color: #000;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(78, 205, 196, 0.3);
}

#results {
  margin-top: 2rem;
}

/* Result Cards */
.result-card {
  background-color: #111;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s;
}

.result-card:hover {
  border-color: #4ecdc4;
}

.result-card.tier-premium {
  border-color: #ffd700;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a1a 100%);
}

.result-card.tier-pro {
  border-color: #4ecdc4;
}

.result-card h3 {
  margin-top: 0;
  color: #fff;
}

.result-card p {
  margin: 0.5rem 0;
  color: #ccc;
}

.result-card a {
  color: #4ecdc4;
}

/* Card Header */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.title-row h3 {
  margin: 0;
}

.card-header h3 {
  margin: 0;
  flex: 1;
}

/* Tier Badges */
.tier-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.premium-badge {
  background-color: #ffd700;
  color: #000;
}

.pro-badge {
  background-color: #4ecdc4;
  color: #000;
}

/* Rating */
.rating {
  color: #ffd700 !important;
  font-size: 1rem;
}

.address {
  color: #888;
  font-size: 0.95rem;
}

/* Card Actions */
.card-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.action-btn {
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s;
}

.call-btn {
  background-color: #27ae60;
  color: #fff;
  border: none;
}

.call-btn:hover {
  background-color: #2ecc71;
}

.website-btn {
  background-color: #3498db;
  color: #fff;
  border: none;
}

.website-btn:hover {
  background-color: #5dade2;
}

.maps-btn {
  background-color: #333;
  color: #fff;
  border: none;
}

.maps-btn:hover {
  background-color: #444;
  text-decoration: none;
}

.reviews-toggle-btn {
  background-color: #9b59b6;
  color: #fff;
  border: none;
}

.reviews-toggle-btn:hover {
  background-color: #a569bd;
}

.upgrade-hint {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
  margin-top: 1rem;
}

/* Buttons in cards */
.fav-btn,
.show-reviews-btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border-radius: 25px;
  margin-top: 0.5rem;
}

.fav-btn {
  background-color: transparent;
  border: 2px solid #4ecdc4;
  color: #4ecdc4;
}

.fav-btn:hover {
  background-color: #4ecdc4;
  color: #000;
}

.fav-btn.favourited {
  background-color: #e74c3c;
  border-color: #e74c3c;
  color: #fff;
}

.fav-btn.favourited:hover {
  background-color: #c0392b;
  border-color: #c0392b;
}

.show-reviews-btn {
  background-color: #333;
  border: none;
  color: #fff;
  margin-top: 1rem;
}

.show-reviews-btn:hover {
  background-color: #444;
}

/* Reviews */
.reviews-container {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #333;
}

.reviews-list h4 {
  color: #4ecdc4;
  margin-bottom: 1rem;
}

.review {
  background-color: #1a1a1a;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.review-author {
  font-weight: bold;
  color: #fff;
}

.review-rating {
  color: #ffd700 !important;
}

.review-text {
  color: #ccc;
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

.review-time {
  color: #666;
  font-size: 0.85rem;
}

.loading {
  color: #aaa;
  font-style: italic;
}

/* Claim CTA */
.claim-cta {
  background-color: #111;
  border: 2px solid #4ecdc4;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}

.claim-cta h3 {
  color: #4ecdc4;
  margin-top: 0;
}

.claim-cta p {
  color: #aaa;
  margin-bottom: 1.5rem;
}

.claim-btn {
  background-color: #4ecdc4;
  color: #000;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.modal-content {
  background-color: #111;
  border: 1px solid #333;
  border-radius: 10px;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
}

.close-modal:hover {
  color: #fff;
}

.modal-content h2 {
  margin-top: 0;
  color: #4ecdc4;
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ccc;
}

.form-group input {
  width: 100%;
  border-radius: 8px;
}

.submit-btn {
  width: 100%;
  margin-top: 1rem;
}

.success-message {
  text-align: center;
  padding: 2rem 0;
}

.success-message h3 {
  color: #4ecdc4;
}

/* Favourites Section */
.favourites-section {
  padding: 5rem 2rem;
  padding-top: 10rem;
  max-width: 900px;
  margin: 0 auto;
  scroll-margin-top: 150px;
}

.favourites-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #4ecdc4;
}

#favourites-container {
  margin-top: 1rem;
}

.favourites-empty {
  text-align: center;
  padding: 3rem 2rem;
  background: #111;
  border-radius: 15px;
  border: 1px dashed #333;
}

.favourites-empty p {
  color: #888;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.favourites-empty p:first-of-type {
  color: #aaa;
  font-size: 1.2rem;
}

.favourites-empty .cta-button {
  margin-top: 1rem;
}

/* Business CTA Section */
.business-cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0a 100%);
  padding: 5rem 2rem;
  text-align: center;
}

.business-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.business-cta p {
  color: #aaa;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about {
  background-color: #000;
  padding: 8rem 2rem;
  padding-top: 12rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-margin-top: 150px;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  color: #aaa;
  font-size: 1.1rem;
  text-align: center;
  line-height: 1.8;
}

/* Footer */
footer {
  background-color: #000;
  border-top: 1px solid #222;
  padding: 2rem;
  text-align: center;
}

.footer-logo {
  max-height: 40px;
  margin-bottom: 1rem;
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #888;
  margin: 0 1rem;
}

.footer-links a:hover {
  color: #4ecdc4;
}

footer p {
  color: #666;
  margin: 0;
}

/* Pricing Page - Login Banners */
.login-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
  padding: 1rem 2rem;
  text-align: center;
  border-bottom: 1px solid #4ecdc4;
  margin-top: 80px;
}

.login-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.login-banner-content span {
  color: #fff;
  font-size: 1rem;
}

.login-banner-btn {
  background: #4ecdc4;
  color: #000;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.login-banner-btn:hover {
  background: #3dbdb5;
  transform: scale(1.05);
}

.logged-in-banner {
  background: linear-gradient(135deg, #1a3a2e 0%, #2d4d3e 100%);
  padding: 1rem 2rem;
  text-align: center;
  border-bottom: 1px solid #4ecdc4;
  margin-top: 80px;
}

.logged-in-banner-content span {
  color: #4ecdc4;
  font-size: 1rem;
}

/* Pricing Page */
.pricing-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  padding: 6rem 2rem 4rem;
  text-align: center;
}

.pricing-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pricing-hero p {
  color: #aaa;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.pricing-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-section .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background-color: #111;
  border: 2px solid #333;
  border-radius: 15px;
  padding: 2rem;
  position: relative;
  transition: transform 0.3s, border-color 0.3s;
}

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

.pricing-card.pro {
  border-color: #4ecdc4;
}

.pricing-card.premium {
  border-color: #ffd700;
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4ecdc4;
  color: #000;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #333;
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.price .amount {
  font-size: 3rem;
  font-weight: bold;
  color: #4ecdc4;
}

.price .period {
  color: #888;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #222;
  color: #ccc;
}

.features li.disabled {
  color: #555;
  text-decoration: line-through;
}

.features li.coming-soon {
  color: #888;
  font-style: italic;
}

.plan-note {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
}

.pricing-cta {
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: #4ecdc4;
  color: #000;
  text-align: center;
  border-radius: 50px;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(78, 205, 196, 0.3);
  text-decoration: none;
}

.pricing-cta.premium-cta {
  background-color: #ffd700;
}

/* Benefits Section */
.benefits {
  background-color: #0a0a0a;
  padding: 5rem 2rem;
}

.benefits h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit {
  text-align: center;
  padding: 2rem;
}

.benefit h3 {
  color: #4ecdc4;
  margin-bottom: 1rem;
}

.benefit p {
  color: #aaa;
}

/* Claim Section on Pricing Page */
.claim-section {
  padding: 5rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.claim-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.claim-section > p {
  color: #aaa;
  margin-bottom: 2rem;
}

.claim-form-inline {
  background-color: #111;
  border: 1px solid #333;
  border-radius: 15px;
  padding: 2rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }

  .logo {
    height: 140px;
  }

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

  .nav-links {
    display: none;
  }

  .mobile-login-btn {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }

  nav {
    position: relative;
  }

  .search-form {
    flex-direction: column;
    align-items: center;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"] {
    width: 100%;
  }

  .pricing-hero {
    padding-top: 12rem;
  }

  .pricing-hero h1 {
    font-size: 2rem;
  }

  /* Mobile Result Cards */
  .result-card {
    padding: 1rem;
    margin: 0 0 1rem;
    border-radius: 8px;
  }

  .result-card h3 {
    font-size: 1rem;
    line-height: 1.3;
    padding-right: 4rem;
  }

  .card-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    position: relative;
  }

  .title-row {
    flex: 1;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .fav-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    flex-shrink: 0;
    white-space: nowrap;
  }

  .address {
    font-size: 0.85rem;
    margin-top: 0.25rem;
    line-height: 1.4;
  }

  .rating {
    font-size: 0.9rem;
  }

  .card-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.75rem;
  }

  .action-btn {
    padding: 0.6rem 0.5rem;
    font-size: 0.8rem;
    text-align: center;
    border-radius: 8px;
  }

  .reviews-toggle-btn {
    grid-column: span 2;
  }

  .upgrade-hint {
    font-size: 0.8rem;
    margin-top: 0.75rem;
  }

  .tier-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
  }
}

/* Success Page */
.success-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  padding: 14rem 2rem 6rem;
  text-align: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-content {
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  width: 100px;
  height: 100px;
  background-color: #4ecdc4;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: bold;
  margin: 0 auto 2rem;
}

.success-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.success-content p {
  color: #aaa;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.success-actions {
  margin-top: 2rem;
}

/* Checkout Loading */
.checkout-btn {
  position: relative;
}

.checkout-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.checkout-btn.loading::after {
  content: "...";
  animation: dots 1.5s infinite;
}

/* Portfolio Gallery in Result Cards */
.portfolio-container {
  display: none;
  margin: 1rem 0;
}

.portfolio-gallery h4 {
  color: #4ecdc4;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.portfolio-thumbnails {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #4ecdc4 #222;
}

.portfolio-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.portfolio-thumbnails::-webkit-scrollbar-track {
  background: #222;
  border-radius: 3px;
}

.portfolio-thumbnails::-webkit-scrollbar-thumb {
  background: #4ecdc4;
  border-radius: 3px;
}

.portfolio-thumb {
  flex-shrink: 0;
  width: 100px;
  height: 75px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.3s, transform 0.3s;
}

.portfolio-thumb:hover {
  border-color: #4ecdc4;
  transform: scale(1.05);
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lightbox-image-container {
  text-align: center;
}

.lightbox-image-container img {
  max-width: 80vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-caption {
  color: #ccc;
  margin-top: 1rem;
  font-size: 1rem;
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

.lightbox-close:hover {
  color: #4ecdc4;
  transform: none;
  box-shadow: none;
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(78, 205, 196, 0.3);
  transform: none;
  box-shadow: none;
}

.lightbox-counter {
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #888;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .portfolio-thumb {
    width: 80px;
    height: 60px;
  }
  
  .lightbox-prev,
  .lightbox-next {
    font-size: 2rem;
    padding: 0.5rem 1rem;
  }
  
  .lightbox-image-container img {
    max-width: 85vw;
  }
}

/* AI Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(78, 205, 196, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(78, 205, 196, 0.5);
}

.chat-icon,
.chat-close {
  font-size: 1.5rem;
  color: #000;
  font-weight: bold;
}

.chat-container {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  max-width: calc(100vw - 40px);
  background: #111;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  border: 1px solid #333;
}

.chat-header {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  padding: 1rem;
  color: #000;
}

.chat-header span {
  font-weight: bold;
  display: block;
}

.chat-header small {
  font-size: 0.8rem;
  opacity: 0.8;
}

.chat-messages {
  height: 300px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-message {
  padding: 0.75rem 1rem;
  border-radius: 15px;
  max-width: 85%;
  line-height: 1.4;
  font-size: 0.95rem;
}

.chat-message.user {
  background: #4ecdc4;
  color: #000;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}

.chat-message.assistant {
  background: #222;
  color: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}

.chat-message.typing {
  background: #222;
  color: #888;
}

.chat-input-area {
  display: flex;
  padding: 1rem;
  gap: 0.5rem;
  border-top: 1px solid #333;
  background: #0a0a0a;
}

.chat-input-area input {
  flex: 1;
  padding: 0.75rem;
  border-radius: 25px;
  border: 1px solid #333;
  background: #222;
  color: #fff;
  font-size: 0.95rem;
}

.chat-input-area input:focus {
  outline: none;
  border-color: #4ecdc4;
}

.chat-input-area button {
  background: #4ecdc4;
  color: #000;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.chat-input-area button:hover {
  background: #3dbdb5;
}

.chat-input-area button:disabled {
  background: #333;
  color: #666;
  cursor: not-allowed;
}

@media (max-width: 480px) {
  .chat-container {
    width: calc(100vw - 40px);
    right: -10px;
  }
  
  .chat-messages {
    height: 250px;
  }
}

/* Early Access Section */
.early-access-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.early-access-header {
  margin-bottom: 3rem;
}

.early-access-tag {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.early-access-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.early-access-header p {
  color: #aaa;
  font-size: 1.1rem;
}

.early-access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card.early-access {
  background: linear-gradient(135deg, #1a1a2e, #111);
  border: 2px solid #ff6b6b;
  position: relative;
  overflow: hidden;
}

.pricing-card.early-access::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #ff8e53);
}

.pricing-card.premium-early {
  border-color: #ffd700;
}

.pricing-card.premium-early::before {
  background: linear-gradient(90deg, #ffd700, #ffb700);
}

.early-badge {
  position: absolute;
  top: 15px;
  right: -35px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: #fff;
  padding: 0.25rem 2.5rem;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
  transform: rotate(45deg);
}

.early-badge.premium-badge {
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: #000;
}

.original-price {
  color: #888;
  font-size: 0.9rem;
  text-decoration: line-through;
  margin-top: 0.5rem;
}

.duration-badge {
  background: rgba(78, 205, 196, 0.15);
  color: #4ecdc4;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.pricing-cta.early-cta {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  border: none;
}

.pricing-cta.early-cta:hover {
  background: linear-gradient(135deg, #ff5757, #ff7a3d);
  transform: scale(1.02);
}

.pricing-cta.premium-cta.early-cta {
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: #000;
}

.pricing-cta.premium-cta.early-cta:hover {
  background: linear-gradient(135deg, #ffcc00, #ffa500);
}

@media (max-width: 768px) {
  .early-access-grid {
    grid-template-columns: 1fr;
  }
  
  .early-access-header h2 {
    font-size: 2rem;
  }
}

/* Early Access Badge for Search Results */
.tier-badge.early-access-badge {
  background: linear-gradient(135deg, #ff6b6b, #ff8e53);
  color: #fff;
}

.tier-badge.early-premium-badge {
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: #000;
}
