/* Modern Waitlist Landing Page */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #0a0e1a;
  color: #fff;
  position: relative;
}

/* Animated Background */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #0a0e1a 0%,
    #1a1f3a 25%,
    #0f1724 50%,
    #1a1f3a 75%,
    #0a0e1a 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: -2;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Particles Background */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(111, 79, 242, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(43, 212, 199, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(111, 79, 242, 0.1) 0%, transparent 50%);
  animation: particleFloat 20s ease-in-out infinite;
  z-index: -1;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0) translateX(0); }
  33% { transform: translateY(-20px) translateX(10px); }
  66% { transform: translateY(20px) translateX(-10px); }
}

/* CSS Variables */
:root {
  --accent: #6f4ff2;
  --accent-2: #2bd4c7;
  --accent-3: #8b5cf6;
  --bg: #0f1724;
  --card: rgba(255, 255, 255, 0.05);
  --muted: #9aa4b2;
  --muted-light: #cbd5e1;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px;
  backdrop-filter: blur(20px);
  /* background: rgba(10, 14, 26, 0.7); */
  animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 70px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  color: var(--muted-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  background: var(--glass);
  backdrop-filter: blur(10px);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--glass-border);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(111, 79, 242, 0.2);
}

/* Main Hero Section */
#waitlist-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 40px;
  z-index: 1;
}

