/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8fafc;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: #1e40af;
}

.logo-icon {
  font-size: 1.5rem;
}

.hero-right img {
  display: block;
  max-width: 420px !important;  /* force cap size */
  width: 100% !important;       /* make responsive */
  height: auto !important;      /* keep aspect ratio */
  margin: 0 auto;               /* center inside container */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  object-fit: contain;
}

@media (max-width: 768px) {
  .hero-right img {
    max-width: 280px !important; /* smaller on mobile */
  }
}




.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #64748b;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #1e40af;
}

.get-started-btn {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.get-started-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Hero Section */
.hero {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #1e293b;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: #3b82f6;
}

.hero-description {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-features {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #475569;
  font-weight: 600;
}

.feature-icon {
  font-size: 1.2rem;
}

.cta-button {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.trust-text {
  color: #64748b;
  font-size: 0.95rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.file-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.file-icon {
  background: white;
  padding: 1.5rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  color: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 80px;
  text-align: center;
  animation: float 3s ease-in-out infinite;
}

.file-icon.avif {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.file-icon.jpg {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  animation-delay: -1s;
}

.file-icon.png {
  background: linear-gradient(135deg, #10b981, #059669);
  animation-delay: -2s;
}

.conversion-arrow {
  font-size: 2rem;
  color: #64748b;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Stats Section */
.stats {
  background: white;
  padding: 3rem 2rem;
  border-top: 1px solid #e2e8f0;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #64748b;
  font-weight: 500;
}

/* Section Styles */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #1e293b;
}

.section-description {
  font-size: 1.1rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Converter Section */
.converter-section {
  padding: 5rem 0;
  background: white;
}

.converter-container {
  background: #f8fafc;
  padding: 3rem;
  border-radius: 16px;
  margin-bottom: 4rem;
  border: 2px dashed #cbd5e1;
  transition: all 0.3s ease;
}

.converter-container.drag-over {
  border-color: #3b82f6;
  background: #eff6ff;
  transform: scale(1.02);
}

.upload-area {
  text-align: center;
  padding: 2rem;
}

.upload-content {
  max-width: 400px;
  margin: 0 auto;
}

.upload-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.upload-area h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1e293b;
}

.upload-area p {
  color: #64748b;
  margin-bottom: 1.5rem;
}

.choose-file-btn {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.choose-file-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.file-limit {
  font-size: 0.9rem;
  color: #94a3b8;
}

/* Conversion Options */
.conversion-options {
  text-align: center;
  padding: 2rem 0;
}

.conversion-options h3 {
  margin-bottom: 1rem;
  color: #1e293b;
}

.format-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.format-btn {
  background: white;
  border: 2px solid #e2e8f0;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #64748b;
}

.format-btn:hover, .format-btn.active {
  border-color: #3b82f6;
  color: #3b82f6;
  transform: translateY(-1px);
}

.quality-slider {
  max-width: 300px;
  margin: 0 auto;
}

.quality-slider label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1e293b;
}

.quality-slider input {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
}

.quality-slider input::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: #3b82f6;
  border-radius: 50%;
  cursor: pointer;
}

/* File Preview */
.file-preview {
  text-align: center;
  padding: 2rem 0;
}

.file-preview img {
  max-width: 100%;
  max-height: 400px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.file-info {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  color: #64748b;
}

/* Download Section */
.download-section {
  text-align: center;
  padding: 2rem 0;
}

.download-btn {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* Converter Features */
.converter-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.feature-card .feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: #1e293b;
}

.feature-card p {
  color: #64748b;
}

/* About Section */
.about-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #475569;
  text-align: center;
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  margin-bottom: 1rem;
  color: #1e293b;
}

.benefit-card p {
  color: #64748b;
  line-height: 1.6;
}

/* Comparison Section */
.comparison-section {
  padding: 5rem 0;
  background: white;
}

.comparison-table {
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #1e293b;
}

.comparison-table tbody tr:hover {
  background: #f8fafc;
}

/* Browser Support */
.browser-support {
  padding: 5rem 0;
  background: #f8fafc;
}

.browsers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.browser-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.browser-card:hover {
  transform: translateY(-3px);
}

.browser-card.supported {
  border-left: 4px solid #10b981;
}

.browser-card.not-supported {
  border-left: 4px solid #ef4444;
  opacity: 0.7;
}

.browser-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.browser-card h3 {
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.browser-card p {
  color: #64748b;
  font-weight: 600;
}

/* Technical Specifications */
.tech-specs {
  padding: 5rem 0;
  background: white;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.specs-column h3 {
  margin-bottom: 1.5rem;
  color: #1e293b;
  font-size: 1.5rem;
}

.specs-column ul {
  list-style: none;
}

.specs-column li {
  padding: 0.75rem 0;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  padding-left: 1.5rem;
}

.specs-column li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
}

/* How to Open Section */
.how-to-section {
  padding: 5rem 0;
  background: #f8fafc;
}

.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: white;
  border: 2px solid #e2e8f0;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: #64748b;
}

.tab-btn.active,
.tab-btn:hover {
  border-color: #3b82f6;
  color: #3b82f6;
}

.tab-content {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.tab-pane h3 {
  margin-bottom: 2rem;
  color: #1e293b;
  font-size: 1.8rem;
}

.method {
  margin-bottom: 2rem;
}

.method h4 {
  margin-bottom: 1rem;
  color: #1e40af;
  font-size: 1.2rem;
}

.method ol {
  padding-left: 1.5rem;
}

.method li {
  padding: 0.5rem 0;
  color: #475569;
  line-height: 1.6;
}

.quick-tips {
  background: #eff6ff;
  padding: 2rem;
  border-radius: 12px;
  margin: 3rem 0;
}

.quick-tips h3 {
  margin-bottom: 1rem;
  color: #1e40af;
}

.quick-tips ul {
  list-style: none;
}

.quick-tips li {
  padding: 0.5rem 0;
  color: #1e40af;
  position: relative;
  padding-left: 1.5rem;
}

.quick-tips li:before {
  content: '💡';
  position: absolute;
  left: 0;
}

.cta-section {
  text-align: center;
  padding: 2rem 0;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #475569;
}

/* Footer */
.footer {
  background: #1e293b;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  margin: 1rem 0;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-badges {
  display: flex;
  gap: 1rem;
}

.footer-logo {
display: flex;
align-items: center;
gap: 10px;
}

.footer-logo-img {
height: 30px;  /* adjust size as needed */
width: auto;
}


.badge {
  background: rgba(59, 130, 246, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.link-group h4 {
  margin-bottom: 1rem;
  color: white;
}

.link-group ul {
  list-style: none;
}

.link-group li {
  margin-bottom: 0.5rem;
}

.link-group a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.link-group a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #94a3b8;
}

.footer-features {
  display: flex;
  gap: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
      padding: 1rem;
  }
  
  .nav-menu {
      display: none;
  }
  
  .hero-container {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 2rem;
  }
  
  .hero-title {
      font-size: 2.5rem;
  }
  
  .hero-features {
      justify-content: center;
      flex-wrap: wrap;
      gap: 1rem;
  }
  
  .stats-container {
      grid-template-columns: 1fr;
      gap: 2rem;
  }
  
  .benefits-grid,
  .converter-features,
  .browsers-grid {
      grid-template-columns: 1fr;
  }
  
  .specs-grid {
      grid-template-columns: 1fr;
  }
  
  .footer-content {
      grid-template-columns: 1fr;
      text-align: center;
  }
  
  .footer-bottom {
      flex-direction: column;
      gap: 1rem;
      text-align: center;
  }
  
  .footer-features {
      justify-content: center;
  }
  
  .platform-tabs {
      gap: 0.25rem;
  }
  
  .tab-btn {
      padding: 0.75rem 1rem;
      font-size: 0.9rem;
  }
  
  .tab-content {
      padding: 1.5rem;
  }
  
  .format-buttons {
      flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero-title {
      font-size: 2rem;
  }
  
  .section-title {
      font-size: 2rem;
  }
  
  .converter-container {
      padding: 1.5rem;
  }
  
  .tab-content {
      padding: 1rem;
  }
}