:root {
    --background: #0a0a0a;
    --foreground: #f5f5f5;
    --card: rgba(20, 20, 20, 0.9);
    --card-foreground: #ffffff;
    --primary: #ff8c00;
    --primary-foreground: #1a1a1a;
    --secondary: #2b2b2b;
    --muted: #3a3a3a;
    --muted-foreground: #a0a0a0;
    --accent: #ffaa33;
    --border: rgba(255, 140, 0, 0.2);
    --radius: 1rem;
    --glow: 0 0 10px rgba(255, 140, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-color: var(--border);
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.glass {
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: transform 0.4s ease;
    background: #0a0a0a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--border);
}

nav .logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: white;
}

nav .logo span {
    font-family: 'Montserrat', sans-serif;
}

nav .logo-img {
    height: 3rem;
    width: auto;
    margin-right: 0.1rem;
    filter: brightness(1.2);
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

nav ul li {
    margin-left: 1.5rem;
}

.nav-link {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary), var(--background));
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.15), transparent 70%);
    animation: pulse-bg 6s infinite ease-in-out;
}

.hero-content {
    position: relative;
    z-index: 2;
    opacity: 1;
}

.hero-icon {
    font-size: 10rem;
    color: var(--accent);
    margin-bottom: 2rem;
    text-shadow: var(--glow);
    display: block;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: var(--glow);
}

.hero p {
    font-size: 1.5rem;
    color: var(--muted-foreground);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-family: 'Roboto Mono', monospace;
}

.hero-content p.reveal:nth-child(3) {
    margin-top: 3rem;
}

.cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: var(--primary-foreground);
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--glow);
}

.cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.5);
}

.hero .small {
    font-size: 1rem;
    color: var(--accent);
    margin-top: 1.5rem;
}

.hero .stats {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--accent);
    text-shadow: var(--glow);
    text-align: center;
    opacity: 1;
}

.why, .how-it-works, .pricing, .comparison, .cta-banner, .trust, .faq, .contact, .chart-section {
    padding: 6rem 0;
    position: relative;
    opacity: 1;
}

.reasons, .steps, .plans, .trust-points, .faq-items {
    display: grid;
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
    opacity: 1;
}

.reasons {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.steps {
    display: grid;
    gap: 1.5rem;
    justify-content: center;
    max-width: 1200px;
}

.step {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    text-align: center;
    opacity: 1;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reason:hover, .step:hover, .plan:hover, .point:hover, .faq-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow);
}

.reason i, .step i, .plan i, .point i, .faq-item i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
    text-shadow: var(--glow);
    display: block;
}

.reason h3, .step h3, .plan h3, .point h3, .faq-item h3 {
    font-size: 1.5rem;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.reason p, .step p, .plan p, .point p, .faq-item p {
    font-size: 1rem;
    color: var(--muted-foreground);
    font-family: 'Roboto Mono', monospace;
}

.flow-icon, .faq-icon, .contact-icon {
    font-size: 5rem;
    color: var(--accent);
    margin-bottom: 2rem;
    text-shadow: var(--glow);
    display: block;
    margin-left: auto;
    margin-right: auto;
    opacity: 1;
}

img.flow-icon {
    width: 100px;
    height: auto;
    object-fit: contain;
    filter: brightness(1.2);
}

.trust-note, .note, .chart-note, .disclaimer {
    font-size: 1.1rem;
    color: var(--muted-foreground);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Roboto Mono', monospace;
    text-align: center;
    opacity: 1;
}

.chart-note {
    margin: 4rem auto 2rem;
}

.disclaimer {
    font-style: italic;
    font-size: 0.9rem;
    margin: 1rem auto 0;
}

.plan .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 1rem;
}

.plan .cta {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.pricing p.reveal {
    margin-bottom: 2rem;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    opacity: 1;
}

.cta.secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.cta.secondary:hover {
    background: rgba(255, 140, 0, 0.1);
}

.why .cta {
    margin-top: 2rem;
}

footer {
    padding: 2rem;
    text-align: center;
    opacity: 1;
}

.footer-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    display: block;
}

.social a {
    color: var(--accent);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social a:hover {
    color: var(--primary);
}

.chart-section {
    background: linear-gradient(135deg, var(--secondary), var(--background));
    position: relative;
}

.chart-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1), transparent 70%);
    z-index: 0;
}

#btcValueChart {
    width: 100%;
    max-width: 100%;
    height: 600px;
    max-height: 600px;
    margin: 0 auto;
    padding: 1rem;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--glow);
    position: relative;
    z-index: 1;
}

.volatility {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--secondary), var(--background));
}

.drops {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.drop {
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.drop:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow);
}

