/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100vh;
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
  color: #1a202c;
  background: #ffffff;
  line-height: 1.6;
}

/* Page Container */
.page-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
.header {
  padding: 20px 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  z-index: 100;
  flex-shrink: 0;
  position: sticky;
  top: 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #1a202c;
}

.logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  margin-right: 14px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brand-text {
  font-size: 22px;
  font-weight: 700;
  color: #1a202c;
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
}

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

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

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

.nav-btn {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(128, 90, 213, 0.3);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(128, 90, 213, 0.4);
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  width: 100%;
  height: calc(100vh - 100px);
}

.content-sections {
  display: flex;
  width: 100%;
  height: 100%;
}

/* Left Section - Download & Info (1/3) */
.download-section {
  flex: 1;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(128, 90, 213, 0.05) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.download-content {
  max-width: 480px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  margin-bottom: 60px;
}

.hero-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #1a202c;
  letter-spacing: -1px;
}

.accent {
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 18px;
  color: #4a5568;
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: 400;
}

/* Key Features */
.key-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

.feature-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.feature-text h3 {
  font-size: 16px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.5;
}

/* Download Section Content */
.download-section-content {
  text-align: center;
}

.download-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #1a202c;
}

/* App Download Image */
.app-download-image {
  margin: 32px 0;
  text-align: center;
}

.download-img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.download-img:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Simple Download Section Styles */
.download-simple {
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.simple-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #1a202c;
  letter-spacing: -1px;
}

.simple-subtitle {
  font-size: 18px;
  color: #4a5568;
  margin-bottom: 32px;
  line-height: 1.6;
  font-weight: 400;
}

.simple-bullets {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
  display: inline-block;
}

.simple-bullets li {
  font-size: 16px;
  color: #4a5568;
  margin-bottom: 12px;
  padding-left: 8px;
  line-height: 1.5;
}

/* Store Badges */
.simple-stores {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.store-badge {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  max-width: 200px;
}

.store-badge:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.badge-icon {
  font-size: 20px;
  margin-right: 12px;
  width: 24px;
  text-align: center;
}

.badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}

.badge-title {
  font-size: 10px;
  font-weight: 600;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: #1a202c;
}

