:root {
  --excel-header: #f3f3f3;
  --excel-border: #e1e1e1;
  --excel-text: #333;
  --excel-formula: #217346;
  --excel-accent: #217346;
  --excel-grid: #f5f5f5;
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--excel-text);
  min-height: 100vh;
  margin: 0;
}

/* Clean up navigation */
.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: white;
  border-bottom: 1px solid var(--excel-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav-brand a {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--excel-formula);
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-brand a:hover {
  opacity: 0.8;
}

.top-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.top-nav a {
  color: var(--excel-text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.top-nav a:hover:not(.cta-button) {
  color: var(--excel-formula);
  background: rgba(33, 115, 70, 0.05);
}

.top-nav a.cta-button {
  color: white;
  background: var(--excel-formula);
}

.top-nav a.cta-button:hover {
  background: #1a5c38;
  transform: translateY(-1px);
}

/* Add hamburger menu button styles */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  padding: 0;
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--excel-formula);
  position: absolute;
  left: 0;
  transition: all 0.3s;
}

.nav-toggle span:first-child {
  top: 8px;
}

.nav-toggle span:nth-child(2) {
  top: 14px;
}

.nav-toggle span:last-child {
  top: 20px;
}

.nav-toggle.active span:first-child {
  transform: rotate(45deg);
  top: 14px;
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:last-child {
  transform: rotate(-45deg);
  top: 14px;
}

/* Update media queries for mobile responsiveness */
@media (max-width: 768px) {
  .top-nav {
    padding: 0.5rem 1rem;
    position: relative;
  }
  
  .top-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--excel-border);
  }

  .top-nav ul.active {
    display: flex;
  }

  .top-nav li {
    width: 100%;
  }

  .top-nav a {
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
  }

  .top-nav a.cta-button {
    margin: 0.5rem 0;
  }

  .nav-toggle {
    display: block;
  }
}

/* Add styles for small mobile devices */
@media (max-width: 480px) {
  .top-nav {
    padding: 0.5rem;
  }

  .nav-brand a {
    font-size: 1.25rem;
  }

  .top-nav a {
    font-size: 0.95rem;
  }
}

/* Rest of the existing styles */
.section-container {
  background: rgba(255, 255, 255, 0.9);
  padding: 3rem 2rem;
  border-radius: 8px;
  margin: 4rem 0 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 100px;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--excel-formula);
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  color: var(--excel-text);
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Remove duplicate toolbar */
.excel-toolbar {
  display: none;
}

.column-headers {
  display: none;
}

.row-numbers {
  display: none;
}

.excel-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: white;
}

.excel-toolbar {
  display: flex;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--excel-header);
  border-bottom: 1px solid var(--excel-border);
  position: relative;
  z-index: 2;
}

.name-box {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--excel-formula);
}

.column-headers {
  display: flex;
  background: var(--excel-header);
  border-bottom: 1px solid var(--excel-border);
  position: relative;
  z-index: 2;
}

.row-header {
  width: 40px;
  border-right: 1px solid var(--excel-border);
}

.column {
  width: calc((100% - 40px) / 6);
  text-align: center;
  padding: 0.25rem;
  font-size: 0.9rem;
  color: var(--excel-text);
  border-right: 1px solid var(--excel-border);
}

.spreadsheet-content {
  display: flex;
  flex: 1;
  position: relative;
  background: var(--excel-grid);
}

.row-numbers {
  width: 40px;
  background: var(--excel-header);
  border-right: 1px solid var(--excel-border);
  position: relative;
  z-index: 2;
}

.row-number {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--excel-text);
  border-bottom: 1px solid var(--excel-border);
}

.cells-container {
  flex-grow: 1;
  padding: 2rem;
  position: relative;
  background-image: 
    linear-gradient(to right, var(--excel-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--excel-grid) 1px, transparent 1px);
  background-size: 100px 40px;
  min-height: calc(100vh - 80px);
}

.hero-cell {
  text-align: center;
  padding: 3rem 2rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-cell h1 {
  font-size: 2.5rem;
  color: var(--excel-formula);
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Reassurance Grid */
.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.reassurance-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reassurance-icon {
  font-size: 1.5rem;
  color: var(--excel-formula);
}

.reassurance-text {
  font-size: 0.9rem;
  color: var(--excel-text);
}

.reassurance-text strong {
  display: block;
  color: var(--excel-formula);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.stat-cell {
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--excel-border);
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cell-reference {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.8rem;
  color: var(--excel-text);
  opacity: 0.6;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--excel-formula);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--excel-text);
}

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

.service-cell {
  padding: 2rem;
  border: 1px solid var(--excel-border);
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.service-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-cell h3 {
  color: var(--excel-formula);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.service-list {
  list-style: none;
  margin-bottom: 2rem;
}

.service-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--excel-formula);
}

.price-tag {
  font-weight: 600;
  color: var(--excel-formula);
  font-size: 1.1rem;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--excel-formula);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  background: #1a5c38;
}

.guarantee {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--excel-text);
}

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

.testimonial-cell {
  padding: 2rem;
  border: 1px solid var(--excel-border);
  background: rgba(255, 255, 255, 0.9);
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--excel-text);
}

.testimonial-author {
  color: var(--excel-formula);
  font-weight: 600;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--excel-formula);
  margin-top: 1rem;
}