.drop h3 {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.drop p {
    font-size: 1rem;
    color: var(--muted-foreground);
    font-family: 'Roboto Mono', monospace;
}

.timeline-wrapper {
    position: relative;
    margin: 4rem 0;
    padding: 2rem 0;
}

.timeline-title {
    font-size: 1.8rem;
    color: var(--accent);
    text-align: center;
    margin-bottom: 2rem;
    text-shadow: var(--glow);
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), var(--primary));
    box-shadow: var(--glow);
    z-index: 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-event {
    position: relative;
    display: flex;
    align-items: center;
    margin: 4rem 0;
    opacity: 1;
}

.timeline-event:nth-child(odd) {
    flex-direction: row;
    justify-content: flex-start;
}

.timeline-event:nth-child(even) {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.event-dot {
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: var(--glow);
    transition: all 0.3s ease;
}

.event-content {
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    width: 45%;
    transition: all 0.3s ease;
}

.event-content h3 {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.event-content p {
    font-size: 1rem;
    color: var(--muted-foreground);
    font-family: 'Roboto Mono', monospace;
}

.timeline-event:hover .event-dot {
    transform: translateX(-50%) scale(1.3);
    background: var(--primary);
}

.timeline-event:hover .event-content {
    transform: translateY(-5px);
    box-shadow: var(--glow);
}

.comparison-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    overflow-x: auto;
    display: block;
}

.comparison-table th, .comparison-table td {
    padding: 1rem;
    border: 1px solid var(--border);
    min-width: 100px;
}

.comparison-table th {
    background: var(--muted);
    color: var(--foreground);
    font-weight: 700;
}

.comparison-table td {
    background: var(--card);
}

.comparison-table i.fa-check {
    color: var(--accent);
}

.comparison-table i.fa-times {
    color: #ff0000;
}

.cta-banner {
    padding: 3rem 0;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100%;
}

.cta-banner h2 {
    font-size: 2rem;
    color: var(--primary-foreground);
    margin: 0;
}

.cta-banner .cta {
    background: var(--card);
    color: var(--foreground);
}

.cta-banner .cta:hover {
    background: var(--muted);
}

.logo-chooser {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--secondary), var(--background));
}

.shield-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.shield-option {
    background: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.shield-option:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow);
}

.shield-option i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
    text-shadow: var(--glow);
}

.shield-option p {
    font-size: 1rem;
    color: var(--muted-foreground);
    font-family: 'Roboto Mono', monospace;
}

.methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(800px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.method {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    max-width: 800px;
    margin: 0 auto;
}

.method:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow);
}

.method h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    text-shadow: var(--glow);
}

.method-desc {
    font-size: 1.2rem;
    color: var(--muted-foreground);
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 2rem;
}

.method .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.step h4 {
    font-size: 1.3rem;
    color: var(--foreground);
    margin-bottom: 0.8rem;
}

#how .intro {
    font-size: 1.3rem;
    color: var(--muted-foreground);
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#how .method .app-badges {
    margin-top: 4rem;
}

@media (max-width: 1200px) {
    .steps {
        grid-template-columns: 1fr;
    }
    .step {
        min-height: auto;
    }
    .methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.2rem; }
    .section-title { font-size: 2.5rem; }
    nav {
        padding: 0.5rem 1rem;
        flex-direction: column;
        align-items: center;
    }
    .nav .logo {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    nav .logo-img {
        height: 2rem;
    }
    nav ul {
        width: 100%;
    }
    nav ul li {
        margin: 0.5rem 1rem;
    }
    .nav-link {
        font-size: 0.9rem;
    }
    .reasons, .plans, .trust-points, .faq-items {
        grid-template-columns: 1fr;
    }
    .hero-icon {
        font-size: 5rem;
        margin-top: 4rem;
    }
    .flow-icon, .faq-icon, .contact-icon {
        font-size: 3rem;
    }
    #btcValueChart {
        width: 100%;
        max-width: 100%;
        height: 480px;
        max-height: 480px;
        margin: 0;
    }
    .comparison-table {
        font-size: 0.8rem;
        max-width: 100%;
    }
    .comparison-table th, .comparison-table td {
        padding: 0.5rem;
        min-width: 80px;
    }
    .cta-banner h2 {
        font-size: 1.5rem;
    }
    .drops {
        grid-template-columns: 1fr;
        grid-template-areas: none;
    }
    .drop-2011, .drop-2013, .drop-2017, .drop-2021 {
        grid-area: auto;
        justify-self: auto;
    }
    .shield-options {
        grid-template-columns: 1fr;
    }
    .timeline-line {
        left: 10px;
        transform: translateX(0);
    }
    .timeline-event {
        flex-direction: column !important;
        align-items: flex-start;
        margin: 2rem 0;
        position: relative;
    }
    .event-dot {
        left: 10px;
        transform: translateX(0);
        top: 50%;
        transform: translateY(-50%);
        width: 5px;
        height: 5px;
    }
    .event-content {
        width: 85%;
        margin-left: 30px;
        position: relative;
        top: 0;
        transform: translateY(0);
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 60px;
    }
    .timeline-event:hover .event-dot {
        transform: translateY(-50%) scale(1.3);
    }
    .app-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .app-badge {
        height: 36px;
    }
    #contact {
        padding-bottom: 40vh;
    }
    #how .method .app-badges {
        margin-top: 3.5rem;
    }
    .faq-header {
        padding: 0.75rem 1rem;
    }
    .faq-header h3 {
        font-size: 1rem;
    }
    .faq-item.active .faq-content {
        padding: 1.5rem 1rem 2.5rem;
    }
    .faq-content p {
        font-size: 0.9rem;
    }
    .method {
        padding: 1.5rem;
        max-width: 100%;
    }
    .method h3 {
        font-size: 1.8rem;
    }
    .method-desc {
        font-size: 1rem;
    }
    .step h4 {
        font-size: 1.2rem;
    }
    .step p {
        font-size: 0.9rem;
    }
    #how .intro {
        font-size: 1.1rem;
    }
    .flow-icon, .faq-icon, .contact-icon {
        font-size: 3rem;
    }
    img.flow-icon {
        width: 100px;
        height: auto;
    }
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
    align-items: stretch;
}

