:root {
  --primary: #ff6b00;
  --secondary: #2563eb;
  --bg-dark: #0f1419;
  --text-main: #f8fafc;
  --text-dim: #94a3b8;
  --transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-blur: 40px;
  --glass-saturate: 180%;
  --glass-border-light: rgba(255, 255, 255, 0.5);
  --glass-border-subtle: rgba(255, 255, 255, 0.15);
  --glass-specular: rgba(255, 255, 255, 0.8);
  --glass-inner-glow: rgba(255, 255, 255, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(255, 107, 0, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 70% 70% at 90% 85%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 70% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 40%),
    linear-gradient(160deg, #1a1f2e 0%, #0f1419 50%, #0c1015 100%);
  animation: bgShift 20s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0% { background-position: 0% 0%, 100% 100%, 70% 30%, 0% 0%; }
  100% { background-position: 5% 5%, 95% 90%, 65% 35%, 0% 0%; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Header */
header {
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border-bottom: 1px solid rgba(255,255,255,0.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 20px rgba(0,0,0,0.1);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.coming-soon-badge {
  padding: 0.4rem 1rem;
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: 20px;
  color: #ff6b00;
  font-size: 0.8rem;
  font-weight: 600;
  animation: pulse 2s ease-in-out infinite;
}

/* Main */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  line-height: 1.1;
}

.hero-text p {
  font-size: 1.25rem;
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

.launch-date {
  font-size: 1rem !important;
  color: #ff6b00 !important;
  font-weight: 600;
  margin-bottom: 3rem !important;
}

.role-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 808px;
}

/* Apple Liquid Glass Cards */
.role-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.15) 100%);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border-radius: 32px;
  border: 1px solid;
  border-color: var(--glass-border-light) var(--glass-border-subtle) var(--glass-border-subtle) var(--glass-border-light);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.6),
    inset 0 0 20px var(--glass-inner-glow),
    0 0 0 0.5px rgba(255,255,255,0.1),
    0 4px 16px rgba(0,0,0,0.12),
    0 12px 32px rgba(0,0,0,0.18);
  padding: 3.4rem 2.1rem;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease, background 0.3s ease;
  position: relative;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.role-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 100%);
  border-radius: 32px 32px 0 0;
  pointer-events: none;
}

.role-card:hover {
  transform: translateY(-8px) scale(1.02);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.2) 100%);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.8),
    inset 0 0 30px rgba(255,255,255,0.1),
    0 0 0 0.5px rgba(255,255,255,0.2),
    0 8px 24px rgba(0,0,0,0.15),
    0 20px 48px rgba(0,0,0,0.2);
}

.role-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.role-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

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

/* Buttons */
.btn {
  margin-top: 2rem;
  padding: 0.9rem 2.2rem;
  border-radius: 980px;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, filter 0.2s ease;
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(180deg, #ff7a1a 0%, #ff6b00 100%);
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 2px 8px rgba(255,107,0,0.3),
    0 4px 16px rgba(255,107,0,0.2);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 4px 12px rgba(255,107,0,0.4),
    0 8px 24px rgba(255,107,0,0.25);
  filter: brightness(1.05);
}

.btn-secondary {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 2px 8px rgba(37,99,235,0.3),
    0 4px 16px rgba(37,99,235,0.2);
}

.btn-secondary:hover {
  transform: scale(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.4),
    0 4px 12px rgba(37,99,235,0.4),
    0 8px 24px rgba(37,99,235,0.25);
  filter: brightness(1.05);
}

/* City Section */
.city-section {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 0 1.5rem;
}

.city-section h2 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.city-subtitle {
  color: rgba(255,255,255,0.5);
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.city-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.city-pill {
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  color: #fff;
  font-size: 0.85rem;
  transition: all 0.2s;
  cursor: default;
}

.city-pill:hover {
  border-color: #ff6b00;
  background: rgba(255,107,0,0.1);
}

/* Features Section */
.features-section {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.features-section h2 {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Footer */
footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
  .role-card {
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    backdrop-filter: blur(30px) saturate(160%);
    -webkit-backdrop-filter: blur(30px) saturate(160%);
  }
  .role-card::before {
    border-radius: 24px 24px 0 0;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .role-card {
    padding: 2rem 1.2rem;
    border-radius: 20px;
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
  }
  .role-card::before {
    border-radius: 20px 20px 0 0;
  }
  .role-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
  .hero-text h1 {
    font-size: 2rem;
  }
}
