/* Design System Variables */
:root {
  /* Colors */
  --color-background: hsl(0, 0%, 100%);
  --color-foreground: hsl(215, 25%, 20%);
  --color-primary: hsl(215, 80%, 50%);
  --color-primary-light: hsl(215, 85%, 60%);
  --color-primary-dark: hsl(215, 80%, 40%);
  --color-primary-foreground: hsl(0, 0%, 100%);
  --color-secondary: hsl(215, 20%, 95%);
  --color-muted: hsl(215, 15%, 96%);
  --color-muted-foreground: hsl(215, 15%, 45%);
  --color-accent: hsl(160, 70%, 50%);
  --color-border: hsl(215, 20%, 90%);
  
  /* Gradients */
  --gradient-hero: linear-gradient(135deg, hsl(215, 80%, 50%) 0%, hsl(215, 85%, 60%) 50%, hsl(200, 85%, 65%) 100%);
  --gradient-subtle: linear-gradient(180deg, hsl(215, 20%, 98%) 0%, hsl(0, 0%, 100%) 100%);
  
  /* Shadows */
  --shadow-card: 0 4px 20px -4px rgba(62, 123, 205, 0.08);
  --shadow-hover: 0 8px 30px -6px rgba(62, 123, 205, 0.15);
  
  /* Spacing */
  --radius: 0.75rem;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

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

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

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-primary);
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted-foreground);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--color-foreground);
}

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

.lang-select {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: white;
  color: var(--color-foreground);
  cursor: pointer;
  transition: all 0.2s;
}

.lang-select:hover {
  border-color: var(--color-primary);
}

.lang-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(62, 123, 205, 0.1);
}

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

.btn-login:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-primary);
  color: var(--color-primary);
}

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

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

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

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

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

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

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #2d1b4e 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.15;
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 1rem;
  text-align: center;
}

.hero-text {
  max-width: 48rem;
  margin: 0 auto;
  animation: fadeIn 0.6s ease-out;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.1;
  color: #ffffff;
}

.hero-title .gradient-text {
  display: block;
  background: linear-gradient(135deg, #667eea 0%, #a855f7 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero .btn-outline {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

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

.hero-image {
  max-width: 80rem;
  margin: 0 auto;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--color-border);
}

/* Features Section */
.features {
  padding: 5rem 1rem;
  background: var(--gradient-subtle);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
}

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

.feature-card {
  padding: 2rem;
  border-radius: var(--radius);
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: all 0.3s;
}

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

.feature-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-description {
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

/* Security Section */
.security {
  padding: 5rem 1rem;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.security-image {
  width: 100%;
  border-radius: 1rem;
}

.security-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: rgba(62, 123, 205, 0.1);
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 500;
  width: fit-content;
}

.security-title {
  font-size: 2.25rem;
  font-weight: 700;
}

.security-description {
  font-size: 1.125rem;
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

.security-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.security-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.security-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.security-feature h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.security-feature p {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
}

/* Pricing Section */
.pricing {
  padding: 5rem 1rem;
  background: var(--gradient-subtle);
}

.pricing .section-header {
  margin-bottom: 3rem;
}

/* API Banner */
.api-banner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
}

.api-banner-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.api-banner-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.api-banner-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.api-banner-content p {
  font-size: 0.9375rem;
  opacity: 0.9;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

/* Pricing Card */
.pricing-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border: 2px solid var(--color-primary);
  box-shadow: 0 8px 30px rgba(62, 123, 205, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-card-header {
  margin-bottom: 1.5rem;
}

.pricing-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card-description {
  color: var(--color-muted-foreground);
  font-size: 0.9375rem;
}

.pricing-card-price {
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-foreground);
}

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

.price-note {
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
}

.pricing-features .check-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.btn-block {
  width: 100%;
  text-align: center;
}

/* FAQ Section */
.pricing-faq {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2.5rem;
}

.faq-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

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

.faq-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--color-muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Footer */
.footer {
  position: relative;
  border-top: none;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 100%);
}

.footer-content {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  flex: 1;
  min-width: 200px;
}

.footer .logo {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.footer .logo-icon {
  color: #667eea;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.footer-column a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: #667eea;
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
}

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

/* Contact Section */
.contact-section {
  padding: 5rem 1rem;
  background: var(--color-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

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

.contact-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.contact-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  color: white;
}

.contact-details h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-details p {
  font-size: 1rem;
  color: var(--color-foreground);
}

.contact-details a {
  color: var(--color-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

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

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted-foreground);
  transition: all 0.2s;
}

.social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.contact-form-wrapper {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2rem;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(62, 123, 205, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-muted-foreground);
}

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

/* Form Messages */
.form-message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.form-message-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-message-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Button disabled state */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

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

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  
  .hero-title {
    font-size: 3.75rem;
  }
  
  .hero-content {
    padding: 8rem 1rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .security-title {
    font-size: 2.5rem;
  }
  
  .features {
    padding: 7rem 1rem;
  }
  
  .security {
    padding: 7rem 1rem;
  }
  
  .pricing {
    padding: 7rem 1rem;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.lang-select {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin-right: 10px;
    background: #fff;
    font-size: 14px;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

