/* ============================================
   Image Compressor - Modern SaaS Style
   ============================================ */

/* CSS Variables for consistent theming */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --primary-color: #667eea;
  --primary-dark: #5a6fd6;
  --secondary-color: #764ba2;
  --text-dark: #1a1a2e;
  --text-muted: #6c757d;
  --bg-light: #f8f9fe;
  --border-radius: 16px;
  --border-radius-sm: 12px;
  --border-radius-xs: 8px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 8px 30px rgba(102, 126, 234, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global resets */
* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Vue cloak */
[v-cloak] {
  display: none;
}

/* ============================================
   Navigation Bar
   ============================================ */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
  letter-spacing: -0.5px;
}

.navbar-brand:hover {
  color: var(--primary-dark) !important;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--border-radius-xs);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color) !important;
  background: var(--bg-light);
}

/* ============================================
   Hero Section (Jumbotron)
   ============================================ */
.jumbotron {
  background: var(--primary-gradient) !important;
  border-radius: 0 !important;
  padding: 6rem 0 5rem !important;
  margin-bottom: 0 !important;
  position: relative;
  overflow: hidden;
}

.jumbotron::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.jumbotron::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  pointer-events: none;
}

.jumbotron h1 {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.jumbotron .lead {
  font-size: 1.35rem;
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.7;
  max-width: 600px;
}

.jumbotron .badge {
  font-size: 0.95rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: 50px;
  margin: 0.3rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.jumbotron .badge:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px);
}

.jumbotron .display-1 {
  font-size: 5rem;
  opacity: 0.9;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.jumbotron .text-white-50 {
  opacity: 0.8;
  font-size: 1.1rem;
}

/* ============================================
   Features Section
   ============================================ */
section.my-5:first-of-type {
  padding: 4rem 0 2rem !important;
}

section.my-5:first-of-type .card {
  border: none !important;
  border-radius: var(--border-radius) !important;
  padding: 2.5rem 2rem !important;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

section.my-5:first-of-type .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
}

section.my-5:first-of-type .card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

section.my-5:first-of-type .card:hover::before {
  opacity: 1;
}

section.my-5:first-of-type .display-3 {
  font-size: 3.5rem;
  margin-bottom: 1.25rem !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

section.my-5:first-of-type .h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

section.my-5:first-of-type .text-muted {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #8492a6 !important;
}

/* ============================================
   Supported Formats Section
   ============================================ */
section.my-5.text-center {
  padding: 2rem 0 3rem !important;
}

section.my-5.text-center .h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem !important;
}

.badge-pill.badge-light.border {
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  padding: 1rem 2rem !important;
  margin: 0.5rem !important;
  border-radius: 50px !important;
  background: #fff !important;
  border: 2px solid #e9ecef !important;
  color: var(--text-dark) !important;
  transition: var(--transition);
  cursor: default;
}

.badge-pill.badge-light.border:hover {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ============================================
   CTA Section (Compress Your Images Now)
   ============================================ */
h3.mt-5 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-top: 3rem !important;
  margin-bottom: 0.5rem;
}

h3.mt-5 + hr {
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  border: none;
  border-radius: 2px;
  margin: 0 auto 2rem;
  opacity: 1;
}

/* ============================================
   Upload Zone
   ============================================ */
#app > .card.bg-light {
  border: 3px dashed #d1d9e6 !important;
  border-radius: var(--border-radius) !important;
  background: linear-gradient(135deg, #f8f9fe 0%, #f0f4ff 100%) !important;
  padding: 1rem;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

#app > .card.bg-light:hover {
  border-color: var(--primary-color) !important;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%) !important;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

#app > .card.bg-light .card-body {
  padding: 3.5rem 2rem !important;
  text-align: center;
}

#app > .card.bg-light .p-5 {
  padding: 2rem !important;
}

#app > .card.bg-light .p-5.text-center {
  font-size: 1.2rem;
  color: #8492a6;
  font-weight: 400;
}

#app > .card.bg-light label.text-primary {
  color: var(--primary-color) !important;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 2px;
  transition: var(--transition);
}

#app > .card.bg-light label.text-primary:hover {
  color: var(--primary-dark) !important;
  border-bottom-color: var(--primary-dark);
}

/* ============================================
   Options Panel
   ============================================ */
