/* ============================================
   Privateflare Landing Page — New Design
   ============================================ */

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

:root {
  --purple: #7C3AED;
  --purple-dark: #6D28D9;
  --purple-deeper: #5B21B6;
  --pink: #EC4899;
  --pink-light: #F9A8D4;
  --gradient: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  --gradient-bg: linear-gradient(135deg, #EDE9FE 0%, #FCE7F3 50%, #DBEAFE 100%);
  --text: #1F2937;
  --text-light: #6B7280;
  --text-lighter: #9CA3AF;
  --white: #FFFFFF;
  --bg-light: #F9FAFB;
  --bg-dark: #111827;
  --border: #E5E7EB;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.938rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--purple);
  color: var(--purple);
  background: transparent;
}
.btn-outline:hover {
  background: var(--purple);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--purple);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-text {
  color: var(--text);
  background: none;
}
.btn-text:hover {
  color: var(--purple);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding: 12px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 26px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.938rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--purple);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  justify-self: end;
}

.lang-switcher {
  display: flex;
  gap: 4px;
  margin-right: 8px;
}

.lang-btn {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--text-light);
  font-size: 0.813rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.lang-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
}
.lang-btn.active {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text);
}

.text-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--purple);
}

.stat-label {
  font-size: 0.813rem;
  color: var(--text-light);
  font-weight: 500;
}

.hero-image img {
  width: 100%;
  max-width: 650px;
  margin-left: auto;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ---- Trusted Bar ---- */
.trusted-bar {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.trusted-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trusted-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 600;
}

.trusted-item svg {
  width: 20px;
  height: 20px;
  color: var(--purple);
}

/* ---- Section Shared ---- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(124,58,237,0.1) 0%, rgba(236,72,153,0.1) 100%);
  color: var(--purple);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.125rem;
}

/* ---- Features Section ---- */
.features {
  padding: 100px 0;
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--purple);
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.938rem;
  line-height: 1.6;
}

/* ---- How It Works ---- */
.how-it-works {
  padding: 100px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step-card {
  text-align: center;
  position: relative;
  padding: 40px 24px;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--white);
  font-weight: 800;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.step-icon {
  margin-bottom: 24px;
}
.step-illustration {
  height: 180px;
  width: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 16px;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.step-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- About Section ---- */
.about {
  padding: 100px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main img {
  width: 100%;
  border-radius: 20px;
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 200px;
}
.about-img-secondary img {
  width: 100%;
  border-radius: 16px;
}

.about-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-content > p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-list {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.about-list svg {
  width: 22px;
  height: 22px;
  color: var(--purple);
  flex-shrink: 0;
}

/* ---- Capabilities ---- */
.capabilities {
  padding: 100px 0;
}

.capability-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}
.capability-row:last-child {
  margin-bottom: 0;
}
.capability-row.reverse {
  direction: rtl;
}
.capability-row.reverse > * {
  direction: ltr;
}

.capability-image img {
  width: 100%;
  border-radius: 20px;
}

.capability-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.capability-content p {
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.7;
}

.capability-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.capability-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.capability-list svg {
  width: 22px;
  height: 22px;
  color: var(--purple);
  flex-shrink: 0;
}

/* ---- Use Cases Section ---- */
.use-cases {
  padding: 100px 0;
  background: var(--bg-light);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.use-case-card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.use-case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.use-case-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--gradient-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.use-case-icon svg {
  width: 28px;
  height: 28px;
  color: var(--purple);
}

.use-case-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.use-case-card > p {
  color: var(--text-light);
  font-size: 0.938rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.use-case-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.use-case-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}
.use-case-list svg {
  width: 18px;
  height: 18px;
  color: var(--purple);
  flex-shrink: 0;
}

/* ---- Value Comparison ---- */
.value-compare {
  padding: 100px 0;
  background: var(--bg-dark);
  color: var(--white);
}

.value-compare-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.value-compare-left .section-tag {
  background: rgba(124, 58, 237, 0.2);
}

.value-compare-left h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.value-compare-left p {
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  font-size: 1.0625rem;
}

.value-compare-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.value-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.938rem;
}

.value-row.strikethrough {
  color: rgba(255,255,255,0.4);
}
.value-row.strikethrough span:last-child {
  text-decoration: line-through;
}

.value-row.total {
  color: rgba(255,255,255,0.6);
  font-weight: 700;
  border-bottom: 2px solid rgba(255,255,255,0.15);
  padding-top: 18px;
}
.value-row.total span:last-child {
  text-decoration: line-through;
  color: rgba(255,255,255,0.4);
}

.value-row.pf-price {
  font-weight: 800;
  font-size: 1.0625rem;
  padding-top: 18px;
  border-bottom: none;
  color: var(--white);
}
.value-row.pf-price .text-gradient {
  font-size: 1.25rem;
}

/* ---- Works With Section ---- */
.works-with {
  padding: 80px 0;
}
.works-with-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.works-with-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: all 0.2s ease;
}
.works-with-card:hover {
  border-color: var(--purple);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.1);
  transform: translateY(-2px);
}
.works-with-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.works-with-icon svg {
  width: 48px;
  height: 48px;
}
.works-with-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.works-with-card p {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.5;
}

/* ---- API Section ---- */
.api-section {
  padding: 100px 0;
  background: var(--bg-dark);
  color: var(--white);
}

.api-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.api-content .section-tag {
  background: rgba(124, 58, 237, 0.2);
}

.api-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--white);
}

