@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap");

:root {
  --color-primary: #22d1f8;
  --color-secondary: #7c3aed;
  --color-white: #ffffff;
  --color-dark: #1a1a1a;
  --color-gray: #2a2a2a;
  --color-gray-light: #3a3a3a;
  --color-text: #e0e0e0;
  --color-text-muted: #a0a0a0;

  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --gradient-ray: linear-gradient(90deg, transparent 0%, var(--color-primary) 50%, transparent 100%);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-dark);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Disclaimer Banner */
.disclaimer-banner {
  background: var(--gradient-primary);
  color: var(--color-white);
  text-align: center;
  padding: 12px 20px;
  font-weight: 500;
  font-size: 14px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Navigation */
.ray-nav {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-gray);
  position: sticky;
  top: 38px;
  z-index: 999;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-primary);
  transition: all 0.3s ease;
}

/* Ray Canvas */
.ray-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Hero Section */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 80px 20px;
}

.hero-section h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 24px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-text-muted);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 16px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 209, 248, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

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

/* Velocity Stream Sections */
.velocity-stream {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
}

.velocity-stream::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) skewY(-2deg);
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(34, 209, 248, 0.03) 0%, rgba(124, 58, 237, 0.03) 100%);
  z-index: -1;
}

.velocity-stream:nth-child(even)::before {
  transform: translateX(-50%) skewY(2deg);
}

/* Section Headings */
h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 32px;
  text-align: center;
}

h3 {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin: 48px 0;
}

.feature-card {
  background: var(--color-gray);
  border: 1px solid var(--color-gray-light);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(34, 209, 248, 0.2);
}

.feature-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.feature-card h3 {
  text-align: left;
  margin-bottom: 12px;
}

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

/* Benefits List */
.benefits-list {
  list-style: none;
  margin: 32px 0;
}

.benefits-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  color: var(--color-text);
}

.benefits-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* Tables */
.table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-gray);
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table thead {
  background: var(--gradient-primary);
}

.comparison-table th {
  padding: 16px;
  text-align: left;
  color: var(--color-white);
  font-weight: 600;
}

.comparison-table td {
  padding: 16px;
  border-top: 1px solid var(--color-gray-light);
  color: var(--color-text);
}

.comparison-table tbody tr:hover {
  background: var(--color-gray-light);
}

/* Guide Steps */
.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.step-card {
  background: var(--color-gray);
  border: 1px solid var(--color-gray-light);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 20px;
  text-align: left;
}

/* CTA Box */
.cta-box {
  background: var(--color-gray);
  border: 2px solid var(--color-primary);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  margin: 48px 0;
}

.cta-box h3 {
  margin-bottom: 16px;
}

.official-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Info/Warning Boxes */
.info-box,
.warning-box {
  padding: 24px;
  border-radius: 12px;
  margin: 32px 0;
}

.info-box {
  background: rgba(34, 209, 248, 0.1);
  border-left: 4px solid var(--color-primary);
}

.warning-box {
  background: rgba(255, 193, 7, 0.1);
  border-left: 4px solid #ffc107;
}

.warning-box h3 {
  text-align: left;
  color: #ffc107;
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin: 48px 0;
}

.review-card {
  background: var(--color-gray);
  border: 1px solid var(--color-gray-light);
  border-radius: 12px;
  padding: 32px;
}

.review-stars {
  color: #ffc107;
  font-size: 20px;
  margin-bottom: 16px;
}

.review-text {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.6;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-author strong {
  color: var(--color-white);
}

.review-author span {
  color: var(--color-text-muted);
  font-size: 14px;
}

.reviews-disclaimer {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

/* Page Hero */
.page-hero {
  padding: 120px 20px 60px;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 800px;
  margin: 0 auto;
}

/* Content Section */
.content-section {
  padding: 60px 20px;
}

.content-section p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.numbered-steps {
  list-style: none;
  counter-reset: step-counter;
  margin: 32px 0;
}

.numbered-steps li {
  counter-increment: step-counter;
  margin-bottom: 32px;
  padding-left: 60px;
  position: relative;
}

.numbered-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.numbered-steps strong {
  display: block;
  color: var(--color-white);
  font-size: 20px;
  margin-bottom: 8px;
}

/* FAQ Section */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-gray);
  border: 1px solid var(--color-gray-light);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

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

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--color-primary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  max-height: 1000px;
}

.faq-answer p {
  padding: 0 24px 24px;
  color: var(--color-text);
  line-height: 1.8;
}

/* Blog Section */
.blog-grid {
  display: grid;
  gap: 32px;
  margin: 48px 0;
}

.blog-card {
  background: var(--color-gray);
  border: 1px solid var(--color-gray-light);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(34, 209, 248, 0.2);
}

.blog-header h2 {
  font-size: 24px;
  text-align: left;
  margin-bottom: 12px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.blog-date,
.blog-category {
  font-size: 14px;
  color: var(--color-text-muted);
}

.blog-category {
  padding: 4px 12px;
  background: rgba(34, 209, 248, 0.2);
  border-radius: 4px;
  color: var(--color-primary);
}

.blog-preview p {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.blog-content {
  margin-top: 16px;
}

.blog-content p {
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.blog-toggle {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-toggle:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Privacy Policy */
.privacy-list {
  list-style: none;
  margin: 24px 0;
}

.privacy-list li {
  padding: 12px 0;
  color: var(--color-text);
  line-height: 1.8;
}

.privacy-list strong {
  color: var(--color-white);
}

/* Footer */
.site-footer {
  background: var(--color-gray);
  border-top: 1px solid var(--color-gray-light);
  padding: 60px 20px 30px;
  margin-top: 80px;
}

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

.footer-section h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 18px;
  margin-bottom: 16px;
}

.footer-section p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

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

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--color-gray-light);
  color: var(--color-text-muted);
  font-size: 14px;
}

/* Animations */
@keyframes ray-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

.ray-pulse {
  animation: ray-pulse 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 108px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 108px);
    background: rgba(26, 26, 26, 0.98);
    flex-direction: column;
    padding: 40px;
    gap: 24px;
    transition: left 0.3s ease;
  }

  .nav-links.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-section {
    min-height: 70vh;
    padding: 60px 20px;
  }

  .features-grid,
  .guide-steps,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
  }

  .official-links {
    flex-direction: column;
  }

  .table-wrapper {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .velocity-stream {
    padding: 60px 16px;
  }

  .feature-card,
  .step-card,
  .review-card,
  .blog-card {
    padding: 24px;
  }

  .cta-box {
    padding: 24px;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --color-text: #ffffff;
    --color-text-muted: #cccccc;
  }

  .feature-card,
  .step-card,
  .review-card,
  .blog-card,
  .faq-item {
    border-width: 2px;
  }
}
