/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-black: #0a0a0a;
  --secondary-black: #1a1a1a;
  --dark-gray: #2a2a2a;
  --medium-gray: #404040;
  --light-gray: #888888;
  --golden: #d4af37;
  --golden-light: #f4d03f;
  --golden-dark: #b7950b;
  --white: #ffffff;
  --white-soft: #f8f9fa;

  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
  font-family: var(--font-primary);
  background: linear-gradient(
    135deg,
    var(--primary-black) 0%,
    var(--secondary-black) 100%
  );
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Particle Background */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--golden);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 8s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0;
  }
}

/* Container */
.container {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.header {
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  animation: slideDown 1s ease-out;
}

.logo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--golden) 0%,
    var(--golden-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.logo-accent {
  width: 4px;
  height: 4px;
  background: var(--golden);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--golden);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* Main Content */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.content-wrapper {
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.main-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.title-line {
  display: block;
  animation: slideInLeft 1s ease-out both;
}

.title-line:nth-child(2) {
  animation-delay: 0.2s;
}

.title-line:nth-child(3) {
  animation-delay: 0.4s;
}

.golden {
  background: linear-gradient(
    135deg,
    var(--golden) 0%,
    var(--golden-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  position: relative;
}

.golden::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--golden), transparent);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px var(--golden);
  }
  to {
    box-shadow: 0 0 20px var(--golden), 0 0 30px var(--golden-light);
  }
}

.subtitle {
  font-size: 1.25rem;
  color: var(--light-gray);
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.6;
  animation: fadeIn 1s ease-out 0.6s both;
}

/* Countdown */
.countdown-container {
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  min-width: 100px;
}

.time-unit:hover {
  transform: translateY(-5px);
  border-color: var(--golden);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.time-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--golden);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-feature-settings: "tnum";
}

.time-label {
  font-size: 0.875rem;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Email Section */
.email-section {
  animation: fadeInUp 1s ease-out 1s both;
  margin-bottom: 3rem;
}

.email-form {
  margin-bottom: 1rem;
}

.input-container {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  padding: 4px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition-smooth);
}

.input-container:focus-within {
  border-color: var(--golden);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.email-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1rem 1.5rem;
  color: var(--white);
  font-size: 1rem;
  outline: none;
  border-radius: 50px 0 0 50px;
}

.email-input::placeholder {
  color: var(--light-gray);
}

.submit-btn {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--golden) 0%,
    var(--golden-light) 100%
  );
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  color: var(--primary-black);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  overflow: hidden;
  min-width: 120px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s;
}

.submit-btn:hover .btn-shine {
  left: 100%;
}

.btn-text {
  position: relative;
  z-index: 1;
}

.privacy-text {
  font-size: 0.875rem;
  color: var(--light-gray);
  margin-top: 0.5rem;
}

/* Services Section */
.services-section {
  animation: fadeInUp 1s ease-out 1.2s both;
  margin-bottom: 2rem;
}

.services-title {
  font-size: 1.5rem;
  color: var(--golden);
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.service-item:hover {
  transform: translateY(-5px);
  border-color: var(--golden);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

.service-icon {
  font-size: 2rem;
  filter: grayscale(1);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.service-item:hover .service-icon {
  filter: grayscale(0);
  transform: scale(1.1);
}

.service-text {
  font-size: 1rem;
  color: var(--light-gray);
  font-weight: 500;
  line-height: 1.4;
}

.service-item:hover .service-text {
  color: var(--white);
}

/* Footer */
.footer {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeIn 1s ease-out 1.4s both;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--light-gray);
  transition: var(--transition-smooth);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  background: var(--golden);
  color: var(--primary-black);
  transform: translateY(-3px);
}

.copyright {
  font-size: 0.875rem;
  color: var(--light-gray);
}

/* Success Message */
.success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(26, 26, 26, 0.95);
  border: 1px solid var(--golden);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: var(--transition-bounce);
  opacity: 0;
}

.success-message.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.success-content h3 {
  color: var(--golden);
  margin: 1rem 0 0.5rem;
  font-size: 1.5rem;
}

.success-content p {
  color: var(--light-gray);
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--golden);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  color: var(--primary-black);
  font-weight: bold;
}

/* Animations */
@keyframes slideDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .countdown {
    gap: 1rem;
  }

  .time-unit {
    padding: 1rem;
    min-width: 80px;
  }

  .time-value {
    font-size: 2rem;
  }

  .input-container {
    flex-direction: column;
    max-width: 300px;
    border-radius: 12px;
  }

  .email-input {
    border-radius: 12px;
    text-align: center;
  }

  .submit-btn {
    border-radius: 12px;
    margin-top: 4px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-item {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.125rem;
  }

  .countdown {
    gap: 0.5rem;
  }

  .time-unit {
    padding: 0.75rem;
    min-width: 70px;
  }

  .time-value {
    font-size: 1.75rem;
  }

  .time-label {
    font-size: 0.75rem;
  }
}

/* Loading Animation */
.loading {
  opacity: 0.5;
  pointer-events: none;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
