/* Custom Font Face Declarations */
@font-face {
  font-family: "FT Regola Neue Regular";
  src: url("./FTRegolaNeue-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FT Regola Neue Medium";
  src: url("./FTRegolaNeue-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: normal;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  font-smooth: never !important;
}

body {
  font-family: "FT Regola Neue Regular", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-color: #ffffff;
  color: #131313;
  line-height: 1.4;
  font-weight: normal;
}

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

/* Header */
.header {
  padding: 32px 0;
  position: relative;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo-dreamcash {
  display: block;
  height: 45px;
}

.logo-dreamcash img {
  height: 100%;
  width: auto;
}

.logo-dreamcash a {
  text-decoration: none;
  display: block;
  height: 100%;
}

.logo-default {
  display: none;
}

.logo-mobile {
  display: block;
}

@media (min-width: 768px) {
  .logo-default {
    display: block;
  }

  .logo-mobile {
    display: none;
  }
}

.trade-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  color: #ffffff;
  text-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px;
}

.follow-button {
  font-family: "FT Regola Neue Medium", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #f5f5f7;
  border: none;
  border-radius: 1000px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  color: rgba(19, 19, 19, 0.5);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.follow-button:hover {
  background: #e5e5e7;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 0;
  max-width: 500px;
  margin: 0 auto;
}

.hero-content {
  margin-bottom: -40px;
  z-index: 69;
  position: relative;
}

.hero-title {
  font-size: clamp(48px, 1.4vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.13rem;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .hero-title {
    letter-spacing: -0.03rem;
  }
}

.hero-title .highlight {
  font-family: "FT Regola Neue Medium", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #131313;
}

.hero-title .muted {
  font-family: "FT Regola Neue Medium", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: #999999;
}

.early-access-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 150, 247, 0.19);
  border-radius: 1000px;
  padding: 4px 8px 4px 4px;
  margin-bottom: 12px;
}

.badge-icon {
  width: 18px;
  height: 18px;
}

.badge-text {
  font-family: "FT Regola Neue Medium", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 14px;
  color: #0096f7;
  letter-spacing: -0.24px;
}

.hero-stats {
  font-size: 14px;
  color: #999999;
  line-height: 1.2;
  max-width: 196px;
  margin: 0 auto;
  display: none;
}

.hero-stats .number {
  color: #131313;
}

.phone-mockup {
  width: 100%;
  max-width: 491px;
  height: 491px;
  border-radius: 20px;
  margin: -10px auto;
  overflow: hidden;
}

.phone-mockup video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-section {
  margin-top: 40px;
  z-index: 69;
  position: relative;
}

.download-text {
  font-size: 16px;
  color: #999999;
  margin: 0 auto;
  margin-bottom: 16px;
  line-height: 1.2;
  max-width: 339px;
  font-family: "FT Regola Neue Regular", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-weight: normal;
}

.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-btn {
  font-family: "FT Regola Neue Medium", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px 13px 20px;
  border-radius: 1000px;
  border: none;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: -0.28px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.download-btn.ios {
  background: #131313;
  color: #ffffff;
}

.download-btn.ios:hover {
  background: #000000;
}

.download-btn.android {
  background: #f5f5f7;
  color: #131313;
}

.download-btn.android:hover {
  background: #e5e5e7;
}

.btn-icon {
  width: 16px;
  height: 16px;
}

/* Footer */
.footer {
  padding: 60px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: start;
}

.footer-logo {
  height: auto;
}

.footer-logo img {
  height: auto;
  width: auto;
}

.qr-code {
  width: fit-content;
  height: 100%;
}

.qr-code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  gap: 80px;
}

.footer-column h3 {
  font-size: 13px;
  color: #131313;
  margin-bottom: 24px;
  letter-spacing: -0.13px;
}

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

.footer-column ul li {
  margin-bottom: 18px;
  line-height: 0.6;
}

.footer-column ul li:last-child {
  margin-bottom: 0;
}

.footer-column ul li a {
  font-size: 13px;
  color: rgba(19, 19, 19, 0.4);
  text-decoration: none;
  letter-spacing: -0.13px;
}

.footer-column ul li a:hover {
  color: rgba(19, 19, 19, 0.6);
}

.footer-bottom {
  margin-top: 40px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-direction: column;
  text-align: right;
  gap: 4px;
}

.copyright {
  font-size: 12px;
  color: rgba(112, 112, 112, 0.4);
}

.company-info .company-name {
  font-size: 13px;
  color: rgba(19, 19, 19, 0.4);
  letter-spacing: -0.26px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
  }

  .trade-text {
    position: static;
    transform: none;
    order: -1;
    display: none;
  }

  .hero {
    padding: 40px 0;
  }

  .hero-title {
    font-size: 40px;
    letter-spacing: -0.03rem;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-nav {
    gap: 20px;
    justify-content: space-between;
  }

  .footer-bottom {
  }
}

/* Volume Toggle Button */
.phone-mockup {
  position: relative;
}

.volume-toggle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f7;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(19, 19, 19, 0.5);
  transition: all 0.2s ease;
  z-index: 10;
}

.volume-toggle:hover {
  background: #e5e5e7;
  color: rgba(19, 19, 19, 0.7);
}

.volume-icon {
  width: 18px;
  height: 18px;
}

/* Responsive Video Sizing */
/* Mobile screens */
@media (max-width: 768px) {
  .phone-mockup {
    max-width: 550px;
    height: 650px;
  }
}

/* Tablet screens */
@media (min-width: 769px) and (max-width: 1024px) {
  .phone-mockup {
    max-width: 550px;
    height: 650px;
  }
}

/* Laptop screens (current size) */
@media (min-width: 1025px) and (max-width: 1440px) {
  .phone-mockup {
    max-width: 550px;
    height: 650px;
  }
}

/* Large desktop screens */
@media (min-width: 1441px) and (max-width: 1920px) {
  .phone-mockup {
    max-width: 600px;
    height: 600px;
  }
}

/* Extra large screens */
@media (min-width: 1921px) {
  .phone-mockup {
    max-width: 720px;
    height: 720px;
  }
}

.animation-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.snake-container {
  position: relative;
  width: 320px;
  height: 200px;
  overflow: hidden;
  background: white;
  margin: 0 auto;
  contain: layout style paint;
  transform: translateZ(0);
}

.circle {
  position: absolute;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  background: #ff6b6b;
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  contain: layout style paint;
}

/* Left gradient overlay - white vortex effect */
.gradient-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 150px;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.8) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 10;
  pointer-events: none;
}