.api-content p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  line-height: 1.7;
}

.api-endpoints {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.api-endpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.875rem;
}

.api-endpoint code {
  color: rgba(255,255,255,0.8);
}

.method {
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'SF Mono', 'Fira Code', monospace;
  text-transform: uppercase;
  flex-shrink: 0;
}
.method.get { background: #065F46; color: #6EE7B7; }
.method.post { background: #1E3A5F; color: #93C5FD; }
.method.patch { background: #78350F; color: #FCD34D; }
.method.delete { background: #7F1D1D; color: #FCA5A5; }

.code-window {
  background: #0D1117;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: #161B22;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.code-dot.red { background: #FF5F57; }
.code-dot.yellow { background: #FEBC2E; }
.code-dot.green { background: #28C840; }

.code-title {
  margin-left: 12px;
  font-size: 0.813rem;
  color: rgba(255,255,255,0.5);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.code-window pre {
  padding: 24px;
  overflow-x: auto;
}

.code-window code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.813rem;
  line-height: 1.7;
  color: #E6EDF3;
}

.code-comment {
  color: #8B949E;
}

/* ---- Pricing Section ---- */
.pricing {
  padding: 100px 0;
  background: var(--bg-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  position: relative;
  transition: all 0.3s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
  border: 2px solid var(--purple);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.813rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.938rem;
  color: var(--text);
}

.pricing-features svg {
  width: 20px;
  height: 20px;
  color: var(--purple);
  flex-shrink: 0;
}

.pricing-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
}

.pricing-domains {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-per-domain {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

.pricing-save {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 12px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
  color: #059669;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 12px;
}

.pricing-desc {
  color: var(--text-light);
  font-size: 0.938rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 24px;
}

.pricing-included {
  margin-top: 64px;
  text-align: center;
}

.pricing-included h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.pricing-included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-included-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.938rem;
  font-weight: 500;
}

.pricing-included-item svg {
  width: 20px;
  height: 20px;
  color: var(--purple);
  flex-shrink: 0;
}

.pricing-note {
  text-align: center;
  margin-top: 40px;
}

.pricing-note p {
  color: var(--text-light);
  font-size: 0.875rem;
}

/* ---- CTA Section ---- */
.cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-content p {
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-image img {
  max-width: 400px;
  margin-left: auto;
  animation: float 6s ease-in-out infinite;
}

.cta-cat img {
  max-width: 360px;
  margin-top: 24px;
}

/* ---- Registration Form ---- */
.cta-form-wrap {
  display: flex;
  justify-content: flex-end;
}
.reg-form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  width: 100%;
  max-width: 420px;
}
.reg-form-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  text-align: center;
}
.reg-form .form-group {
  margin-bottom: 16px;
}
.reg-form label {
  display: block;
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.reg-form input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.938rem;
  transition: border-color 0.2s;
  background: var(--white);
  color: var(--text);
  box-sizing: border-box;
}
.reg-form input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}
.reg-form .btn {
  margin-top: 8px;
  width: 100%;
}
.reg-note {
  text-align: center;
  font-size: 0.813rem;
  color: var(--text-light);
  margin-top: 16px;
}
.reg-error {
  margin-top: 12px;
  padding: 10px 14px;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 8px;
  color: #B91C1C;
  font-size: 0.875rem;
  text-align: center;
}
.reg-success {
  text-align: center;
  padding: 16px 0 8px;
}
.reg-success h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.reg-success p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.938rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.938rem;
  line-height: 1.7;
}
.footer-brand img {
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.938rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.875rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }
  .features-grid,
  .steps-grid,
  .pricing-grid,
  .use-cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-inner,
  .capability-row,
  .api-inner,
  .cta-inner,
  .value-compare-inner {
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-actions .btn-text,
  .nav-actions .btn-primary {
    display: none;
  }
  .lang-switcher {
    margin-right: 0;
  }
  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 2.25rem;
  }
  .hero-subtitle {
    margin: 0 auto 36px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-image img {
    max-width: 360px;
    margin: 0 auto;
  }

  .trusted-inner {
    justify-content: center;
  }

  .features-grid,
  .steps-grid,
  .pricing-grid,
  .use-cases-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .about-inner,
  .capability-row,
  .capability-row.reverse,
  .api-inner,
  .cta-inner,
  .value-compare-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .capability-row.reverse {
    direction: ltr;
  }

  .about-img-secondary {
    position: static;
    width: 140px;
    margin-top: -60px;
    margin-left: auto;
  }

  .section-header h2,
  .about-content h2,
  .capability-content h2,
  .cta-content h2,
  .api-content h2 {
    font-size: 1.75rem;
  }

  .cta-image img {
    max-width: 300px;
    margin: 0 auto;
  }

  .api-code {
    overflow-x: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pricing-included-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 24px;
  }
  .works-with-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cta-form-wrap {
    justify-content: center;
  }
  .reg-form-card {
    max-width: 100%;
  }
}
