/* Supported Exchanges Page Styles */

/* General Page Styles */
body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background-color: #12121b;
    color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.page-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Hero Section */
.exchanges-hero {
    position: relative;
    padding: 0 0 80px;
    overflow: hidden;
}

/* Floating Logo */
.floating-logo {
    position: absolute;
    top: 60px;
    left: 100px;
    z-index: 10;
    display: block;
    transition: transform 0.3s ease;
}

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

.guac-logo {
    height: 20px;
    width: 100px;
}

.exchanges-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.exchanges-hero-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 243, 64, 0.15) 0%, rgba(168, 243, 64, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.exchanges-hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(168, 243, 64, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 243, 64, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

.exchanges-hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 30px 0;
    text-align: center;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(168, 243, 64, 0.1);
    border: 1px solid rgba(168, 243, 64, 0.2);
    border-radius: 30px;
    padding: 8px 16px;
    margin-bottom: 24px;
}

.hero-badge i {
    color: #a8f340;
    margin-right: 8px;
    font-size: 14px;
}

.hero-badge span {
    color: #a8f340;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.exchanges-hero h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.exchanges-hero p {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat span {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #CFFF70, #a8f340, #AFF550);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-stat div {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.gradient-text {
    font-weight: bold;
    background: linear-gradient(90deg, #CFFF70, #a8f340, #AFF550);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline;
}

/* Main Content Section */
.exchanges-main {
    position: relative;
    padding: 80px 0;
    z-index: 2;
}

.exchanges-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.exchanges-intro {
    text-align: center;
    margin-bottom: 60px;
}

.exchanges-intro h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.exchanges-intro p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

/* Filter Buttons */
.exchanges-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: rgba(30, 30, 40, 0.5);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(168, 243, 64, 0.1);
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: rgba(168, 243, 64, 0.1);
    color: #ffffff;
    border-color: rgba(168, 243, 64, 0.3);
}

.filter-btn.active {
    background-color: rgba(168, 243, 64, 0.15);
    color: #a8f340;
    border-color: rgba(168, 243, 64, 0.5);
}

/* Exchange Cards Grid */
.exchanges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.exchange-card {
    background: rgba(30, 30, 40, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.exchange-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 243, 64, 0.05) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 0;
}

.exchange-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(168, 243, 64, 0.2);
}