.quick-cta {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.section-header {
  text-align: center;
  margin: 4rem 0 2rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.section-header h2 {
  font-size: 2rem;
  color: var(--excel-formula);
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--excel-text);
  font-size: 1.1rem;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0 4rem;
}

.use-case-cell {
  padding: 2rem;
  border: 1px solid var(--excel-border);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.use-case-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.use-case-cell h3 {
  color: var(--excel-accent);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  line-height: 1.4;
}

.use-case-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.use-case-description {
  color: var(--excel-text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex: 1;
}

.impact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--excel-border);
  margin-top: auto;
}

.impact-metric {
  text-align: center;
}

.impact-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--excel-accent);
}

.impact-label {
  font-size: 0.875rem;
  color: var(--excel-formula);
}

.site-footer {
  margin-top: 6rem;
  padding: 4rem 2rem 2rem;
  background: var(--excel-header);
  border-top: 1px solid var(--excel-border);
  position: relative;
  z-index: 2;
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-section {
  flex: 1;
}

.footer-section h4 {
  color: var(--excel-formula);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--excel-text);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section ul li a:hover {
  color: var(--excel-accent);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--excel-border);
  text-align: center;
  color: var(--excel-formula);
  font-size: 0.875rem;
}

/* Form styles */
.form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
}

.contact-form {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin: 2rem 0;
  border: 1px solid var(--excel-border);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--excel-text);
  font-weight: 600;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--excel-border);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--excel-formula);
  box-shadow: 0 0 0 2px rgba(33, 115, 70, 0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 150px;
}

.character-count {
  text-align: right;
  font-size: 0.875rem;
  color: var(--excel-text);
  margin-top: 0.25rem;
}

.back-link {
  text-align: center;
  margin-top: 2rem;
}

.back-link a {
  color: var(--excel-formula);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.back-link a:hover {
  color: #1a5c38;
}

.success-message {
  text-align: center;
  padding: 4rem 2rem;
}

.success-message h1 {
  color: var(--excel-formula);
  margin-bottom: 1.5rem;
}

.success-message .subtitle {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0 4rem;
}

.faq-cell {
  padding: 2rem;
  border: 1px solid var(--excel-border);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.faq-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faq-cell h3 {
  color: var(--excel-formula);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.faq-cell p {
  color: var(--excel-text);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.blog-cell {
  padding: 2rem;
  border: 1px solid var(--excel-border);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blog-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(33, 115, 70, 0.1);
  color: var(--excel-formula);
  border-radius: 20px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.blog-cell h3 {
  color: var(--excel-formula);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.blog-cell p {
  color: var(--excel-text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.blog-link {
  color: var(--excel-formula);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.blog-link:hover {
  color: #1a5c38;
}

.blog-categories {
  margin: 4rem 0;
  text-align: center;
}

.blog-categories h3 {
  color: var(--excel-formula);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.category-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(33, 115, 70, 0.1);
  color: var(--excel-formula);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}

.category-tag:hover {
  background: var(--excel-formula);
  color: white;
}

@media (max-width: 768px) {
  .top-nav {
    padding: 0.5rem 1rem;
    position: relative;
  }
  
  .top-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--excel-border);
  }

  .top-nav ul.active {
    display: flex;
  }

  .top-nav li {
    width: 100%;
  }

  .top-nav a {
    display: block;
    padding: 0.75rem 1rem;
    text-align: center;
  }

  .top-nav a.cta-button {
    margin: 0.5rem 0;
  }

  /* Add hamburger menu */
  .nav-toggle {
    display: block;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    padding: 0;
    position: relative;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--excel-formula);
    position: absolute;
    left: 0;
    transition: all 0.3s;
  }

  .nav-toggle span:first-child {
    top: 8px;
  }

  .nav-toggle span:nth-child(2) {
    top: 14px;
  }

  .nav-toggle span:last-child {
    top: 20px;
  }

  .nav-toggle.active span:first-child {
    transform: rotate(45deg);
    top: 14px;
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:last-child {
    transform: rotate(-45deg);
    top: 14px;
  }

  /* Adjust section spacing */
  .section-container {
    padding: 2rem 1rem;
    margin: 2rem 0 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  /* Adjust grid layouts */
  .use-cases-grid,
  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .reassurance-grid > div {
    grid-template-columns: 1fr !important;
  }

  .reassurance-item {
    text-align: center;
    flex-direction: column;
    gap: 0.5rem;
  }

  .reassurance-icon {
    font-size: 2rem;
  }

  /* Adjust footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .footer-section {
    padding: 0 1rem;
  }

  /* Adjust article content */
  .article-content {
    padding: 0 1rem;
  }

  .article-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  /* Adjust hero section */
  .hero-cell {
    padding: 2rem 1rem;
  }

  .hero-cell h1 {
    font-size: 1.75rem;
  }

  .subtitle {
    font-size: 1rem;
  }
}

/* Add styles for larger tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .reassurance-grid > div {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Add styles for small mobile devices */
@media (max-width: 480px) {
  .hero-cell h1 {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .top-nav {
    padding: 0.5rem;
  }

  .nav-brand a {
    font-size: 1.25rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .use-case-cell,
  .service-cell,
  .blog-cell {
    padding: 1.5rem;
  }

  .footer-section h4 {
    font-size: 1rem;
  }

  .footer-section ul li a {
    font-size: 0.9rem;
  }
}

/* Hide nav toggle on desktop */
.nav-toggle {
  display: none;
}