@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap");
:root {
  --main-color: #6366f1;
  --secondary-color: #4f46e5;
  --red: #ef4444;
  --orange: #f97316;
  --green: #10b981;
  --white: #fff;
  --black: #1e293b;
  --light-color: #64748b;
  --light-bg: #f1f5f9;
  --dark-bg: #0f172a;
  --border: .1rem solid rgba(0, 0, 0, 0.1);
  --box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --gradient: linear-gradient(135deg, var(--main-color), var(--secondary-color));
}

body.dark {
  --white: #1e293b;
  --black: #f8fafc;
  --light-color: #cbd5e1;
  --light-bg: #0f172a;
  --dark-bg: #020617;
  --border: .1rem solid rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.header {
  background: var(--white);
  border-bottom: var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-toggle {
  background: var(--light-bg);
  border: var(--border);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
}

.theme-toggle:hover {
  background: var(--main-color);
  color: var(--white);
  transform: scale(1.1);
}

/* Navigation */
.navigation {
  background: var(--light-bg);
  border-bottom: var(--border);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  padding: 1rem 0;
  overflow-x: auto;
}

.nav-links a {
  text-decoration: none;
  color: var(--light-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  background: var(--main-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Main Content */
.main-content {
  padding: 3rem 0;
}

.page-header {
  text-align: center;
  margin-bottom: 4rem;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--light-color);
  max-width: 600px;
  margin: 0 auto;
}

.content-section {
  margin-bottom: 4rem;
  scroll-margin-top: 100px;
}

.content-section h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--black);
  position: relative;
}

.content-section h2::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 4rem;
  height: 0.3rem;
  background: var(--gradient);
  border-radius: 0.15rem;
}

/* Cards */
.info-card {
  background: var(--white);
  border: var(--border);
  border-radius: 1rem;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.info-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--black);
}

.info-card p {
  color: var(--light-color);
  margin-bottom: 1.5rem;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 0.8rem;
  background: var(--light-bg);
  transition: var(--transition);
}

.feature-item:hover {
  background: var(--main-color);
  color: var(--white);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Step List */
.step-list {
  margin-top: 2rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.step-number {
  background: var(--gradient);
  color: var(--white);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.step-content p {
  color: var(--light-color);
}

/* Alert Boxes */
.alert-box {
  padding: 1.5rem;
  border-radius: 0.8rem;
  margin: 2rem 0;
  border-left: 0.4rem solid;
}

.alert-box.warning {
  background: rgba(249, 115, 22, 0.1);
  border-color: var(--orange);
}

.alert-box.info {
  background: rgba(99, 102, 241, 0.1);
  border-color: var(--main-color);
}

.alert-box.danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--red);
}

.alert-box.success {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--green);
}

.alert-box h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--black);
}

.alert-box ul {
  list-style: none;
  padding-left: 0;
}

.alert-box li {
  padding: 0.3rem 0;
  color: var(--light-color);
  position: relative;
  padding-left: 1.5rem;
}

.alert-box li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--main-color);
  font-weight: bold;
}

/* Wallet Features */
.wallet-features {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.wallet-feature {
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 0.8rem;
  transition: var(--transition);
}

.wallet-feature:hover {
  background: var(--main-color);
  color: var(--white);
  transform: translateX(10px);
}

.wallet-feature h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

/* Safety Grid */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.safety-card {
  background: var(--white);
  border: var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.safety-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.safety-card ul {
  list-style: none;
  padding: 0;
}

.safety-card li {
  padding: 0.5rem 0;
  color: var(--light-color);
  position: relative;
  padding-left: 1.5rem;
}

.safety-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: bold;
}

/* Privacy Features */
.privacy-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.privacy-item {
  text-align: center;
  padding: 1.5rem;
}

.privacy-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--black);
}

.privacy-item p {
  color: var(--light-color);
  font-size: 0.9rem;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: var(--white);
  border: var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.contact-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--black);
}

.contact-card p {
  color: var(--light-color);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.contact-link {
  display: inline-block;
  background: var(--gradient);
  color: var(--white);
  text-decoration: none;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: var(--transition);
  max-width: 100%;              /* Prevent it from exceeding container */
  word-wrap: break-word;        /* Break long words */
  white-space: normal;          /* Allow text to wrap */
  overflow-wrap: break-word;    /* Ensure wrapping in all browsers */
}

.contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(99, 102, 241, 0.3);
}

/* Final Note */
.final-note {
  background: var(--light-bg);
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
  margin-top: 4rem;
}

.final-note h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--black);
}

.final-note p {
  color: var(--light-color);
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: var(--light-color);
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer a {
  color: var(--main-color);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .content-section h2 {
    font-size: 1.8rem;
  }

  .info-card {
    padding: 1.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .safety-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 1rem;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 2rem 0;
  }

  .page-header {
    margin-bottom: 2rem;
  }

  .content-section {
    margin-bottom: 2rem;
  }

  .final-note {
    padding: 2rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
a:focus {
  outline: 2px solid var(--main-color);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .header,
  .navigation,
  .footer,
  .theme-toggle {
    display: none;
  }

  .main-content {
    padding: 0;
  }

  .info-card,
  .contact-card,
  .safety-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}
