/* 
 * 4K Video Downloader - Main Stylesheet
 * Author: Manus
 * Date: 2025-06-07
 */

/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1E88E5;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1565C0;
}

ul, ol {
  list-style-position: inside;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #333333;
}

h1 {
  font-size: 2.5rem; /* 40px */
}

h2 {
  font-size: 2rem; /* 32px */
}

h3 {
  font-size: 1.5rem; /* 24px */
}

h4 {
  font-size: 1.25rem; /* 20px */
}

p {
  margin-bottom: 1rem;
}

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

.text-right {
  text-align: right;
}

.text-primary {
  color: #1E88E5;
}

.text-secondary {
  color: #666666;
}

.text-white {
  color: #ffffff;
}

.text-small {
  font-size: 0.875rem; /* 14px */
}

.text-large {
  font-size: 1.125rem; /* 18px */
}

.text-bold {
  font-weight: 700;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.col {
  flex: 1;
  padding: 0 1rem;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

.section {
  padding: 4rem 0;
}

.section-sm {
  padding: 2rem 0;
}

.section-lg {
  padding: 6rem 0;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.header-transparent {
  background-color: transparent;
  box-shadow: none;
}

.header-transparent .nav-link {
  color: #ffffff;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

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

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin: 0 1rem;
}

.nav-link {
  color: #333333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #1E88E5;
}

.nav-link.active {
  color: #1E88E5;
}

.nav-cta {
  margin-left: 1rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #333333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 8px;
}

.hamburger span:nth-child(3) {
  top: 16px;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding: 8rem 0 6rem;
  background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
}

.hero-badge i {
  margin-right: 0.5rem;
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: 6rem 0;
}

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

.feature-card {
  padding: 2rem;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-description {
  color: #666666;
}

/* ===== PRICING SECTION ===== */
.pricing {
  padding: 6rem 0;
  background-color: #f5f5f5;
}

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

.pricing-card {
  padding: 2rem;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.pricing-card.highlighted {
  position: relative;
  border: 2px solid #1E88E5;
  transform: scale(1.05);
}

.pricing-card.highlighted::before {
  content: "Polecany";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1E88E5;
  color: #ffffff;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #1E88E5;
}

.pricing-period {
  font-size: 1rem;
  color: #666666;
}

.pricing-features {
  margin: 2rem 0;
  text-align: left;
}

.pricing-feature {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.pricing-feature i {
  color: #1E88E5;
  margin-right: 0.75rem;
}

/* ===== COMPARISON SECTION ===== */
.comparison {
  padding: 6rem 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #eeeeee;
}

.comparison-table th {
  background-color: #1E88E5;
  color: #ffffff;
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background-color: #f5f5f5;
}

.comparison-table tr:hover {
  background-color: #f0f0f0;
}

.comparison-table .feature-name {
  text-align: left;
  font-weight: 600;
}

.comparison-table .check {
  color: #1E88E5;
}

.comparison-table .cross {
  color: #cccccc;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
  padding: 6rem 0;
  background-color: #f5f5f5;
}

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

.step {
  position: relative;
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background-color: #1E88E5;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.step-title {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.step-description {
  color: #666666;
}

.step-image {
  margin-top: 1.5rem;
  border-radius: 4px;
  overflow: hidden;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  padding: 6rem 0;
}

.testimonial-slider {
  position: relative;
  margin-top: 3rem;
}

.testimonial-slide {
  padding: 2rem;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-rating {
  color: #FF9800;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
}

.testimonial-date {
  font-size: 0.875rem;
  color: #666666;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.testimonial-nav-item {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #cccccc;
  margin: 0 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.testimonial-nav-item.active {
  background-color: #1E88E5;
}

/* ===== FAQ SECTION ===== */
.faq {
  padding: 6rem 0;
  background-color: #f5f5f5;
}

.accordion {
  margin-top: 3rem;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  background-color: #ffffff;
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-title {
  font-weight: 600;
  margin: 0;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-content {
  background-color: #f9f9f9;
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 1.5rem;
  max-height: 500px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* ===== CTA SECTION ===== */
.cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
  color: #ffffff;
  text-align: center;
}

.cta-title {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.cta-description {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== FOOTER ===== */
.footer {
  padding: 4rem 0 2rem;
  background-color: #333333;
  color: #ffffff;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.footer-description {
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-title {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 0.75rem;
}

.footer-link a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-link a:hover {
  color: #ffffff;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: #1E88E5;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.7);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-nav-link:hover {
  color: #ffffff;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #1E88E5 0%, #1565C0 100%);
  color: #ffffff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1976D2 0%, #0D47A1 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(30, 136, 229, 0.3);
}

.btn-secondary {
  background-color: #ffffff;
  color: #1E88E5;
  border: 2px solid #1E88E5;
}

.btn-secondary:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ===== UTILITIES ===== */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

.px-1 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-3 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }
.px-5 { padding-left: 3rem; padding-right: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-inline-block { display: inline-block; }

.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-around { justify-content: space-around; }

.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.bg-primary { background-color: #1E88E5; }
.bg-secondary { background-color: #f5f5f5; }
.bg-white { background-color: #ffffff; }
.bg-dark { background-color: #333333; }

.rounded { border-radius: 4px; }
.rounded-lg { border-radius: 8px; }
.rounded-circle { border-radius: 50%; }

.shadow-sm { box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); }
.shadow { box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); }
.shadow-lg { box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .nav-list {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .nav-mobile {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    display: none;
  }
  
  .nav-mobile.active {
    display: block;
  }
  
  .nav-mobile .nav-list {
    display: block;
  }
  
  .nav-mobile .nav-item {
    margin: 0;
  }
  
  .nav-mobile .nav-link {
    display: block;
    padding: 0.75rem 1.5rem;
  }
  
  .nav-mobile .nav-cta {
    margin: 1rem 1.5rem;
  }
  
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .container {
    width: 100%;
    padding: 0 1.5rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.375rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-lg {
    padding: 4rem 0;
  }
  
  .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .pricing-grid,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.highlighted {
    transform: scale(1);
  }
  
  .comparison-table {
    display: block;
    overflow-x: auto;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 0.75rem;
  }
}

