/* ========================================
   Landing Page Styles
   (Shared styles in assets/css/shared.css)
   ======================================== */

/* ========================================
   Hero Section
   ======================================== */
.hero {
  width: 100%;
  overflow: hidden;
  padding: 7rem 1rem 3rem;
  background: var(--gradient-purple);
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 2rem 4rem;
  }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-content {
    flex-direction: row;
    gap: 3rem;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-text {
    width: 400px;
  }
}

.hero-title {
  font-weight: 700;
  color: white;
  font-size: 2.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  color: var(--purple-bg);
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1rem;
  }
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--orange-dark);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  width: fit-content;
  transition: all 0.2s ease;
}

.hero-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(240, 148, 71, 0.5);
}

.hero-cta:active {
  transform: scale(0.95);
}

.hero-cta svg {
  width: 18px;
  height: 18px;
}

.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-badge p {
  color: var(--purple-pale);
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .hero-badge p {
    font-size: 0.875rem;
  }
}

/* Device Mockups */
.hero-devices {
  flex: 1;
  position: relative;
  width: 100%;
  min-height: 350px;
}

@media (min-width: 768px) {
  .hero-devices {
    min-height: 450px;
  }
}

@media (min-width: 1024px) {
  .hero-devices {
    min-height: 500px;
  }
}

.macbook-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  max-width: 600px;
  transition: transform 0.3s ease;
}

@media (min-width: 1024px) {
  .macbook-container {
    max-width: 700px;
  }
}

.macbook-container:hover {
  transform: scale(1.02);
}

.macbook-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 60.67%;
}

.macbook-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.macbook-screen {
  position: absolute;
  left: 10.04%;
  right: 10.04%;
  top: 3.4%;
  bottom: 11.01%;
}

.macbook-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iphone-container {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 140px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

@media (min-width: 640px) {
  .iphone-container {
    width: 180px;
  }
}

@media (min-width: 768px) {
  .iphone-container {
    right: 1rem;
    width: 220px;
  }
}

.iphone-container:hover {
  transform: translateY(-10px);
}

.iphone-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 200%;
}

.iphone-screen {
  position: absolute;
  left: 6.35%;
  right: 6.35%;
  top: 2.71%;
  bottom: 2.82%;
}

.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8%;
}

.iphone-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

/* ========================================
   Integration Section
   ======================================== */
.integration-section {
  background: var(--bg-light);
  padding: 3rem 1rem;
}

@media (min-width: 768px) {
  .integration-section {
    padding: 3rem 2rem;
  }
}

.integration-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .integration-inner {
    flex-direction: row;
  }
}

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

@media (min-width: 768px) {
  .integration-text {
    width: 300px;
    text-align: left;
  }
}

.integration-text h2 {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.integration-text p {
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.6;
}

.integration-logos {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.integration-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  transition: transform 0.3s ease;
}

.integration-item:hover {
  transform: translateY(-10px);
}

.integration-icon {
  background: white;
  padding: 0.75rem;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.integration-icon svg {
  width: 32px;
  height: 32px;
}

.integration-item p {
  color: var(--text-secondary);
  font-size: 0.625rem;
  letter-spacing: 0.05em;
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .features-section {
    padding: 4rem 2rem;
  }
}

.features-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.features-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
}

@media (min-width: 1024px) {
  .features-content {
    flex-direction: row;
  }
}

.features-header {
  width: 100%;
}

@media (min-width: 1024px) {
  .features-header {
    width: 280px;
  }
}

.features-header h2 {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.features-header p {
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.6;
}

.features-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-content h3 {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.6;
}

/* ========================================
   How It Works Section (V3 - with images)
   ======================================== */
.how-section {
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .how-section {
    padding: 4rem 2rem;
  }
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.how-header {
  text-align: center;
  margin-bottom: 3rem;
}

.how-header h2 {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .how-header h2 {
    font-size: 1.875rem;
  }
}

.how-header p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .how-header p {
    font-size: 1rem;
  }
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.how-step {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .how-step {
    flex-direction: row;
    gap: 3rem;
  }

  .how-step.reverse {
    flex-direction: row-reverse;
  }
}

.how-step-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .how-step-content {
    width: 50%;
  }
}

.how-step-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--gradient-purple-alt);
}

