:root {
  --primary-color: #fca311;
  --primary-hover: #e69100;
  --secondary-color: #14213d;
  --accent-color: #FEF9E7;
  --text-color: #333;
  --light-text: #666;
  --border-color: #e0e0e0;
  --background-color: #f7f7f7;
  --card-background: #fff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --red: #ef4444;
  --amber: #f59e0b;
  --emerald: #10b981;
  --radius: 0.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.site-header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 56px;
  width: auto;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  transition: 0.3s;
}

/* Content Wrapper */
.content-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

/* Main Container */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* App Container */
.app-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* App Header */
.app-header {
  background-color: var(--accent-color);
  padding: 32px 20px;
  text-align: center;
}

.app-header h1 {
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--secondary-color);
}

.app-header p {
  font-size: 18px;
  color: var(--text-color);
  opacity: 0.9;
}

/* Sections */
section {
  padding: 32px;
}

.estimator-section, .results-section {
  padding-top: 32px;
}

.hidden {
  display: none;
}

/* Cards */
.card {
  background-color: var(--card-background);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-header {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-content {
  color: var(--text-color);
}

/* Form */
h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.hint {
  font-size: 0.875rem;
  color: var(--light-text);
  margin-top: 0.25rem;
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.slider {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  background: #e5e7eb;
  border-radius: 3px;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

.number-input {
  width: 80px;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  text-align: center;
}

.form-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(to right, #f7a93b, #eb9500);
  color: white;
  border: none;
  flex: 1;
}

.btn-primary:hover {
  background: linear-gradient(to right, #eb9500, #d48400);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: var(--accent-color);
}

/* Results Grid */
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.revenue-amount {
  display: flex;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.revenue-amount span:first-child {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.period {
  font-size: 0.875rem;
  color: var(--light-text);
  margin-left: 0.5rem;
}

.summary-text {
  font-size: 0.875rem;
  color: var(--light-text);
}

/* Breakdown */
.breakdown-grid {
  display: grid;
  gap: 0.75rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
}

.border-top {
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

.fw-medium {
  font-weight: 500;
}

.text-red {
  color: var(--red);
}

.text-purple {
  color: var(--primary-color);
  font-weight: 700;
}

/* Checklist */
.checklist {
  display: grid;
  gap: 1.5rem;
}

.checklist-item h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

/* Footer */
footer {
  text-align: center;
  color: var(--light-text);
  font-size: 0.875rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* Recommended Sections */
.recommended-section {
  margin-bottom: 30px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.recommended-section h2 {
  text-align: center;
  font-size: 24px;
  color: #8a4500;
  margin-bottom: 24px;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background-color: var(--card-background);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-header {
  background-color: var(--accent-color);
  padding: 16px;
  border-bottom: 1px solid #f1e6c0;
}

.card-header h3 {
  font-size: 18px;
  color: #8a4500;
}

.card-content {
  padding: 16px;
}

.card-content p {
  color: var(--light-text);
  margin-bottom: 16px;
  min-height: 60px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.card-link:hover {
  color: var(--primary-hover);
}

.card-link svg {
  margin-left: 6px;
  transition: transform 0.2s;
}

.card-link:hover svg {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .main-nav.active {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
  }
  
  .container {
    padding: 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .results-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .results-header h2 {
    margin-bottom: 0;
  }

  section {
    padding: 20px;
  }

  .app-container {
    max-width: 100%;
  }
  
  .cards-container {
    grid-template-columns: 1fr;
  }
}
