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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #ffffff;
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #007aff;
  text-decoration: none;
}

.nav-logo i {
  margin-right: 8px;
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #007aff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #007aff;
  transition: width 0.3s ease;
}

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

.download-btn {
  background: #007aff;
  color: white !important;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: #005ecb;
  transform: translateY(-2px);
}

.download-btn::after {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
  animation: heroBackground 20s ease-in-out infinite;
}

@keyframes heroBackground {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.hero-background {
  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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
  opacity: 0.3;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  font-size: 2.5rem;
  opacity: 0.7;
  animation: float 6s ease-in-out infinite;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.floating-icon.icon-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-icon.icon-2 {
  top: 30%;
  right: 15%;
  animation-delay: 1s;
}

.floating-icon.icon-3 {
  top: 60%;
  left: 5%;
  animation-delay: 2s;
}

.floating-icon.icon-4 {
  top: 70%;
  right: 10%;
  animation-delay: 3s;
}

.floating-icon.icon-5 {
  top: 40%;
  left: 50%;
  animation-delay: 4s;
}

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) rotate(0deg) scale(1); 
    opacity: 0.7;
  }
  50% { 
    transform: translateY(-20px) rotate(5deg) scale(1.1); 
    opacity: 1;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-badge i {
  color: #ffd700;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #007aff, #4ecdc4);
  color: white;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #005ecb, #3bb5a8);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 122, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.hero-stats {
  display: flex;
  gap: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: #4ecdc4;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* App Showcase */
.app-showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  position: relative;
}

.phone-mockup {
  position: relative;
  width: 250px;
  height: 500px;
  background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
  border-radius: 35px;
  padding: 18px;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #333;
  border-radius: 2px;
}

.phone-1 {
  transform: rotateY(-15deg) rotateX(5deg);
  animation: phoneFloat1 4s ease-in-out infinite;
}

.phone-2 {
  transform: rotateY(15deg) rotateX(-5deg);
  animation: phoneFloat2 4s ease-in-out infinite;
  animation-delay: 2s;
}

.phone-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.08);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes phoneFloat1 {
  0%, 100% { transform: rotateY(-15deg) rotateX(5deg) translateY(0px); }
  50% { transform: rotateY(-10deg) rotateX(2deg) translateY(-10px); }
}

@keyframes phoneFloat2 {
  0%, 100% { transform: rotateY(15deg) rotateX(-5deg) translateY(0px); }
  50% { transform: rotateY(10deg) rotateX(-2deg) translateY(-10px); }
}

.conversion-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #007aff, #4ecdc4);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  box-shadow: 
    0 15px 40px rgba(0, 122, 255, 0.4),
    0 0 0 4px rgba(255, 255, 255, 0.1);
  animation: pulse 2s ease-in-out infinite;
  transition: all 0.3s ease;
  cursor: pointer;
}

.conversion-arrow:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 
    0 20px 50px rgba(0, 122, 255, 0.5),
    0 0 0 6px rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.app-preview {
  padding: 20px;
  height: 100%;
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e9ecef;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  padding: 15px 20px;
  margin: -20px -20px 20px -20px;
  border-radius: 25px 25px 0 0;
}

.app-title {
  font-weight: 700;
  color: #333;
  font-size: 1.1rem;
}

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

