/* ====================
   Wallee Landing Page Styles + Animations
   ==================== */

/* Variables */
:root {
  --background-dark: #121212;
  --text-light: #f5f5f5;
  --primary-blue: #007bff;
  --secondary-gray: #4a4a4a;
  --accent-white: #ffffff;
  --link-hover-blue: #0056b3;
}

/* Base Styles */
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--background-dark);
  background-image:
    radial-gradient(at 50% 100%, rgba(0, 123, 255, 0.1) 0%, rgba(18, 18, 18, 0) 60%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  background-attachment: fixed;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

.logo {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
}


h1, h2, h3 {
  font-weight: 700;
  color: var(--accent-white);
  line-height: 1.2;
}

p {
  color: #b0b0b0;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--link-hover-blue);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background-color: transparent;
  padding: 20px 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-light);
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--accent-white);
  border: 2px solid var(--primary-blue);
}

.btn-primary:hover {
  background-color: var(--link-hover-blue);
  border-color: var(--link-hover-blue);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background-color: var(--primary-blue);
  color: var(--accent-white);
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 1) 100%);
  padding: 200px 0 100px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.hero-text {
  max-width: 600px;
}

.hero-text h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-image {
  flex-shrink: 0;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* All Sections */
.features, .how-it-works, .security, .faq, .project-guidelines, .cta {
  background-color: transparent;
}

.features, .how-it-works, .security, .faq {
  padding: 50px 0;
  text-align: center;
}

.features h2, .how-it-works h2, .security h2, .faq h2 {
  font-size: 2.5rem;
  margin-bottom: 60px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--secondary-gray);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--primary-blue);
}

/* How It Works Section */
.steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.step {
  max-width: 300px;
  text-align: center;
}

.step h3 {
  font-size: 1.5rem;
  margin-top: 0;
}

/* Security Section */
.security-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.security-image {
  flex-shrink: 0;
  max-width: 400px;
}

.security-image img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.security-text {
  text-align: left;
}

.security-text p {
  max-width: 800px;
  margin: 0;
  font-size: 1.1rem;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.faq-item {
  background-color: var(--secondary-gray);
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-top: 0;
  color: var(--accent-white);
}

/* Project Guidelines Section */
.project-guidelines {
  padding: 100px 0;
}

.project-info,
.milestones {
  margin-bottom: 40px;
}

.project-guidelines h2 {
  font-size: 2.5rem;
  margin-bottom: 60px;
  text-align: left;
}

.project-guidelines h3 {
  text-align: left;
}

.project-guidelines p {
  text-align: left;
}

.project-guidelines table {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 40px;
  border-collapse: collapse;
  background-color: var(--secondary-gray);
  border-radius: 10px;
  overflow: hidden;
  text-align: left;
}

.project-guidelines th, .project-guidelines td {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.project-guidelines th {
  background-color: var(--primary-blue);
  color: var(--accent-white);
  font-weight: 600;
}

.project-guidelines td {
  color: #b0b0b0;
}

/* To give a better ratio for the columns */
.project-guidelines table th:nth-child(1),
.project-guidelines table td:nth-child(1) {
  width: 20%;
}

.project-guidelines table th:nth-child(2),
.project-guidelines table td:nth-child(2) {
  width: 15%;
}

.project-guidelines table th:nth-child(3),
.project-guidelines table td:nth-child(3) {
  width: 65%;
}

.project-guidelines tr:last-child td {
  border-bottom: none;
}

/* CTA Section */
.cta {
  background-color: var(--primary-blue);
  color: var(--accent-white);
  border-radius: 20px;
  padding: 80px 40px;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  color: var(--accent-white);
  margin-bottom: 30px;
}

.cta .btn-primary {
  background-color: var(--accent-white);
  color: var(--primary-blue);
  border-color: var(--accent-white);
}

.cta .btn-primary:hover {
  background-color: var(--link-hover-blue);
  border-color: var(--link-hover-blue);
  color: var(--accent-white);
}

/* Footer */
.footer {
  background-color: var(--background-dark);
  padding: 50px 0;
  text-align: center;
  border-top: 1px solid var(--secondary-gray);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer h3 {
  font-size: 1.8rem;
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: invert(70%) sepia(20%) saturate(1) hue-rotate(180deg);
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}

/* Animations */
section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary,
.btn-secondary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-secondary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.4s ease;
}

.btn-primary:hover::after,
.btn-secondary:hover::after {
  left: 0;
}

.hero-image img,
.feature-card,
.step,
.faq-item {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image img {
  animation: float 4s ease-in-out infinite;
}

.logo2 {
  background: #111;
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  border: none;
  border-radius: .5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-block;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.logo2:hover, .logo2:focus, .logo2:active {
  background: #111;
  color: #fff;
  outline: none;
}

.Gdisplay {
  width: 200px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #111;
  border-radius: 12px;
  font-size: 2.5rem;
  font-weight: 800;
  user-select: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.generate {
  padding:10px 16px;
  font-size:1rem;
  border:none;
  border-radius:8px;
  background:#111;
  color:#fff;
  cursor:pointer;
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bal {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.pos { color: #0a8f33; }
.neg { color: #c62828; }
.zero { color: #444; }

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

@media (prefers-reduced-motion: no-preference) {
  body {
    scroll-behavior: smooth;
  }
}

/* Media Queries for Responsiveness */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
}

@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  h2 {
    font-size: 2rem;
  }
  .hero-text h2 {
    font-size: 2.5rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .steps {
    flex-direction: column;
    gap: 20px;
  }
}

