/* Variables */
:root {
  --primary-color: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --secondary-color: #0891b2;
  --accent-color: #10b981;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --background-light: #f9fafb;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Base */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-dark);
  background: var(--white);
}

.home-container {
  width: 100%;
  overflow-x: hidden;
}

/* Buttons / links as buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: 0.75rem;
}

.icon-arrow {
  font-size: 1.25rem;
}


/* Navigation */
.main-nav {
  font-family: "Hanken Grotesk", sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.nav-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}

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

.nav-links button {
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

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

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

.nav-links button.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: -10%;
  left: 0;
  right: 0;
  bottom: -10%;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 2rem;
  text-align: center;
  color: var(--white);
}

.hero-title {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-rotate {
  display: inline-block;
  border-right: 3px solid currentColor;
  padding-right: 2px;
  animation: blink-cursor 0.7s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { border-color: currentColor; }
  50% { border-color: transparent; }
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  background: var(--accent-color);
  color: #ffffff;
  padding: 0.9rem 2.25rem;
  font-size: 1.0625rem;
  font-weight: 700;
  border-radius: 0.5rem;
  letter-spacing: 0.01em;
  transition: opacity 0.2s ease;
}

.cta-button:hover {
  opacity: 0.88;
}

.secondary-button {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  padding: 0.9rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Section Styles */
.section-padding {
  padding: 6rem 2rem;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

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

.section-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-description {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Features Section */
.features-section {
  background: var(--background-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1rem;
  overflow: hidden;
  padding: 1.5rem;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 5rem;
  height: 5rem;
  background: #f0fdf4;
  color: var(--primary-color);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.icon-feature {
  font-size: 2.5rem;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
}

.feature-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin: 0;
}

/* Pricing Section */
.pricing-section {
  background: #f4f4f5;
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-footnote {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  position: relative;
  z-index: 10;
}

.pricing-card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  box-shadow: var(--shadow-xl);
}

.pricing-card-featured {
  background: var(--white);
  border-color: #e5e7eb;
}

.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: var(--white);
  padding: 0.3rem 1.25rem;
  border-radius: 0 0 0.625rem 0.625rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 1;
}

.pricing-header {
  background: none;
  color: var(--text-dark);
  padding: 3rem 2.5rem 2rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.pricing-card-featured .pricing-header {
  border-bottom-color: #e5e7eb;
}

.pricing-header-pro {
  background: none;
}

.pricing-title {
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0 0 1.25rem 0;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card-featured .pricing-title {
  color: var(--text-light);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

.period {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-light);
}

.pricing-subtitle {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0;
}

.pricing-content {
  padding: 2rem 2.5rem 2.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.875rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-dark);
}

.pricing-features .check {
  color: var(--primary-color);
  flex-shrink: 0;
  font-weight: bold;
}

.pricing-button {
  width: 100%;
  background: var(--primary-color);
  color: var(--white);
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: opacity 0.2s ease;
}

.pricing-button:hover {
  opacity: 0.75;
}

.pricing-button-pro {
  background: var(--primary-color);
}

.pricing-button-pro:hover {
  opacity: 0.85;
}

/* References Section */
.references-section {
  background: var(--background-light);
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.reference-card {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.reference-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.reference-image-container {
  display: block;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.reference-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.reference-card:hover .reference-image {
  transform: scale(1.1);
}

.reference-body {
  padding: 1.5rem;
}

.reference-stars {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.reference-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
}

.reference-website {
  font-size: 0.875rem;
  color: var(--primary-color);
  font-weight: 500;
  margin: 0 0 1rem 0;
}

.reference-testimonial {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  font-style: italic;
  margin: 0;
}

/* Contact Section */
.contact-section {
  background: var(--background-light);
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-subtitle {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 1rem 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: start;
  gap: 1rem;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary-color);
  background: rgba(5, 150, 105, 0.1);
  padding: 0.5rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-label {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.contact-link {
  font-size: 1.125rem;
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.company-name {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-form-card {
  box-shadow: var(--shadow-lg);
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--white);
}

.contact-form-header {
  padding: 2rem 2rem 0.5rem;
}

.contact-form-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem 0;
}

.contact-form-header p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin: 0;
}

.contact-form-body {
  padding: 1.5rem 2rem 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.875rem;
}

.form-group input:not([type="radio"]),
.form-group textarea {
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:not([type="radio"]):focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.plan-radio-group {
  display: flex;
  gap: 0.75rem;
}

.plan-radio-option {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.plan-radio-option:has(input:checked) {
  border-color: var(--primary-color);
  background: rgba(5, 150, 105, 0.06);
}

.plan-radio-option input[type="radio"] {
  accent-color: var(--primary-color);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.form-submit-button {
  width: 100%;
  background: var(--primary-color);
  color: var(--white);
  padding: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 0.5rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.form-submit-button:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.form-success {
  text-align: center;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.form-success[hidden] {
  display: none;
}

.form-success .success-icon {
  width: 4rem;
  height: 4rem;
  color: var(--primary-color);
  background: rgba(5, 150, 105, 0.1);
  padding: 1rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.form-success h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.form-success p {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0;
}

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

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links button {
    font-size: 0.875rem;
  }

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

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

  .section-padding {
    padding: 4rem 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
  }

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

  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card-featured {
    transform: scale(1);
  }

  .pricing-card-featured:hover {
    transform: translateY(-8px);
  }

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

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

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-content {
    padding: 1rem;
  }

  .nav-links {
    gap: 0.75rem;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .cta-button,
  .secondary-button {
    width: 100%;
  }
}
