@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* General Body Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.5;
    font-size: 14px;
}

h1, h2, h3 {
    color: #ffffff;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

section {
    padding: 3rem 5%;
    border-bottom: 1px solid #2c2c2c;
}

/* Header and Navigation */
header {
    background-color: #1a1a1a;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    padding: 0.75rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: #00aaff;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links li a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #00aaff;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 20px;
    height: 2px;
    background-color: #e0e0e0;
    margin: 4px;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    background-color: #00aaff;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0077cc;
}

.btn-primary {
    background-color: #28a745;
}
.btn-primary:hover{
    background-color: #218838;
}

/* Hero Section */
#hero {
    background: url('assets/44420747_9019808.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 6rem 1rem;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
}

#hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
#about {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

/* Features Section */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.feature-item i {
    font-size: 2rem;
    color: #00aaff;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Supported Cryptos Section */
#supported-cryptos {
    text-align: center;
}

.crypto-icons {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.crypto-icons i {
    margin: 0 1rem;
    color: #00aaff;
}

/* How It Works Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.step-item {
    display: flex;
    align-items: center;
}

.step-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00aaff;
    margin-right: 1rem;
    border: 2px solid #00aaff;
    width: 40px;
    height: 40px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
}

.step-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

/* Fees Section */
#fees {
    text-align: center;
}

.fees-table {
    max-width: 600px;
    margin: 0 auto 1rem;
    background-color: #1a1a1a;
    border-radius: 5px;
    padding: 1rem;
}

.fee-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #2c2c2c;
}

.fee-item:last-child {
    border-bottom: none;
}

.disclaimer {
    font-size: 0.8rem;
    color: #888;
}

/* Security Section */
#security {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #1a1a1a;
    margin-bottom: 0.5rem;
    border-radius: 4px;
    border: 1px solid #2c2c2c;
}

.faq-question {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-weight: 500;
    position: relative;
}

.faq-question::after {
    content: '\f078'; /* Font Awesome chevron-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 1rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 0.9rem;
    border-top: 1px solid #2c2c2c;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 1rem;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem 0;
    background-color: #1a1a1a;
    color: #e0e0e0;
}

.social-media {
    margin-bottom: 1rem;
}

.social-media a {
    color: #e0e0e0;
    text-decoration: none;
    margin: 0 0.75rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #00aaff;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        font-size: 13px;
    }

    .nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 0;
        background-color: #1a1a1a;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }
    
    .nav-links li {
        opacity: 0;
        margin-left: 0;
        margin-bottom: 2rem;
    }

    .burger {
        display: block;
        z-index: 1001; /* Ensure burger is on top of nav */
    }

    #hero h1 {
        font-size: 2rem;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}
