/* MOBILE APPS PAGE STYLES - All classes prefixed with 'mobile-' */
.mobile-main {
  padding-top: 70px;
  min-height: 100vh;
  background: var(--dark);
}

/* Header Section */
.mobile-header-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
}

.mobile-header-content {
  flex: 1;
  padding: 0 5%;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.mobile-header-title {
  font-size: clamp(48px, 8vw, 72px);
  margin-bottom: 30px;
  color: var(--text);
  line-height: 1.2;
}

.mobile-header-title span {
  color: var(--orange);
  position: relative;
  display: inline-block;
}

.mobile-header-title span::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(255,107,53,0.2);
  z-index: -1;
}

.mobile-header-subtitle {
  color: var(--light);
  font-size: 20px;
  line-height: 1.7;
  max-width: 600px;
}

.mobile-header-visual {
  flex: 1;
  height: 80vh;
  position: relative;
}

#mobileCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Platforms Section */
.mobile-platforms-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.mobile-platforms-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.mobile-platforms-title span {
  color: var(--orange);
}

.mobile-platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.mobile-platform-card {
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.mobile-platform-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(255,107,53,0.2);
}

.platform-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.platform-name {
  color: var(--orange);
  font-size: 22px;
  margin-bottom: 10px;
}

.platform-desc {
  color: var(--light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.platform-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.platform-stats span {
  padding: 4px 10px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 20px;
  font-size: 11px;
  color: var(--light);
}

/* App Types */
.mobile-types-section {
  background: var(--dark2);
  padding: 80px 20px;
  border-top: 1px solid rgba(255,107,53,0.1);
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

.mobile-types-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.mobile-types-title span {
  color: var(--orange);
}

.mobile-types-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.mobile-type-card {
  background: var(--dark);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s ease;
}

.mobile-type-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(255,107,53,0.2);
}

.type-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.type-name {
  color: var(--orange);
  font-size: 22px;
  margin-bottom: 15px;
}

.type-desc {
  color: var(--light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.type-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.type-features li {
  color: var(--text);
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

/* Interactive Demo */
.mobile-demo-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.mobile-demo-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 15px;
  color: var(--text);
}

.mobile-demo-title span {
  color: var(--orange);
}

.mobile-demo-subtitle {
  text-align: center;
  color: var(--light);
  font-size: 18px;
  margin-bottom: 40px;
}

.mobile-demo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.mobile-frame {
  width: 320px;
  height: 650px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 30px 50px rgba(0,0,0,0.5);
  position: relative;
  border: 1px solid rgba(255,107,53,0.3);
}

.mobile-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #1a1a1a;
  border-radius: 0 0 20px 20px;
  z-index: 10;
}

.mobile-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.demo-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #f5f5f5;
  border-bottom: 1px solid #eee;
}

.demo-back, .demo-menu {
  background: none;
  border: none;
  font-size: 20px;
  color: #333;
  cursor: pointer;
}

.demo-app-title {
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.demo-app-content {
  flex: 1;
  padding: 20px;
  background: #fff;
  overflow-y: auto;
}

.demo-profile {
  text-align: center;
  margin-bottom: 20px;
}

.demo-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff6b35, #ff8c5a);
  border-radius: 40px;
  margin: 0 auto 15px;
}

.demo-name {
  color: #333;
  font-size: 18px;
  margin-bottom: 5px;
}

.demo-email {
  color: #666;
  font-size: 12px;
}

.demo-stats {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
  padding: 15px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.demo-stat {
  text-align: center;
}

.demo-stat-value {
  display: block;
  color: #ff6b35;
  font-size: 18px;
  font-weight: 700;
}

.demo-stat-label {
  color: #666;
  font-size: 11px;
}

.demo-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.demo-btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.demo-btn.primary {
  background: #ff6b35;
  color: white;
}

.demo-btn.secondary {
  background: #f0f0f0;
  color: #333;
}

.demo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.gallery-item {
  aspect-ratio: 1;
  background: #f0f0f0;
  border-radius: 5px;
}

.demo-app-tabbar {
  display: flex;
  justify-content: space-around;
  padding: 10px;
  background: #f5f5f5;
  border-top: 1px solid #eee;
}

.demo-app-tabbar .tab {
  font-size: 20px;
  cursor: pointer;
  opacity: 0.5;
}

.demo-app-tabbar .tab.active {
  opacity: 1;
  color: #ff6b35;
}

.demo-controls {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.demo-control {
  padding: 12px 24px;
  background: var(--dark2);
  border: 1px solid var(--orange);
  border-radius: 30px;
  color: var(--orange);
  cursor: pointer;
  transition: all 0.3s ease;
}

.demo-control:hover {
  background: var(--orange);
  color: white;
}

.demo-platform-badge {
  text-align: center;
  padding: 10px;
  background: var(--dark2);
  border-radius: 20px;
  color: var(--light);
  font-size: 14px;
}

/* Dark mode for demo */
.mobile-frame.dark .mobile-screen {
  background: #1a1a1a;
}

.mobile-frame.dark .demo-app-header {
  background: #2a2a2a;
  border-bottom-color: #333;
}

.mobile-frame.dark .demo-app-title {
  color: #fff;
}

.mobile-frame.dark .demo-app-content {
  background: #1a1a1a;
}

.mobile-frame.dark .demo-name {
  color: #fff;
}

.mobile-frame.dark .demo-email {
  color: #999;
}

.mobile-frame.dark .demo-stats {
  border-color: #333;
}

.mobile-frame.dark .demo-stat-label {
  color: #999;
}

.mobile-frame.dark .demo-btn.secondary {
  background: #2a2a2a;
  color: #fff;
}

.mobile-frame.dark .gallery-item {
  background: #2a2a2a;
}

.mobile-frame.dark .demo-app-tabbar {
  background: #2a2a2a;
  border-top-color: #333;
}

/* Process Steps */
.mobile-process-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.mobile-process-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.mobile-process-title span {
  color: var(--orange);
}

.mobile-process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.mobile-process-step {
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.mobile-process-step:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
}

.step-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.step-title {
  color: var(--orange);
  font-size: 18px;
  margin-bottom: 10px;
}

.step-desc {
  color: var(--light);
  font-size: 14px;
  line-height: 1.6;
}

/* Features */
.mobile-features-section {
  background: var(--dark2);
  padding: 80px 20px;
  border-top: 1px solid rgba(255,107,53,0.1);
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

.mobile-features-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.mobile-features-title span {
  color: var(--orange);
}

.mobile-features-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.mobile-feature-card {
  background: var(--dark);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.mobile-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 15px;
}

.feature-name {
  color: var(--orange);
  font-size: 16px;
  margin-bottom: 8px;
}

.feature-desc {
  color: var(--light);
  font-size: 12px;
  line-height: 1.5;
}

/* Case Studies */
.mobile-case-section {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.mobile-case-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.mobile-case-title span {
  color: var(--orange);
}

.mobile-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mobile-case-card {
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mobile-case-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(255,107,53,0.2);
}

.mobile-case-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-case-icon {
  font-size: 48px;
}

.mobile-case-content {
  padding: 25px;
}

.mobile-case-name {
  color: var(--orange);
  font-size: 20px;
  margin-bottom: 5px;
}

.mobile-case-client {
  color: var(--light);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.mobile-case-description {
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.mobile-case-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.mobile-case-tech span {
  padding: 4px 10px;
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3);
  border-radius: 20px;
  font-size: 11px;
  color: var(--light);
}

.mobile-case-link {
  color: var(--orange);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ASO Section */
.mobile-aso-section {
  background: var(--dark2);
  padding: 80px 20px;
  border-top: 1px solid rgba(255,107,53,0.1);
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

.mobile-aso-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.mobile-aso-title span {
  color: var(--orange);
}

.mobile-aso-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.mobile-aso-text {
  color: var(--light);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.mobile-aso-list {
  list-style: none;
  padding: 0;
}

.mobile-aso-list li {
  color: var(--text);
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,107,53,0.1);
}

.mobile-aso-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.aso-stat {
  text-align: center;
  padding: 30px;
  background: var(--dark);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 15px;
}

.aso-stat-value {
  display: block;
  color: var(--orange);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.aso-stat-label {
  color: var(--light);
  font-size: 14px;
}

/* FAQ */
.mobile-faq-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

.mobile-faq-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 50px;
  color: var(--text);
}

.mobile-faq-title span {
  color: var(--orange);
}

.mobile-faq-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-faq-item {
  background: var(--dark2);
  border: 1px solid rgba(255,107,53,0.2);
  border-radius: 15px;
  overflow: hidden;
}

.mobile-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.mobile-faq-question:hover {
  background: rgba(255,107,53,0.05);
}

.mobile-faq-icon {
  color: var(--orange);
  font-size: 20px;
  transition: transform 0.3s ease;
}

.mobile-faq-item.active .mobile-faq-icon {
  transform: rotate(45deg);
}

.mobile-faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--light);
  line-height: 1.7;
  font-size: 14px;
}

.mobile-faq-item.active .mobile-faq-answer {
  display: block;
  animation: slideDown 0.3s ease;
}

/* CTA Section */
.mobile-cta-section {
  background: linear-gradient(135deg, var(--orange), #ff8c5a);
  padding: 80px 20px;
  text-align: center;
}

.mobile-cta-container {
  max-width: 700px;
  margin: 0 auto;
}

.mobile-cta-title {
  color: white;
  font-size: 42px;
  margin-bottom: 20px;
}

.mobile-cta-title span {
  color: rgba(255,255,255,0.9);
}

.mobile-cta-text {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  margin-bottom: 30px;
}

.mobile-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.mobile-cta-btn {
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.mobile-cta-btn.primary {
  background: white;
  color: var(--orange);
}

.mobile-cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.mobile-cta-btn.secondary {
  border: 2px solid white;
  color: white;
}

.mobile-cta-btn.secondary:hover {
  background: white;
  color: var(--orange);
}

/* Animations */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1200px) {
  .mobile-platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mobile-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mobile-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mobile-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .mobile-header-section {
    flex-direction: column;
    min-height: auto;
  }
  
  .mobile-header-content {
    padding: 60px 20px 40px;
    text-align: center;
  }
  
  .mobile-header-visual {
    width: 100%;
    height: 400px;
  }
  
  .mobile-process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .mobile-aso-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-platforms-grid {
    grid-template-columns: 1fr;
  }
  
  .mobile-types-grid {
    grid-template-columns: 1fr;
  }
  
  .mobile-features-grid {
    grid-template-columns: 1fr;
  }
  
  .mobile-case-grid {
    grid-template-columns: 1fr;
  }
  
  .mobile-process-steps {
    grid-template-columns: 1fr;
  }
  
  .mobile-cta-buttons {
    flex-direction: column;
  }
  
  .mobile-demo-container {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .mobile-header-title {
    font-size: 36px;
  }
  
  .mobile-header-subtitle {
    font-size: 16px;
  }
  
  .mobile-types-title {
    font-size: 32px;
  }
  
  .mobile-frame {
    width: 280px;
    height: 580px;
  }
  
  .aso-stat-value {
    font-size: 32px;
  }
}