.exchange-logo {
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.exchange-logo img {
    max-height: 100%;
    max-width: 180px;
    object-fit: contain;
}

.exchange-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.exchange-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.feature-tag {
    background-color: rgba(168, 243, 64, 0.1);
    color: #a8f340;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(168, 243, 64, 0.2);
}

.exchange-card p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.exchange-link {
    display: inline-flex;
    align-items: center;
    color: #a8f340;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.exchange-link i {
    margin-left: 8px;
    font-size: 12px;
}

.exchange-link:hover {
    color: #CFFF70;
    text-decoration: underline;
}

/* API Integration Section */
.api-integration {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.api-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.api-glow {
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168, 243, 64, 0.1) 0%, rgba(168, 243, 64, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.api-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(168, 243, 64, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 243, 64, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

.api-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    z-index: 2;
}

.api-header {
    text-align: center;
    margin-bottom: 50px;
}

.api-title-pill {
    display: inline-flex;
    align-items: center;
    background-color: rgba(168, 243, 64, 0.1);
    border-radius: 30px;
    padding: 8px 16px;
    margin-bottom: 20px;
}

.api-title-pill i {
    color: #a8f340;
    margin-right: 8px;
}

.api-title-pill span {
    color: #a8f340;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.api-integration h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.api-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.api-intro {
    background: rgba(30, 30, 40, 0.5);
    border: 1px solid rgba(168, 243, 64, 0.1);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.api-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 243, 64, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
}

.api-intro p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.api-security-level {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.security-meter {
    width: 100%;
    max-width: 400px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.security-meter-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #a8f340, #CFFF70);
    border-radius: 4px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.security-label {
    font-size: 14px;
    font-weight: 600;
    color: #a8f340;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.api-features-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.api-features-row {
    display: flex;
    gap: 30px;
}

.api-feature-item {
    flex: 1;
    background: rgba(30, 30, 40, 0.5);
    border: 1px solid rgba(168, 243, 64, 0.1);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.api-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 243, 64, 0.05) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 0;
}

.api-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(168, 243, 64, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: rgba(168, 243, 64, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.feature-icon i {
    font-size: 20px;
    color: #a8f340;
}

.feature-content {
    position: relative;
    z-index: 1;
    text-align: left;
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-content p {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* Coming Soon Section */
.coming-soon {
    position: relative;
    padding: 80px 0;
    background-color: rgba(30, 30, 40, 0.3);
    z-index: 2;
}

.coming-soon-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
    text-align: center;
}

.coming-soon h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.coming-soon p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.request-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 30px;
}

.request-form input {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px 0 0 8px;
    padding: 15px 20px;
    font-size: 16px;
    color: #ffffff;
    outline: none;
}

.request-form input:focus {
    border-color: rgba(168, 243, 64, 0.5);
}

.request-btn {
    background-color: #a8f340;
    color: #12121b;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.request-btn:hover {
    background-color: #CFFF70;
}

.coming-soon-note {
    display: flex;
    align-items: flex-start;
    background-color: rgba(168, 243, 64, 0.05);
    border: 1px solid rgba(168, 243, 64, 0.1);
    border-radius: 8px;
    padding: 20px;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.coming-soon-note i {
    color: #a8f340;
    font-size: 20px;
    margin-right: 15px;
    margin-top: 2px;
}

.coming-soon-note p {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* CTA Section */
.exchanges-cta {
    position: relative;
    padding: 100px 0;
    text-align: center;
    z-index: 2;
}

.exchanges-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
}

.exchanges-cta h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.exchanges-cta p {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.primary-button {
    background-color: #a8f340;
    color: #12121b;
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(168, 243, 64, 0.3);
}

.primary-button:hover {
    background-color: #CFFF70;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 243, 64, 0.4);
}

.secondary-button {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.secondary-button:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .exchanges-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .exchanges-hero h1 {
        font-size: 48px;
    }

    .hero-stats {
        gap: 30px;
    }

    .hero-stat span {
        font-size: 30px;
    }

    .exchanges-intro h2,
    .api-integration h2,
    .coming-soon h2 {
        font-size: 36px;
    }

    .api-features-row {
        flex-direction: column;
    }

    .api-intro {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .floating-logo {
        display: flex;
        justify-content: center;
        align-items: center;
        /* reset position attributes so that the logo can be centered using flex */
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        height: auto;
        max-width: 130px;
        max-height: 130px;
        margin: 0 auto;
        padding: 20px 0;
        border-radius: 0;
        box-shadow: none;
        transition: none;
        animation: none;
        background: none;
    }

    .guac-logo {
        width: 100%;
        height: auto;
        width: 130px !important;
        height: 130px !important;
        max-width: 130px !important;
        max-height: 130px !important;
    }

    .exchanges-hero-container {
        padding: 60px 20px 0;
    }

    .exchanges-hero h1 {
        font-size: 40px;
    }

    .exchanges-hero p {
        font-size: 18px;
    }

    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stat {
        min-width: 100px;
    }

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

    .api-intro {
        padding: 25px;
    }

    .api-feature-item {
        padding: 20px;
    }

    .exchanges-cta h2 {
        font-size: 36px;
    }

    .exchanges-cta p {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .request-form {
        flex-direction: column;
    }

    .request-form input {
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .request-btn {
        border-radius: 8px;
    }
}

@media (max-width: 576px) {
    .hero-badge {
        padding: 6px 12px;
    }

    .hero-badge i,
    .hero-badge span {
        font-size: 12px;
    }

    .exchanges-hero h1 {
        font-size: 32px;
    }

    .hero-stats {
        gap: 15px;
    }

    .hero-stat span {
        font-size: 24px;
    }

    .hero-stat div {
        font-size: 14px;
    }

    .exchanges-intro h2,
    .api-integration h2,
    .coming-soon h2,
    .exchanges-cta h2 {
        font-size: 28px;
    }

    .exchanges-hero p,
    .exchanges-intro p,
    .api-intro p,
    .coming-soon p,
    .exchanges-cta p {
        font-size: 16px;
    }

    .filter-btn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .api-feature-item {
        padding: 20px 15px;
        gap: 15px;
    }

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

    .feature-icon i {
        font-size: 18px;
    }

    .feature-content h3 {
        font-size: 18px;
    }

    .feature-content p {
        font-size: 14px;
    }
}