.hero {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.hero-inner {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Hero Copy Section */
.hero-copy {
  flex: 1 1 520px;
  min-width: 280px;
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.title {
  font-size: clamp(36px, 6vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.title br {
  display: block;
  content: "";
  margin-top: 8px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.subtitle {
  margin: 0 0 40px;
  color: var(--muted-light);
  font-size: 16px;
  line-height: 1.6;
  max-width: 58ch;
  font-weight: 400;
}

/* Form Styles */
.waitlist-form {
  margin-bottom: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.field-group {
  position: relative;
}

.waitlist-form input[type="text"],
.waitlist-form input[type="email"] {
  width: 100%;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1.5px solid var(--glass-border);
  background: var(--glass);
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  font-family: inherit;
}

.waitlist-form input::placeholder {
  color: var(--muted);
}

.waitlist-form input:hover {
  border-color: rgba(111, 79, 242, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.waitlist-form input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 4px rgba(111, 79, 242, 0.15),
              0 8px 32px rgba(111, 79, 242, 0.2);
  transform: translateY(-2px);
}

/* Button Styles */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 18px 32px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 
    0 4px 20px rgba(111, 79, 242, 0.3),
    0 0 0 0 rgba(111, 79, 242, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  width: 100%;
  font-family: inherit;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 30px rgba(111, 79, 242, 0.4),
    0 0 0 4px rgba(111, 79, 242, 0.2);
}

.btn:active {
  transform: translateY(-1px);
}

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

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Form Message */
.form-msg {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(43, 212, 199, 0.1);
  border: 1px solid rgba(43, 212, 199, 0.3);
  color: var(--accent-2);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Features */
.features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted-light);
  font-weight: 500;
}

.feature-icon {
  font-size: 18px;
}

/* Hero Visual Section */
.hero-visual {
  flex: 1 1 400px;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.visual-container {
  position: relative;
  width: 100%;
  max-width: 420px;
}

/* Main Card */
.card-main {
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 32px;
  border-radius: 20px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.card-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(111, 79, 242, 0.3);
}

.card-title {
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted-light);
  font-size: 15px;
}

.check {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
  animation: floatCard 8s ease-in-out infinite;
}

.card-1 {
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}

.card-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  25% { transform: translateY(-10px) translateX(5px); }
  50% { transform: translateY(0px) translateX(10px); }
  75% { transform: translateY(10px) translateX(5px); }
}

.floating-icon {
  font-size: 20px;
}

.floating-text {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

/* Utility Classes */
.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-inner {
    gap: 40px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-visual {
    order: -1;
    width: 100%;
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
  
  .visual-container {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    gap: 32px;
  }
  
  .subtitle {
    font-size: 17px;
    margin-bottom: 32px;
  }
  
  .waitlist-form {
    margin-bottom: 28px;
  }
  
  .card-main {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  .main-nav {
    padding: 12px 16px;
    position: sticky;
    top: 0;
  }
  
  .nav-container {
    gap: 12px;
  }
  
  /*.logo-img {*/
  /*  height: 32px;*/
  /*}*/
  
  /*.nav-link {*/
  /*  padding: 8px 14px;*/
  /*  font-size: 13px;*/
  /*  white-space: nowrap;*/
  /*}*/
  
  #waitlist-hero {
    padding: 24px 16px 32px;
    min-height: calc(100vh - 60px);
  }
  
  .hero {
    width: 100%;
  }
  
  .hero-inner {
    gap: 28px;
    flex-direction: column-reverse;
  }
  
  .hero-copy {
    width: 100%;
    order: 2;
  }
  
  .hero-visual {
    order: 1;
    width: 100%;
    margin-bottom: 0;
  }
  
  .badge {
    font-size: 12px;
    padding: 6px 14px;
    margin-bottom: 16px;
    display: inline-flex;
  }
  
  .title {
    font-size: clamp(32px, 10vw, 42px);
    line-height: 1.15;
    margin: 0 0 16px;
    letter-spacing: -0.03em;
  }
  
  .title br {
    margin-top: 4px;
  }
  
  .subtitle {
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 28px;
    max-width: 100%;
  }
  
  .waitlist-form {
    margin-bottom: 24px;
  }
  
  .form-grid {
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .waitlist-form input[type="text"],
  .waitlist-form input[type="email"] {
    padding: 14px 18px;
    font-size: 16px;
    border-radius: 10px;
    -webkit-appearance: none;
    appearance: none;
  }
  
  .btn {
    padding: 16px 24px;
    font-size: 16px;
    border-radius: 10px;
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .form-msg {
    font-size: 13px;
    padding: 10px 14px;
    margin-top: 12px;
    border-radius: 8px;
  }
  
  .features {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
  }
  
  .feature-item {
    font-size: 13px;
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    gap: 6px;
  }
  
  .feature-icon {
    font-size: 16px;
    flex-shrink: 0;
  }
  
  .visual-container {
    width: 100%;
    max-width: 100%;
  }
  
  .card-main {
    padding: 20px;
    border-radius: 16px;
    width: 100%;
    margin: 0 auto;
  }
  
  .card-header {
    margin-bottom: 20px;
    gap: 10px;
  }
  
  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
    border-radius: 10px;
  }
  
  .card-title {
    font-size: 18px;
  }
  
  .card-body {
    gap: 14px;
  }
  
  .benefit-item {
    font-size: 14px;
    gap: 10px;
  }
  
  .check {
    width: 20px;
    height: 20px;
    font-size: 11px;
    flex-shrink: 0;
  }
  
  .floating-card {
    display: none;
  }
}

@media (max-width: 480px) {
  .main-nav {
    padding: 10px 12px;
  }
  
  .logo-img {
    height: 58px;
  }
  
  /*.nav-link {*/
  /*  padding: 6px 12px;*/
  /*  font-size: 12px;*/
  /*}*/
  
  #waitlist-hero {
    padding: 70px 18px 28px;
  }
  
  .badge {
    font-size: 11px;
    padding: 5px 12px;
    margin-bottom: 14px;
  }
  
  .title {
    font-size: clamp(28px, 9vw, 38px);
    margin: 0 0 14px;
  }
  
  .subtitle {
    font-size: 14px;
    margin: 0 0 24px;
    line-height: 1.6;
  }
  
  .waitlist-form {
    margin-bottom: 20px;
  }
  
  .form-grid {
    gap: 10px;
    margin-bottom: 14px;
  }
  
  .waitlist-form input[type="text"],
  .waitlist-form input[type="email"] {
    padding: 13px 16px;
    font-size: 15px;
  }
  
  .btn {
    padding: 15px 20px;
    font-size: 15px;
    min-height: 50px;
  }
  
  .features {
    gap: 12px;
    margin-top: 20px;
  }
  
  .feature-item {
    font-size: 12px;
    flex: 1 1 100%;
  }
  
  .card-main {
    padding: 18px;
    border-radius: 14px;
  }
  
  .card-header {
    margin-bottom: 18px;
  }
  
  .card-title {
    font-size: 16px;
  }
  
  .benefit-item {
    font-size: 13px;
  }
}

/* Loading Animation */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.btn.loading {
  pointer-events: none;
}

.btn.loading .btn-text {
  animation: pulse 1.5s ease-in-out infinite;
}
