:root {
    --primary: #0dffd7;      /* Bright teal/cyan that matches logo */
    --primary-dark: #0CB9B9; /* Darker version for hover states */
    --secondary: #1E40AF;
    --accent: #FF5733;
    --background: #0F1729;
    --background-light: #1A2236;
    --background-card: #141C2F;
    --text: #FFFFFF;
    --text-muted: #94A3B8;
    --border: #2D3748;
    --teal-dark: #008888;
    --teal-medium: #00A3A3;
    --teal-light: #00BFBF;
    --glow-green: rgba(13, 255, 169, 0.5); /* Green glow instead of teal glow */
    --accent-green: #0DFFA9; /* Bright lime green for accents and glows */
    --accent-green-glow: rgba(13, 255, 169, 0.6); /* Brighter green glow */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

html, body {
   max-width: 100%;
   overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.mono {
    font-family: 'Roboto Mono', monospace;
}

.highlight {
    color: var(--primary);
}

.accent {
    color: var(--accent);
}

h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style-position: inside;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 255, 169, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(13, 255, 169, 0.3) 0%, rgba(13, 255, 169, 0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

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

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    position: relative;
    z-index: 1;
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.btn-outline:hover {
    color: var(--background);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 255, 169, 0.2);
}

.btn-outline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: rgba(15, 23, 41, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.header-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 2rem;
     box-sizing: border-box;
 }

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Header actions container */
.header-actions {
    display: flex;
    align-items: center;
     gap: 0.5rem;
}

/* CTA button */
.header-cta {
    position: relative;
    white-space: nowrap;
    transform: translateZ(0); /* Force hardware acceleration */
    will-change: transform; /* Optimize for animations */
    backface-visibility: hidden;
}

@media (max-width: 1055px) {
.header-cta {
  display:none !important
}

.nav-links {
    display: none;
}

.mobile-menu-toggle {
    display: block !important;
}
}

/* Mobile menu toggle */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--background-card);
  z-index: 1000;
  padding: 2rem;
  transition: right 0.3s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  overflow-y: auto; /* In case content is taller than viewport */
}

