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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 75%, #475569 100%);
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
}

/* Background Effects */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(600px circle at 20% 30%, rgba(59, 130, 246, 0.15), transparent 40%),
    radial-gradient(800px circle at 80% 70%, rgba(147, 51, 234, 0.1), transparent 40%),
    radial-gradient(400px circle at 40% 80%, rgba(34, 197, 94, 0.05), transparent 40%);
  z-index: -1;
  pointer-events: none;
}

/* Floating Navigation */
.nav-header {
  position: fixed;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 1.5rem 2.5rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
  width: calc(100vw - 4rem);
  max-width: 1200px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-logo {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  margin: -20px 0;
}

.nav-title {
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb 0%, #4a9eff 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.7rem, 1.4vw, 0.95rem);
  white-space: nowrap;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;

}

.nav-link:hover {
  color: #60a5fa;
  transform: translateY(-1px);
}

.nav-link-with-icon {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link-icon {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  flex-shrink: 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Main Container */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 11rem 0 2rem;
}



.hero-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.badge-text {
  font-size: 0.875rem;
  color: #93c5fd;
}

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

.gradient-text {
  background: linear-gradient(135deg, #3b82f6, #60a5fa, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-cta {
  margin-bottom: 2rem;
}

.primary-btn {
  display: inline-block;
  transition: transform 0.3s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
}

.store-badge-img {
  height: 50px;
  width: auto;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.dashboard-mockup {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.mockup-header {
  background: rgba(15, 23, 42, 0.8);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.control-dot.red { background: #ef4444; }
.control-dot.yellow { background: #f59e0b; }
.control-dot.green { background: #10b981; }

.mockup-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.mockup-content {
  padding: 1.5rem;
}

.mockup-app-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.mockup-app-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mockup-app-info {
  flex: 1;
}

.mockup-app-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.mockup-app-status {
  font-size: 0.8rem;
  color: #10b981;
  font-weight: 500;
}

.backup-status {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 1rem;
}

.status-icon {
  width: 28px;
  height: 28px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
}

.status-text {
  flex: 1;
}

.status-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.status-value {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

/* Warning Section */
.warning-section {
  padding: 2rem 0 2rem;
}

.warning-card {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.warning-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.warning-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 1rem;
}

.warning-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

/* Showcase Section */
.showcase-section {
  padding: 4rem 0;
}

.showcase-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.showcase-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.showcase-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.showcase-img.active {
  opacity: 1;
}

.showcase-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.indicator.active {
  background: #3b82f6;
  transform: scale(1.2);
}

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

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

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

.features-header p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
}

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

.feature-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.25);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.9;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
}

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

.faq-item {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.25);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.4;
  padding: 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: color 0.3s ease;
  font-family: inherit;
}

.faq-question:hover {
  color: #60a5fa;
}

.faq-question:focus {
  outline: none;
  color: #60a5fa;
}

.faq-question span:first-child {
  flex: 1;
  margin-right: 1rem;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: #60a5fa;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
}

.faq-answer.expanded {
  max-height: 500px;
  opacity: 1;
  margin-top: 1rem;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer strong {
  color: #60a5fa;
  font-weight: 600;
}

/* Download Section */
.download-section {
  padding: 2rem 0;
}

.download-card {
  background: rgba(59, 130, 246, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
}

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

.download-card p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.download-cta {
  display: flex;
  justify-content: center;
}

.primary-btn.large .store-badge-img {
  height: 60px;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-right {
  display: flex;
  gap: 2rem;
}

.footer-right a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #93c5fd;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-header {
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 1.5rem;
    width: calc(100vw - 2rem);
    max-width: 768px;
  }
  
  .nav-container {
    gap: 1rem;
  }
  
  .nav-logo {
    width: 60px;
    height: 60px;
    margin: -20px 0;
  }
  
  .nav-title {
    font-size: 1.25rem;
  }
  
  .nav-links {
    gap: 1rem;
    flex-wrap: nowrap;
  }
  
  .nav-link {
    font-size: 0.8rem;

  }
  
  .main-container {
    padding: 0 1rem;
  }
  
  .hero-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 8rem 0 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .warning-card {
    flex-direction: column;
    text-align: center;
  }
  
  .showcase-card {
    padding: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .features-header h2 {
    font-size: 2rem;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .faq-item {
    padding: 1.5rem;
  }
  
  .download-card {
    padding: 2rem 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-header {
    padding: 0.75rem 1rem;
    width: calc(100vw - 1rem);
    max-width: 480px;
  }
  
  .nav-container {
    gap: 0.5rem;
  }
  
  .nav-logo {
    width: 36px;
    height: 36px;
  }
  
  .nav-title {
    font-size: 1.1rem;
  }
  
  .nav-links {
    gap: 0.75rem;
    flex-wrap: nowrap;
  }
  
  .nav-link {
    font-size: 0.75rem;
    padding: 0.25rem 0;
  }
  
  /* Hide Contact link on very small screens to prevent overflow */
  .nav-link:last-child {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-section {
    padding: 7rem 0 2rem;
    min-height: 50vh;
  }
}
