:root {
  --primary: #6366f1;
  --secondary: #a855f7;
  --bg-dark: #0b0e14;
  --card-bg: rgba(23, 27, 34, 0.8);
  --text-white: #ffffff;
  --text-gray: #94a3b8;
  --accent: #22d3ee;
  --danger: #ef4444;
}

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

body {
  background: var(--bg-dark);
  background-image: 
    radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
    radial-gradient(at 50% 0%, hsla(225,39%,30%,0.2) 0, transparent 50%), 
    radial-gradient(at 100% 0%, hsla(339,49%,30%,0.2) 0, transparent 50%);
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
}

header {
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.hero {
  text-align: center;
  padding: 4rem 5% 6rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
  background: linear-gradient(to bottom, #fff, #94a3b8);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--text-gray);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  padding: 0 10%;
  max-width: 1200px;
  margin: 0 auto 10rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 2rem;
  border-radius: 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 30px 60px -12px rgba(99, 102, 241, 0.25);
}

.card.popular {
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
  border-color: rgba(99, 102, 241, 0.3);
}

.badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: var(--primary);
  color: white;
  padding: 5px 40px;
  font-size: 0.75rem;
  font-weight: 700;
  transform: rotate(45deg);
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.125rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 1rem;
  color: var(--text-gray);
  font-weight: 400;
}

.storage-info {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
}

.storage-info strong {
  display: block;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 5px;
}

.features {
  list-style: none;
  margin-bottom: 2.5rem;
  text-align: left;
}

.features li {
  margin-bottom: 1rem;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 10px;
}

.features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 900;
}

.btn {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.btn:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: var(--bg-dark);
  padding: 3rem;
  border-radius: 32px;
  width: 90%;
  max-width: 450px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  margin-bottom: 1rem;
}

.status-msg {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
}
