/* Import Geist Sans font */
@import url('https://fonts.googleapis.com/css2?family=Geist+Sans:wght@400;500;600;700&display=swap');

/* Import Material Icons */
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Geist Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #2c3e50;
  background-color: #f8f9fa;
}

/* Typography */
h1 {
  font-size: 3rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.2 !important;
  color: #191970;
}

h2 {
  font-size: 2.25rem !important;
  font-weight: 700 !important;
  margin-top: 3rem !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.3 !important;
  color: #191970;
}

h3 {
  font-size: 1.75rem !important;
  font-weight: 600 !important;
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
  line-height: 1.4 !important;
  color: #191970;
}

p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

strong {
  font-weight: 600;
  color: #191970;
}

/* Header Navigation */
.navbar {
  background-color: #191970 !important;
  padding: 1rem 0 !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: aqua !important;
  text-decoration: none;
}

.navbar-brand:hover {
  color: aqua !important;
}

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

.navbar-burger {
  color: aqua !important;
  border-color: aqua !important;
}

.navbar-burger span {
  background-color: aqua !important;
}

.navbar-menu {
  background-color: #191970 !important;
}

.navbar-item {
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.75rem 1rem !important;
  list-style: none !important;
}

.navbar-item:hover {
  background-color: rgba(0, 255, 255, 0.1) !important;
  color: aqua !important;
}

.navbar-start .navbar-item::before,
.navbar-start .navbar-item::after,
.navbar-end .navbar-item::before,
.navbar-end .navbar-item::after {
  display: none !important;
  content: none !important;
}

/* Hero Section */
.hero.is-primary {
  background: linear-gradient(135deg, rgba(25, 25, 112, 0.95) 0%, rgba(25, 25, 112, 0.85) 100%), url('how-cashback-offers-work_6368686080.jpg') center/cover !important;
  color: #ffffff !important;
  padding: 6rem 1.5rem !important;
  min-height: 500px !important;
  display: flex !important;
  align-items: center !important;
}

.hero-body {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  color: #ffffff !important;
  font-size: 3.5rem !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
  margin-bottom: 2rem !important;
}

.hero-subtitle {
  font-size: 1.25rem !important;
  line-height: 1.8 !important;
  color: #ffffff !important;
  margin-bottom: 2rem !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Table of Contents */
.toc-section {
  background-color: #ffffff;
  padding: 3rem 1.5rem;
  border-bottom: 3px solid aqua;
}

.toc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.button.is-outlined {
  border: 2px solid #191970;
  color: #191970;
  background-color: transparent;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.button.is-outlined:hover {
  background-color: #191970;
  color: #ffffff;
  border-color: #191970;
}

/* Conversion Button */
.button.is-primary {
  background-color: aqua !important;
  color: #191970 !important;
  border: none !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  padding: 1rem 2.5rem !important;
  border-radius: 50px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3) !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  display: inline-block !important;
}

.button.is-primary:hover {
  background-color: #00d4d4 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.4) !important;
}

/* Content Sections */
.section {
  padding: 4rem 1.5rem;
}

.section:nth-child(even) {
  background-color: #ffffff;
}

.section:nth-child(odd) {
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Cards */
.card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 4px solid aqua;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.card-content {
  padding: 0;
}

.card h3 {
  margin-top: 0 !important;
  color: #191970;
}

.icon {
  color: aqua;
  font-size: 2rem;
  margin-right: 1rem;
  vertical-align: middle;
}

/* Lists */
ul, ol {
  margin-left: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
  margin-bottom: 1.5rem;
}

.content ul li,
.content ol li,
ul li,
ol li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1.8;
  font-size: 18px;
  list-style: none !important;
}

.content ul li::before,
ul li::before {
  content: '' !important;
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  background-color: aqua;
  border-radius: 50%;
}

.content ol {
  counter-reset: list-counter;
}

.content ol li,
ol li {
  counter-increment: list-counter;
}

.content ol li::before,
ol li::before {
  content: counter(list-counter) !important;
  position: absolute;
  left: 0;
  top: 0;
  color: aqua;
  font-weight: 600;
  font-size: 1rem;
}

.footer p {
  color: white !important;
}
.navbar-start li::before,
.navbar-end li::before,
.footer li::before,
.toc-buttons li::before {
  display: none !important;
  content: none !important;
}

.navbar-start ul,
.navbar-end ul,
.footer ul,
.toc-buttons {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.navbar-start li,
.navbar-end li,
.footer li {
  padding-left: 0 !important;
  list-style: none !important;
}

/* Images */
picture {
  display: block;
  margin: 2rem auto;
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Tables */
.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.table {
  width: 100%;
  background-color: #ffffff;
  border-collapse: collapse;
}

.table thead {
  background-color: #191970;
  color: #ffffff;
}

.table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}

.table td {
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  font-size: 18px;
}

.table tbody tr:hover {
  background-color: rgba(0, 255, 255, 0.05);
}

/* FAQ Section */
.faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid aqua;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  color: #191970;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
}

.faq-item p {
  margin-bottom: 0;
}

/* Footer */
.footer {
  background-color: #191970 !important;
  color: #ffffff !important;
  padding: 3rem 1.5rem 2rem !important;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h4 {
  color: aqua !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
}

.footer-column ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-column li {
  margin-bottom: 0.75rem;
  padding-left: 0 !important;
  list-style: none !important;
}

.footer-column li::before {
  display: none !important;
  content: none !important;
}

.footer-column a {
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.footer-column a:hover {
  color: aqua !important;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.95rem;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  h1 {
    font-size: 2.5rem !important;
  }

  h2 {
    font-size: 2rem !important;
  }

  h3 {
    font-size: 1.5rem !important;
  }

  .hero h1 {
    font-size: 2.75rem !important;
  }

  .section {
    padding: 3rem 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-size: 17px;
  }

  h1 {
    font-size: 2rem !important;
  }

  h2 {
    font-size: 1.75rem !important;
  }

  h3 {
    font-size: 1.4rem !important;
  }

  .hero h1 {
    font-size: 2.25rem !important;
  }

  .hero-subtitle {
    font-size: 1.1rem !important;
  }

  .hero.is-primary {
    padding: 4rem 1.5rem !important;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .button.is-primary {
    font-size: 1rem !important;
    padding: 0.875rem 2rem !important;
  }

  .toc-buttons {
    gap: 0.75rem;
  }

  .button.is-outlined {
    font-size: 0.95rem;
    padding: 0.625rem 1.25rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .table-container {
    margin: 1.5rem -1rem;
  }
}

@media screen and (max-width: 480px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 1.75rem !important;
  }

  h2 {
    font-size: 1.5rem !important;
  }

  h3 {
    font-size: 1.25rem !important;
  }

  .hero h1 {
    font-size: 2rem !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
  }

  p, .content ul li, ul li, ol li, .table td {
    font-size: 16px;
  }

  .button.is-primary {
    padding: 0.75rem 1.75rem !important;
  }

  .card {
    padding: 1.25rem;
  }
}

/* Accessibility */
a:focus,
button:focus,
.button:focus {
  outline: 2px solid aqua;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .button {
    display: none;
  }

  .section {
    page-break-inside: avoid;
  }
}
