/* ===== CSS Variables ===== */
:root {
  --bg-dark: #110e07;
  --primary-gold: #ffdf90;
  --text-light: #ffffff;
  --text-gray: #a0a0a0;
  --card-bg: #1a1612;
  --card-hover: #221e18;
  --accent-gold: #ffd670;
  --shadow: rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(17, 14, 7, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 223, 144, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-light);
  font-weight: 700;
  font-size: 1.5rem;
  transition: var(--transition);
}

.logo:hover {
  color: var(--primary-gold);
  transform: translateY(-2px);
}

.logo-icon {
  font-size: 1.5rem;
  color: var(--primary-gold);
}

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

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-gold);
  transition: width 0.3s ease;
}

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

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

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-gold);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 223, 144, 0.3);
}

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

.btn-secondary:hover {
  background-color: var(--primary-gold);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ===== Hero Section ===== */
.hero {
  padding: 150px 0 100px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #1a1612 100%);
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-light) 0%, var(--primary-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight {
  display: block;
  color: var(--primary-gold);
  -webkit-text-fill-color: var(--primary-gold);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== Features Section ===== */
.features {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

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

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 4rem;
}

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

.feature-card {
  background-color: var(--card-bg);
  padding: 2.5rem;
  border-radius: 16px;
  transition: var(--transition);
  border: 1px solid rgba(255, 223, 144, 0.1);
}

.feature-card:hover {
  background-color: var(--card-hover);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow);
  border-color: var(--primary-gold);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-gold);
}

.feature-icon i {
  display: block;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.feature-description {
  color: var(--text-gray);
  line-height: 1.8;
}

/* ===== Pricing Section ===== */
.pricing {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #1a1612 100%);
}

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

.pricing-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 2.5rem;
  border: 2px solid rgba(255, 223, 144, 0.1);
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow);
  border-color: var(--primary-gold);
}

.pricing-card-featured {
  border-color: var(--primary-gold);
  background: linear-gradient(135deg, var(--card-bg) 0%, #221e18 100%);
}

.pricing-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background-color: var(--primary-gold);
  color: var(--bg-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 223, 144, 0.1);
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.pricing-price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-gold);
  margin-top: 0.5rem;
}

.amount {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-gold);
  line-height: 1;
}

.pricing-credits {
  font-size: 1rem;
  color: var(--text-gray);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--text-gray);
}

.feature-check {
  color: var(--primary-gold);
  font-weight: 700;
  font-size: 1.2rem;
}

/* ===== Pricing Calculator ===== */
.pricing-calculator {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid rgba(255, 223, 144, 0.1);
  max-width: 700px;
  margin: 0 auto;
}

.calculator-title {
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.calculator-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calculator-input {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.calculator-input label {
  font-size: 1.1rem;
  color: var(--text-light);
}

#url-count {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: var(--card-hover);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

#url-count::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-gold);
  cursor: pointer;
  transition: var(--transition);
}

#url-count::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px var(--primary-gold);
}

#url-count::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-gold);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

#url-count::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px var(--primary-gold);
}

.calculator-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-gold);
  text-align: center;
}

.calculator-result {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--card-hover);
  border-radius: 12px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.result-label {
  font-size: 1rem;
  color: var(--text-gray);
}

.result-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-gold);
}

/* ===== FAQ Section ===== */
.faq {
  padding: 100px 0;
  background-color: var(--bg-dark);
}

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

.faq-item {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 223, 144, 0.1);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-gold);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-gold);
}

.faq-icon {
  color: var(--primary-gold);
  transition: transform 0.3s ease;
  font-size: 0.9rem;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-question[aria-expanded="true"] + .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--text-gray);
  line-height: 1.8;
  margin: 0;
}

/* ===== Contact Modal ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--card-bg);
  padding: 3rem;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  position: relative;
  border: 2px solid var(--primary-gold);
  animation: slideUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 2rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--primary-gold);
  transform: rotate(90deg);
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-title i {
  color: var(--primary-gold);
}

.modal-text {
  color: var(--text-gray);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--card-hover);
  border-radius: 12px;
  border: 1px solid rgba(255, 223, 144, 0.1);
}

.contact-icon {
  font-size: 1.5rem;
  color: var(--primary-gold);
}

.contact-email {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: var(--transition);
}

.contact-email:hover {
  color: var(--primary-gold);
}

/* ===== CTA Section ===== */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1612 100%);
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--card-bg);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255, 223, 144, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.footer-text {
  color: var(--text-gray);
  line-height: 1.8;
  max-width: 300px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 223, 144, 0.1);
  color: var(--text-gray);
}

.footer-love {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.heart-icon {
  color: #ff6b6b;
  animation: heartbeat 1.5s ease-in-out infinite;
  display: inline-block;
}

.footer-link {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  10%, 30% {
    transform: scale(1.1);
  }
  20%, 40% {
    transform: scale(1);
  }
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.fade-in-delay-1 {
  animation: fadeIn 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.fade-in-delay-2 {
  animation: fadeIn 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.fade-in-delay-3 {
  animation: fadeIn 0.8s ease-out 0.6s forwards;
  opacity: 0;
}

.slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

.slide-up-delay-1 {
  animation: slideUp 0.8s ease-out 0.1s forwards;
  opacity: 0;
}

.slide-up-delay-2 {
  animation: slideUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.slide-up-delay-3 {
  animation: slideUp 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

.slide-up-delay-4 {
  animation: slideUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.slide-up-delay-5 {
  animation: slideUp 0.8s ease-out 0.5s forwards;
  opacity: 0;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-link {
    display: none;
  }

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

  .modal-content {
    padding: 2rem;
    width: 95%;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .hero {
    padding: 120px 0 80px;
  }

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

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

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stats {
    gap: 2rem;
  }

  .stat-number {
    font-size: 2rem;
  }

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

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

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

  .pricing-calculator {
    padding: 2rem;
  }

  .calculator-title {
    font-size: 1.5rem;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .btn-large {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }

  .amount {
    font-size: 3rem;
  }
}
