/* --- CYBERPUNK GRADIENT DESIGN SYSTEM by CryptoVault --- */

/* 1. VARIABLES & SETUP */
:root {
    /* Color Palette */
    --primary: #10b981; /* Emerald 500 — Krypto Grün */
    --secondary: #8b5cf6; /* Violet 500 — Blockchain Purple */
    --accent: #f59e0b; /* Amber 500 — Bitcoin Gold */
    --background: #000000; /* Pure Black — Matrix style */
    --surface: #0a0a0a;
    --card: #111111;
    --card-border: rgba(16, 185, 129, 0.5);
    --text: #ffffff;
    --muted: #6b7280;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, #10b981, #8b5cf6, #f59e0b);
    --gradient-cyber: linear-gradient(90deg, #06b6d4, #10b981, #8b5cf6);

    /* Glows */
    --glow-green: 0 0 15px rgba(16, 185, 129, 0.4), 0 0 30px rgba(16, 185, 129, 0.2);
    --glow-purple: 0 0 15px rgba(139, 92, 246, 0.4);
    --glow-gold: 0 0 15px rgba(245, 158, 11, 0.4);

    /* Typography */
    --font-headings: 'Orbitron', sans-serif;
    --font-body: 'Roboto Mono', monospace;
    
    /* Animation */
    --pulse-duration: 1.5s;
    --gradient-speed: 5s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 400;
    overflow-x: hidden;
}

/* 2. BACKGROUND & OVERLAYS */
#matrix-canvas, #particles-js, .scanlines-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#matrix-canvas {
    opacity: 0.3;
}
#particles-js {
    z-index: 0;
}

.scanlines-overlay {
    background: linear-gradient(rgba(0,0,0,0) 50%, rgba(0,0,0,0.1) 50%), linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    opacity: 0.5;
}

/* 3. TYPOGRAPHY */
h1, h2, h3, h4 {
    font-family: var(--font-headings);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 0.05em;
}

h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    letter-spacing: 0.03em;
}

h3 {
    font-size: 1.75rem;
    letter-spacing: 0.02em;
}

p {
    margin-bottom: 1rem;
    color: var(--muted);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    color: var(--text);
    text-shadow: var(--glow-green);
}

.gradient-text {
    background: var(--gradient-main);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-animation var(--gradient-speed) ease infinite;
}

@keyframes gradient-animation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-primary {
    color: var(--primary);
    text-shadow: var(--glow-green);
}

.massive-number {
    font-family: var(--font-headings);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    text-shadow: var(--glow-gold);
    display: block;
    margin-top: 0.5rem;
}

/* 4. LAYOUT & HELPERS */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.text-center { text-align: center; }

section {
    padding: 6rem 0;
}

.section-divider {
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0 10 L15 10 L20 5 L25 10 L35 10 L40 15 L45 10 L55 10 L60 5 L65 10 L75 10 L80 15 L85 10 L100 10" fill="none" stroke="%2310b981" stroke-width="1.5"/></svg>') repeat-x;
    background-position: center;
    opacity: 0.3;
}


/* 5. COMPONENTS */

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-headings);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 0;
    border: 2px solid;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    color: var(--text);
    border-color: var(--primary);
    box-shadow: inset 0 0 10px rgba(16,185,129,0.3), var(--glow-green);
}
.btn-primary:hover {
    background: rgba(16,185,129,0.1);
    box-shadow: inset 0 0 20px rgba(16,185,129,0.5), var(--glow-green);
    animation: pulse-green var(--pulse-duration) infinite;
}

.btn-secondary {
    color: var(--text);
    border-color: var(--secondary);
    box-shadow: inset 0 0 10px rgba(139,92,246,0.3), var(--glow-purple);
}
.btn-secondary:hover {
    background: rgba(139,92,246,0.1);
    box-shadow: inset 0 0 20px rgba(139,92,246,0.5), var(--glow-purple);
    animation: pulse-purple var(--pulse-duration) infinite;
}
.btn-accent {
    color: var(--text);
    border-color: var(--accent);
    box-shadow: inset 0 0 10px rgba(245,158,11,0.3), var(--glow-gold);
}
.btn-accent:hover {
    background: rgba(245,158,11,0.1);
    box-shadow: inset 0 0 20px rgba(245,158,11,0.5), var(--glow-gold);
    animation: pulse-gold var(--pulse-duration) infinite;
}
.btn-cta {
    border-color: var(--primary);
    animation: pulse-green calc(var(--pulse-duration) * 2) infinite;
}

