/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy: #0f172a;
  --dark-navy: #020617;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-lighter: #60a5fa;
  --blue-pale: #dbeafe;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --gray-lighter: #cbd5e1;
  --gray-lightest: #f1f5f9;
  --white: #ffffff;
  --success: #10b981;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--gray-lightest);
  transition: all 0.3s ease;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}

.nav-cta {
  padding: 10px 24px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.9);
  }
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--navy);
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-form {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.email-input {
  flex: 1;
  padding: 16px 24px;
  border: 2px solid var(--gray-lighter);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.email-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
}

.hero-note {
  font-size: 14px;
  color: var(--gray-light);
}

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

.floating-box {
  position: absolute;
  animation: float 6s ease-in-out infinite;
}

.box-1 {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.box-2 {
  top: 40%;
  right: 20%;
  animation-delay: 1s;
}

.box-3 {
  bottom: 20%;
  left: 30%;
  animation-delay: 2s;
}

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

.orbit-circle {
  position: absolute;
  border: 2px solid var(--blue-pale);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.circle-1 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.circle-2 {
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -5s;
}

.circle-3 {
  width: 500px;
  height: 500px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float-orb 15s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  top: -100px;
  right: -100px;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(
    135deg,
    var(--blue-light) 0%,
    var(--blue-lighter) 100%
  );
  bottom: -100px;
  left: -100px;
  animation-delay: -5s;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--gray-lightest);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--navy);
}

.about-text {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.8;
}

/* Features Section */
.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 40px;
  background: var(--white);
  border: 2px solid var(--gray-lightest);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  border-color: var(--blue-pale);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    var(--blue-pale) 0%,
    rgba(219, 234, 254, 0.5) 100%
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy);
}

.feature-description {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
}

/* Coming Soon Highlight */
.coming-soon-highlight {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark-navy) 100%);
  position: relative;
  overflow: hidden;
}

.coming-soon-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: 50px 50px;
}

.coming-soon-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.countdown-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 24px 32px;
  min-width: 120px;
}

.countdown-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.countdown-label {
  font-size: 14px;
  color: var(--gray-lighter);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.countdown-divider {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  opacity: 0.5;
  align-self: center;
  padding-top: 12px;
}

.coming-soon-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon-description {
  font-size: 18px;
  color: var(--gray-lighter);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Newsletter Section */
.newsletter {
  padding: 100px 0;
  background: var(--gray-lightest);
}

.newsletter-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--navy);
}

.newsletter-subtitle {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 40px;
  line-height: 1.8;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.email-input-large {
  flex: 1;
  padding: 20px 28px;
  border: 2px solid var(--gray-lighter);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.email-input-large:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 20px 40px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary-large:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
}

.newsletter-promise {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 40px;
}

.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.social-proof-avatars {
  display: flex;
  margin-left: -8px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--white);
  margin-left: -8px;
  background: linear-gradient(135deg, var(--blue-lighter) 0%, var(--blue) 100%);
}

.social-proof-text {
  font-size: 14px;
  color: var(--gray);
  font-weight: 500;
}

/* Footer */
.footer {
  padding: 60px 0 40px;
  background: var(--navy);
  color: var(--white);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo-text {
  font-size: 24px;
  font-weight: 700;
}

.footer-tagline {
  color: var(--gray-lighter);
  font-size: 14px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--gray-lighter);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: var(--gray-lighter);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  color: var(--gray-lighter);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--white);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: 24px;
  padding: 48px;
  max-width: 440px;
  text-align: center;
  animation: modal-appear 0.3s ease;
}

@keyframes modal-appear {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.modal-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--navy);
}

.modal-description {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 32px;
  line-height: 1.7;
}

.modal-button {
  padding: 16px 40px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-button:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

.modal-button-error {
  background: #ef4444;
}

.modal-button-error:hover {
  background: #dc2626;
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.fade-in-delayed {
  opacity: 0;
  animation: fadeIn 0.8s ease 0.3s forwards;
}

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

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.3s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-visual {
    height: 400px;
  }

  .hero-title {
    font-size: 42px;
  }

  .section-title {
    font-size: 36px;
  }

  .coming-soon-title {
    font-size: 36px;
  }

  .newsletter-title {
    font-size: 36px;
  }

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

  .footer-content {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

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

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

  .section-title {
    font-size: 28px;
  }

  .countdown-container {
    gap: 8px;
    flex-wrap: wrap;
  }

  .countdown-item {
    padding: 16px 20px;
    min-width: 90px;
  }

  .countdown-value {
    font-size: 32px;
  }

  .countdown-divider {
    display: none;
  }

  .coming-soon-title {
    font-size: 28px;
  }

  .newsletter-title {
    font-size: 28px;
  }

  .modal-content {
    margin: 20px;
    padding: 32px;
  }

  .nav-content {
    padding: 16px 0;
  }

  .logo-text {
    font-size: 20px;
  }

  .nav-cta {
    padding: 8px 16px;
    font-size: 13px;
  }
}
