@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

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

body {
  font-family: 'Poppins', sans-serif;
  background: #f4f6f8;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

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

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

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

.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.nav-links a:hover {
  color: #007BFF;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 500px;
  height: 70vh;
  max-height: 800px;
  background: linear-gradient(135deg, #0066ff 0%, #00b7ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 60px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  color: white;
  max-width: 800px;
  padding: 0 1rem;
  z-index: 1;
}

.tech-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  backdrop-filter: blur(5px);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 2rem;
  opacity: 0.9;
  padding: 0 1rem;
}

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

/* Price Tag Styling */
.price-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 15px;
  flex-wrap: wrap;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.original-price {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: line-through;
  position: relative;
}

.original-price::after {
  content: '';
  position: absolute;
  left: -5%;
  top: 50%;
  width: 110%;
  height: 3px;
  background: rgba(255, 0, 0, 0.5);
  transform: rotate(-12deg);
}

.current-price {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding: 0 0.5rem;
}

.current-price::before {
  content: '';
  position: absolute;
  left: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  background: #4CAF50;
  border-radius: 8px;
  z-index: -1;
  transform: skew(-5deg);
}

.save-badge {
  background: #FF3D00;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 600;
  color: white;
  box-shadow: 0 4px 15px rgba(255, 61, 0, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Services Section */
.services-section {
  padding: 4rem 0;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 0 1rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: #666;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 0 1rem;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none !important;
  color: inherit !important;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Add styles for service card links */
a.service-card {
  color: inherit !important;
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 123, 255, 0.2);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-10px);
  }

  .service-card:hover::after {
    opacity: 1;
  }

  .service-card:hover .service-image {
    transform: scale(1.05);
  }

  .service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
  }

  .service-card:hover h3 {
    color: #007BFF;
  }

  .service-card:hover .service-features li::before {
    transform: translateX(5px);
  }

  .service-card:hover .service-features li {
    color: #333;
    transform: translateX(5px);
  }
}

/* Add active state for touch devices */
@media (hover: none) {
  .service-card:active {
    transform: scale(0.98);
    background: #f8f9fa;
  }
}

.service-image {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: all 0.4s ease;
}

.service-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0));
  transition: all 0.4s ease;
}

.service-card:hover .service-image::after {
  background: linear-gradient(to bottom, rgba(0,123,255,0.2), rgba(0,0,0,0));
}

.service-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 1;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  transition: all 0.4s ease;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
  transition: all 0.3s ease;
}

