/* CSS Reset & Variable Definitions */
:root {
  --bg-dark: #0f172a;
  --bg-card: #005200;
  --bg-card-hover: #334155;
  --primary: #00ff00;
  --primary-hover: #0284c7;
  --accent: #22c55e;
  --text-main: #ffffff;
  --text-muted: #dddddd;
  --border: #334155;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

/* Header & Navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-container img {
  height: 40px;
  width: auto;
}

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

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

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--text-muted);
  transition: color 0.2s;
  font-size: 1.25rem;
}

nav a:hover {
  color: var(--text-main);
}

.btn-primary {
  background: var(--primary);
  color: #0f172a;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}

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

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 5% 3rem 5%;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 3rem;
  max-width: 800px;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
}

.hero h2 {
  font-size: 2rem;
  max-width: 800px;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 1rem;
}

.hero-image-container {
  margin-top: 1rem;
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

.hero-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.features {
  /*padding: 1rem 5%;*/
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 6rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.section-text {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 3rem;
}

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

.feature-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Solutions */
.solutions {
  /*padding: 1rem 5%;*/
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 6rem;
}

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

/* Code & SDK Showcase */
.code-showcase {
  /*padding: 5rem 5%;*/
  background: #0b1120;
  margin-bottom: 4rem;
}

.code-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.code-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.code-card-header {
  background: #111827;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.code-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Pricing Section */
.pricing {
  padding: 2rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 2rem;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border-color: var(--primary);
  position: relative;
}

.pricing-card.popular::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary);
  color: #0f172a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
}

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

.pricing-features li {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

/* Contact Section */
.contact {
  padding: 2rem 5%;
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact p {
  text-align: center;
  color: var(--text-muted);
}

.contact p span {
  color: var(--text-main);
  font-weight: bold;
}

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

.form-group label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea {
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.75rem;
  color: var(--text-main);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 1px solid var(--primary);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: bold;
}

footer span {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  nav ul {
    display: none;
  }
}

