:root {
  --background: hsl(153 35% 6%);
  --foreground: hsl(0 0% 100%);
  --accent: hsl(144 100% 45%);
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Nav */
.seo-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(10, 16, 13, 0.9) 0%, rgba(10, 16, 13, 0) 100%);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
}

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

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

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

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

.lang-selector {
  position: relative;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
}

.lang-selector:hover .lang-dropdown {
  display: flex;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  flex-direction: column;
  background: var(--background);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 0;
  min-width: 60px;
}

.lang-dropdown a {
  padding: 0.5rem 1rem;
  color: rgba(255,255,255,0.7);
}

.lang-dropdown a:hover, .lang-dropdown a.active {
  color: var(--accent);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1.5rem;
  background-color: #fff;
  color: var(--background);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: rgba(255,255,255,0.9);
}
.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-outline {
  display: none;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0 1.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.2s;
}

@media (min-width: 768px) {
  .btn-outline {
    display: inline-flex;
  }
}

.btn-outline:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Hero */
.seo-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding: 0 1.5rem 4rem;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.25);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--background) 0%, transparent 40%, var(--background) 100%),
              linear-gradient(90deg, rgba(10,16,13,0.8) 0%, rgba(10,16,13,0) 100%);
}

/* Content */
.seo-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 8rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .seo-content-wrapper {
    grid-template-columns: 1fr 350px;
    gap: 6rem;
  }
}

.seo-article h2 {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.seo-article h2:first-child {
  margin-top: 0;
}

.seo-article h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.seo-article p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

.seo-article ul {
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  padding-left: 1.5rem;
}

.seo-article li {
  margin-bottom: 0.5rem;
}

.faq {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2rem;
}
.faq h3 {
  margin-top: 0;
}
.faq h3:not(:first-child) {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Sidebar CTA */
.seo-cta-block {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2.5rem;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.seo-cta-block h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.seo-cta-block p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.seo-cta-btn {
  width: 100%;
}

/* Form */
.demo-form-container {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

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

.form-group label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
}

.form-group input, .form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0 1.25rem;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
  border-radius: 0;
}

.form-group input {
  height: 3.5rem;
}

.form-group textarea {
  padding-top: 1rem;
  padding-bottom: 1rem;
  resize: vertical;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.1);
}

.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group.has-error input {
  border-color: #ef4444;
}
.error-msg {
  color: #ef4444;
  font-size: 0.75rem;
  display: none;
}
.form-group.has-error .error-msg {
  display: block;
}

.form-error {
  padding: 1rem;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
  font-size: 0.875rem;
}

.form-success {
  padding: 3rem 1.5rem;
  text-align: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
}
.success-icon {
  color: var(--accent);
  margin-bottom: 1rem;
}
.form-success h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.form-success p {
  color: rgba(255,255,255,0.7);
}
.hidden {
  display: none !important;
}

/* Footer */
.seo-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 4rem 0 2rem;
  background: var(--background);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-top {
  margin-bottom: 4rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.875rem;
}