@keyframes pulse-green {
  0% { box-shadow: inset 0 0 10px rgba(16,185,129,0.3), var(--glow-green); }
  50% { box-shadow: inset 0 0 25px rgba(16,185,129,0.6), 0 0 40px rgba(16,185,129,0.4); }
  100% { box-shadow: inset 0 0 10px rgba(16,185,129,0.3), var(--glow-green); }
}
@keyframes pulse-purple {
  0% { box-shadow: inset 0 0 10px rgba(139,92,246,0.3), var(--glow-purple); }
  50% { box-shadow: inset 0 0 25px rgba(139,92,246,0.6), 0 0 40px rgba(139,92,246,0.4); }
  100% { box-shadow: inset 0 0 10px rgba(139,92,246,0.3), var(--glow-purple); }
}
@keyframes pulse-gold {
  0% { box-shadow: inset 0 0 10px rgba(245,158,11,0.3), var(--glow-gold); }
  50% { box-shadow: inset 0 0 25px rgba(245,158,11,0.6), 0 0 40px rgba(245,158,11,0.4); }
  100% { box-shadow: inset 0 0 10px rgba(245,158,11,0.3), var(--glow-gold); }
}

.glitch-hover:hover {
    animation: glitch 0.2s linear infinite;
}
@keyframes glitch {
  0% { text-shadow: 1px 0 var(--primary), -1px 0 var(--secondary); }
  25% { transform: translate(1px, -1px); }
  50% { text-shadow: -1px 0 var(--primary), 1px 0 var(--secondary); }
  75% { transform: translate(-1px, 1px); }
  100% { text-shadow: 1px 0 var(--primary), -1px 0 var(--secondary); }
}


/* Cards */
.card {
    background-color: var(--card);
    padding: 2rem;
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -1;
    margin: -2px;
    background: var(--gradient-main);
    background-size: 200% 200%;
    animation: gradient-animation var(--gradient-speed) ease infinite;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow-green);
}

.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.card-grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}
.altcoin-card {
    padding: 1rem;
    text-align: center;
}
.altcoin-card h4 {
    margin-bottom: 0.5rem;
}
.altcoin-card span {
    font-family: var(--font-headings);
    color: var(--primary);
}


/* Hexagon Icons */
.hexagon-icon {
    width: 80px;
    height: 92.38px;
    background: var(--surface);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    position: relative;
    border: 2px solid transparent;
}
.hexagon-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-cyber);
    background-size: 200% 200%;
    animation: gradient-animation var(--gradient-speed) ease infinite;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    z-index: -1;
}
.hexagon-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}
.card:hover .hexagon-icon i {
    color: var(--text);
    text-shadow: var(--glow-green);
    transform: scale(1.1);
}

.icon-grid-small {
    display: flex;
    gap: 1.5rem;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.icon-grid-small.large-gap {
    gap: 3rem;
}

.hexagon-item {
    text-align: center;
}
.hexagon-item .hexagon-icon {
    width: 60px;
    height: 69.28px;
    margin-bottom: 0.5rem;
}
.hexagon-item .hexagon-icon i {
    font-size: 1.5rem;
}
.hexagon-item span {
    font-family: var(--font-body);
    font-weight: 500;
}

/* Highlight Box */
.highlight-box {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 2px solid var(--card-border);
    background: rgba(16,185,129,0.05);
    box-shadow: inset 0 0 20px rgba(16,185,129,0.1);
}
.highlight-box p {
    margin: 0;
    color: var(--text);
}
.highlight-box.wide {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 6. HEADER & FOOTER */
#main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid transparent;
    padding: 1rem 0;
    background-image: linear-gradient(to right, var(--primary), var(--secondary), var(--accent));
    background-repeat: no-repeat;
    background-size: 100% 2px;
    background-position: 0 100%;
}
#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text);
    text-shadow: var(--glow-green);
}
.logo i {
    color: var(--primary);
    margin-right: 0.5rem;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}
nav a {
    font-family: var(--font-headings);
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--muted);
}
nav a:hover {
    color: var(--primary);
    text-shadow: var(--glow-green);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
#crypto-ticker {
    font-family: var(--font-body);
    font-size: 0.8rem;
    display: flex;
    gap: 1rem;
}
#crypto-ticker span {
    color: var(--muted);
}
#crypto-ticker span:first-child { color: var(--accent); }
#crypto-ticker span:last-child { color: var(--secondary); }

#main-footer {
    padding: 4rem 0;
    background: var(--surface);
    border-top: 2px solid;
    border-image-slice: 1;
    border-image-source: var(--gradient-cyber);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.footer-col h4 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.footer-col p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
}
.copyright {
    margin-top: 1rem;
    font-size: 0.8rem !important;
}


/* 7. SECTION SPECIFIC STYLES */