/* QR Section */
.qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-code {
  width: 80px;
  height: 80px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.qr-placeholder {
  font-size: 32px;
}

.qr-section p {
  font-size: 14px;
  color: #718096;
  font-weight: 500;
}

/* Right Section - Content Upload Demo (2/3) */
.video-section {
  flex: 2;
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.video-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.content-demo-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Device Mockup */
.device-mockup {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ipad-frame {
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 1.33;
  background: linear-gradient(145deg, #2d3748, #1a202c);
  border-radius: 32px;
  padding: 12px;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  animation: float-device 6s ease-in-out infinite;
}

.iphone-frame {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 0.5;
  background: linear-gradient(145deg, #2d3748, #1a202c);
  border-radius: 40px;
  padding: 8px;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  animation: float-device 6s ease-in-out infinite;
}

@keyframes float-device {
  0%, 100% { transform: translateY(0px) rotateY(0deg); }
  50% { transform: translateY(-15px) rotateY(2deg); }
}

.ipad-frame::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #4a5568;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.iphone-frame::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #4a5568;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ipad-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Floating Content Types */
.floating-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-item {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: float-content 8s ease-in-out infinite;
  transition: all 0.3s ease;
}

.floating-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  pointer-events: auto;
}

.content-icon {
  font-size: 24px;
}

.content-label {
  font-size: 12px;
  font-weight: 600;
  color: white;
  text-align: center;
}

.pdf-item {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.webpage-item {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.youtube-item {
  top: 30%;
  right: 25%;
  animation-delay: 4s;
}

.document-item {
  bottom: 30%;
  left: 20%;
  animation-delay: 6s;
}

@keyframes float-content {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg); 
    opacity: 0.7;
  }
  25% { 
    transform: translateY(-20px) rotate(2deg); 
    opacity: 1;
  }
  50% { 
    transform: translateY(-10px) rotate(-1deg); 
    opacity: 0.8;
  }
  75% { 
    transform: translateY(-15px) rotate(1deg); 
    opacity: 0.9;
  }
}

/* App Interface Styles */
.app-interface {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  color: white;
}

.app-title {
  font-size: 16px;
  font-weight: 600;
}

.app-controls {
  display: flex;
  gap: 12px;
}

.control-icon {
  font-size: 16px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.control-icon:hover {
  opacity: 1;
}

.app-content {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.upload-area {
  text-align: center;
  padding: 32px;
  border: 2px dashed #cbd5e0;
  border-radius: 16px;
  background: #f8fafc;
  transition: all 0.3s ease;
}

.upload-area:hover {
  border-color: var(--primary);
  background: #f0f4f8;
}

.upload-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.upload-area h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 8px;
}

.upload-area p {
  font-size: 14px;
  color: #718096;
}

/* AI Progress Animation */
.ai-progress-container {
  text-align: center;
}

.ai-progress-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
}

.ai-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, #805ad5 50%, var(--primary) 100%);
  border-radius: 4px;
  animation: ai-progress-flow 3s ease-in-out infinite;
  position: relative;
}

.ai-progress-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  animation: ai-particles 2s ease-in-out infinite;
}

@keyframes ai-progress-flow {
  0% { width: 0%; }
  50% { width: 100%; }
  100% { width: 0%; }
}

@keyframes ai-particles {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.ai-status {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
  animation: ai-status-pulse 2s ease-in-out infinite;
}

@keyframes ai-status-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Content Preview */
.content-preview {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #e2e8f0;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.preview-header h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1a202c;
  margin: 0;
}

.preview-badge {
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.preview-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lecture-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.lecture-item:hover {
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lecture-icon {
  font-size: 20px;
  width: 32px;
  text-align: center;
}

.lecture-text {
  font-size: 14px;
  color: #1a202c;
  font-weight: 500;
}

/* Video Content */
.video-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-content iframe {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.video-content iframe:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* App Interface - Now handled by iframe */

/* Floating Elements - Now handled by iframe */

/* Screenshot Slider */
.screenshot-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.screenshot-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-slide.active {
  opacity: 1;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dot.active {
  background: white;
  border-color: white;
  transform: scale(1.3);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

/* Floating Content Types */
.floating-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* App Interface Styles */
.app-interface {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  color: white;
}

.app-title {
  font-size: 16px;
  font-weight: 600;
}

.app-controls {
  display: flex;
  gap: 12px;
}

.control-icon {
  font-size: 16px;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.control-icon:hover {
  opacity: 1;
}

.app-nav {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.nav-item.active {
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  color: white;
}

.nav-item:not(.active):hover {
  background: #edf2f7;
}

.nav-icon {
  font-size: 16px;
  margin-bottom: 4px;
}

.nav-text {
  font-size: 12px;
  font-weight: 500;
}

.nav-subtext {
  font-size: 10px;
  opacity: 0.8;
  margin-top: 2px;
}

.app-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.content-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a202c;
}

.progress-indicator {
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
}

.content-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.content-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
}

.item-check {
  font-size: 16px;
  color: #48bb78;
}

.item-placeholder {
  flex: 1;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  border-radius: 6px;
  opacity: 0.1;
}

/* Upload Interface */
.upload-interface {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.upload-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #cbd5e0;
  border-radius: 12px;
  padding: 40px 20px;
  background: #f8fafc;
}

.upload-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.upload-area h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 8px;
}

.upload-area p {
  font-size: 14px;
  color: #718096;
  margin-bottom: 20px;
}

.upload-button {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  color: white;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(128, 90, 213, 0.3);
}

.recent-files {
  background: white;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid #e2e8f0;
}

.recent-files h4 {
  font-size: 14px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 12px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

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

.file-icon {
  font-size: 20px;
}

.file-info {
  flex: 1;
}

.file-name {
  font-size: 14px;
  font-weight: 500;
  color: #1a202c;
}

.file-meta {
  font-size: 12px;
  color: #718096;
  margin-top: 2px;
}

/* Chat Interface */
.chat-interface {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.chat-messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  overflow-y: auto;
}

.message {
  display: flex;
  gap: 12px;
  max-width: 80%;
}

.ai-message {
  align-self: flex-start;
}

.user-message {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ai-message .message-avatar {
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  color: white;
}

.user-message .message-avatar {
  background: #e2e8f0;
  color: #4a5568;
}

.message-content {
  background: #f8fafc;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
  color: #1a202c;
}

.user-message .message-content {
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  color: white;
}

.chat-input {
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-input input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  font-size: 14px;
  outline: none;
}

.chat-input input:focus {
  border-color: var(--primary);
}

.send-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.send-button:hover {
  transform: scale(1.1);
}

/* Progress Interface */
.progress-interface {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.progress-overview h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 16px;
}

.progress-stats {
  display: flex;
  gap: 16px;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
}

.stat-number {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 12px;
  color: #718096;
  font-weight: 500;
}

.subject-progress h4 {
  font-size: 16px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 16px;
}

.subject-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.subject-name {
  font-size: 14px;
  font-weight: 500;
  color: #1a202c;
  min-width: 80px;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  min-width: 30px;
  text-align: right;
}

/* Call to Action Banner */
.cta-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(26, 32, 44, 0.95) 0%, rgba(45, 55, 72, 0.95) 100%);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
  animation: slide-up-banner 1s ease-out 1s both;
}

@keyframes slide-up-banner {
  0% { 
    opacity: 0;
    transform: translateY(100%);
  }
  100% { 
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-content {
  flex: 1;
}

.cta-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 4px;
}

.cta-content p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(128, 90, 213, 0.3);
  white-space: nowrap;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(128, 90, 213, 0.4);
}

/* Support Page Styles */
.support-content {
  background: #f8fafc;
  min-height: calc(100vh - 100px);
  padding: 40px 0;
}

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

.support-header {
  text-align: center;
  margin-bottom: 60px;
}

.support-header h1 {
  font-size: 48px;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.support-header p {
  font-size: 20px;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto;
}

/* Quick Help Section */
.quick-help {
  margin-bottom: 80px;
}

.quick-help h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 40px;
  text-align: center;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.help-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.help-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.help-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.help-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 12px;
}

.help-card p {
  font-size: 16px;
  color: #4a5568;
  margin-bottom: 20px;
  line-height: 1.5;
}

.help-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
}

.help-link:hover {
  color: #805ad5;
}

/* Support Sections */
.support-section {
  background: white;
  padding: 40px;
  border-radius: 16px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.support-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 32px;
}

/* Getting Started Steps */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.step-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.5;
}

/* FAQ Styles */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: #f8fafc;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #1a202c;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #edf2f7;
}

.faq-toggle {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

.faq-answer {
  display: none;
  padding: 20px 24px;
  background: white;
  border-top: 1px solid #e2e8f0;
}

.faq-answer p {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}

.faq-answer a {
  color: var(--primary);
  text-decoration: none;
}

.faq-answer a:hover {
  text-decoration: underline;
}

/* Troubleshooting Styles */
.troubleshooting-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.trouble-item {
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid #e53e3e;
}

.trouble-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 16px;
}

.trouble-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trouble-item li {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.trouble-item li::before {
  content: '•';
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Contact Styles */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 40px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
}

.contact-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 8px;
}

.contact-details p {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 8px;
  line-height: 1.5;
}

.contact-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.contact-link:hover {
  text-decoration: underline;
}

.response-time {
  font-size: 12px;
  color: #718096;
  font-style: italic;
  margin-top: 8px;
}

/* Contact Form */
.contact-form {
  background: #f8fafc;
  padding: 32px;
  border-radius: 12px;
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 24px;
}

.support-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

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

.form-group:nth-child(3),
.form-group:nth-child(4) {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.submit-btn {
  grid-column: 1 / -1;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #805ad5 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(128, 90, 213, 0.3);
}

/* Footer */
.footer {
  padding: 20px 40px;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  margin-right: 8px;
  object-fit: cover;
}

.footer-brand span {
  font-size: 16px;
  font-weight: 600;
  color: #1a202c;
}

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

.footer-links a {
  color: #4a5568;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1200px) {
  .download-section,
  .video-section {
    padding: 40px 30px;
  }
  
  .ipad-frame {
    max-width: 500px;
  }
}

@media (max-width: 1024px) {
  .content-sections {
    flex-direction: column;
    height: auto;
  }
  
  .download-section,
  .video-section {
    padding: 30px 20px;
    height: auto;
  }
  
  .main-content {
    height: auto;
    overflow-y: auto;
  }
  
  .ipad-frame {
    max-width: 400px;
  }
  
  .content-demo-container {
    height: 500px;
  }
  
  .slider-nav {
    bottom: 80px;
  }
  
  .cta-banner {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 30px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 16px 20px;
  }
  
  .header-content {
    flex-direction: column;
    gap: 16px;
  }
  
  .nav {
    gap: 20px;
  }
  
  .download-section,
  .video-section {
    padding: 20px 16px;
  }
  
  .hero-title {
    font-size: clamp(28px, 6vw, 36px);
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .feature-item {
    padding: 16px;
  }
  
  .ipad-frame {
    max-width: 350px;
    border-radius: 24px;
  }
  
  .ipad-screen {
    padding: 16px;
  }
  
  .content-demo-container {
    height: 400px;
  }
  
  .slider-nav {
    bottom: 60px;
    gap: 12px;
  }
  
  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .dot {
    width: 12px;
    height: 12px;
  }
  
  .floating-item {
    padding: 12px;
  }
  
  .content-icon {
    font-size: 20px;
  }
  
  .content-label {
    font-size: 10px;
  }
  
  .cta-banner {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 20px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px 20px;
  }
  
  .cta-content h3 {
    font-size: 14px;
  }
  
  .cta-content p {
    font-size: 11px;
  }
  
  .cta-button {
    padding: 8px 16px;
    font-size: 12px;
  }
  
  .app-header {
    padding: 12px 16px;
  }
  
  .app-title {
    font-size: 14px;
  }
  
  .nav-item {
    padding: 8px 4px;
  }
  
  .nav-text {
    font-size: 10px;
  }
  
  .nav-subtext {
    font-size: 8px;
  }
  
  .app-content {
    padding: 16px;
  }
  
  .simple-title {
    font-size: clamp(24px, 6vw, 32px);
  }
  
  .simple-subtitle {
    font-size: 16px;
  }
  
  .simple-bullets li {
    font-size: 14px;
  }
  
  .app-download-image {
    margin: 24px 0;
  }
  
  .download-img {
    border-radius: 12px;
  }
  
  /* Support Page Mobile Styles */
  .support-container {
    padding: 0 20px;
  }
  
  .support-header h1 {
    font-size: 32px;
  }
  
  .support-header p {
    font-size: 16px;
  }
  
  .help-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .help-card {
    padding: 24px;
  }
  
  .support-section {
    padding: 24px;
  }
  
  .support-section h2 {
    font-size: 24px;
  }
  
  .step {
    padding: 16px;
    gap: 16px;
  }
  
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-method {
    padding: 20px;
  }
  
  .support-form {
    grid-template-columns: 1fr;
  }
  
  .footer {
    padding: 16px 20px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 12px 16px;
  }
  
  .download-section,
  .video-section {
    padding: 16px 12px;
  }
  
  .hero-title {
    font-size: 24px;
  }
  
  .hero-subtitle {
    font-size: 14px;
  }
  
  .feature-item {
    padding: 12px;
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .store-badge {
    max-width: 260px;
    padding: 14px 20px;
  }
  
  .ipad-frame {
    max-width: 300px;
    border-radius: 20px;
  }
  
  .ipad-screen {
    padding: 12px;
  }
  
  .app-nav {
    flex-wrap: wrap;
  }
  
  .nav-item {
    font-size: 12px;
    padding: 10px 12px;
  }
}

/* Common Elements */
.back-arrow {
  font-size: 16px;
  color: #718096;
}

.menu-icon {
  font-size: 16px;
  color: #718096;
}

.checkbox {
  font-size: 14px;
  color: var(--primary);
}

.item-text {
  font-size: 12px;
  color: #2d3748;
  flex: 1;
}

.doc-icon {
  font-size: 14px;
  color: #718096;
}

.source-icon {
  font-size: 16px;
}

.source-btn span:last-child,
.ipad-source-btn span:last-child,
.iphone-source-btn span:last-child {
  font-size: 10px;
  font-weight: 500;
  color: #2d3748;
}

.close-btn {
  background: none;
  border: none;
  font-size: 16px;
  color: #718096;
  cursor: pointer;
  padding: 3px;
  border-radius: 3px;
  transition: background-color 0.2s ease;
}
.close-btn:hover {
  background: #f7fafc;
}


