@import url('https://fonts.googleapis.com/css?family=Google+Sans:400,500,700&display=swap');

html, body {
  overflow-x: hidden;
  font-family: 'Google Sans', sans-serif !important;
  margin: 0;
  padding: 0;
}

/* Fonts */
body {
  font-family: 'Google Sans', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #111;
  line-height: 1.6;
  overflow-x: hidden;
}

/* === Header Styles === */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
}

/* Logo Section */
.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  color: #202124;
}

.logo img {
  height: 36px;
  width: auto;
}

/* Navigation Links */
.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  color: #202124;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav ul li a:hover {
  color: #2d72d9;
}

/* Highlighted Button */
.download-app-btn {
  background: #2d72d9;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
}

/* === Hamburger Menu === */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #333;
  transition: all 0.3s ease-in-out;
}

/* === Responsive Menu === */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    position: absolute;
    right: 16px;
    top: 64px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 16px;
    border-radius: 8px;
  }

  .main-nav.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}


/* === Hero Section (Gradient Only) === */
/* General Hero Styles */
.hero-section {
  background-color: #f5fdf5;
  padding: 40px 20px;
  text-align: center;
  font-family: 'Google Sans';
}

.hero-container {
  max-width: 700px;
  margin: 0 auto;
}

.hero-title {
  font-size: 24px;
  font-weight: 700;
  color: #2b6e3f;
  margin-bottom: 20px;
}


.hero-description {
  font-size: 16px;
  color: #444;
  margin-bottom: 30px;
}

/* Form Styles */
.proxy-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.url-input {
  flex: 1 1 300px;
  padding: 12px;
  border: 2px solid #2b6e3f;
  border-radius: 6px;
  font-size: 16px;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
}

/* Button Styles */
.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.paste-btn,
.browse-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.paste-btn {
  background-color: #e6f2e6;
  color: #2b6e3f;
  border: 1px solid #2b6e3f;
}

.paste-btn:hover {
  background-color: #d1ebd1;
}

.browse-btn {
  background-color: #2b6e3f;
  color: #fff;
}

.browse-btn:hover {
  background-color: #255f36;
}

/* Note */
.proxy-note {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

/* Responsive */
@media (max-width: 480px) {
  .hero-title {
    font-size: 22px;
  }

  .hero-description {
    font-size: 14px;
  }

  .url-input {
    font-size: 14px;
  }

  .paste-btn,
  .browse-btn {
    width: 100%;
  }

  .button-group {
    flex-direction: column;
  }
}


/* Form */
.download-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.download-form input[type="url"] {
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  width: 100%;
  max-width: 400px;
  outline: none;
}

.paste-btn,
.download-btn {
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.paste-btn {
  background: #f5f5f5;
  color: #4a00e0;
}

.download-btn {
  background: #ffffff;
  color: #4a00e0;
}

.download-btn:hover {
  background: #eaeaea;
}

/* Result Block */
#result {
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 12px;
  color: #fff;
  font-family: 'Google Sans', sans-serif;
}

/* Title */
#result h3 {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  word-break: break-word;
  text-align: center;
}

/* Thumbnail */
#result img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* List */
#result ul {
  list-style: none;
  padding: 0;
}

#result li {
  margin-bottom: 12px;
  font-size: 15px;
}

/* Download Button */
#result a {
  background: #ffffff;
  color: #4a00e0;
  padding: 10px 18px;
  margin-left: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

#result a:hover {
  background: #eaeaea;
}


.preview {
  margin-top: 30px;
  text-align: center;
}

.preview img {
  max-width: 250px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.download-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.download-list li {
  margin: 10px 0;
  font-size: 16px;
}

.download-button {
  display: inline-block;
  margin-left: 10px;
  padding: 10px 18px;
  background: #ffffff;
  color: #4a00e0;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease;
  border: 2px solid #4a00e0;
}

.download-button:hover {
  background: #4a00e0;
  color: #ffffff;
}

.quality {
  font-weight: bold;
  color: #ffffff;
}
.download-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.download-links a {
  display: block;
  width: 90%;
  max-width: 320px;
  text-align: center;
  box-sizing: border-box;
}


/* === Features Section === */
.features-section {
  padding: 60px 20px;
  background: #ffffff;
  color: #111;
  text-align: center;
}

.features-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
}

.features-desc {
  max-width: 750px;
  margin: 0 auto 40px;
  font-size: 1rem;
  color: #555;
}