.col-lg-4 .card {
  border: none !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.col-lg-4 .card-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.25rem 1.5rem !important;
  border: none !important;
}

.col-lg-4 .card-body {
  padding: 1.5rem !important;
  background: #fff;
}

.col-lg-4 .form-group {
  margin-bottom: 1.25rem;
}

.col-lg-4 .col-5.col-form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  padding-right: 0.5rem;
}

.col-lg-4 .form-control {
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius-xs);
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  transition: var(--transition);
}

.col-lg-4 .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.col-lg-4 .form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
  cursor: pointer;
}

.col-lg-4 .form-check-label {
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  padding-left: 0.5rem;
}

.col-lg-4 select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
}

/* ============================================
   Preview Cards (Input/Output)
   ============================================ */
.col-lg-8 .card {
  border: none !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.col-lg-8 .card:hover {
  box-shadow: var(--shadow-md);
}

.col-lg-8 .card-header {
  background: #fff !important;
  border-bottom: 2px solid var(--bg-light) !important;
  padding: 1.25rem 1.5rem !important;
  font-weight: 600;
}

.col-lg-8 .card-header span {
  font-size: 1.05rem;
  color: var(--text-dark);
}

.col-lg-8 .card-header small {
  font-weight: 400;
  color: var(--text-muted);
}

.col-lg-8 .card-body {
  padding: 1.5rem !important;
}

.col-lg-8 .card img {
  border-radius: var(--border-radius-xs);
  box-shadow: var(--shadow-sm);
  max-height: 200px;
  object-fit: contain;
}

.col-lg-8 dl {
  margin-bottom: 0;
}

.col-lg-8 dt {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.col-lg-8 dd {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn-outline-primary {
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.85rem;
}

/* ============================================
   Compare Images Section
   ============================================ */
#app > .card:last-child {
  border: none !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

#app > .card:last-child .card-header {
  background: #fff !important;
  border-bottom: 2px solid var(--bg-light) !important;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 1.25rem 1.5rem !important;
}

#app > .card:last-child .card-body {
  padding: 1.5rem !important;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  font-size: 0.875rem;
  background: var(--bg-light);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.heart {
  color: #ddd;
  display: block;
  height: 2rem;
  line-height: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  text-align: center;
  width: 100%;
}

.heart:hover {
  color: #ff4136;
}

.heart::before {
  border-top: 1px solid #e9ecef;
  content: " ";
  display: block;
  height: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 50%;
}

.heart::after {
  background-color: var(--bg-light);
  content: "♥";
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  position: relative;
  z-index: 1;
}

.footer .nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
}

.footer .nav-link:hover {
  color: var(--primary-color) !important;
  background: transparent !important;
}

/* ============================================
   Carbon Ads (keep but style)
   ============================================ */
.carbonads {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
  overflow: hidden;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.carbon-wrap {
  overflow: hidden;
}

.carbon-img {
  clear: left;
  display: block;
  float: left;
}

.carbon-text,
.carbon-poweredby {
  display: block;
  margin-left: 140px;
}

.carbon-text,
.carbon-text:hover,
.carbon-text:focus {
  color: #fff;
  text-decoration: none;
}

.carbon-poweredby,
.carbon-poweredby:hover,
.carbon-poweredby:focus {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

@media (min-width: 768px) {
  .carbonads {
    float: right;
    margin-bottom: -1rem;
    margin-top: -1rem;
    max-width: 360px;
  }
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
  .jumbotron {
    padding: 4rem 0 3.5rem !important;
  }

  .jumbotron h1 {
    font-size: 2.5rem;
  }

  .jumbotron .lead {
    font-size: 1.15rem;
  }

  .jumbotron .display-1 {
    font-size: 4rem;
    margin-top: 2rem;
  }

  section.my-5:first-of-type .card {
    padding: 2rem 1.5rem !important;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 0;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .jumbotron {
    padding: 3rem 0 2.5rem !important;
    text-align: center;
  }

  .jumbotron h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .jumbotron .lead {
    font-size: 1rem;
    margin-bottom: 1.25rem !important;
  }

  .jumbotron .badge {
    font-size: 0.85rem;
    padding: 0.5rem 1rem !important;
    margin: 0.25rem;
  }

  .jumbotron .display-1 {
    font-size: 3.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem !important;
  }

  .jumbotron .text-white-50 {
    font-size: 0.95rem;
  }

  /* Features */
  section.my-5:first-of-type .card {
    margin-bottom: 1rem !important;
  }

  section.my-5:first-of-type .display-3 {
    font-size: 2.5rem;
  }

  /* Upload Zone */
  #app > .card.bg-light .card-body {
    padding: 2.5rem 1.5rem !important;
  }

  #app > .card.bg-light .p-5.text-center {
    font-size: 1.05rem;
  }

  /* Options Panel */
  .col-lg-4 .card-body {
    padding: 1.25rem !important;
  }

  .col-lg-4 .col-5.col-form-label {
    font-size: 0.85rem;
  }

  .col-lg-4 .form-control {
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
  }

  /* Preview Cards */
  .col-lg-8 .card-header {
    padding: 1rem 1.25rem !important;
  }

  .col-lg-8 .card-body {
    padding: 1.25rem !important;
  }

  .col-lg-8 .card img {
    max-height: 150px;
    margin-bottom: 1rem;
  }

  /* CTA */
  h3.mt-5 {
    font-size: 1.5rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 0 1.5rem;
    margin-top: 3rem;
  }

  .footer .nav-link {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.9rem;
  }
}

/* Small Mobile */
@media (max-width: 576px) {
  .jumbotron {
    padding: 2.5rem 0 2rem !important;
  }

  .jumbotron h1 {
    font-size: 1.75rem;
  }

  .jumbotron .badge {
    display: inline-block;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem !important;
  }

  .jumbotron .display-1 {
    font-size: 3rem;
  }

  /* Upload Zone */
  #app > .card.bg-light .card-body {
    padding: 2rem 1rem !important;
  }

  #app > .card.bg-light .p-5.text-center {
    font-size: 0.95rem;
  }

  /* Options */
  .col-lg-4 .form-group {
    margin-bottom: 1rem;
  }

  /* Badges */
  .badge-pill.badge-light.border {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.9rem !important;
  }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jumbotron .row {
  animation: fadeInUp 0.6s ease-out;
}

section.my-5:first-of-type .row {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* ============================================
   Utility Classes
   ============================================ */
.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.rounded {
  border-radius: var(--border-radius-xs) !important;
}

/* ============================================
   Upload Zone - Enhanced
   ============================================ */
.upload-zone {
  position: relative;
}

.upload-zone .card-body {
  padding: 3rem 2rem !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.upload-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  opacity: 0.8;
  transition: var(--transition);
}

.upload-zone:hover .upload-icon {
  opacity: 1;
  transform: translateY(-5px);
}

.upload-text {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.upload-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.upload-browse {
  color: var(--primary-color);
  font-weight: 600;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 2px;
  cursor: pointer;
  transition: var(--transition);
}

.upload-browse:hover {
  color: var(--primary-dark);
  border-bottom-color: var(--primary-dark);
}

.upload-formats {
  font-size: 0.9rem;
  color: #a0aec0;
  margin-bottom: 0;
}

/* ============================================
   Status Messages (Loading/Success)
   ============================================ */
.status-container {
  min-height: 60px;
}

.status-message {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  font-size: 1rem;
  animation: fadeInUp 0.3s ease-out;
}

/* Loading State */
.status-loading {
  background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
  border: 2px solid #667eea30;
  color: var(--primary-color);
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #667eea30;
  border-top-color: var(--primary-color);
  border-radius: 50%;
  margin-right: 0.75rem;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success State */
.status-success {
  background: linear-gradient(135deg, #10b98115 0%, #05966915 100%);
  border: 2px solid #10b98130;
  color: #059669;
}

.status-icon {
  font-size: 1.25rem;
  margin-right: 0.75rem;
  font-weight: 700;
}

.status-reduction {
  margin-left: 0.75rem;
  padding-left: 0.75rem;
  border-left: 2px solid #10b98130;
  font-weight: 700;
}

/* ============================================
   Responsive for Upload & Status
   ============================================ */
@media (max-width: 768px) {
  .upload-zone .card-body {
    padding: 2.5rem 1.5rem !important;
  }

  .upload-icon svg {
    width: 48px;
    height: 48px;
  }

  .upload-text {
    font-size: 1.15rem;
  }

  .upload-subtext {
    font-size: 0.95rem;
  }

  .status-message {
    flex-wrap: wrap;
    text-align: center;
    padding: 0.875rem 1.25rem;
    font-size: 0.9rem;
  }

  .status-reduction {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 0.5rem;
    width: 100%;
  }
}

@media (max-width: 576px) {
  .upload-zone .card-body {
    padding: 2rem 1rem !important;
  }

  .upload-icon svg {
    width: 40px;
    height: 40px;
  }

  .upload-text {
    font-size: 1.05rem;
  }

  .upload-subtext {
    font-size: 0.9rem;
  }

  .upload-formats {
    font-size: 0.8rem;
  }
}

/* ============================================
   How to Use Section
   ============================================ */
.how-to-section {
  background: #fff;
}

.how-to-section h2 {
  font-size: 2rem;
  color: var(--text-dark);
}

.how-to-section .card {
  border-radius: var(--border-radius) !important;
  transition: var(--transition);
}

.how-to-section .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md) !important;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.how-to-section .h5 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.how-to-section .text-muted {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================
   Why Choose Section
   ============================================ */
.why-choose-section {
  background: var(--bg-light) !important;
}

.why-choose-section h2 {
  font-size: 2rem;
  color: var(--text-dark);
}

.why-choose-section .card {
  border-radius: var(--border-radius) !important;
  transition: var(--transition);
  background: #fff;
}

.why-choose-section .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md) !important;
}

.feature-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.why-choose-section .h6 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.why-choose-section .small {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
  background: #fff;
}

.faq-section h2 {
  font-size: 2rem;
  color: var(--text-dark);
}

.faq-section .card {
  border-radius: var(--border-radius-sm) !important;
  overflow: hidden;
}

.faq-section .card-header {
  background: #fff !important;
}

.faq-section .btn-link {
  text-decoration: none !important;
  font-size: 1.05rem;
  transition: var(--transition);
}

.faq-section .btn-link:hover {
  color: var(--primary-color) !important;
}

.faq-section .btn-link:focus {
  box-shadow: none;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary-color);
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

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

.faq-section .card-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #8492a6;
}

/* ============================================
   Footer - Updated
   ============================================ */
.footer {
  background: var(--bg-light);
  padding: 3rem 0 2rem;
  margin-top: 0;
}

.footer h4 {
  color: var(--text-dark);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer ul {
  padding-left: 0;
}

.footer ul li a {
  font-size: 0.9rem;
  transition: var(--transition);
  text-decoration: none;
}

.footer ul li a:hover {
  color: var(--primary-color) !important;
  padding-left: 5px;
}

.footer hr {
  border-color: #e9ecef;
  margin: 2rem 0;
}

.footer .text-muted.small {
  font-size: 0.8rem;
}

/* ============================================
   Responsive for New Sections
   ============================================ */
@media (max-width: 768px) {
  /* How to Use */
  .how-to-section h2,
  .why-choose-section h2,
  .faq-section h2 {
    font-size: 1.5rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  /* Why Choose */
  .feature-icon {
    font-size: 1.75rem;
  }

  /* FAQ */
  .faq-section .btn-link {
    font-size: 0.95rem;
  }

  .faq-icon {
    font-size: 1.25rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 0 1.5rem;
  }

  .footer .col-md-4 {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }

  .how-to-section .card {
    padding: 1.5rem !important;
  }

  .why-choose-section .card {
    padding: 1.25rem !important;
  }

  .faq-section .btn-link {
    font-size: 0.9rem;
    padding: 0.75rem 1rem !important;
  }
}

/* ============================================
   404 Error Page
   ============================================ */
.error-page {
  background: var(--bg-light);
  min-height: 60vh;
}

.error-code {
  font-size: 8rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

.error-page h1 {
  color: var(--text-dark);
}

.error-page .btn-primary {
  background: var(--primary-gradient);
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: var(--transition);
}

.error-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.error-page .badge-light.border {
  font-size: 0.9rem !important;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  text-decoration: none;
}

.error-page .badge-light.border:hover {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .error-code {
    font-size: 5rem;
  }

  .error-page h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .error-code {
    font-size: 4rem;
  }
}
