/* ===========================
   LANDING PAGE STYLES
   =========================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2d3748;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #1a202c;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  padding: 12px 32px;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #25995c 0%, #1e7a49 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 153, 92, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 153, 92, 0.4);
}

.btn-secondary {
  background: white;
  color: #25995c;
  border: 2px solid #25995c;
}

.btn-secondary:hover {
  background: #25995c;
  color: white;
}

.btn-large {
  padding: 16px 48px;
  font-size: 1.1rem;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #1a202c;
}

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

.nav-links a {
  text-decoration: none;
  color: #4a5568;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #25995c;
}

.cta-nav {
  background: #25995c;
  color: white !important;
  padding: 8px 20px;
  border-radius: 6px;
}

.cta-nav:hover {
  background: #1e7a49;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  padding: 40px 0 60px 0;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.hero-content {
  animation: fadeInLeft 0.8s ease;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: #1a202c;
}

.highlight {
  color: #25995c;
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #4a5568;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.stat {
  text-align: center;
  padding: 12px 10px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #25995c;
}

.stat-label {
  font-size: 0.8rem;
  color: #718096;
}

/* Hero Input Section */
.hero-input-section {
  margin: 0;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-input-wrapper {
  display: flex;
  gap: 12px;
  margin-bottom: 1rem;
}

#hero-url-input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Lato', sans-serif;
  transition: border-color 0.2s;
}

#hero-url-input:focus {
  outline: none;
  border-color: #25995c;
}

#hero-url-input:invalid {
  border-color: #f44336;
}

.hero-input-wrapper .btn {
  padding: 16px 40px;
  font-size: 1rem;
  white-space: nowrap;
}

.input-note {
  margin: 0;
  font-size: 0.9rem;
  color: #718096;
  text-align: center;
}

.hero-cta {
  margin-top: 2rem;
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #718096;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeInRight 0.8s ease;
}

.metric-preview-card-compact {
  background: white;
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border-left: 4px solid #e2e8f0;
}

.metric-preview-card-compact:hover {
  transform: translateX(-5px);
}

.metric-preview-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  justify-content: space-between;
}

.metric-icon {
  font-size: 1.3rem;
}

.metric-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a202c;
  flex: 1;
}

.metric-preview-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

.metric-preview-badge.good {
  background: #25995c;
}

.metric-preview-badge.warning {
  background: #FFC107;
}

.metric-preview-badge.poor {
  background: #F44336;
}

.metric-target {
  font-size: 0.8rem;
  color: #718096;
  margin-bottom: 4px;
}

.metric-status {
  font-size: 0.85rem;
  font-weight: 600;
  color: #4a5568;
}

/* Problem Section */
.problem {
  padding: 50px 0 80px 0;
  background: white;
}

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

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.problem-card {
  text-align: center;
  padding: 40px 30px;
  background: #f7fafc;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.problem-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.problem-card h3 {
  color: #1a202c;
  margin-bottom: 1rem;
}

.problem-card p {
  color: #4a5568;
  line-height: 1.7;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  color: #25995c;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 0;
}

/* How It Works */
.how-it-works {
  padding: 80px 0;
  background: white;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 3rem;
}

.step {
  text-align: center;
  position: relative;
}

.step::after {
  content: '→';
  position: absolute;
  top: 30px;
  right: -35px;
  font-size: 2rem;
  color: #cbd5e0;
  font-weight: 700;
}

.step:last-child::after {
  display: none;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25995c 0%, #1e7a49 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step h3 {
  margin-bottom: 0.75rem;
  color: #1a202c;
}

.step p {
  color: #4a5568;
  line-height: 1.6;
}

.cta-center {
  text-align: center;
}

/* Trust Section */
.trust {
  padding: 80px 0;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.trust-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 2rem;
}

.trust-badge {
  display: flex;
  gap: 20px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.badge-icon {
  width: 50px;
  height: 50px;
  background: #25995c;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.badge-text strong {
  display: block;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.badge-text p {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* About Section */
.about {
  padding: 80px 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-intro {
  font-size: 1.2rem;
  color: #2d3748;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-cta {
  margin-top: 2rem;
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 2rem;
}

.faq-item {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
  color: #25995c;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.faq-item p {
  color: #4a5568;
  line-height: 1.7;
  margin: 0;
}

/* Final CTA */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #25995c 0%, #1e7a49 100%);
  text-align: center;
  color: white;
}

.final-cta h2 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.final-cta .btn-primary {
  background: white;
  color: #25995c;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.final-cta .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.final-cta .cta-note {
  color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
  background: #1a202c;
  color: #cbd5e0;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p {
  color: #a0aec0;
  line-height: 1.7;
}

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

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

.footer-section a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #25995c;
}

.footer-bottom {
  border-top: 1px solid #2d3748;
  padding-top: 30px;
  text-align: center;
  color: #718096;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-bottom a {
  color: #25995c;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Animations */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
  }

  /* On mobile: title and subtitle first, then input moves after */
  .hero-input-section {
    order: 2;
  }

  /* Metrics come last */
  .hero-visual {
    order: 3;
  }

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

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

  .step::after {
    display: none;
  }

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

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image img {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

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

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

  .hero-input-wrapper {
    flex-direction: column;
  }

  .hero-input-wrapper .btn {
    width: 100%;
  }

  .hero-visual .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .stat {
    padding: 10px 8px;
  }

  .stat-value {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  h2 {
    font-size: 2rem;
  }

  .problem-grid,
  .features-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

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

  .final-cta h2 {
    font-size: 2rem;
  }

  .final-cta p {
    font-size: 1.1rem;
  }
}

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

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

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

  .hero-input-section {
    padding: 1.5rem;
  }

  #hero-url-input {
    padding: 14px 16px;
    font-size: 14px;
  }

  .hero-input-wrapper .btn {
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .btn-large {
    padding: 14px 32px;
    font-size: 1rem;
  }

  section {
    padding: 50px 0;
  }

  .logo-text {
    display: none;
  }

  .nav-links {
    display: none;
  }
}