/* Grid */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

/* Individual Feature */
.feature-item {
  width: 250px;
  text-align: center;
  padding: 10px;
}

.feature-icon {
  height: 48px;
  margin-bottom: 16px;
}

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4a00e0;
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 0.95rem;
  color: #333;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    align-items: center;
  }

  .feature-item {
    width: 100%;
    max-width: 320px;
  }
}


/* === How-To Section === */
.how-to-section {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
  color: #111;
}

.how-to-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.how-to-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1rem;
  color: #444;
}

/* Step Blocks */
.how-to-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.step-box {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
  padding: 24px;
  width: 100%;
  max-width: 300px;
  text-align: left;
  position: relative;
}

.step-number {
  font-size: 32px;
  font-weight: 700;
  color: #4a00e0;
  position: absolute;
  top: 16px;
  left: 20px;
  opacity: 0.15;
}

.step-content {
  padding-left: 32px;
}

.step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #222;
}

.step-content p {
  font-size: 0.95rem;
  color: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .how-to-steps {
    flex-direction: column;
    align-items: center;
  }

  .step-box {
    max-width: 100%;
  }
}


/* === Article Section === */
.article-section {
  padding: 60px 20px;
  background: #ffffff;
  color: #111;
  line-height: 1.7;
}

.article-section .container {
  max-width: 850px;
  margin: 0 auto;
}

.article-section h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #202124;
}

.article-section h2 {
  margin-top: 40px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #4a00e0;
}

.article-section ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.article-section ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.article-section li {
  margin-bottom: 10px;
}

.article-section a {
  color: #2d72d9;
  text-decoration: underline;
}

.article-section table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.95rem;
}

.article-section table th,
.article-section table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.article-section table th {
  background: #f1f1f1;
  font-weight: 600;
}

.article-section strong {
  font-weight: 600;
}


/* === FAQ Section === */
.faq-section {
  padding: 60px 20px;
  background: #f9f9f9;
  color: #111;
}

.faq-section .container {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 16px;
}

.faq-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #222;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 20px 24px;
  transition: all 0.3s ease-in-out;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d2e30;
  margin-bottom: 12px;
}

.faq-answer p {
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
}

/* === Responsive === */
@media (max-width: 768px) {
  .faq-title {
    font-size: 1.5rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer p {
    font-size: 0.95rem;
  }

  .faq-item {
    padding: 16px;
  }
}


/* === Footer Styles === */
.site-footer {
  background-color: #f5f5f5;
  padding: 40px 20px 20px;
  color: #333;
  font-size: 0.95rem;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  color: #222;
}

.footer-logo img {
  height: 36px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.footer-nav ul li a {
  text-decoration: none;
  color: #444;
  transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
  color: #4a00e0;
}

.footer-bottom {
  text-align: center;
  color: #777;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-nav ul {
    gap: 16px;
  }
}


/* === Back to Top Button === */
#backToTopBtn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 100;
  font-size: 22px;
  background-color: #4a00e0;
  color: white;
  border: none;
  outline: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s ease, opacity 0.3s ease;
}

#backToTopBtn:hover {
  background-color: #3700b3;
}

@media (max-width: 600px) {
  #backToTopBtn {
    bottom: 20px;
    right: 16px;
    padding: 10px 14px;
    font-size: 18px;
  }
}


/* === 404 Page === */
.error-404 {
  padding: 80px 20px;
  text-align: center;
  background: #f8f8f8;
}

.error-container {
  max-width: 700px;
  margin: 0 auto;
}

.error-container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #4a00e0;
  margin-bottom: 16px;
}

.error-container p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.back-home-btn,
.back-btn {
  background: #4a00e0;
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.back-home-btn:hover,
.back-btn:hover {
  background: #3700b3;
}

@media (max-width: 600px) {
  .error-container h1 {
    font-size: 2rem;
  }

  .back-home-btn,
  .back-btn {
    width: 100%;
    text-align: center;
  }
}


/* === Static Content Pages (About, Contact, Terms, Privacy) === */
.content-section {
  padding: 60px 20px;
  background: #ffffff;
  color: #111;
  line-height: 1.7;
}

.content-section .container {
  max-width: 850px;
  margin: 0 auto;
}

.content-section h1 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: #222;
}

.content-section p,
.content-section li {
  font-size: 1rem;
  margin-bottom: 16px;
}

.content-section ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
