/* Base styles and variables */
:root {
  --primary: #2e7d32; /* Forest green */
  --primary-light: #60ad5e;
  --primary-dark: #005005;
  --secondary: #a5d6a7;
  --accent: #81c784;
  --text: #333333;
  --text-light: #666666;
  --text-dark: #111111;
  --background: #ffffff;
  --background-alt: #f8f9fa;
  --border: #e0e0e0;
  --success: #4caf50;
  --error: #f44336;
  --warning: #ff9800;
  --info: #2196f3;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--background);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
button {
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.primary-button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}

.primary-button:hover {
  background-color: var(--primary-dark);
}

.outline-button {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.outline-button:hover {
  background-color: rgba(46, 125, 50, 0.1);
}

.secondary-button {
  background-color: var(--secondary);
  color: var(--primary-dark);
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.375rem;
  transition: background-color 0.2s;
}

.secondary-button:hover {
  background-color: var(--accent);
}

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--background);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 85px;
  width: auto;
  max-width: 340px;
  object-fit: contain;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.text-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0.5rem 1rem;
}

.logo-text {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.signal-waves {
  position: relative;
  height: 25px;
  width: 70px;
  margin-top: 3px;
}

.wave {
  position: absolute;
  height: 25px;
  border-radius: 50%;
  border-bottom: 3px solid var(--primary-light);
  border-left: none;
  border-right: none;
  border-top: none;
}

.wave-1 {
  width: 25px;
  bottom: 8px;
  left: 0;
}

.wave-2 {
  width: 40px;
  bottom: 4px;
  left: 0;
}

.wave-3 {
  width: 55px;
  bottom: 0;
  left: 0;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-item {
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--text-light);
  margin-right: 2rem;
  transition: color 0.2s;
}

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

.auth-buttons {
  display: flex;
  align-items: center;
  margin-left: 1.5rem;
  border-left: 1px solid var(--border);
  padding-left: 1.5rem;
}

.auth-buttons button {
  margin-left: 0.5rem;
}

.mobile-menu-toggle {
  display: none;
}

.mobile-nav {
  display: none;
  background-color: var(--background);
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.mobile-nav-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 0;
  margin-right: 0;
}

.mobile-btn {
  width: 100%;
  margin: 0.5rem 0;
}

.mobile-auth-buttons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.mobile-auth-buttons button {
  flex: 1;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
}

.hero-content {
  max-width: 600px;
  margin-bottom: 2rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.blrtzz-definition {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--primary-light);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  font-family: 'Georgia', serif;
}

.definition-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--primary-light);
}

.definition-header strong {
  font-size: 1.2rem;
  color: var(--primary);
}

.phonetic {
  font-style: italic;
  color: var(--text-light);
  font-size: 0.9rem;
}

