@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #00c853; /* Green */
  --bg-color: #000000;
  --text-color: #ffffff;
  --text-muted: #a0a0a0;
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4rem;
  background-color: var(--bg-color);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--primary-color);
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

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

.nav-link.active {
  color: var(--primary-color);
}


.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.btn-get-started {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-get-started:hover {
  background-color: #009624;
  transform: translateY(-1px);
}

/* Hero Section */
.hero-container {
  min-height: 100vh;
  /* Dark red faint grid pattern */
  background-image: 
    linear-gradient(rgba(0, 200, 83, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 83, 0.1) 1px, transparent 1px);
  background-size: 60px 60px;
  display: flex;
  flex-direction: column;
}

.hero-top-text {
  text-align: center;
  padding: 4rem 2rem 2rem;
}

.hero-top-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.navbar {
  /* Ensure navbar has solid black bg to contrast with grid */
  background-color: #000000;
  border-top: 1px solid rgba(0, 200, 83, 0.1);
  border-bottom: 1px solid rgba(0, 200, 83, 0.1);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 4rem 2rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.8rem 2.5rem;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #009624;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.8rem 2.5rem;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: white;
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.templates-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 0 4rem 4rem;
  flex-wrap: wrap;
}

.template-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.template-image-wrapper {
  border-radius: 4px;
  overflow: hidden;
  width: 320px;
  height: 400px;
  background-color: #f0f0f0;
  position: relative;
}

.template-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 3s ease-in-out;
}

.template-image-wrapper:hover img {
  transform: translateY(calc(-100% + 400px));
}

/* Fallback for when img src is broken/empty */
.template-image-wrapper img[src=""],
.template-image-wrapper img:not([src]) {
  display: none;
}

.template-label {
  color: #333333;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.hero-subtext {
  text-align: center;
  color: #cccccc;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-top: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 2rem;
}

/* Floating Buttons */
.floating-left {
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
}

.floating-right {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-whatsapp {
  background-color: #25D366;
}

.float-messenger {
  background-color: #0084FF;
}

.float-phone {
  background-color: #00c853;
}

/* Pricing Section */
.pricing-section {
  background-color: #ffffff;
  color: #333333;
  padding: 5rem 2rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #000000;
}

.pricing-header p {
  color: #666666;
  font-size: 1rem;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background-color: #f2f2f2;
  border-radius: 12px;
  width: 320px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.pricing-card .plan-name {
  color: #00c853;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2rem 2rem 1rem;
  text-transform: uppercase;
}

.pricing-card .plan-price {
  font-size: 2.8rem;
  font-weight: 700;
  color: #222222;
  margin: 0 2rem;
  letter-spacing: -1px;
}

.pricing-card .plan-price span {
  font-size: 1rem;
  color: #555555;
  font-weight: 500;
  letter-spacing: normal;
}

.pricing-card .plan-subtitle {
  color: #666666;
  font-size: 0.95rem;
  margin: 1rem 2rem 1.5rem;
}

.pricing-card hr {
  border: none;
  border-top: 1px solid #00c853;
  margin: 0 2rem 1.5rem;
}

.pricing-card .plan-features {
  list-style: none;
  margin: 0 2rem 2rem;
  flex-grow: 1;
}

.pricing-card .plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333333;
}

.pricing-card .btn-pricing {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 1.2rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Outfit', sans-serif;
  margin-top: auto;
}

.pricing-card .btn-pricing:hover {
  background-color: #009624;
}

/* Footer */
.footer {
  background-color: #000000;
  color: #ffffff;
  padding: 4rem 2rem 1rem;
  border-top: 1px solid #1a1a1a;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 3rem;
}

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

.footer-section .logo-text {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #a0a0a0;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.footer-section a {
  display: block;
  color: #a0a0a0;
  text-decoration: none;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #00c853;
}

.social-icons {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: inline-flex;
  color: #a0a0a0;
  transition: color 0.3s ease, transform 0.3s ease;
  margin-bottom: 0;
}

.social-icons a:hover {
  color: #00c853;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #1a1a1a;
  color: #777777;
  font-size: 0.9rem;
}
