/* Market Domination System - Main CSS */
/* (c) 1997-2026 AppWT Web & AI Solutions (AppWT LLC) */

:root {
  --forest: #1B4332;
  --gold: #F4A261;
  --platinum: #F8F9FA;
  --obsidian: #0D2818;
  --white: #FFFFFF;
  --gray: #6C757D;
  --light-gray: #DEE2E6;
}

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

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

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

img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

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

/* Header & Navigation */
header {
  background: var(--forest);
  color: var(--white);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo-area {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  max-width: 180px;
  height: auto;
}

.site-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  color: var(--white);
  text-decoration: none;
  padding: 8px 12px;
  transition: color 0.3s, background 0.3s;
  border-radius: 4px;
  white-space: nowrap;
}

nav a:hover,
nav a:focus {
  color: var(--forest);
  background: var(--gold);
}

/* Mobile Toggle Button */
.mobile-toggle {
  display: none;
  background: var(--gold);
  color: var(--forest);
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 4px;
  min-width: 48px;
  min-height: 48px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--forest) 0%, var(--obsidian) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 20px;
  color: var(--gold);
}

.hero p {
  font-size: clamp(18px, 3vw, 24px);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--gold);
  color: var(--forest);
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 18px;
  transition: background 0.3s, transform 0.2s;
  min-height: 44px;
  min-width: 44px;
}

.cta-button:hover,
.cta-button:focus {
  background: #E89451;
  transform: translateY(-2px);
}

/* Section Styles */
section {
  padding: 60px 0;
  max-width: 100vw;
  overflow-x: hidden;
}

section:nth-child(even) {
  background: var(--platinum);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--forest);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(28px, 4vw, 36px);
  text-align: center;
  margin-bottom: 40px;
}

h3 {
  font-size: clamp(20px, 3vw, 28px);
  margin-bottom: 15px;
}

p, li, span, a {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

p {
  margin-bottom: 15px;
}

/* Phase Grid */
.phase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.phase-card {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.phase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(27, 67, 50, 0.2);
}

.phase-number {
  display: inline-block;
  background: var(--forest);
  color: var(--gold);
  font-size: 24px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.phase-card h3 {
  color: var(--forest);
  margin-bottom: 15px;
}

.phase-card p {
  color: var(--obsidian);
  margin-bottom: 15px;
}

.phase-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.phase-card li {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.phase-card li:before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

.learn-more {
  display: inline-block;
  background: var(--forest);
  color: var(--white);
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
  margin-top: 10px;
}

.learn-more:hover,
.learn-more:focus {
  background: var(--obsidian);
}

/* Features List */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  background: var(--white);
  padding: 20px;
  border-left: 4px solid var(--gold);
  border-radius: 4px;
}

.feature-item h3 {
  font-size: 20px;
  color: var(--forest);
  margin-bottom: 10px;
}

/* Pricing Table */
.pricing-table {
  max-width: 100%;
  overflow-x: auto;
  margin: 30px 0;
}

table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--light-gray);
  word-wrap: break-word;
}

th {
  background: var(--forest);
  color: var(--white);
  font-weight: bold;
}

tr:nth-child(even) {
  background: var(--platinum);
}

/* FAQ Section */
.faq-item {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;
}

.faq-question {
  font-weight: bold;
  color: var(--forest);
  margin-bottom: 10px;
  font-size: 18px;
}

.faq-answer {
  color: var(--obsidian);
  line-height: 1.6;
}

/* Contact Section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.contact-item {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  border: 2px solid var(--gold);
  text-align: center;
}

.contact-item h3 {
  color: var(--forest);
  margin-bottom: 10px;
}

.contact-item a {
  color: var(--forest);
  text-decoration: none;
  font-weight: bold;
}

.contact-item a:hover {
  color: var(--gold);
}

/* Footer */
footer {
  background: var(--forest);
  color: var(--white);
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: var(--gold);
  margin-bottom: 15px;
}

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

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

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(244, 162, 97, 0.3);
  font-size: 14px;
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  section, .section, .container {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .mobile-toggle {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  nav a {
    display: block;
    width: 100%;
  }

  .hero {
    padding: 40px 0;
  }

  .phase-grid {
    grid-template-columns: 1fr;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

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

  .cta-button {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  table {
    font-size: 14px;
  }

  th, td {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .site-title {
    font-size: 18px;
  }

  .logo {
    max-width: 140px;
  }

  section {
    padding: 40px 0;
  }

  .phase-card {
    padding: 20px;
  }

  table {
    font-size: 12px;
  }

  th, td {
    padding: 6px;
  }
}