.definition-meanings {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.definition-item {
  font-size: 0.95rem;
  line-height: 1.4;
}

.definition-item strong {
  color: var(--primary);
  margin-right: 0.5rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background-color: #111;
  border-radius: 2rem;
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 1.5rem;
  background-color: #000;
  border-radius: 0 0 1rem 1rem;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background-color: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
}

.message-thread {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background-color: #f5f5f5;
  height: 100%;
  overflow-y: auto;
}

.message {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.received {
  background-color: #e8f5e9;
  color: var(--text);
  align-self: flex-start;
  border-bottom-left-radius: 0.25rem;
}

.sent {
  background-color: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 0.25rem;
}

.placeholder-message {
  text-align: center;
  color: var(--text-light);
  font-style: italic;
  margin-top: 2rem;
}

.phone-mockup.small {
  width: 250px;
  height: 500px;
}

/* Business Selector Section */
.business-selector-section {
  padding: 5rem 0;
  background-color: var(--background-alt);
}

.business-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.business-card {
  background-color: var(--background);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.business-image {
  height: 200px;
  overflow: hidden;
}

.business-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.business-card:hover .business-image img {
  transform: scale(1.05);
}

.business-card h3 {
  padding: 1rem 1rem 0.5rem;
  font-size: 1.25rem;
}

.business-card p {
  padding: 0 1rem 1.5rem;
  color: var(--text-light);
}

/* How It Works Section */
.how-it-works-section {
  padding: 5rem 0;
}

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

.step-card {
  background-color: var(--background);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
}

.step-number {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-illustration {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.admin-panel {
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.panel-header {
  background-color: var(--primary);
  color: white;
  padding: 0.75rem 1rem;
  font-weight: 600;
}

.panel-content {
  padding: 1rem;
  background-color: white;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.admin-button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
}

.dashboard-preview {
  margin-top: 4rem;
  text-align: center;
}

.dashboard-preview h3 {
  margin-bottom: 0.5rem;
}

.dashboard-preview p {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.dashboard-mockup {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.dashboard-header {
  background-color: var(--primary);
  color: white;
  padding: 1rem;
  font-weight: 600;
}

.dashboard-content {
  display: flex;
  min-height: 400px;
  background-color: white;
}

.dashboard-sidebar {
  width: 200px;
  background-color: #f8f9fa;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--border);
}

.sidebar-item {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.sidebar-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.sidebar-item.active {
  background-color: var(--primary);
  color: white;
  font-weight: 500;
}

.dashboard-main {
  flex: 1;
  padding: 1.5rem;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background-color: #f8f9fa;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

.compose-message h4 {
  margin-bottom: 1rem;
}

.compose-message textarea {
  width: 100%;
  height: 120px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 1rem;
  resize: none;
}

.send-button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  float: right;
}

/* Business Benefits Section */
.business-benefits-section {
  padding: 5rem 0;
  background-color: var(--background-alt);
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background-color: var(--background);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--secondary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.benefit-card p {
  color: var(--text-light);
}

/* Subscriber Benefits Section */
.subscriber-benefits-section {
  padding: 5rem 0;
}

/* Demo Section */
.demo-section {
  padding: 5rem 0;
  background-color: var(--background-alt);
}

.demo-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: center;
}

.demo-instructions {
  flex: 1;
  min-width: 300px;
}

.demo-instructions h3 {
  margin-bottom: 1.5rem;
}

.demo-instructions ol {
  list-style: none;
  margin-bottom: 2rem;
}

.demo-instructions li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.instruction-number {
  width: 2rem;
  height: 2rem;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 1rem;
}

.instruction-text {
  flex: 1;
}

.demo-input {
  display: flex;
  gap: 0.5rem;
  margin-top: 2rem;
}

.demo-input input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  font-size: 1rem;
}

.demo-phone {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact-form-container {
  flex: 1;
  min-width: 300px;
}

.contact-form {
  background-color: var(--background);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-success {
  background-color: var(--background);
  padding: 3rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.form-success svg {
  color: var(--success);
  margin-bottom: 1.5rem;
}

.hidden {
  display: none;
}

/* Custom Success Modal */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.success-modal.show {
  opacity: 1;
  visibility: visible;
}

.success-modal-content {
  background-color: var(--background);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--primary);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.success-modal.show .success-modal-content {
  transform: translateY(0);
}

.success-modal-icon {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: checkmark 0.6s ease-in-out;
}

.success-modal-icon svg {
  color: white;
  width: 30px;
  height: 30px;
}

.success-modal h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.success-modal p {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.success-modal-button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

.success-modal-button:hover {
  background-color: var(--primary-dark);
}

@keyframes checkmark {
  0% {
    transform: scale(0) rotate(0deg);
  }
  50% {
    transform: scale(1.2) rotate(180deg);
  }
  100% {
    transform: scale(1) rotate(360deg);
  }
}

.submit-button {
  width: 100%;
  margin-top: 1rem;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact-method svg {
  margin-right: 1rem;
  margin-top: 0.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.address-lines {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-hours {
  margin: 2rem 0;
}

.contact-hours h4, .faq h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.faq-item {
  margin-bottom: 1.5rem;
}

.faq-item h5 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--text-light);
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  flex: 1;
  min-width: 250px;
}

.footer-text-logo {
  margin-bottom: 1rem;
}

.footer-logo-text {
  color: white;
  font-size: 2rem;
}

.footer-signal-waves .wave {
  border-bottom-color: var(--secondary);
}

.footer-links {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 150px;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1.25rem;
}

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

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

.footer-section button, .footer-section a {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-section button:hover, .footer-section a:hover {
  color: white;
}

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

/* Responsive styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content {
    margin: 0 auto 3rem;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .dashboard-content {
    flex-direction: column;
  }
  
  .dashboard-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-nav.active {
    display: block;
  }
  
  .hero-section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .dashboard-mockup {
    max-width: 100%;
    overflow-x: auto;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hero-buttons button {
    width: 100%;
  }
  
  .business-cards, .benefits-container, .steps-container {
    grid-template-columns: 1fr;
  }
  
  .demo-container, .contact-container {
    flex-direction: column;
    gap: 2rem;
  }
}