.control {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.control:nth-child(1) { 
  background: linear-gradient(135deg, #ff5f57, #ff3b30);
  box-shadow: 0 2px 6px rgba(255, 95, 87, 0.3);
}
.control:nth-child(2) { 
  background: linear-gradient(135deg, #ffbd2e, #ff9500);
  box-shadow: 0 2px 6px rgba(255, 189, 46, 0.3);
}
.control:nth-child(3) { 
  background: linear-gradient(135deg, #28ca42, #34c759);
  box-shadow: 0 2px 6px rgba(40, 202, 66, 0.3);
}

.content-line {
  height: 10px;
  background: linear-gradient(90deg, #e9ecef, #f8f9fa);
  border-radius: 6px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.content-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.content-line.short { width: 60%; }
.content-line.medium { width: 80%; }

/* Sections */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #333;
}

.section-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  background: #f8f9fa;
}

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

.feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007aff, #4ecdc4, #ff6b6b, #feca57);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #007aff, #4ecdc4);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #007aff, #4ecdc4, #ff6b6b, #feca57);
  border-radius: 26px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-icon i {
  font-size: 2.2rem;
  color: white;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(0, 122, 255, 0.4);
}

.feature-card:hover .feature-icon::before {
  opacity: 1;
}

.feature-card:hover .feature-icon i {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.feature-badge {
  display: inline-block;
  background: linear-gradient(135deg, #007aff, #4ecdc4);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: auto;
}

/* Video Demo Section */
.video-demo {
  background: #f8f9fa;
  padding: 80px 0;
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
  overflow: hidden;
}

.video-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: videoShimmer 3s ease-in-out infinite;
}

@keyframes videoShimmer {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.video-placeholder:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.play-button {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #007aff;
  transition: all 0.4s ease;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 2;
}

.play-button::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(135deg, #007aff, #4ecdc4);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-placeholder:hover .play-button {
  transform: scale(1.15);
  background: white;
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.video-placeholder:hover .play-button::before {
  opacity: 1;
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem;
  text-align: center;
}

.video-overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.video-overlay p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.video-features {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

/* Enhanced Demo Section */
.demo {
  background: white;
}

.demo-header {
  text-align: center;
  margin-bottom: 2rem;
}

.demo-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.demo-header p {
  color: #666;
}

.input-suggestions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.suggestion {
  background: #f0f8ff;
  color: #007aff;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #e1f0ff;
}

.suggestion:hover {
  background: #007aff;
  color: white;
}

.btn-loading {
  display: none;
  margin-left: 8px;
}

.btn.loading .btn-loading {
  display: inline-block;
}

.btn.loading .fas:not(.fa-spinner) {
  display: none;
}

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

.preview-header h3 {
  font-size: 1.2rem;
  color: #333;
}

.preview-controls {
  display: flex;
  gap: 0.5rem;
}

.control-btn {
  width: 40px;
  height: 40px;
  border: 2px solid #e1e5e9;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-btn.active,
.control-btn:hover {
  border-color: #007aff;
  background: #f0f8ff;
  color: #007aff;
}

.preview-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #007aff;
}

.stat-label {
  font-size: 0.8rem;
  color: #666;
}

/* Technology Stack Section */
.tech-stack {
  background: #f8f9fa;
  padding: 80px 0;
}

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

.tech-category {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.tech-category:hover {
  transform: translateY(-5px);
}

.tech-category h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #333;
  text-align: center;
}

.tech-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: #e3f2fd;
  transform: translateX(5px);
}

.tech-icon {
  font-size: 1.5rem;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: #007aff;
}

.tech-icon i {
  transition: all 0.3s ease;
}

.tech-item:hover .tech-icon {
  background: linear-gradient(135deg, #007aff, #4ecdc4);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
}

.tech-item:hover .tech-icon i {
  transform: scale(1.1);
}

.tech-item span {
  font-weight: 500;
  color: #333;
}

/* Screenshots Section */
.screenshots-section {
  margin-bottom: 4rem;
}

.screenshots-section h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #333;
  text-align: center;
}

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

.screenshot-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.screenshot-mockup {
  background: #f0f0f0;
  padding: 1rem;
}

.mac-window {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.window-header {
  background: #e8e8e8;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.window-controls {
  display: flex;
  gap: 0.5rem;
}

.window-controls .control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.window-controls .control.red { background: #ff5f57; }
.window-controls .control.yellow { background: #ffbd2e; }
.window-controls .control.green { background: #28ca42; }

.window-title {
  font-size: 0.9rem;
  color: #333;
  font-weight: 500;
}

.window-content {
  padding: 1rem;
  min-height: 200px;
}

.app-interface {
  display: flex;
  gap: 1rem;
}

.sidebar {
  width: 120px;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1rem;
}

.sidebar-item {
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border-radius: 5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.sidebar-item.active {
  background: #007aff;
  color: white;
}

.main-content {
  flex: 1;
}

.project-card {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.project-header h4 {
  margin: 0;
  color: #333;
}

.status {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status.completed {
  background: #d4edda;
  color: #155724;
}

.project-preview {
  display: flex;
  justify-content: center;
}

.mini-phone {
  width: 60px;
  height: 100px;
  background: #1a1a1a;
  border-radius: 8px;
  padding: 5px;
}

.mini-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 4px;
}

.analysis-interface {
  text-align: center;
}

.url-input {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.url-input input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9rem;
}

.analyze-btn {
  background: #007aff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
}

.analysis-results {
  text-align: left;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.result-item i {
  color: #25c685;
}

.code-interface {
  background: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
}

.code-header {
  background: #2d2d2d;
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 0.9rem;
}

.copy-btn {
  background: #007aff;
  color: white;
  border: none;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
}

.code-content {
  padding: 1rem;
  color: #d4d4d4;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.8rem;
  line-height: 1.4;
  overflow-x: auto;
}

.code-content pre {
  margin: 0;
  white-space: pre-wrap;
}

.examples-section h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #333;
  text-align: center;
}

.conversion-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #e3f2fd;
  color: #007aff;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1rem;
  justify-content: center;
}

.conversion-badge i {
  font-size: 0.8rem;
}

.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.demo-form {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 20px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.result-container {
  margin-top: 1.5rem;
  min-height: 100px;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007aff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.download-link {
  display: inline-block;
  background: #25c685;
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.download-link:hover {
  background: #1ca96c;
}

/* Preview Phone */
.preview-phone {
  position: sticky;
  top: 100px;
}

.phone-frame {
  width: 250px;
  height: 500px;
  background: #1a1a1a;
  border-radius: 30px;
  padding: 15px;
  margin: 0 auto;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 20px;
  overflow: hidden;
}

.app-preview {
  padding: 15px;
  height: 100%;
}

.preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
  text-align: center;
}

.preview-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Gallery Section */
.gallery {
  background: #f8f9fa;
}

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

.gallery-item {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007aff, #4ecdc4, #ff6b6b, #feca57);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-preview {
  height: 200px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.preview-app {
  width: 120px;
  height: 180px;
  background: white;
  border-radius: 15px;
  padding: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
  font-size: 0.8rem;
  font-weight: 600;
}

.app-content {
  padding: 5px 0;
}

.news-item, .product-item, .portfolio-item {
  margin-bottom: 12px;
  padding: 10px;
  background: rgba(248, 249, 250, 0.8);
  border-radius: 8px;
  border-left: 3px solid #007aff;
  transition: all 0.3s ease;
}

.news-item:hover, .product-item:hover, .portfolio-item:hover {
  background: rgba(0, 122, 255, 0.05);
  transform: translateX(2px);
}

.news-title, .product-name, .portfolio-title {
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #333;
  line-height: 1.2;
}

.news-excerpt, .product-price {
  font-size: 0.7rem;
  color: #666;
  line-height: 1.3;
}

.product-image, .portfolio-image {
  width: 100%;
  height: 45px;
  background: linear-gradient(135deg, #e9ecef, #f8f9fa);
  border-radius: 6px;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
}

.product-image::before, .portfolio-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: #007aff;
  border-radius: 4px;
  opacity: 0.3;
}

.gallery-item h3 {
  padding: 1rem 1.5rem 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
}

.gallery-item p {
  padding: 0 1.5rem 1.5rem;
  color: #666;
  font-size: 0.9rem;
}

/* Documentation Section */
.docs {
  background: white;
}

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

.doc-card {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.doc-card:hover {
  transform: translateY(-5px);
}

.doc-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007aff, #4ecdc4);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.doc-icon i {
  font-size: 1.5rem;
  color: white;
}

.doc-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.doc-card p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.doc-card ul {
  list-style: none;
  padding: 0;
}

.doc-card li {
  padding: 0.5rem 0;
  color: #666;
  position: relative;
  padding-left: 1.5rem;
}

.doc-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #25c685;
  font-weight: bold;
}

/* Download Section */
.download {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  animation: downloadShimmer 4s ease-in-out infinite;
}

@keyframes downloadShimmer {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.download-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.download-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.download-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.download-info {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.download-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 1rem;
}

.download-info i {
  color: #4ecdc4;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #007aff;
  margin-bottom: 1rem;
}

.footer-logo i {
  margin-right: 8px;
  font-size: 1.8rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #007aff;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: #007aff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }

  .app-showcase {
    flex-direction: column;
    gap: 1rem;
  }

  .phone-1, .phone-2 {
    transform: none;
    animation: none;
  }

  .conversion-arrow {
    position: static;
    transform: none;
    margin: 1rem 0;
  }

  .demo-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .preview-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .preview-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .video-features {
    flex-direction: column;
    align-items: center;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .download-info {
    flex-direction: column;
    align-items: center;
  }

  .phone-mockup {
    width: 200px;
    height: 400px;
  }

  .floating-icon {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .features-grid,
  .gallery-grid,
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 12px 24px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.feature-card,
.gallery-item,
.doc-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #007aff;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #005ecb;
}