/* ===== Base Styles ===== */
:root {
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-dark: #4f46e5;
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --card-bg: rgba(15, 23, 42, 0.6);
  --card-border: rgba(255, 255, 255, 0.08);
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
  background-attachment: fixed;
  color: var(--text);
  padding: 20px;
  text-align: center;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Background Effects ===== */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.1'/%3E%3C/svg%3E");
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== Container & Layout ===== */
.container {
  position: relative;
  background: var(--card-bg);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--card-border);
  border-radius: 44px;
  padding: 3.5rem 2.5rem;
  max-width: 1000px;
  width: 90%;
  min-height: 600px;
  box-shadow: var(--shadow);
  overflow: hidden;
  z-index: 1;
  transition: var(--transition);
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  z-index: 2;
}

/* ===== Logo ===== */
.logo {
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
}

.logo svg {
  filter: drop-shadow(0 4px 20px rgba(99, 102, 241, 0.3));
}

.logo-circle {
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 1.5s ease-in-out;
  transform-origin: center;
}

.logo-arrow {
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  transition: stroke-dashoffset 1s ease-in-out 0.5s;
  transform-origin: center;
}

/* ===== Content ===== */
.content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.title {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
  background: linear-gradient(90deg, #fff, #e2e8f0);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.subtitle {
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1.7;
  margin: 0 auto 3rem;
  max-width: 600px;
  opacity: 0.9;
}


/* ===== Features ===== */
.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 3rem 0;
}

.feature {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  min-width: 150px;
  transition: var(--transition);
  cursor: default;
  backdrop-filter: blur(5px);
}

.feature:hover {
  transform: translateY(-5px);
  background: rgba(99, 102, 241, 0.15);
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.2);
}

.feature i {
  font-size: 1.5rem;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
  display: inline-block;
  transition: var(--transition);
}

.feature span {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

/* ===== CTA Section ===== */
.cta {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Button Group */
.button-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 1rem 2rem;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transform: translateZ(0);
  will-change: transform;
  min-width: 160px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  box-shadow: 0 4px 15px -5px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.5);
}

.btn:hover::before {
  opacity: 1;
}

.btn i {
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(5px);
}

/* ===== Social Links ===== */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 1.25rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px -5px rgba(99, 102, 241, 0.4);
}

.social-link:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-3px) scale(1.1);
  text-decoration: none;
  box-shadow: 0 8px 25px -5px rgba(99, 102, 241, 0.8);
}

/* ===== Footer ===== */
.footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
  .button-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .container {
    padding: 2.5rem 1.5rem;
    min-height: auto;
    width: 95%;
  }
  
  .title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
  }
  
  .subtitle {
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
  }
  
  .features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
  }
  
  .feature {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .social-links {
    width: 100%;
    justify-content: center;
  }
}

/* ===== Utility Classes ===== */
.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===== Print Styles ===== */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .container {
    box-shadow: none !important;
    border: 1px solid #eee !important;
    background: white !important;
  }
}