/* Right gradient overlay - white vortex effect */
.gradient-right {
  position: absolute;
  right: 0;
  top: 0;
  width: 150px;
  height: 100%;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.8) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 10;
  pointer-events: none;
}

/* Hide title words initially to prevent flash before animation */
.hero-title .word {
  opacity: 0;
}

/* Initial hidden states for page animations */
.header {
  opacity: 0;
}

.download-section:first-of-type {
  opacity: 0;
  transform: translateY(40px);
}

.phone-mockup {
  opacity: 0;
  transform: translateY(20px);
}

.early-access-badge,
.download-text {
  opacity: 0;
  transform: translateY(20px);
}

.snake-container {
  opacity: 0;
  transform: translateY(20px);
}

.footer {
  opacity: 0;
  transform: translateY(20px);
}

/* Download Modal */
.download-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0px);
  cursor: pointer;
  transition: all 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

.download-modal.show .modal-overlay {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.modal-content {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 400px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(40px);
  transition: all 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

.download-modal.show .modal-content {
  opacity: 1;
  transform: translateY(0px);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f7;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(19, 19, 19, 0.5);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #e5e5e7;
  color: rgba(19, 19, 19, 0.7);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-title {
  font-family: "FT Regola Neue Medium", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 24px;
  color: #131313;
  letter-spacing: -0.23px;
  margin-bottom: 24px;
}

.modal-qr {
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-qr img {
  width: fit-content;
  height: 100%;
  border: 2px solid #e7e7e7;
  border-radius: 24px;
}

.modal-direct-link {
  font-family: "FT Regola Neue Medium", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: none;
  border: none;
  color: #0096f7;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
}

.modal-direct-link:hover {
  color: #0080d6;
}

/* Support Page Styles */
.support-main {
  padding: 80px 0 120px;
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.support-content {
  position: relative;
  z-index: 1;
}

.support-title {
  font-family: "FT Regola Neue Medium", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: clamp(36px, 8vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.1rem;
  color: #131313;
  margin-bottom: 16px;
}

.support-description {
  font-size: 16px;
  color: #999999;
  line-height: 1.4;
  margin-bottom: 40px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.support-form {
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  font-family: "FT Regola Neue Medium", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 14px;
  color: #131313;
  display: block;
  margin-bottom: 8px;
  letter-spacing: -0.14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #e5e5e7;
  border-radius: 8px;
  font-family: "FT Regola Neue Regular", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  color: #131313;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #0096f7;
  box-shadow: 0 0 0 3px rgba(0, 150, 247, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999999;
}

.submit-btn {
  font-family: "FT Regola Neue Medium", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  width: 100%;
  padding: 16px 24px;
  background: #131313;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  letter-spacing: -0.16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.submit-btn:hover {
  background: #000000;
}

.submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.submit-btn:disabled:hover {
  background: #131313;
}

.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.success-message {
  text-align: center;
  padding: 40px;
  background: rgba(0, 150, 247, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(0, 150, 247, 0.1);
}

.success-message p {
  font-size: 16px;
  color: #131313;
  margin: 0;
  line-height: 1.4;
}

/* Support Page Responsive */
@media (max-width: 768px) {
  .support-main {
    padding: 60px 0 80px;
  }

  .support-title {
    font-size: 32px;
    letter-spacing: -0.05rem;
  }

  .support-form {
    max-width: 100%;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px; /* Prevent zoom on iOS */
  }
}

/* Brand Kit Page Styles */
.brand-kit-main {
  padding: 80px 0 120px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.brand-kit-content {
  position: relative;
  z-index: 1;
}

.brand-kit-title {
  font-family: "FT Regola Neue Medium", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: clamp(36px, 8vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.1rem;
  color: #131313;
  margin-bottom: 16px;
}

.brand-kit-description {
  font-size: 16px;
  color: #999999;
  line-height: 1.4;
  margin-bottom: 60px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.brand-assets {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.brand-asset {
  width: 100%;
  max-width: 400px;
}

.asset-image {
  margin-bottom: 16px;
}

.asset-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  border: 1px solid #e5e5e7;
  display: block;
}

.asset-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.asset-name {
  font-family: "FT Regola Neue Medium", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: 16px;
  color: #131313;
  letter-spacing: -0.16px;
}

.brand-assets .download-btn {
  font-family: "FT Regola Neue Medium", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #f5f5f7;
  border: none;
  border-radius: 1000px;
  padding: 8px 16px;
  font-size: 14px;
  color: rgba(19, 19, 19, 0.7);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  letter-spacing: -0.14px;
}

.brand-assets .download-btn:hover {
  background: #e5e5e7;
  color: rgba(19, 19, 19, 0.9);
}

/* Brand Kit Page Responsive */
@media (max-width: 768px) {
  .brand-kit-main {
    padding: 60px 0 80px;
    max-width: 100%;
  }

  .brand-kit-title {
    font-size: 32px;
    letter-spacing: -0.05rem;
  }

  .brand-kit-description {
    margin-bottom: 40px;
  }

  .brand-assets {
    gap: 32px;
  }

  .brand-asset {
    max-width: 100%;
  }
}