.step-number p {
  font-weight: 700;
  color: white;
  font-size: 1rem;
}

.how-step-content h3 {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .how-step-content h3 {
    font-size: 1.5rem;
  }
}

.how-step-content > p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .how-step-content > p {
    font-size: 1rem;
  }
}

.how-step-image {
  width: 100%;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .how-step-image {
    width: 50%;
  }
}

.how-step-image:hover {
  transform: scale(1.03);
}

.how-step-image img,
.how-step-image video {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing-section {
  background: var(--bg-light);
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .pricing-section {
    padding: 4rem 2rem;
  }
}

.pricing-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pricing-header h2 {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .pricing-header h2 {
    font-size: 1.875rem;
  }
}

.pricing-header p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .pricing-header p {
    font-size: 1rem;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pricing-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  border-color: var(--purple-brand);
  transform: translateY(-5px);
}

.pricing-card-enterprise {
  background: var(--gradient-purple);
  color: white;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.pricing-card-enterprise:hover {
  border-color: transparent;
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--orange);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange-dark);
  border-bottom-left-radius: var(--radius-sm);
}

.pricing-title {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.pricing-amount {
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--purple-brand);
}

.pricing-card-enterprise .pricing-amount {
  color: white;
}

.pricing-period {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.pricing-card-enterprise .pricing-period {
  color: var(--purple-bg);
}

.pricing-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.pricing-card-enterprise .pricing-description {
  color: var(--purple-bg);
}

.pricing-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: all 0.2s ease;
}

.pricing-btn-primary {
  background: var(--purple-brand);
  color: white;
}

.pricing-btn-primary:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(110, 23, 178, 0.3);
}

.pricing-btn-orange {
  background: var(--orange);
  color: var(--orange-dark);
}

.pricing-btn-orange:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(240, 148, 71, 0.5);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-feature {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.pricing-feature svg {
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
  height: 20px;
}

.pricing-feature p {
  font-size: 0.875rem;
}

/* ========================================
   Download Section (V3 - New)
   ======================================== */
.download-section {
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .download-section {
    padding: 4rem 2rem;
  }
}

.download-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.download-header {
  text-align: center;
  margin-bottom: 3rem;
}

.download-header h2 {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .download-header h2 {
    font-size: 1.875rem;
  }
}

.download-header p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .download-header p {
    font-size: 1rem;
  }
}

.download-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.download-item {
  background: var(--purple-soft);
  border-radius: var(--radius-xl);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.download-item.disabled {
  background: var(--bg-light);
  opacity: 0.6;
}

.download-item-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.download-item-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-xl);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.download-item-icon svg {
  width: 28px;
  height: 28px;
  color: var(--purple-brand);
}

.download-item.disabled .download-item-icon svg {
  color: var(--text-secondary);
}

.download-item-text h3 {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
}

.download-item-text p {
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.download-btns {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .download-btns {
    flex-direction: row;
    gap: 0.5rem;
  }
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: var(--orange-dark);
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.download-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(240, 148, 71, 0.4);
}

.download-btn:active {
  transform: scale(0.95);
}

.download-btn svg {
  width: 16px;
  height: 16px;
}

.download-btn.disabled {
  background: var(--border-light);
  color: var(--text-secondary);
  cursor: not-allowed;
}

.download-btn.disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
  background: var(--bg-light);
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .faq-section {
    padding: 4rem 2rem;
  }
}

.faq-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-header h2 {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .faq-header h2 {
    font-size: 1.875rem;
  }
}

.faq-header p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .faq-header p {
    font-size: 1rem;
  }
}

.faq-list {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  transition: background 0.2s ease;
  border-radius: var(--radius-sm);
}

.faq-question:hover {
  background: rgba(110, 23, 178, 0.02);
}

.faq-question h3 {
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1rem;
  flex: 1;
}

@media (min-width: 768px) {
  .faq-question h3 {
    font-size: 1.125rem;
  }
}

.faq-chevron {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--purple-brand);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 0.3s ease, opacity 0.3s ease;
}

.faq-answer-content {
  padding: 0 1rem 1.25rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.faq-footer {
  margin-top: 2rem;
  text-align: center;
}

.faq-footer p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.faq-contact-btn {
  background: var(--purple-brand);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.faq-contact-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(110, 23, 178, 0.3);
}
