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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #0b0f19 0%, #1a1f3a 100%);
  color: white;
  line-height: 1.6;
}

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1f2937;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-weight: 700;
  color: #38bdf8;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.5px;
}

.logo-icon {
  font-size: 24px;
  animation: bounce 2s infinite;
}

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

.btn-small {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  padding: 10px 20px;
  border-radius: 8px;
  color: black;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

/* HERO */
.hero {
  padding: 120px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  text-align: left;
}

.badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: #94a3b8;
  max-width: 500px;
  font-size: 16px;
  margin-bottom: 30px;
}

.subscribe-form {
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid #1f2937;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 14px;
  transition: all 0.3s ease;
}

input[type="email"]:focus {
  outline: none;
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

input[type="email"]::placeholder {
  color: #64748b;
}

.btn-submit {
  padding: 14px 28px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  border: none;
  border-radius: 8px;
  color: black;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

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

.spinner {
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
}

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

.note {
  display: block;
  color: #64748b;
  font-size: 13px;
}

.message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}

.message.success {
  background: rgba(34, 197, 94, 0.1);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
  display: block;
}

.message.error {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: block;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 400px;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
}

.card-emoji {
  font-size: 32px;
}

.card-text {
  font-size: 14px;
  font-weight: 600;
  color: #38bdf8;
}

.card-1 {
  top: 0;
  left: 0;
  animation-delay: 0s;
}

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

.card-3 {
  bottom: 0;
  left: 60px;
  animation-delay: 2s;
}

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

/* FEATURES */
.features {
  padding: 100px 20px;
  background: rgba(11, 15, 25, 0.5);
  text-align: center;
}

.features h2 {
  font-size: 40px;
  margin-bottom: 50px;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.5), rgba(56, 189, 248, 0.05));
  padding: 40px 30px;
  border-radius: 16px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-8px);
  border-color: #38bdf8;
  box-shadow: 0 20px 40px rgba(56, 189, 248, 0.1);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  color: #38bdf8;
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}

.card p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
}

/* STATS */
.stats {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), rgba(6, 182, 212, 0.05));
}

.stats h2 {
  font-size: 36px;
  margin-bottom: 16px;
  font-weight: 700;
}

.stats > p {
  color: #94a3b8;
  margin-bottom: 40px;
  font-size: 16px;
}

.stat-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.stat-item h3 {
  font-size: 48px;
  color: #38bdf8;
  margin-bottom: 8px;
  font-weight: 800;
}

.stat-item p {
  color: #94a3b8;
  font-size: 14px;
}

/* CTA SECTION */
.cta {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(6, 182, 212, 0.1));
}

.cta h2 {
  font-size: 40px;
  margin-bottom: 12px;
  font-weight: 700;
}

.cta > p {
  color: #94a3b8;
  margin-bottom: 30px;
  font-size: 16px;
}

.subscribe-form-cta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.subscribe-form-cta input {
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid #1f2937;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 14px;
  min-width: 300px;
}

.subscribe-form-cta input:focus {
  outline: none;
  border-color: #38bdf8;
  background: rgba(255, 255, 255, 0.1);
}

.subscribe-form-cta input::placeholder {
  color: #64748b;
}

.subscribe-form-cta button {
  padding: 14px 28px;
  background: linear-gradient(135deg, #38bdf8, #0ea5e9);
  border: none;
  border-radius: 8px;
  color: black;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
}

.subscribe-form-cta button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

/* FOOTER */
footer {
  background: rgba(11, 15, 25, 0.8);
  border-top: 1px solid #1f2937;
  padding: 60px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #38bdf8;
}

.footer-content p {
  color: #94a3b8;
  font-size: 14px;
}

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

.footer-content li {
  margin-bottom: 10px;
}

.footer-content a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-content a:hover {
  color: #38bdf8;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #1f2937;
  color: #64748b;
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-visual {
    height: 300px;
  }

  .floating-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  .form-group {
    flex-direction: column;
  }

  input[type="email"] {
    min-width: 100%;
  }

  .btn-submit {
    width: 100%;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stat-box {
    grid-template-columns: 1fr;
  }

  .subscribe-form-cta input {
    min-width: 100%;
  }

  .nav {
    padding: 16px 20px;
  }

  .logo {
    font-size: 16px;
  }
}

.stat-box {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stat-box h3 {
  font-size: 28px;
  color: #38bdf8;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  border-top: 1px solid #1f2937;
  color: #64748b;
}