/* Variables */
:root {
  --primary-color: #8e44ad;
  --primary-light: #9b59b6;
  --primary-dark: #703688;
  --secondary-color: #3498db;
  --text-color: #333;
  --text-light: #666;
  --text-white: #fff;
  --bg-color: #fff;
  --bg-light: #f8f9fa;
  --bg-dark: #f1f1f1;
  --border-color: #e0e0e0;
  --success-color: #2ecc71;
  --warning-color: #f39c12;
  --error-color: #e74c3c;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --header-height: 70px;
  --section-padding: 80px 0;
}

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

body {
  font-family: 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  border: none;
}

.btn.primary {
  background-color: var(--primary-color);
  color: var(--text-white);
  box-shadow: 0 4px 10px rgba(142, 68, 173, 0.3);
}

.btn.primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(142, 68, 173, 0.4);
}

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

.btn.secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* Header & Navigation */
header {
  background-color: var(--bg-light);
  position: relative;
}

nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-color);
}

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

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

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo span {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.language-selector select {
  padding: 8px 16px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  cursor: pointer;
  font-size: 0.9rem;
}

/* Hero Section */
.hero {
  padding: 100px 0;
  text-align: center;
  background-color: var(--bg-light);
  background-image: linear-gradient(135deg, rgba(142, 68, 173, 0.1) 0%, rgba(52, 152, 219, 0.1) 100%);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 2rem;
}

/* Problem Section */
.problem {
  padding: var(--section-padding);
  background-color: var(--bg-color);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.problem-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.problem-card .icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Solution Section */
.solution {
  padding: var(--section-padding);
  background-color: var(--bg-light);
}

.solution-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.solution-text {
  flex: 1;
}

.solution-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.solution-text ul {
  margin-bottom: 2rem;
}

.solution-text ul li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 30px;
}

.solution-text ul li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.solution-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.solution-image img {
  max-width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* How It Works Section */
.how-it-works {
  padding: var(--section-padding);
  background-color: var(--bg-color);
}

.steps {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.step:not(:last-child):after {
  content: '';
  position: absolute;
  top: 40px;
  right: 0;
  width: 70%;
  height: 2px;
  background-color: var(--border-color);
  transform: translateX(50%);
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--text-white);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(142, 68, 173, 0.3);
}

/* Testimonials Section */
.testimonials {
  padding: var(--section-padding);
  background-color: var(--bg-light);
}

.testimonials-slider {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 20px;
  max-width: 500px;
}

.user-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.user-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-rating {
  color: #f1c40f;
}

/* App Preview Section */
.app-preview {
  padding: var(--section-padding);
  background-color: var(--bg-color);
}

.ui-styles-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.ui-tab {
  padding: 10px 20px;
  margin: 0 10px;
  background-color: var(--bg-light);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.ui-tab.active {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.preview-container {
  margin-top: 50px;
}

.style-info {
  text-align: center;
  margin-bottom: 40px;
}

.frames-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.preview-frame {
  text-align: center;
}

.phone-frame {
  width: 280px;
  height: 580px;
  padding: 15px;
  background-color: #222;
  border-radius: 40px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}

.phone-frame iframe {
  width: 100%;
  height: 100%;
  border-radius: 25px;
  background-color: white;
}

.frame-label {
  font-weight: 600;
  color: var(--text-color);
}

.preview-cta {
  text-align: center;
  margin-top: 50px;
}

/* Features Section */
.features {
  padding: var(--section-padding);
  background-color: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(142, 68, 173, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
}

/* Pricing Section */
.pricing {
  padding: var(--section-padding);
  background-color: var(--bg-color);
}

.pricing-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-light);
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.pricing-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  width: 300px;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

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

.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 5px 15px;
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom-left-radius: var(--border-radius);
}

.pricing-header {
  background-color: var(--bg-light);
  padding: 30px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.price {
  margin-bottom: 10px;
}

.price .amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-color);
}

.price .period {
  font-size: 1rem;
  color: var(--text-light);
}

.original-price {
  color: var(--text-light);
  text-decoration: line-through;
  font-size: 0.9rem;
  margin-top: 5px;
}

.pricing-features {
  padding: 30px;
}

.pricing-features ul li {
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.pricing-features ul li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.pricing-features ul li.disabled {
  color: var(--text-light);
  text-decoration: line-through;
}

.pricing-features ul li.disabled:before {
  content: '✗';
  color: var(--text-light);
}

.pricing-cta {
  padding: 0 30px 30px;
  text-align: center;
}

/* FAQ Section */
.faq {
  padding: var(--section-padding);
  background-color: var(--bg-light);
}

.faq-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  background-color: var(--bg-color);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 1.1rem;
}

.faq-question:hover {
  background-color: rgba(142, 68, 173, 0.05);
}

.faq-toggle {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 30px 20px;
  max-height: 1000px;
}

.faq-item.active .faq-toggle .fa-plus:before {
  content: "\f068";
}

/* CTA Section */
.cta {
  padding: var(--section-padding);
  background-color: var(--bg-color);
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.guarantee {
  margin-top: 30px;
  color: var(--text-light);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.guarantee i {
  color: var(--success-color);
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: var(--text-white);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 15px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-links-column h3 {
  color: var(--text-white);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links-column ul li {
  margin-bottom: 10px;
}

.footer-links-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links-column ul li a:hover {
  color: var(--text-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  transition: var(--transition);
}

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

.copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .solution-content {
    flex-direction: column;
  }
  
  .steps {
    flex-direction: column;
    gap: 40px;
  }
  
  .step:not(:last-child):after {
    display: none;
  }
  
  .testimonials-slider {
    flex-direction: column;
    align-items: center;
  }
  
  .testimonial-card {
    width: 100%;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .feature-card, .pricing-card {
    width: 100%;
  }
  
  .pricing-card.popular {
    transform: scale(1);
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 576px) {
  .pricing-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .frames-container {
    flex-direction: column;
    align-items: center;
  }
}