.mobile-menu.active {
  right: 0;
  display: block;
  overflow-y: auto;
  height: 100%;
  max-height: 100vh;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw; /* Use viewport width */
  height: 100vh; /* Use viewport height */
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hero Section */
.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
    padding-top: 10rem;
    box-sizing: border-box;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 500;
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(13, 255, 169, 0.1);
    border-radius: 2rem;
    border: 1px solid rgba(13, 255, 169, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.crypto-animation {
    width: 100%;
    height: 400px;
    background-color: var(--background-card);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Ecosystem Sections */
.ecosystem-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.alt-bg {
    background-color: var(--background-light);
}

.ecosystem-header, .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.ecosystem-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ecosystem-content.reverse {
    direction: rtl;
}

.ecosystem-content.reverse > * {
    direction: ltr;
}

.ecosystem-image {
    position: relative;
}

.ecosystem-illustration {
    width: 100%;
    height: 400px;
    background-color: var(--background-card);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.ecosystem-info {
    display: flex;
    flex-direction: column;
}

.ecosystem-info h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.ecosystem-info p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background-color: rgba(13, 255, 169, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--glow-green);
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.feature-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.benefits-list {
    margin-bottom: 2rem;
    background-color: var(--background-card);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
}

.benefits-list h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.benefits-list ul {
    margin-left: 1rem;
}

.benefits-list li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.vision-text {
    font-style: italic;
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding: 1rem;
    border-left: 3px solid var(--primary);
    background-color: rgba(13, 255, 169, 0.05);
}

/* Use Cases Section */
.use-cases-section {
    padding: 6rem 0;
    background-color: var(--background);
    position: relative;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.use-case-card {
    background-color: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.use-case-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(13, 255, 169, 0.1);
}

.use-case-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(13, 255, 169, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--glow-green);
}

.use-case-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.use-case-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.use-case-image {
    width: 100%;
    height: 200px;
    background-color: var(--background-light);
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.image-container {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    transition: transform 0.5s ease;
}

.use-case-card:hover .image-container {
    transform: scale(1.05);
}

.ecommerce-image {
    background-image: url('ecommerce-case.jpg');
}

.finance-image {
    background-image: url('finance-case.jpg');
}

.enterprise-image {
    background-image: url('enterprise-case.jpg');
}

.use-case-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.use-case-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-color: rgba(13, 255, 169, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon svg {
    width: 12px;
    height: 12px;
    color: var(--primary);
}

/* Roadmap Section */
.roadmap-section {
    padding: 6rem 0;
    background-color: var(--background-light);
    position: relative;
}

.roadmap-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 0;
}

.roadmap-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: var(--border);
    transform: translateX(-50%);
}

.roadmap-item {
    position: relative;
    margin-bottom: 6rem;
    width: 100%;
}

.roadmap-item:last-child {
    margin-bottom: 0;
}

.roadmap-point {
    position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    background-color: var(--background-card);
    border: 2px solid var(--border);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.3s ease;
}

.roadmap-item.completed .roadmap-point {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--glow-green);
}

.roadmap-item.active .roadmap-point {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    box-shadow: 0 0 15px var(--accent-green-glow);
    animation: pulse 2s infinite;
}

.roadmap-content {
    position: relative;
    width: 45%;
    padding: 2rem;
    background-color: var(--background-card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.roadmap-item:nth-child(odd) .roadmap-content {
    margin-left: auto;
}

.roadmap-item:nth-child(odd) .roadmap-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    width: 20px;
    height: 20px;
    background-color: var(--background-card);
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transform: translateY(50%) rotate(45deg);
}

.roadmap-item:nth-child(even) .roadmap-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: var(--background-card);
    border-right: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: translateY(50%) rotate(45deg);
}

.roadmap-item:hover .roadmap-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(13, 255, 169, 0.1);
    border-color: var(--primary);
}

.roadmap-date {
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.roadmap-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.roadmap-milestones {
    margin-bottom: 1.5rem;
    margin-left: 1.5rem;
}

.roadmap-milestones li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.roadmap-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.roadmap-status.completed {
    background-color: rgba(13, 255, 169, 0.1);
    color: var(--primary);
    border: 1px solid rgba(13, 255, 169, 0.3);
}

.roadmap-status.active {
    background-color: rgba(255, 87, 51, 0.1);
    color: var(--accent);
    border: 1px solid rgba(255, 87, 51, 0.3);
}

.roadmap-status.upcoming {
    background-color: rgba(148, 163, 184, 0.1);
    color: var(--text-muted);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Demo Section */
.demo-section {
    padding: 6rem 0;
    background: linear-gradient(145deg, var(--background) 0%, rgba(15, 23, 41, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.demo-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.demo-content {
    position: relative;
    z-index: 2;
}

.demo-features {
    margin: 2rem 0;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-check {
    width: 28px;
    height: 28px;
    background-color: rgba(13, 255, 169, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.demo-button {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.demo-illustration {
    width: 100%;
    height: 400px;
    background-color: var(--background-card);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

/* Calendar Modal */
.calendar-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.calendar-modal.active {
    opacity: 1;
    visibility: visible;
}

.calendar-modal-content {
    width: 90%;
    max-width: 700px;
    background-color: var(--background-card);
    border-radius: 0.75rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.calendar-modal.active .calendar-modal-content {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
    overflow-y: auto;
    max-height: calc(90vh - 200px);
}

/* Footer */
footer {
    background-color: var(--background-card);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--teal-dark) 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo img {
    height: 28px;
    width: auto;
}

.footer-about p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-heading {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, var(--primary) 0%, var(--teal-dark) 100%); */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 255, 169, 0.2);
}

.social-link:hover svg {
    color: var(--background);
}

.social-link svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Decorative Elements */
.grid-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image:
        linear-gradient(to right, rgba(45, 55, 72, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(45, 55, 72, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.accent-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 255, 169, 0.15) 0%, rgba(13, 255, 169, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.accent-circle.top-right {
    top: -100px;
    right: -100px;
}

.accent-circle.bottom-left {
    bottom: -100px;
    left: -100px;
}

.accent-circle.top-left {
    top: -100px;
    left: -100px;
}

.accent-circle.bottom-right {
    bottom: -100px;
    right: -100px;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(13, 255, 169, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(13, 255, 169, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(13, 255, 169, 0);
    }
}

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

@keyframes glow {
    0% { box-shadow: 0 0 5px var(--glow-green); }
    50% { box-shadow: 0 0 15px var(--glow-green); }
    100% { box-shadow: 0 0 5px var(--glow-green); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s infinite;
}

.animate-rotate {
    animation: rotate 10s linear infinite;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.5s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 9999;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-links {
    margin-top: 6rem !important;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-links a {
    color: var(--text);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.mobile-nav-links a:hover {
    color: var(--primary);
}

.mobile-cta {
    margin-top: 2rem;
  }

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .ecosystem-info h3 {
        font-size: 1.75rem;
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-grid,
    .ecosystem-content,
    .demo-section .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ecosystem-content.reverse {
        direction: ltr;
    }

    .feature-list {
        gap: 1rem;
    }

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .roadmap-timeline {
        padding: 2rem 0;
    }

    .roadmap-line {
        left: 30px;
    }

    .roadmap-item {
        margin-bottom: 4rem;
    }

    .roadmap-point {
        left: 30px;
    }

    .roadmap-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .roadmap-item:nth-child(odd) .roadmap-content::before,
    .roadmap-item:nth-child(even) .roadmap-content::before {
        left: -10px;
        right: auto;
        border-left: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        border-right: none;
        border-top: none;
        transform: translateY(50%) rotate(45deg);
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-container {
        padding: 0 1.5rem;
    }


}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero-buttons,
    .ecosystem-info .btn {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .feature-icon svg {
        width: 16px;
        height: 16px;
    }

    .feature-content h4 {
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-links-column {
        margin-top: 1rem;
    }
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Ecosystem Overview Section */
.ecosystem-overview {
    padding: 5rem 0;
    background-color: var(--background);
    position: relative;
    overflow: hidden;
}

.overview-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.ecosystem-diagram {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 900px;
    height: 500px;
    position: relative;
}

.eco-svg-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.eco-node {
    cursor: pointer;
    transition: all 0.3s ease;
}

.eco-node:hover .eco-circle {
    fill: rgba(13, 255, 169, 0.2);
    stroke: var(--primary);
    stroke-width: 2;
    filter: drop-shadow(0 0 8px rgba(13, 255, 169, 0.5));
}



.eco-node:hover .eco-text {
    fill: var(--primary);
    font-weight: bold;
}

.eco-line {
    stroke: var(--border);
    stroke-width: 1;
    stroke-dasharray: 5,3;
    animation: dashAnimation 30s linear infinite;
}

.eco-particle {
    fill: var(--primary);
    filter: drop-shadow(0 0 3px rgba(13, 255, 169, 0.5));
}

@keyframes dashAnimation {
    to {
        stroke-dashoffset: -1000;
    }
}

.eco-text {
    fill: var(--text);
    font-size: 14px;
    font-weight: 500;
    text-anchor: middle;
    font-family: 'Inter', sans-serif;
}

.eco-center-text {
    fill: var(--primary);
    font-size: 18px;
    font-weight: 700;
    text-anchor: middle;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 768px) {
    .ecosystem-diagram {
        height: 500px;
    }

    .eco-svg-container svg {
       transform: scale(1.2);
   }

    .eco-text {
      font-size: 15px;
  }
  .ecosystem-section{
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
  }

}

@media (max-width: 480px) {
    .ecosystem-diagram {
        height: 450px;
    }

    .eco-svg-container svg {
      transform: scale(1.7);
  }

    .eco-text {
        font-size: 12px;
    }

    .eco-center-text {
     font-size: 16px;
 }
}


}

/* @media (max-width: 895px) {
  .nav-links {
      display: none;
  }

  .mobile-menu-toggle {
      display: block;
  }

  .header-container {
      padding: 0 1.5rem;
  }

} */



/* Improve mobile layout stability */
@media (max-width: 768px) {
  .hero-grid,
  .ecosystem-content,
  .use-cases-grid,
  .demo-section .container {

    width: 100%;
    overflow-x: hidden;
  }


  .eco-svg-container {
    overflow: hidden;
  }

  .hero-content {
    text-align: center;
  }



}

.overlay.active + .mobile-menu {
  overflow-y: auto;
  max-height: 100vh;
}

.ecosystem-illustration,
.crypto-animation,
.hero-image,
.demo-illustration {
  max-width: 100%;
  overflow: hidden;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body {
  min-height: 100vh;
}


/*more responsive updates round 2*/
@media (max-width: 937px) {
.hero-buttons {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
gap: 1rem;
}

.hero-buttons .btn {
width: 80%;
max-width: 300px;
text-align: center;
}

}

/* Add these CSS rules to your styles.css file */
.blockchain-illustration canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    display: block;
}


}

.header-login {
    position: relative;
    white-space: nowrap;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}


/* Change this media query from 1200px to 1055px to match your existing breakpoint */


/* Add better mobile header spacing and button sizing */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem; /* Reduce padding for more space */
    }

    .header-actions {
        gap: 0.5rem; /* Add gap between buttons */
    }

    .header-login {
        display: block; /* Show on mobile */
        padding: 0.7rem 1.2rem; /* Smaller padding for mobile */
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .mobile-menu-toggle {
        margin-left: 0.5rem; /* Add some spacing from the button */
    }
}

.mobile-login,
.mobile-cta {
    width: 100%;
    padding: 0.875rem 1.75rem;
    text-align: center;
}

/* Mobile menu improvements */


.mobile-login {
    margin-top: 1rem;
}

/* Ensure buttons stack nicely in mobile menu */
.mobile-cta {
    margin-top: 2rem;
    width: 100%;
    padding: 0.875rem 1.75rem; /* Consistent padding */
}


/* Mobile specific styles */
@media (max-width: 768px) {
    .header-container {
        padding: 0 1rem;
    }

    .header-actions {
        gap: 0.75rem;
    }

    /* Show login button on mobile */
    .header-login {
        display: inline-block !important; /* Force show on mobile */
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .mobile-menu-toggle {
        margin-left: 0.5rem;
    }

    /* Ensure mobile menu buttons are visible */
    .mobile-menu .mobile-login,
    .mobile-menu .mobile-cta {
        display: block !important;
        width: 100%;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .header-container {
        padding: 0 0.75rem;
    }

    .header-login {
        padding: 0.6rem 1rem !important;
        font-size: 0.8rem !important;
    }
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease-out;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-image {
    max-width: 200px;
    max-height: 200px;
    animation: slowFlash 1s ease-in-out infinite alternate;
}

@keyframes slowFlash {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* Newsletter Popup Styles */
.newsletter-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.newsletter-popup.active {
    opacity: 1;
    visibility: visible;
}

.newsletter-popup-content {
    width: 90%;
    max-width: 600px;
    background: linear-gradient(135deg, var(--background-card) 0%, var(--background-light) 100%);
    border: 1px solid var(--border);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(13, 255, 169, 0.1);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 90vh;
    overflow-y: auto;
}

.newsletter-popup.active .newsletter-popup-content {
    transform: translateY(0) scale(1);
}

.newsletter-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(45, 55, 72, 0.6);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.newsletter-popup-close:hover {
    background-color: var(--primary);
    color: var(--background);
    transform: rotate(90deg);
    border-color: var(--primary);
}

.newsletter-popup-close svg {
    width: 20px;
    height: 20px;
}

.newsletter-header {
    text-align: center;
    padding: 2rem 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.newsletter-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center top, rgba(13, 255, 169, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.newsletter-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--teal-medium) 100%);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(13, 255, 169, 0.3);
}

.newsletter-logo svg {
    width: 30px;
    height: 30px;
    color: var(--background);
}

.newsletter-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.newsletter-header .highlight {
    color: var(--primary);
}

.newsletter-header p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-benefits {
    padding: 0 2rem 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: rgba(13, 255, 169, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(13, 255, 169, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background-color: rgba(13, 255, 169, 0.08);
    border-color: rgba(13, 255, 169, 0.2);
    transform: translateY(-2px);
}

.benefit-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, rgba(13, 255, 169, 0.2) 0%, rgba(13, 255, 169, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.benefit-text {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.newsletter-form-container {
    padding: 1rem 2rem 2rem;
}

.newsletter-form-cta {
    text-align: center;
}

.newsletter-form-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-green) 100%);
    color: var(--background);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 255, 169, 0.3);
    position: relative;
    overflow: hidden;
}

.newsletter-form-button::before {
    content: '';
    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.5s ease;
}

.newsletter-form-button:hover::before {
    left: 100%;
}

.newsletter-form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 255, 169, 0.4);
}

.newsletter-form-button svg {
    width: 20px;
    height: 20px;
}

.newsletter-form-note {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: #94A3B8;
    font-style: italic;
}

.newsletter-footer {
    padding: 0 2rem 2rem;
    text-align: center;
}

.newsletter-disclaimer {
    font-size: 0.8rem;
    color: #64748B;
    line-height: 1.4;
}

.newsletter-disclaimer a {
    color: var(--primary);
    text-decoration: none;
}

.newsletter-disclaimer a:hover {
    text-decoration: underline;
}

/* CTA Button Styles */
.newsletter-cta-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-green) 100%);
    color: var(--background);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 20px rgba(13, 255, 169, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulseGlow 2s infinite;
}

.newsletter-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(13, 255, 169, 0.4);
}

.newsletter-cta-button svg {
    width: 18px;
    height: 18px;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 4px 20px rgba(13, 255, 169, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(13, 255, 169, 0.5);
    }
    100% {
        box-shadow: 0 4px 20px rgba(13, 255, 169, 0.3);
    }
}

/* Responsive Design */
@media (max-width: 768px) {

  .newsletter-form-button {
      font-size: 0.8rem;
  }


    .newsletter-popup-content {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .newsletter-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .newsletter-header h3 {
        font-size: 1.5rem;
    }

    .newsletter-benefits {
        padding: 0 1.5rem 1rem;
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .newsletter-form-container {
        padding: 1rem 1.5rem;
    }

    .monday-form-iframe {
        height: 350px;
    }

    .newsletter-footer {
        padding: 0 1.5rem 1.5rem;
    }

    .newsletter-cta-button {
        bottom: 20px;
        right: 20px;
        padding: 0.875rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .newsletter-popup-content {
        width: 98%;
    }

    .newsletter-header {
        padding: 1.25rem 1rem 0.75rem;
    }

    .newsletter-header h3 {
        font-size: 1.3rem;
    }

    .newsletter-benefits {
        padding: 0 1rem 0.75rem;
    }

    .newsletter-form-container {
        padding: 0.75rem 1rem 1.25rem;
    }

    .newsletter-footer {
        padding: 0 1rem 1.25rem;
    }

    .monday-form-iframe {
        height: 320px;
    }

    .newsletter-cta-button {
        bottom: 15px;
        right: 15px;
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}