.contact-method {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.contact-method:hover {
    transform: translateY(-10px);
    box-shadow: var(--glow);
}

.contact-method h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    text-shadow: var(--glow);
}

.contact-method .contact-icon {
    flex-grow: 0;
}

.contact-method p {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.contact-method .buttons,
.contact-method .app-badges {
    margin-top: auto;
}

#contact {
    padding-top: 20vh;
    padding-bottom: 30vh;
}

.badge-link {
    display: inline-block;
    transition: all 0.3s ease;
}

.badge-link:hover {
    transform: translateY(-3px);
    filter: drop-shadow(var(--glow));
}

.app-badge {
    height: 40px;
    width: auto;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
    opacity: 1;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-header:hover {
    background: var(--muted);
}

.faq-header h3 {
    font-size: 1.15rem;
    color: var(--foreground);
    margin: 0;
}

.faq-toggle-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.faq-toggle-icon i {
    font-size: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    top: 0.5rem;
}

.faq-item.active .faq-toggle-icon i {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-content {
    padding: 2rem 1.5rem 3rem;
}

.faq-content p {
    margin: 0;
    font-size: 1.1rem;
}

@keyframes pulse-bg {
    0% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.05); }
    100% { opacity: 0.1; transform: scale(1); }
}

@media (max-width: 1200px) {
    .steps {
        grid-template-columns: 1fr;
    }
    .step {
        min-height: auto;
    }
    .methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 944px) {
    .drops {
        grid-template-columns: repeat(3, minmax(200px, 1fr));
        grid-template-areas: 
            "drop-2011 drop-2013 drop-2017"
            ". drop-2021 .";
    }
    .drop-2011 { grid-area: drop-2011; }
    .drop-2013 { grid-area: drop-2013; }
    .drop-2017 { grid-area: drop-2017; }
    .drop-2021 { 
        grid-area: drop-2021;
        justify-self: center;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background: var(--card);
    margin: 5% auto;
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    text-align: left;
    font-family: 'Roboto Mono', monospace;
    color: var(--foreground);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--accent);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary);
}

.modal-content h1 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    text-shadow: var(--glow);
    font-family: 'Montserrat', sans-serif;
}

.modal-content h2 {
    font-size: 1.5rem;
    color: var(--foreground);
    margin: 1.5rem 0 1rem;
    font-family: 'Montserrat', sans-serif;
}

.modal-content p {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.modal-content ul {
    list-style: disc;
    margin: 1rem 0 1rem 2rem;
}

.modal-content ul ul {
    list-style: circle;
    margin: 0.5rem 0 0.5rem 2rem;
}

.modal-content li {
    font-size: 1rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--muted);
    border-radius: var(--radius);
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: var(--radius);
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% 1rem;
        padding: 1.5rem;
        max-height: 70vh;
    }
    .modal-content h1 {
        font-size: 1.8rem;
    }
    .modal-content h2 {
        font-size: 1.3rem;
    }
    .modal-content p,
    .modal-content li {
        font-size: 0.9rem;
    }
    .modal-close {
        font-size: 1.5rem;
    }
}