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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* CSS Variables - Mountain/Financial Theme */
:root {
  --primary-navy: #1e3a8a;
  --secondary-slate: #475569;
  --accent-gold: #d97706;
  --accent-copper: #c2410c;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --bg-primary: #ffffff;
  --bg-secondary: #f1f5f9;
  --bg-alt: #e2e8f0;
  --border-color: #cbd5e1;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --container-max: 1200px;
  --container-padding: 1.5rem;
  --border-radius: 0.75rem;
  --transition: all 0.3s ease;
}

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-slate) 100%);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo {
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: var(--transition);
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: white;
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-slate) 50%, var(--bg-secondary) 100%);
  color: white;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  font-weight: 300;
}

.hero-cta {
  margin-bottom: 3rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
  color: white;
  padding: 1.25rem 2.5rem;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.2);
}

.hero-image {
  margin-top: 3rem;
}

.hero-image img {
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-secondary);
}

.lead {
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

h1,
h2,
h3,
h4 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
  border-radius: 2px;
}

h3 {
  font-size: 1.75rem;
  color: var(--primary-navy);
}

h4 {
  font-size: 1.375rem;
  color: var(--secondary-slate);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

ul,
ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
  position: relative;
}

ul li::before {
  content: "▸";
  color: var(--accent-gold);
  font-weight: bold;
  position: absolute;
  left: -1.5rem;
}

/* Advantages Grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.advantage-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
}

.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

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

/* Disadvantages List */
.disadvantages-list {
  margin: 3rem 0;
}

.disadvantage-item {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid #ef4444;
}

/* Dollar Advantages */
.dollar-advantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.dollar-advantage {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  border-left: 5px solid #10b981;
}

/* Comparison Scenarios */
.comparison-scenarios {
  margin: 3rem 0;
}

.scenario-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.scenario-card h3 {
  color: var(--primary-navy);
  border-bottom: 3px solid var(--accent-gold);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.scenario-budget {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent-copper);
  margin-bottom: 2rem;
  text-align: center;
  background: var(--bg-secondary);
  padding: 1rem;
  border-radius: var(--border-radius);
}

.currency-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.currency-option {
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
}

.peso-option {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(30, 58, 138, 0.1));
  border-color: var(--primary-navy);
}

.dollar-option {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.1));
  border-color: #10b981;
}

.currency-option h4 {
  color: var(--primary-navy);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.scenario-conclusion {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(194, 65, 12, 0.1));
  border-radius: var(--border-radius);
  border-left: 5px solid var(--accent-gold);
}

.scenario-conclusion p {
  font-style: italic;
  color: var(--primary-navy);
  font-weight: 500;
  margin-bottom: 0;
}

/* Recommendations Grid */
.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin: 4rem 0;
}

.recommendation-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.card-header {
  padding: 2rem 2rem 1rem;
  background: linear-gradient(135deg, var(--primary-navy), var(--secondary-slate));
  color: white;
}

.card-header h3 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.profile-desc {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.card-content {
  padding: 2rem;
}

.recommendation-text {
  font-weight: 600;
  color: var(--accent-copper);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* Player Type Specific Colors */
.new-player .card-header {
  background: linear-gradient(135deg, #10b981, #059669);
}

.recreational-player .card-header {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.serious-player .card-header {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-copper));
}

.high-roller .card-header {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* Final Conclusions */
.final-conclusions {
  margin: 3rem 0;
}

.conclusion-item {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--accent-gold);
}

.conclusion-item h3 {
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.final-reflection {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 3rem;
  margin-top: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  text-align: center;
}

.final-question {
  font-style: italic;
  font-size: 1.25rem;
  color: var(--primary-navy);
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05), rgba(217, 119, 6, 0.05));
  border-radius: var(--border-radius);
  border: 2px solid var(--accent-gold);
}

/* Author Section */
.author-section {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

.author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  background: var(--bg-primary);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.author-image img {
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--accent-gold);
}

.author-content h3 {
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.author-quote {
  font-style: italic;
  color: var(--accent-copper);
  border-left: 5px solid var(--accent-gold);
  padding: 1.5rem;
  margin: 2rem 0;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  font-size: 1.1rem;
}

.author-contact {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.author-contact p {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-slate) 100%);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  text-align: center;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-brand img {
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.footer-tagline {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  font-weight: 300;
}

.footer-disclaimer {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

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

/* Mobile Styles */
@media (max-width: 768px) {
  :root {
    --container-padding: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-navy);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
  }

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

  .nav-link {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
  }

  .hero {
    padding: 4rem 0;
  }

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

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .advantages-grid,
  .recommendations-grid,
  .currency-comparison {
    grid-template-columns: 1fr;
  }

  .author-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .author-image {
    justify-self: center;
  }

  .section {
    padding: 3rem 0;
  }

  h2 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 3rem 0;
  }

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

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

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

  .advantage-card,
  .recommendation-card .card-content,
  .scenario-card {
    padding: 1.5rem;
  }

  .section {
    padding: 2rem 0;
  }

  h2 {
    font-size: 1.75rem;
  }

  .author-card {
    padding: 2rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus Styles */
.nav-link:focus,
.cta-button:focus {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .hero-cta {
    display: none;
  }

  .hero {
    background: none;
    color: var(--text-primary);
  }

  .section {
    padding: 1rem 0;
  }

  * {
    box-shadow: none !important;
  }
}
