/* OXIO-inspired CSS Styles */
:root {
  --primary-color: #6366f1;
  --primary-hover: #4f46e5;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --text-white: #ffffff;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-light: #e5e7eb;
  --border-medium: #d1d5db;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Header & Navigation */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
}

.nav {
  background: var(--bg-white);
}

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

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

.nav-icon {
  width: 40px;
  height: 40px;
}

.nav-logo h1 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
}

.nav-links a:hover {
  color: var(--primary-color);
  background: var(--bg-light);
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.lang-switch {
  background: var(--primary-color);
  color: var(--text-white) !important;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.lang-switch:hover {
  background: var(--primary-hover) !important;
  color: var(--text-white) !important;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: var(--text-white);
  padding: 3rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.125rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.referral-code-box {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem 0;
  backdrop-filter: blur(10px);
}

.referral-code-box h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.code {
  background: var(--accent-color);
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
}

.hero-cta {
  margin-top: 2rem;
}

.cta-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Content Section */
.content {
  padding: 3rem 0;
  background: var(--bg-white);
}

.content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 2.5rem 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--primary-color);
}

.content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 2rem 0 1rem;
}

.content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 1.5rem 0 0.75rem;
}

.content p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.content ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.content ul li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.content a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.content a:hover {
  color: var(--primary-hover);
  border-bottom-color: var(--primary-hover);
}

/* Step Box */
.step-box {
  background: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  border-radius: 0.75rem;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.step-box ol {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
}

.step-box ol li {
  counter-increment: step-counter;
  margin-bottom: 1.25rem;
  padding-left: 3rem;
  position: relative;
  line-height: 1.7;
}

.step-box ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--primary-color);
  color: var(--text-white);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-box strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* City Grid */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
  list-style: none;
  padding: 0;
}

.city-grid li {
  background: var(--bg-light);
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  border-left: 3px solid var(--secondary-color);
  transition: all 0.3s ease;
}

.city-grid li:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

/* Comparison Box & Pricing Table */
.comparison-box {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  border-radius: 1rem;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem 0;
  background: var(--bg-white);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.price-table th {
  background: var(--primary-color);
  color: var(--text-white);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
}

.price-table td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-dark);
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr.highlight {
  background: linear-gradient(90deg, #dbeafe 0%, #fef3c7 100%);
}

.price-table tr.highlight td {
  font-weight: 600;
  color: var(--primary-color);
}

.price-table tr:hover {
  background: var(--bg-light);
}

.comparison-box p {
  margin: 1rem 0;
  line-height: 1.7;
  font-size: 0.95rem;
}

.comparison-box strong {
  color: var(--primary-color);
  font-weight: 600;
}

.highlight {
  background: linear-gradient(90deg, #fef3c7 0%, #fde68a 100%);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
}

/* CTA Box */
.cta-box {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: var(--text-white);
  border-radius: 1rem;
  padding: 3rem 2rem;
  margin: 3rem 0;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.cta-box h3 {
  color: var(--text-white);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

/* Blockquote / Reviews */
blockquote {
  background: var(--bg-light);
  border-left: 4px solid var(--secondary-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  box-shadow: var(--shadow-sm);
}

blockquote p {
  margin-bottom: 0.75rem;
  color: var(--text-dark);
  line-height: 1.7;
}

blockquote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.95rem;
}

/* Buttons */
.cta-button {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  padding: 1rem 2rem;
}

.cta-button.primary {
  background: var(--accent-color);
  color: var(--text-dark);
}

.cta-button.primary:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-button.secondary {
  background: var(--secondary-color);
  color: var(--text-white);
}

.cta-button.secondary:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.cta-button.large {
  font-size: 1.125rem;
  padding: 1.25rem 2.5rem;
}

/* Sections */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

/* Benefits Section */
.benefits {
  padding: 5rem 0;
  background: var(--bg-light);
}

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

.benefit-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.benefit-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Referral Explanation */
.referral-explanation {
  padding: 5rem 0;
  background: var(--bg-white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.step p {
  color: var(--text-light);
}

.cta-center {
  text-align: center;
}



/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background: var(--bg-white);
}

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

.testimonial-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.testimonial-stars {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.testimonial-card cite {
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 600;
}

.rating-summary {
  text-align: center;
  color: var(--text-dark);
  font-size: 1.125rem;
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background: var(--bg-light);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 300;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Final CTA Section */
.final-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--text-dark), #374151);
  color: var(--text-white);
  text-align: center;
}

.final-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.referral-highlight {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 1rem;
  margin: 2rem 0;
}

.referral-highlight h3 {
  font-size: 1.25rem;
  margin-bottom: 0;
}

.guarantee {
  margin-top: 1rem;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: #e5e7eb;
  padding: 3rem 0 1.5rem;
  border-top: 3px solid var(--primary-color);
}

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

.footer p {
  margin: 0.5rem 0;
  line-height: 1.7;
}

.footer a {
  color: #93c5fd;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.footer a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

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

.footer-section h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section h4 {
  color: #e5e7eb;
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

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

.footer-section ul li a {
  color: #93c5fd;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: #60a5fa;
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-logo h1 {
    font-size: 1.25rem;
  }
  
  .nav-icon {
    width: 32px;
    height: 32px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .nav-links a {
    font-size: 0.875rem;
    padding: 0.5rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }

  .content h2 {
    font-size: 1.75rem;
  }

  .content h3 {
    font-size: 1.25rem;
  }
  
  .hero {
    padding: 2.5rem 0;
  }
  
  .content {
    padding: 2rem 0;
  }
  
  .benefits,
  .referral-explanation,
  .testimonials,
  .faq,
  .final-cta {
    padding: 2.5rem 0;
  }
  
  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }

  .city-grid {
    grid-template-columns: 1fr;
  }

  .price-table {
    font-size: 0.875rem;
  }

  .price-table th,
  .price-table td {
    padding: 0.875rem 0.75rem;
  }
  
  .referral-code-box {
    padding: 1.5rem;
  }

  .step-box {
    padding: 1.5rem;
  }

  .comparison-box {
    padding: 1.5rem;
  }

  .cta-box {
    padding: 2rem 1.5rem;
  }

  .cta-box h3 {
    font-size: 1.5rem;
  }
  
  .final-cta h2 {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 1rem;
  }

  blockquote {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }

  .hero h2 {
    font-size: 1.25rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }

  .content h2 {
    font-size: 1.5rem;
  }
  
  .cta-button {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .cta-button.large {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .benefit-card,
  .testimonial-card {
    padding: 1.5rem;
  }

  .step-box ol li {
    padding-left: 2.5rem;
  }

  .step-box ol li::before {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.8rem;
  }
  
  .final-cta h2 {
    font-size: 1.75rem;
  }

  .code {
    font-size: 1.1rem;
    padding: 0.4rem 0.8rem;
  }

  .price-table {
    font-size: 0.8rem;
  }

  .price-table th,
  .price-table td {
    padding: 0.75rem 0.5rem;
  }
}

/* Animation and Performance */
.benefit-card,
.testimonial-card,
.cta-button {
  will-change: transform;
}

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

/* Focus styles */
.cta-button:focus,
.nav-link:focus,
.faq-question:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .header,
  .footer {
    display: none;
  }
  
  .hero {
    background: none;
    color: var(--text-dark);
  }
  
  .cta-button {
    border: 2px solid var(--text-dark);
    background: none;
    color: var(--text-dark);
  }
}