/* Color Variables - Dark Green Theme */
:root {
  --background: oklch(0.12 0.04 155);
  --foreground: oklch(0.95 0.02 155);
  --card: oklch(0.18 0.05 155);
  --card-foreground: oklch(0.95 0.02 155);
  --primary: oklch(0.75 0.18 155);
  --primary-foreground: oklch(0.12 0.04 155);
  --secondary: oklch(0.22 0.06 155);
  --secondary-foreground: oklch(0.95 0.02 155);
  --muted: oklch(0.22 0.06 155);
  --muted-foreground: oklch(0.65 0.05 155);
  --accent: oklch(0.68 0.16 150);
  --accent-foreground: oklch(0.12 0.04 155);
  --border: oklch(0.25 0.06 155);
  --radius: 0.5rem;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.nav {
  border-bottom: 1px solid var(--border);
}

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

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

.nav-brand {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--foreground);
}

/* Icons */
.icon {
  color: var(--accent);
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.icon-md {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--secondary);
}

.btn-cta {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  padding: 6rem 1rem;
}

.hero-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: color-mix(in oklch, var(--accent) 10%, transparent);
  color: var(--accent);
  font-size: 0.875rem;
  border: 1px solid color-mix(in oklch, var(--accent) 20%, transparent);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.5;
  text-wrap: balance;
}

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

/* Section */
.section {
  padding: 4rem 1rem;
}

.section-alt {
  background-color: color-mix(in oklch, var(--secondary) 30%, transparent);
}

.section-header {
  max-width: 56rem;
  margin: 0 auto 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  text-wrap: balance;
}

.section-subtitle {
  color: var(--muted-foreground);
  text-align: center;
  font-size: 1.125rem;
}

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

/* Grid */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

/* Cards */
.card {
  padding: 1.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s;
}

.card-hover:hover {
  border-color: color-mix(in oklch, var(--accent) 50%, transparent);
}

.card-content {
  display: flex;
  gap: 1rem;
}

.card-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.card-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--card-foreground);
}

.card-text {
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* Solution Section */
.solution-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.solution-text {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  text-wrap: balance;
}

/* Features */
.feature {
  text-align: center;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background-color: color-mix(in oklch, var(--accent) 10%, transparent);
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-title {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.feature-text {
  color: var(--muted-foreground);
  line-height: 1.5;
}

/* Cost Card */
.cost-card {
  margin-top: 3rem;
  padding: 2rem;
  border-radius: var(--radius);
  background-color: var(--card);
  border: 1px solid var(--border);
}

.cost-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cost-card-text {
  flex: 1;
}

.cost-card-title {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--card-foreground);
}

.cost-card-description {
  color: var(--muted-foreground);
  line-height: 1.5;
}

.cost-card-icon {
  font-size: 4rem;
}

/* Project Card */
.project-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.project-mockup {
  position: relative;
  width: 100%;
  height: 16rem;
  background: linear-gradient(135deg, var(--card), color-mix(in oklch, var(--secondary) 50%, transparent));
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-container {
  width: 100%;
  max-width: 28rem;
  padding: 0 1rem;
}

.mockup-card {
  background-color: color-mix(in oklch, var(--background) 80%, transparent);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

.mockup-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mockup-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background-color: color-mix(in oklch, var(--accent) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.mockup-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mockup-line {
  height: 0.75rem;
  background-color: color-mix(in oklch, var(--accent) 30%, transparent);
  border-radius: 0.25rem;
}

.mockup-line-lg {
  width: 75%;
}

.mockup-line-sm {
  width: 50%;
  background-color: color-mix(in oklch, var(--muted) 30%, transparent);
}

.mockup-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mockup-line-full {
  width: 100%;
  height: 0.5rem;
  background-color: color-mix(in oklch, var(--muted) 20%, transparent);
  border-radius: 0.25rem;
}

.mockup-line-md {
  width: 83.33%;
  height: 0.5rem;
  background-color: color-mix(in oklch, var(--muted) 20%, transparent);
  border-radius: 0.25rem;
}

.mockup-line-xs {
  width: 66.67%;
  height: 0.5rem;
  background-color: color-mix(in oklch, var(--muted) 20%, transparent);
  border-radius: 0.25rem;
}

.mockup-footer {
  display: flex;
  gap: 0.5rem;
}

.mockup-button {
  height: 2rem;
  flex: 1;
  background-color: color-mix(in oklch, var(--accent) 20%, transparent);
  border-radius: 0.25rem;
}

.mockup-button-accent {
  background-color: color-mix(in oklch, var(--accent) 40%, transparent);
}

.project-content {
  padding: 2rem;
}

.project-title {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.project-description {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tech-tag {
  padding: 0.5rem 1rem;
  border-radius: calc(var(--radius) - 2px);
  background-color: color-mix(in oklch, var(--secondary) 50%, transparent);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
}

/* CTA Section */
.cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.cta-text {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  text-wrap: balance;
  line-height: 1.5;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 1rem;
  }

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

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

  .section {
    padding: 6rem 1rem;
  }

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

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

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

  .cost-card-content {
    flex-direction: row;
  }

  .project-content {
    padding: 3rem;
  }

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

  .cta-title {
    font-size: 3rem;
  }

  .footer-content {
    flex-direction: row;
  }
}

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