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

:root {
  --primary-blue: #0d47a1;
  --secondary-blue: #1976d2;
  --light-blue: #42a5f5;
  --primary-gold: #ffc107;
  --secondary-gold: #ffd54f;
  --dark-gold: #ffa000;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --danger-red: #d32f2f;
  --success-green: #388e3c;
  --border-color: #e0e0e0;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

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

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.flag {
  font-size: 24px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

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

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-gold);
}

.cta-button {
  background: var(--primary-gold);
  color: var(--primary-blue);
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.cta-button:hover {
  background: var(--secondary-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color: white;
  padding: 60px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 15px;
  opacity: 0.95;
}

.cta-button-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-gold);
  color: var(--primary-blue);
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
  margin-top: 20px;
}

.cta-button-large:hover {
  background: var(--secondary-gold);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

/* Section Styles */
.section {
  padding: 60px 0;
}

.section-light {
  background-color: var(--bg-light);
}

.section-danger {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe5e5 100%);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 30px;
  text-align: center;
}

.subsection-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-blue);
  margin: 30px 0 20px;
}

.content-block {
  max-width: 900px;
  margin: 0 auto;
}

.content-block p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Feature List */
.feature-list {
  list-style: none;
  margin: 25px 0;
}

.feature-list li {
  padding: 15px;
  margin-bottom: 15px;
  background: white;
  border-left: 4px solid var(--primary-gold);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-list i {
  color: var(--primary-blue);
  font-size: 1.3rem;
  margin-top: 3px;
}

/* Numbered List */
.numbered-list {
  margin: 25px 0;
  padding-left: 25px;
}

.numbered-list li {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Two Column Layout */
.two-column-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.column-image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

/* Tables */
.table-responsive {
  overflow-x: auto;
  margin: 30px 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table thead {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  color: white;
}

.comparison-table th,
.comparison-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  font-weight: 600;
}

.comparison-table tbody tr:hover {
  background-color: var(--bg-light);
}

.comparison-table .positive {
  color: var(--success-green);
}

.comparison-table .negative {
  color: var(--danger-red);
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
  padding: 25px;
  border-radius: 10px;
  margin: 30px 0;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  box-shadow: var(--shadow);
}

.highlight-box i {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-top: 3px;
}

.highlight-box p {
  margin: 0;
  color: var(--text-dark);
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 30px 0;
}

.step-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary-blue);
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary-gold);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.step-card h4 {
  color: var(--primary-blue);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.step-card p {
  margin: 0;
  color: var(--text-light);
}

/* Risk Grid */
.risk-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 30px 0;
}

.risk-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--danger-red);
}

.risk-card i {
  font-size: 2rem;
  color: var(--danger-red);
  margin-bottom: 15px;
}

.risk-card h4 {
  color: var(--danger-red);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.risk-card p {
  margin: 0;
  color: var(--text-light);
}

/* Author Section */
.author-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  margin: 30px 0;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.author-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  display: block;
}

.author-content p {
  margin-bottom: 15px;
}

/* Advice Grid */
.advice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin: 30px 0;
}

.advice-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary-gold);
}

.advice-card h4 {
  color: var(--primary-blue);
  margin-bottom: 15px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.advice-card ul {
  list-style: none;
  padding-left: 0;
}

.advice-card li {
  padding: 10px 0;
  padding-left: 25px;
  position: relative;
}

.advice-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-gold);
  font-weight: 700;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 800;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h4 {
  color: var(--primary-gold);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-gold);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-gold);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 5px 0;
  opacity: 0.8;
  font-size: 0.9rem;
}

.disclaimer {
  color: var(--primary-gold);
  font-weight: 600;
}

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

  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--primary-blue);
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px;
    transition: left 0.3s ease;
    gap: 20px;
  }

  .nav.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.2rem;
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .subsection-title {
    font-size: 1.2rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .comparison-table {
    font-size: 0.9rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px;
  }
}

/* Tablet Styles */
@media (min-width: 769px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }

  .two-column-layout {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .risk-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advice-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .author-section {
    grid-template-columns: 300px 1fr;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .risk-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}