/* Section 1: Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* Header height */
    position: relative;
    overflow: hidden;
}
.hero-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 1;
}
.hero-section h1 {
    text-shadow: var(--glow-purple);
}
.subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1.5rem auto 2.5rem;
    color: var(--text);
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Section 2 & 5 & 6: Split Section */
.split-section .container, .split-section.reverse .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.split-content, .split-visual {
    flex: 1;
}
.split-section.reverse .container {
    flex-direction: row-reverse;
}
.split-visual img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: var(--glow-purple);
}
.stats-boxes {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}
.stat-box {
    border: 2px solid var(--card-border);
    padding: 1rem;
    text-align: center;
    flex-grow: 1;
    font-family: var(--font-headings);
    font-size: 1.5rem;
    color: var(--accent);
}
.stat-box span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
}

/* Code Snippet */
.code-block {
    background: var(--surface);
    border: 1px solid var(--card-border);
    padding: 1rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    white-space: pre-wrap;
    font-family: var(--font-body);
}

/* Section 4 & 13: Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--gradient-cyber);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12.5px;
    top: calc(50% - 12.5px);
    background-color: var(--background);
    border: 4px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
    box-shadow: var(--glow-green);
}
.timeline-item:nth-child(even)::after {
    left: -12.5px;
}
.timeline-content {
    position: relative;
    text-align: left;
}
.step-number {
    position: absolute;
    top: -1rem;
    right: -1rem;
    font-size: 3rem;
    font-family: var(--font-headings);
    font-weight: 900;
    color: var(--surface);
    -webkit-text-stroke: 1px var(--primary);
    z-index: 0;
}
.future-timeline .step-number {
    color: var(--accent);
    -webkit-text-stroke: 0;
    text-shadow: var(--glow-gold);
}


/* Section 9: Terminal Box */
.terminal-box {
    background: var(--surface);
    border: 2px solid var(--card-border);
    box-shadow: var(--glow-green);
}
.terminal-header {
    background: #222;
    padding: 0.5rem;
    border-bottom: 2px solid var(--card-border);
}
.terminal-header span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
}
.terminal-header span:nth-child(1) { background: #ff5f56; }
.terminal-header span:nth-child(2) { background: #ffbd2e; }
.terminal-header span:nth-child(3) { background: #27c93f; }
.terminal-body {
    padding: 2rem;
}
.terminal-body p, .terminal-body code {
    font-size: 1rem;
}

/* Section 10: Security */
.split-section-inner {
    display: flex;
    gap: 3rem;
    align-items: center;
}
.checklist {
    list-style: none;
    margin-top: 1.5rem;
}
.checklist li {
    margin-bottom: 0.5rem;
}
.checklist i {
    color: var(--primary);
    margin-right: 0.5rem;
    text-shadow: var(--glow-green);
}

/* Section 11: NFT Gallery */
.nft-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 700px;
    margin: 2rem auto;
}
.nft-gallery img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border: 2px solid var(--card-border);
    transition: all 0.3s ease;
}
.nft-gallery img:hover {
    transform: scale(1.05);
    box-shadow: var(--glow-purple);
    border-color: var(--secondary);
}

/* Section 12: Warning Box */
.warning-box {
    background: rgba(245, 158, 11, 0.05);
    border: 2px solid var(--accent);
    box-shadow: inset 0 0 30px rgba(245, 158, 11, 0.2);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.warning-icon {
    font-size: 4rem;
    color: var(--accent);
    text-shadow: var(--glow-gold);
}

/* Section 14: FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}
.faq-item {
    border-bottom: 1px solid var(--card-border);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 1rem;
    font-family: var(--font-headings);
    font-size: 1.2rem;
    color: var(--text);
    cursor: pointer;
    position: relative;
}
.faq-question::after {
    content: '\f078'; /* Font Awesome down arrow */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    color: var(--primary);
}
.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}
.faq-answer p {
    padding: 0 1rem 1.5rem;
    margin: 0;
}

/* Section 15: CTA */
#cta {
    padding: 0;
}
.cta-box {
    padding: 6rem 0;
    background: var(--gradient-main);
    position: relative;
}
.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.8);
}
.cta-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cta-form input {
    flex-grow: 1;
    padding: 0.8rem;
    background: var(--surface);
    border: 2px solid var(--card-border);
    color: var(--text);
    font-family: var(--font-body);
}
.cta-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--glow-green);
}
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--muted);
}
.trust-badges i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* 8. RESPONSIVENESS */
@media (max-width: 992px) {
    .split-section .container, .split-section.reverse .container, .split-section-inner {
        flex-direction: column;
    }
    .split-visual {
        margin-top: 2rem;
    }
    nav ul {
        display: none; /* Simple hiding for mobile, a burger menu would be better */
    }
    .header-right .btn-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    section { padding: 4rem 0; }
    .timeline::after { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item::after { left: 18px; }
    .cta-form { flex-direction: column; }
}

@media (max-width: 480px) {
    .header-right { display: none; }
    .trust-badges { flex-direction: column; gap: 1rem; align-items: center; }
}