/* Voiact - Professional Corporate Design */

/* ============================================
   RESET & BASE
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Voiact Brand Color Palette */
  --color-white: #ffffff;
  --color-bg: #f8f9fb;
  --color-bg-alt: #f1f4f8;
  --color-border: #e1e5eb;
  --color-border-light: #eef1f6;
  
  --color-primary: #2c3e8f;
  --color-primary-dark: #1e2b66;
  --color-accent: #d97617;
  --color-accent-hover: #b86314;
  
  --color-text: #2c3e50;
  --color-text-light: #5a6c7d;
  --color-text-muted: #8891a0;
  
  --border-radius: 4px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
  --transition: all 0.2s ease;
  
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --spacing-unit: 1rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-white);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 16px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

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

a:hover {
  color: var(--color-accent-hover);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

main {
  flex: 1;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

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

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

.nav-brand img {
  height: 32px;
  width: auto;
}

.nav-brand:hover {
  opacity: 0.85;
}

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

.nav-links li a {
  color: var(--color-text-light);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 0;
}

.nav-links li a:hover {
  color: var(--color-primary);
}

.lang-switch {
  background: var(--color-bg-alt);
  color: var(--color-text);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.875rem;
  border: 1px solid var(--color-border);
}

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

.nav-button {
  padding: 0.5rem 1.25rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.nav-button-login {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

.nav-button-login:hover:not(:disabled) {
  background: var(--color-bg-alt);
  border-color: var(--color-primary);
}

.nav-button-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.nav-button-primary:hover:not(:disabled) {
  background: var(--color-primary-dark);
}

.nav-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  padding: 4.5rem 0 4rem;
  text-align: center;
  background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border-light);
}

.hero-logo {
  max-width: 280px;
  height: auto;
  margin: 0 auto 1.5rem;
  display: block;
}

.tagline {
  text-align: center;
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: -0.5rem 0 2rem;
  opacity: 0.9;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  max-width: 650px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-button {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.cta-button:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cta-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--color-text-muted);
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 4rem 0;
}

section:nth-child(even) {
  background: var(--color-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-primary);
}

/* ============================================
   CARDS & GRID
   ============================================ */
.features-grid,
.steps-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

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

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.card h3 {
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  font-size: 1.125rem;
}

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

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.7;
}

/* ============================================
   COMING SOON
   ============================================ */
.coming-soon {
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-white) 100%);
}

.coming-soon-card {
  position: relative;
  opacity: 0.85;
}

.coming-soon-card:hover {
  opacity: 1;
}

.coming-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
  background: var(--color-bg);
}

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

.pricing-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  border: 2px solid var(--color-border);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.pricing-featured {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(217, 118, 23, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border-light);
}

.pricing-header h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

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

.pricing-price .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

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

.pricing-annual {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

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

.pricing-features li {
  padding: 0.75rem 0;
  color: var(--color-text);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--color-border-light);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-button {
  width: 100%;
  padding: 0.875rem 1.5rem;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition);
}

.pricing-button:hover:not(:disabled) {
  background: var(--color-bg);
  border-color: var(--color-primary);
}

.pricing-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.pricing-button-primary {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

.pricing-button-primary:hover:not(:disabled) {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* ============================================
   TRUST / PAYMENT LOGOS
   ============================================ */
.trust-section {
  text-align: center;
  padding: 3.5rem 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.trust-section h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.payment-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.payment-logos img {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: var(--transition);
  filter: grayscale(20%);
}

.payment-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--color-bg);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9375rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.625rem;
}

.footer-section ul li a {
  color: var(--color-text-light);
  font-size: 0.875rem;
}

.footer-section ul li a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-page {
  padding: 3rem 0;
  background: var(--color-white);
}

.legal-page h1 {
  margin-bottom: 2.5rem;
  text-align: center;
  color: var(--color-primary);
}

.legal-page h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-border-light);
  padding-bottom: 0.5rem;
}

.legal-page h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
}

.legal-page p,
.legal-page ul {
  margin-bottom: 1.25rem;
  color: var(--color-text-light);
  max-width: 850px;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.legal-page ul {
  list-style-position: outside;
  padding-left: 1.5rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
}

.legal-page em {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.contact-info {
  background: var(--color-bg);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid var(--color-border);
}

.contact-info p {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.contact-info strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  nav {
    flex-wrap: wrap;
    padding: 0.875rem 0;
  }

  .nav-links {
    width: 100%;
    gap: 1rem;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  section {
    padding: 3rem 0;
  }

  .features-grid,
  .steps-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .payment-logos {
    gap: 2rem;
  }

  .payment-logos img {
    height: 36px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .card {
    padding: 1.5rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}