/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: url('images/sitebackground.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 3rem 0;
    display: flex;
    justify-content: center;
}

nav {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 4rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    filter: brightness(1.2);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4rem;
    justify-content: center;
    padding-right: 200px; /* To offset the logo width and keep links centered in viewport */
}

nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

nav a:hover {
    color: #69E871;
}

/* Styles for the active navigation link */
nav a.active {
    color: #69E871; /* Active text color */
    font-weight: bold; /* Optional: make the active link bold */
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12rem 4rem 8rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.hero-content {
    flex: 1;
    text-align: left;
    max-width: 600px;
    padding-left: 4rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1;
    letter-spacing: -0.03em;
    max-width: 650px;
}

.hero p {
    font-size: 1.4rem;
    color: #f0f0f0;
    margin-bottom: 2.5rem;
    line-height: 1.4;
}

.hero-logo {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-logo img {
    max-width: 400px;
    height: auto;
}

.cta-button {
    background-color: #69E871;
    color: #000;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-button::after {
    content: '↗';
    font-size: 1.2em;
}

.cta-button:hover {
    background-color: #55c95c;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        padding: 6rem 2rem;
        text-align: center;
    }

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

    .hero-logo {
        justify-content: center;
    }

    .hero-logo img {
        max-width: 300px;
    }

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

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

/* Crypto Icons Section */
.crypto-icons {
    padding: 1rem 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(1px);
    margin: 2rem auto;
    border-radius: 20px;
    max-width: 1200px;
}

.crypto-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: nowrap;
}

.crypto-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.crypto-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.crypto-item img {
    width: 24px;
    height: 24px;
}

.coin-info {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.coin-info span {
    color: white;
    font-weight: 500;
}

.price-trend {
    font-size: 14px;
    font-weight: bold;
}

.price-trend::after {
    content: '%';
}

.price-trend.up {
    color: #32CD32;
}

.price-trend.down {
    color: #FF4136;
}

/* Features Section */
.features {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #fff;
}

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

.feature-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.feature-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #f0f0f0;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* About Page Styles */
.about-section {
    min-height: calc(100vh - 140px); /* Subtract header and footer height */
    padding: 4rem 8rem;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-label {
    color: #69E871;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-section h1 {
    font-size: 3.5rem;
    color: white;
    margin: 8rem 0 2rem 0;
    line-height: 1;
    letter-spacing: -0.03em;
    max-width: 900px;
    font-weight: 700;
    text-align: center;
}

.about-description {
    font-size: 1.5rem;
    color: #f0f0f0;
    margin-bottom: 3rem;
    line-height: 1.4;
    max-width: 700px;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    object-fit: cover;
    background-color: #000000;
}

.member-info {
    flex: 1;
}

.member-info h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.member-info .title {
    color: #69E871;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.member-info .role {
    color: #f0f0f0;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .about-section {
        padding: 2rem;
    }

    .about-section h1 {
        font-size: 2.5rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-member {
        text-align: left;
    }
}

/* FAQ Page Styles */
.faq-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-section h1 {
    font-size: 3.5rem;
    color: white;
    margin: 8rem 0 2rem 0;
    line-height: 1;
}

.faq-grid {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.faq-item {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.faq-button {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    text-align: left;
    cursor: pointer;
}

.faq-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.faq-button .arrow {
    transition: transform 0.3s ease;
}

.faq-item.active .arrow {
    transform: rotate(90deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    padding: 0 1.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.2s ease-out, opacity 0.2s ease-out, transform 0.2s ease-out, padding 0.2s ease-out;
}

.faq-item.active .faq-content {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem 1.5rem;
    opacity: 1;
    transform: translateY(0);
}

.faq-content p {
    color: #f0f0f0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Support Page Styles */
.support-section {
    min-height: calc(100vh - 140px);
    padding: 4rem 8rem;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.support-section h1 {
    font-size: 3.5rem;
    color: white;
    margin: 8rem 0 3rem 0;
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 900px;
    font-weight: 700;
    text-align: center;
}

.support-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 24px;
    color: white;
    max-width: 600px;
    width: 100%;
    text-align: left;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.contact-item {
    text-align: left;
}

.contact-item h3 {
    font-size: 1.25rem;
    color: #69E871;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-item p {
    font-size: 1.5rem;
    color: white;
    font-weight: 500;
}

@media (max-width: 768px) {
    .support-section {
        padding: 2rem;
    }

    .support-section h1 {
        font-size: 2.5rem;
    }

    .support-card {
        padding: 2rem;
    }

    .contact-item p {
        font-size: 1.25rem;
    }
}

/* Privacy Page Styles */
.privacy-section {
    min-height: calc(100vh - 140px);
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.privacy-section h1 {
    font-size: 3.5rem;
    color: white;
    margin: 8rem 0 3rem 0;
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 700;
    text-align: center;
}

.privacy-content {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.privacy-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 24px;
    color: white;
    text-align: left;
}

.privacy-card h2 {
    color: #69E871;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.privacy-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #f0f0f0;
}

.privacy-card ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.privacy-card li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f0f0f0;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.privacy-card li:before {
    content: "•";
    color: #69E871;
    position: absolute;
    left: 0;
}

.contact-detail {
    font-size: 1.25rem !important;
    color: white !important;
    font-weight: 500;
}

@media (max-width: 768px) {
    .privacy-section {
        padding: 2rem;
    }

    .privacy-section h1 {
        font-size: 2.5rem;
        margin: 4rem 0 2rem 0;
    }

    .privacy-card {
        padding: 1.5rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #1a1a1a;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 12px;
    max-width: 400px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.modal p {
    color: #f0f0f0;
    margin-bottom: 1.5rem;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.5rem;
}

.close:hover {
    color: white;
}

#emailInput {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
}

#emailInput:focus {
    outline: none;
    border-color: #69E871;
}

.submit-button {
    background-color: #69E871;
    color: #000;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #55c95c;
}

#successMessage {
    text-align: center;
    padding: 1rem;
}

#successMessage p {
    color: #69E871;
    margin: 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: #888;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        grid-template-columns: 150px 1fr;
    }
    
    .nav-links {
        gap: 1rem;
        padding-right: 150px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .crypto-container {
        gap: 2rem;
    }

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

/* Mobile Styles */
@media (max-width: 768px) {
    /* Navigation */
    header {
        padding: 1.5rem 0;
    }

    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0 2rem;
    }

    .logo {
        margin: 0;
    }

    .nav-links {
        gap: 2rem;
        padding-right: 0;
        width: 100%;
        justify-content: center;
    }

    .logo img {
        height: 45px;
    }

    /* Hero Section */
    .hero {
        padding: 8rem 2rem 3rem;
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    /* Global Section Styles */
    .privacy-section,
    .support-section,
    .faq-section,
    .about-section {
        padding: 8rem 2rem 3rem;
        text-align: center;
    }

    .privacy-section h1,
    .support-section h1,
    .faq-section h1,
    .about-section h1 {
        font-size: 2.5rem;
        margin: 0 0 2rem 0;
        padding: 0 1rem;
    }

    /* Features Grid */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    /* Team Grid */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }

    /* FAQ Section */
    .faq-grid {
        padding: 0 1rem;
    }

    .faq-item {
        padding: 1.25rem 1.5rem;
        font-size: 1.1rem;
    }

    /* Support Cards */
    .support-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .support-card {
        padding: 1.5rem;
    }

    /* Privacy Content */
    .privacy-content {
        padding: 0 1rem;
    }

    .privacy-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Navigation */
    header {
        padding: 1rem 0;
    }

    nav {
        padding: 0 1rem;
        gap: 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .logo img {
        height: 35px;
    }

    /* Hero Section */
    .hero {
        padding: 7rem 1rem 2rem;
    }

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

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

    /* Global Section Styles */
    .privacy-section,
    .support-section,
    .faq-section,
    .about-section {
        padding: 7rem 1rem 2rem;
    }

    .privacy-section h1,
    .support-section h1,
    .faq-section h1,
    .about-section h1 {
        font-size: 2rem;
    }

    /* Team Grid */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* FAQ Items */
    .faq-item {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }

    /* Support Cards */
    .support-card {
        padding: 1.25rem;
    }

    /* Privacy Cards */
    .privacy-card {
        padding: 1.25rem;
    }

    /* Footer */
    footer {
        padding: 1rem;
        font-size: 0.9rem;
    }
}