/* CSS Variables for Theming */
:root {
    /* Colors */
    --primary-bg: #000000;
    --secondary-bg: #111111;
    --accent-color: #dcab60; /* Purple accent */
    --accent-color-alt: #ffffff; /* Deep red alternative */
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --card-bg: #1a1a1a;
    --card-hover-bg: #222222;
    --form-bg: #1e1e1e;
    --form-border: #333333;
    --form-focus: var(--accent-color);
    
    /* Typography */
    --font-main: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --font-heading: 'Montserrat', 'Arial Narrow', sans-serif;
    
    /* Spacing */
    --section-padding: 6rem 0;
    --container-width: 1200px;
    --container-padding: 0 2rem;
    
    /* Effects */
    --transition-speed: 0.3s;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    --card-hover-shadow: 0 15px 30px rgba(138, 43, 226, 0.2);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background-color: var(--primary-bg);
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.highlight {
    color: var(--accent-color);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--accent-color-alt);
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

section {
    padding: var(--section-padding);
    position: relative;
}

/* Background Animation Canvas */
/* Canvas Style */
#backgroundAnimation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
    pointer-events: none;
}

.logo-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    padding-right: 11px;
}
.logo-text {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-text .highlight {
    color: purple;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    opacity: 0;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

.loader-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 50%;
    background-color: var(--accent-color);
    animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
    0% {
        left: -50%;
    }
    100% {
        left: 150%;
    }
}

/* Header */
.header {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
}

.header.sticky {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav li {
    margin-left: 2rem;
}

.nav a {
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-speed) ease;
}

.nav a:hover::after {
    width: 100%;
}

.price-widgets {
    display: flex;
    gap: 1.5rem;
}

.widget {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.widget i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.widget-label {
    margin-right: 0.3rem;
    color: var(--text-muted);
}

.widget-value {
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: black;
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
    margin-bottom: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: white;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        top: 10px;
        opacity: 1;
    }
    100% {
        top: 25px;
        opacity: 0;
    }
}
.arrow {
    width: 15px;
    height: 15px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    animation: scrollArrow 2s infinite;
}

/* @keyframes scrollArrow {
    0%, 100% {
        opacity: 0;
        transform: translateY();
    }
    50% {
        opacity: 1;
        transform: translateY(20px);
    }
} */

/* About Section */
.about {
    background-color: var(--secondary-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-placeholder {
    aspect-ratio: 1/1;
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow);
}

.about-text {
    flex: 1;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Investments Section */
.investment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 350px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
    background-color: var(--card-hover-bg);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(138, 43, 226, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.card-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2.5rem 2rem;
    background-color: var(--card-hover-bg);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover .card-hover-content {
    opacity: 1;
}

.card-hover-content ul {
    list-style: none;
}

.card-hover-content li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.card-hover-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* Contact Section */
.contact-content {
    display: flex;
    flex-direction: row-reverse;
    gap: 4rem;
    margin-top: 3rem;
    align-items: stretch;
}

.contact-form {
    flex: 1;
    background-color: var(--form-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
}

.contact-info {
    flex: 1;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
    font-family: var(--font-main);
}


.form-group {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1rem 0.6rem;
    background-color: rgba(0, 0, 0, 0.6); /* dark background */
    border: 1px solid var(--form-border);
    border-radius: 10px;
    color: #fff; /* white text */
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
    appearance: none;
}

.form-group select option {
    background-color: #000; /* dark background for dropdown items */
    color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px var(--accent-color);
}

.form-group label {
    position: absolute;
    top: 1.2rem;
    left: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: transparent;
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:not([value=""]) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.75rem;
    color: var(--accent-color);
    background-color: var(--form-bg);
    padding: 0 0.2rem;
}

.form-group select {
    padding-right: 2rem;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20fill%3D%22white%22%20height%3D%2212%22%20width%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20d%3D%22M7%2010l5%205%205-5z%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    cursor: pointer;
}


/* Footer */
.footer {
    background-color: #000;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    columns: 2;
    column-gap: 3rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    transition: color var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom p:first-child {
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    background: transparent;
    overflow: hidden;
    padding: var(--section-padding);
  }
  
  .hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-in-out forwards;
  }
  
  .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .highlight {
    color: var(--accent-color);
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
  }
  
  .hero-quote {
    font-style: italic;
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 1rem;
    animation: fadeIn 1.5s ease-in-out 0.4s forwards;
  }
  
  .hero-buttons {
    display: flex;
    gap: 1.2rem;
  }
  
  .btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .btn-primary {
    background-color: var(--accent-color);
    color: white;
  }
  
  .btn-primary:hover {
    background-color: #ff6743;
  }
  
  .btn-secondary {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
  }
  
  .btn-secondary:hover {
    background-color: var(--accent-color);
    color: white;
  }
  
  /* Scroll Indicator */
  .scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0.8;
  }
  
  .mouse {
    width: 25px;
    height: 40px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
    margin: auto;
  }
  
  .wheel {
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
  }
  
  .arrow {
    width: 15px;
    height: 15px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    animation: scrollArrow 2s infinite;
    margin: auto;
    margin-top: 8px;
  }
  
  /* Animations */
  @keyframes scrollWheel {
    0%, 100% {
      opacity: 0;
      transform: translateX(-50%) translateY(0);
    }
    50% {
      opacity: 1;
      transform: translateX(-50%) translateY(10px);
    }
  }
  
  /* @keyframes scrollArrow {
    0%, 100% {
      opacity: 0;
      transform: rotate(45deg) translateY(0);
    }
    50% {
      opacity: 1;
      transform: rotate(45deg) translateY(5px);
    }
  } */
  
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {
    .hero-title {
      font-size: 3rem;
    }
  }
  
  @media (max-width: 768px) {
    :root {
      --section-padding: 4rem 0;
    }
  
    .hero-title {
      font-size: 2.5rem;
    }
  
    .hero-subtitle {
      font-size: 1.2rem;
    }
  
    .hero-buttons {
      flex-direction: column;
    }
  }
  
  @media (max-width: 480px) {
    :root {
      --section-padding: 3rem 0;
    }
  
    .hero-title {
      font-size: 2rem;
    }
  
    .hero-quote {
      font-size: 1rem;
    }
  }
  
  /* ===== FLIP FORM ===== */
.flip-card {
  perspective: 1200px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 420px;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(.4,.2,.2,1);
}

.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-front,
.flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 3rem;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.06),
    rgba(0,0,0,0.7)
  );
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

/* BACK */
.flip-back {
  transform: rotateY(180deg);
  text-align: center;
}

/* FORM TITLE */
.form-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.glow {
  text-shadow: 0 0 10px var(--accent-color);
}

/* TOKEN TEXT */
.token-text {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* FULL WIDTH BUTTON */
.btn.full {
  width: 100%;
  margin-top: 1rem;
}

/* ERROR MESSAGE */
.error-msg {
  margin-top: 1rem;
  color: #ff4d4d;
  opacity: 0;
  transform: translateY(5px);
  transition: 0.4s ease;
}

.error-msg.show {
  opacity: 1;
  transform: translateY(0);
}

/* =======================
   MOBILE FIXES
   ======================= */

@media (max-width: 768px) {

  /* Header */
  .header {
    padding: 0.8rem 0;
  }

  .logo-icon img {
    width: 40px;
    height: 40px;
  }

  /* Navigation */
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #000;
    display: none;
    flex-direction: column;
    padding: 1.5rem 0;
  }

  .nav.active {
    display: flex;
  }

  .nav ul {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .nav li {
    margin: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  /* Hero */
  .hero {
    min-height: auto;
    height: auto;
    padding-top: 120px;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }

  .scroll-indicator {
    display: none;
  }

  /* About */
  .about-content {
    flex-direction: column;
    gap: 2rem;
  }

  .stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Investments */
  .investment-cards {
    grid-template-columns: 1fr;
  }

  .card {
    height: auto;
  }

  /* Contact */
  .contact-content {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-form,
  .contact-info {
    padding: 2rem 1.5rem;
  }

  /* Flip form */
  .flip-inner {
    height: auto;
    min-height: 420px;
  }

  .flip-front,
  .flip-back {
    padding: 2rem 1.5rem;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-links ul {
    columns: 1;
  }
}


