/* ============================================
   Base Styles for Thank You Page
   ============================================ */

:root {
  --primary-color: #00d4ff;
  --secondary-color: #00ff88;
  --background-dark: #0a1128;
  --text-white: #ffffff;
  --text-muted: #94a3b8;
  --glass-bg: rgba(0, 212, 255, 0.05);
  --glass-border: rgba(0, 212, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0a1128 0%, #1a1f3a 100%);
  color: var(--text-white);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Thank You Page Styles */
body.thankyou-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.thankyou-container {
  max-width: 800px;
  width: 100%;
  background: rgba(10, 17, 40, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: var(--glass-shadow);
  text-align: center;
}

/* Success Icon */
.success-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(0, 212, 255, 0);
  }
}

.success-icon .checkmark {
  width: 50px;
  height: 50px;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: checkmark 1s ease-in-out forwards;
}

@keyframes checkmark {
  to {
    stroke-dashoffset: 0;
  }
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-white);
}

/* Next Steps */
.next-steps {
  text-align: left;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.next-steps ol {
  margin: 1rem 0 0 1.5rem;
  padding-left: 0.5rem;
}

.next-steps li {
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  color: var(--text-muted);
}

.next-steps li strong {
  color: var(--text-white);
  display: block;
  margin-bottom: 0.25rem;
}

/* Support Info */
.support-info {
  text-align: left;
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
}

.support-info h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.support-info p {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.support-info a {
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.support-info a:hover {
  opacity: 0.8;
}

/* Account Summary */
.account-summary {
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.account-summary h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  text-align: center;
}

.summary-grid {
  display: grid;
  gap: 1rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem;
  background: rgba(10, 17, 40, 0.5);
  border-radius: 8px;
}

.summary-label {
  color: var(--text-muted);
  font-weight: 500;
}

.summary-value {
  color: var(--text-white);
  font-weight: 600;
}

/* Trust Signals */
.trust-signals {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.trust-item {
  text-align: center;
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================
   Responsive Styles
   ============================================ */

/* ==================== LARGE DESKTOP (1440px+) ==================== */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
  
  .section {
    padding: 100px 20px;
  }
}

/* ==================== DESKTOP (1024px - 1439px) ==================== */
@media (max-width: 1439px) {
  .hero-grid {
    gap: 40px;
  }
}

/* ==================== TABLET LANDSCAPE (768px - 1023px) ==================== */
@media (max-width: 1023px) {
  :root {
    --section-padding: 60px 20px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .registration-form {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== TABLET PORTRAIT (640px - 767px) ==================== */
@media (max-width: 767px) {
  :root {
    --section-padding: 50px 15px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  
  .navbar {
    padding: 0 15px;
  }
  
  .logo {
    font-size: 1.25rem;
  }
  
  .logo-icon {
    width: 35px;
    height: 35px;
  }
  
  .hero {
    padding-top: 80px;
    padding-bottom: 40px;
  }
  
  .hero::before {
    width: 600px;
    height: 600px;
  }
  
  .section-title {
    margin-bottom: 2.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .stat-card {
    padding: 1.5rem;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .faq-question {
    padding: 1.25rem;
    font-size: 1rem;
  }
  
  .faq-answer-content {
    padding: 0 1.25rem 1.25rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==================== MOBILE (480px - 639px) ==================== */
@media (max-width: 639px) {
  :root {
    font-size: 15px;
  }
  
  .registration-form {
    padding: 2rem 1.5rem;
  }
  
  .glass-card {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  .trust-badge {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
  
  .next-steps {
    padding: 1.5rem;
  }
  
  .thankyou-container {
    padding: 2rem 1.5rem;
  }
  
  .cta-buttons {
    gap: 0.75rem;
  }
}

/* ==================== Thank You Page Responsive Styles ==================== */
@media (max-width: 768px) {
  .thankyou-container {
    padding: 2rem 1.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .next-steps {
    padding: 1.5rem;
  }
  
  .support-info {
    padding: 1.5rem;
  }
}

@media (max-width: 639px) {
  .thankyou-container {
    padding: 2rem 1.25rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .success-icon {
    width: 70px;
    height: 70px;
  }
  
  .next-steps ol {
    padding-left: 1.25rem;
  }
  
  .trust-signals {
    flex-direction: column;
    gap: 1rem;
  }
  
  .summary-item {
    flex-direction: column;
    gap: 0.25rem;
  }
}

@media (max-width: 479px) {
  .thankyou-container {
    padding: 1.5rem 1rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .next-steps,
  .support-info,
  .account-summary {
    padding: 1.25rem;
  }
  
  .success-icon {
    width: 60px;
    height: 60px;
  }
  
  .success-icon .checkmark {
    width: 35px;
    height: 35px;
  }
}

/* ==================== EXTRA SMALL MOBILE (< 375px) ==================== */
@media (max-width: 374px) {
  :root {
    font-size: 14px;
    --section-padding: 35px 12px;
  }
  
  .container {
    padding: 0 12px;
  }
  
  .registration-form {
    padding: 1.25rem 0.75rem;
  }
  
  .form-control {
    padding: 10px 14px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .glass-card {
    padding: 1.25rem;
  }
}

/* ==================== LANDSCAPE MODE (Mobile) ==================== */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 100px 20px 40px;
  }
  
  .thankyou-container {
    margin: 40px auto;
  }
}

/* ==================== TOUCH DEVICES ==================== */
@media (hover: none) and (pointer: coarse) {
  /* Ensure all interactive elements are touch-friendly */
  .btn,
  .form-control,
  .lang-trigger,
  .faq-question {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Remove hover effects on touch devices */
  .glass-card:hover {
    transform: none;
  }
  
  /* Larger tap targets for links */
  .footer-links a {
    display: block;
    padding: 8px 0;
  }
}

/* ==================== PRINT STYLES ==================== */
@media print {
  .header,
  .language-switcher,
  .footer,
  #loadering {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .glass-card,
  .registration-form {
    border: 1px solid #ccc;
    box-shadow: none;
  }
}

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

/* ==================== HIGH CONTRAST MODE ==================== */
@media (prefers-contrast: high) {
  :root {
    --glass-border: rgba(255, 255, 255, 0.3);
  }
  
  .form-control,
  .glass-card,
  .btn {
    border-width: 2px;
  }
}

/* ==================== DARK MODE PREFERENCE ==================== */
@media (prefers-color-scheme: light) {
  /* The site is designed for dark mode,
     but we could add light mode overrides here if needed */
}