.service-card p {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.service-features {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.service-features li {
  margin-bottom: 0.6rem;
  padding-left: 1.25rem;
  position: relative;
  color: #555;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.service-features li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #007BFF;
  transition: all 0.3s ease;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
  padding: 3rem 1rem;
  margin: 3rem 1rem;
  border-radius: 15px;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, #e3f2fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.stat-description {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* Buttons */
.cta-btn {
  display: inline-block;
  background: white;
  color: #0066ff;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-size: clamp(0.9rem, 2vw, 1rem);
  white-space: nowrap;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.outline-btn {
  display: inline-block;
  border: 2px solid white;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: clamp(0.9rem, 2vw, 1rem);
  white-space: nowrap;
}

.outline-btn:hover {
  background: white;
  color: #0066ff;
}

/* CTA Section */
.cta-section {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
  color: #fff;
  text-align: center;
  margin-top: 3rem;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.cta-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-content p {
  margin-bottom: 2rem;
  opacity: 0.9;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

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

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  padding: 0 1rem;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #007BFF;
}

/* Page Specific Styles */
.about-page,
.contact-page,
.privacy-page,
.terms-page,
.refund-page,
.pricing-page,
.thank-you-page {
  padding-top: 80px;
  min-height: calc(100vh - 200px);
}

.privacy-container,
.terms-container,
.refund-container,
.pricing-container,
.thank-you-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
}

.privacy-content,
.terms-content,
.refund-content,
.pricing-content,
.thank-you-content {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.privacy-section,
.terms-section,
.refund-section {
  margin-bottom: 2rem;
}

.privacy-section h2,
.terms-section h2,
.refund-section h2 {
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.privacy-list,
.terms-list,
.refund-list {
  list-style: none;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.privacy-list li,
.terms-list li,
.refund-list li {
  margin-bottom: 0.5rem;
  position: relative;
  font-size: 0.95rem;
}

.privacy-list li::before,
.terms-list li::before,
.refund-list li::before {
  content: "•";
  color: #007BFF;
  position: absolute;
  left: -1.5rem;
}

/* Contact Form Styles */
.contact-form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-form {
  display: grid;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007BFF;
}

.form-submit-btn {
  background: #007BFF;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* Pricing Cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 0 1rem;
}

.pricing-card {
  background: #fff;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card-header h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #007BFF;
  margin-bottom: 0.75rem;
}

.pricing-description {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.pricing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #007BFF;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  font-size: 0.95rem;
}

.pricing-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

.pricing-btn.consultation {
  background: transparent;
  border: 2px solid #007BFF;
  color: #007BFF;
}

.pricing-btn.consultation:hover {
  background: #007BFF;
  color: white;
}

/* Back Button */
.back-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  background: #f4f6f8;
  color: #333;
  text-decoration: none;
  border-radius: 50px;
  margin-top: 2rem;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
}

.back-home:hover {
  background: #e0e4e8;
  transform: translateY(-2px);
}

.back-home-container {
  text-align: center;
  margin-top: 2rem;
}

/* Masterclass specific styles */
.masterclass-page {
  padding-top: 80px;
  min-height: calc(100vh - 200px);
  -webkit-text-size-adjust: 100%;
}

.stats-section {
  margin: 2rem 1rem;
  padding: 2rem 1rem;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat-number {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, #e3f2fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #fff;
}

.stat-description {
  font-size: clamp(0.85rem, 2vw, 0.9rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

.enrollment-section {
  padding: 2rem 1rem;
}

.enrollment-box {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.timer-container {
  margin-bottom: 1.5rem;
}

.offer-text {
  font-size: clamp(1rem, 3vw, 1.1rem);
  color: #333;
  margin-bottom: 1rem;
  padding: 0 0.5rem;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 0.75rem;
  padding: 0 0.5rem;
  max-width: 400px;
  margin: 0 auto;
}

.countdown-item {
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
  padding: 0.75rem 0.5rem;
  border-radius: 8px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.countdown-item span:first-child {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.countdown-item .label {
  font-size: clamp(0.75rem, 2vw, 0.85rem);
  opacity: 0.9;
  margin-top: 0.25rem;
}

.enroll-button {
  background: #007BFF;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem auto;
  width: 100%;
  max-width: 280px;
  -webkit-tap-highlight-color: transparent;
}

.enroll-button-top {
  background: #4caf50;
  color: white;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem auto;
  width: 100%;
  max-width: 280px;
  -webkit-tap-highlight-color: transparent;
}
.enroll-button:active {
  transform: scale(0.98);
}

.button-icon {
  font-size: clamp(1.1rem, 3vw, 1.25rem);
}

.guarantee-text {
  margin-top: 1rem;
  color: #666;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  padding: 0 0.5rem;
}

/* Additional mobile-specific fixes */
@media (max-width: 768px) {
  .masterclass-page {
    padding-top: 60px;
  }

  .stats-section {
    margin: 1.5rem 0.75rem;
    padding: 1.5rem 0.75rem;
  }

  .enrollment-box {
    margin: 0 0.75rem;
    padding: 1.25rem 0.75rem;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
    max-width: 300px;
  }

  .countdown-item {
    padding: 0.5rem;
  }

  .enroll-button {
    max-width: 250px;
    padding: 0.875rem;
  }
}

@media (max-width: 480px) {
  .stats-section {
    margin: 1rem 0.5rem;
    padding: 1rem 0.5rem;
  }

  .enrollment-box {
    margin: 0 0.5rem;
    padding: 1rem 0.5rem;
  }

  .countdown {
    gap: 0.5rem;
  }

  .countdown-item {
    min-width: auto;
  }
}

/* Fix for iOS Safari text rendering */
* {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fix for iOS Safari button styling */
button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Fix for iOS Safari tap highlight */
a, button {
  -webkit-tap-highlight-color: transparent;
}

.contact-info-section {
  padding: 4rem 0;
  background: #fff;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 0 1rem;
}

.contact-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-card .service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.contact-card p a {
  color: #007BFF;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
}

.contact-card p a:hover {
  text-decoration: underline;
}
