/* nolcard.ae - Clean Modern Design */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #FF3B30;
  --secondary: #007AFF;
  --dark: #1C1C1E;
  --gray: #8E8E93;
  --light-gray: #F2F2F7;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.12);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  font-size: 1.0625rem;
  color: var(--gray);
  line-height: 1.7;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.7;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.section {
  padding: 80px 0;
}

main {
  padding-top: 70px;
  min-height: calc(100vh - 300px);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  max-width: 1600px;
  margin: 0 auto;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}

.main-nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--dark);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
}

.menu-toggle {
  display: none;
}

.disclaimer-banner {
  background: var(--dark);
  color: white;
  padding: 0.625rem 0;
  text-align: center;
  font-size: 0.8125rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.125rem;
  max-width: 700px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-8px);
}

.card-image {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: var(--light-gray);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.card-text {
  color: var(--gray);
  font-size: 0.9375rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.card-footer {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.info-box {
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 2rem 0;
}

.info-box.warning {
  background: #FFF9E6;
}

.info-box-title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--secondary);
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  background: rgba(0, 122, 255, 0.08);
  transition: all 0.2s;
}

.source-link:hover {
  background: rgba(0, 122, 255, 0.15);
}

.source-link::before {
  content: '↗';
  font-size: 0.875rem;
}

.site-footer {
  background: var(--dark);
  color: white;
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 3rem;
}

.footer-col h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-col h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.875rem;
  font-weight: 600;
  opacity: 0.9;
}

.footer-col p {
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0.7;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.625rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  max-width: 1600px;
  margin: 0 auto;
  padding-left: 3rem;
  padding-right: 3rem;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 2rem 0;
}

thead {
  background: var(--dark);
}

thead th {
  padding: 1.125rem 1.25rem;
  color: white;
  font-weight: 600;
  text-align: left;
  font-size: 0.9375rem;
}

tbody tr {
  background: white;
  transition: background 0.2s;
}

tbody tr:nth-child(even) {
  background: var(--light-gray);
}

tbody tr:hover {
  background: rgba(255, 59, 48, 0.04);
}

tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.9375rem;
}

@media (max-width: 1200px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .container,
  .header-content,
  .footer-grid,
  .footer-bottom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  main {
    padding-top: 60px;
  }

  .main-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    padding: 2rem 1.5rem;
    transform: translateY(-200%);
    transition: transform 0.3s;
    box-shadow: var(--shadow-hover);
  }

  .main-nav.active {
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .hero {
    min-height: 75vh;
    margin-top: -60px;
    padding-top: 60px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 60px 0;
  }
}

.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: 3rem;
}

.mb-lg {
  margin-bottom: 3rem;
}