@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #262626;
  background-color: #fafafa;
}

/* Navigation styles */
nav ul,
nav ol,
footer ul,
footer ol {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

nav ul li::before,
nav ol li::before,
nav ul li::after,
nav ol li::after,
footer ul li::before,
footer ol li::before,
footer ul li::after,
footer ol li::after {
  display: none !important;
  content: none !important;
}

/* Content lists styling */
article ul,
article ol,
section ul,
section ol,
main ul,
main ol {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 1.5rem 0;
}

article ul li,
section ul li,
main ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

article ul li::before,
section ul li::before,
main ul li::before {
  content: "" !important;
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #0ea5e9;
}

article ol,
section ol,
main ol {
  counter-reset: list-counter;
}

article ol li,
section ol li,
main ol li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  counter-increment: list-counter;
  line-height: 1.8;
}

article ol li::before,
section ol li::before,
main ol li::before {
  content: counter(list-counter) "." !important;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  color: #0ea5e9;
}

/* Headers styling */
h1 {
  font-size: 3rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-bottom: 1.5rem !important;
  color: #171717 !important;
}

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

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

p {
  font-size: 18px !important;
  line-height: 1.8 !important;
  margin-bottom: 1.5rem !important;
  color: #525252 !important;
}

/* Hero section */
.hero-section {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #fafafa 0%, #e5e5e5 100%) !important;
  padding: 5rem 1.5rem !important;
  min-height: 500px !important;
}

.hero-section::before {
  content: "" !important;
  position: absolute !important;
  top: -50% !important;
  right: -20% !important;
  width: 600px !important;
  height: 600px !important;
  background: #0ea5e9 !important;
  opacity: 0.1 !important;
  border-radius: 50% !important;
  z-index: 0 !important;
}

.hero-section::after {
  content: "" !important;
  position: absolute !important;
  bottom: -30% !important;
  left: -15% !important;
  width: 500px !important;
  height: 500px !important;
  background: #737373 !important;
  opacity: 0.08 !important;
  border-radius: 50% !important;
  z-index: 0 !important;
}

.hero-content {
  position: relative !important;
  z-index: 1 !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}

.hero-section h1 {
  color: #171717 !important;
  font-size: 3.5rem !important;
  font-weight: 800 !important;
  margin-bottom: 1.5rem !important;
}

.hero-section p {
  color: #404040 !important;
  font-size: 1.25rem !important;
  margin-bottom: 2rem !important;
}

/* Conversion buttons */
.cta-button {
  display: inline-block !important;
  padding: 1rem 2.5rem !important;
  background: #0ea5e9 !important;
  color: #ffffff !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  border-radius: 0.5rem !important;
  transition: all 0.3s ease !important;
  white-space: nowrap !important;
  text-align: center !important;
  border: none !important;
  cursor: pointer !important;
}

.cta-button:hover {
  background: #0284c7 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.3) !important;
}

/* Navigation */
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

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

.brand img {
  width: 40px;
  height: 40px;
  box-shadow: none !important;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-menu a {
  color: #525252;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.nav-menu a:hover {
  color: #0ea5e9;
}

.nav-menu .cta-button {
  padding: 0.75rem 1.5rem !important;
  font-size: 1rem !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #171717;
}

/* Sections */
section {
  max-width: 1280px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

/* Cards */
.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

/* Images */
picture img {
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  min-width: 600px;
}

thead {
  background: #f5f5f5;
}

th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 600;
  color: #171717;
  font-size: 1rem;
  border-bottom: 2px solid #e5e5e5;
}

td {
  padding: 1.25rem 1.5rem;
  color: #525252;
  font-size: 1rem;
  border-bottom: 1px solid #f5f5f5;
}

tbody tr:hover {
  background: #fafafa;
}

/* Footer */
footer {
  background: #262626;
  color: #d4d4d4;
  padding: 3rem 1.5rem 2rem;
  margin-top: 5rem;
}

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

.footer-section h3 {
  color: #ffffff !important;
  font-size: 1.25rem !important;
  margin-bottom: 1.25rem !important;
  margin-top: 0 !important;
}

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

.footer-section ul li {
  margin-bottom: 0.75rem;
  padding-left: 0 !important;
}

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

.footer-section a {
  color: #d4d4d4;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.footer-section a:hover {
  color: #0ea5e9;
}

.footer-bottom {
  max-width: 1280px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #404040;
  text-align: center;
}

.footer-bottom p {
  color: #a3a3a3 !important;
  font-size: 0.95rem !important;
  margin: 0 !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    width: 100%;
    text-align: center;
  }

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

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

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

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

  .hero-section {
    padding: 3rem 1.5rem !important;
    min-height: 400px !important;
  }

  section {
    margin: 2rem auto;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

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

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

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

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

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

  .hero-section {
    padding: 2.5rem 1rem !important;
  }

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