/* Index Page Styles */

/* Theme Color Overrides Only - Do NOT redefine base.css variables */
:root {
    --primary-color: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent-color: #06b6d4;
}

/* Index Page Specific Styles - Remove all globals, keep only page components */

.coin-ticker {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    padding: 20px 0 70px 0;
    width: fit-content;
    gap: 16px;
    transition: transform 0.4s ease;
}

.coin-ticker-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
}

/* Coin Carousel Arrow Buttons */
.coin-carousel-arrow {
    position: absolute;
    bottom: 10px;
    transform: translateX(-50%);
    background: rgba(99, 102, 241, 0.9);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.1rem;
}

.coin-carousel-arrow:hover:not(:disabled) {
    background: rgba(99, 102, 241, 1);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
}

.coin-carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(99, 102, 241, 0.5);
}

.coin-carousel-arrow-left {
    left: calc(50% - 35px);
}

.coin-carousel-arrow-right {
    left: calc(50% + 35px);
}

.coin-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 22px 18px;
    margin: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(6, 182, 212, 0.05));
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    min-width: 320px;
    width: 320px;
    height: auto;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.coin-item.loading {
    opacity: 0.7;
    pointer-events: none;
}

.coin-item.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.coin-item:not(:last-child)::after {
    content: none;
}


.coin-item:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(6, 182, 212, 0.15));
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.35), 0 0 20px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.6);
}

.coin-icon {
    width: 52px;
    height: 52px;
    margin-right: 0;
    margin-bottom: 14px;
    border-radius: 50%;
}

.coin-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #e2e8f0;
    font-size: 1.1rem;
    line-height: 1.2;
    flex: 1;
}

.coin-symbol {
    font-weight: 700;
    font-size: 1.5rem;
    color: #f8fafc;
    letter-spacing: 0.3px;
}

.coin-price {
    font-size: 1.25rem;
    opacity: 0.85;
    font-family: 'Roboto Mono', monospace;
    color: #cbd5e1;
    font-weight: 600;
}

.coin-change {
    font-size: 1.05rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* New coin item layout with chart */
.coin-item-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.coin-chart-container {
    width: 100%;
    height: 80px;
    margin-top: 8px;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    padding-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.chart-loading {
    font-size: 12px;
    color: var(--text-muted);
    opacity: 0.6;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.3;
    }
}

.coin-mini-chart-svg {
    width: 100%;
    height: 100%;
    max-width: 200px;
    animation: fadeIn 0.3s ease-in;
}

.coin-change {
    gap: 4px;
    margin-left: 0;
}

.coin-change.positive {
    color: #22c55e;
}

.coin-change.negative {
    color: #ef4444;
}

.change-icon {
    font-size: 0.65rem;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments for coin carousel */
@media screen and (max-width: 768px) {
    .coin-carousel-section {
        padding: 16px 0 10px;
    }

    /* Wrapper becomes a fixed viewport — one card wide */
    .coin-ticker-wrapper {
        overflow: hidden;
        max-width: 100%;
        padding: 0 16px;
    }

    /* Ticker becomes a flex row — JS slides it by 100% per card */
    .coin-ticker {
        display: flex;
        gap: 16px;
        padding: 8px 0 60px 0;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
    }

    /* Each card fills the wrapper width */
    .coin-item {
        min-width: calc(100vw - 32px);
        width: calc(100vw - 32px);
        flex-shrink: 0;
        padding: 24px 20px;
        border-radius: 20px;
        height: auto;
    }

    .coin-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 14px;
    }

    .coin-symbol {
        font-size: 1.6rem;
    }

    .coin-price {
        font-size: 1.35rem;
    }

    .coin-change {
        font-size: 1.1rem;
    }

    .change-icon {
        font-size: 0.85rem;
    }

    .coin-chart-container {
        height: 100px;
        min-height: 100px;
    }

    /* Arrows: bigger, side-by-side centered below card */
    .coin-carousel-arrow {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .coin-carousel-arrow-left {
        left: calc(50% - 56px);
    }

    .coin-carousel-arrow-right {
        left: calc(50% + 8px);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../images/firstSectionBackground.png') center/cover no-repeat,
        radial-gradient(circle at 15% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        #020617;
    position: relative;
    overflow: hidden;
    padding-top: 64px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 6, 23, 0.5);
    pointer-events: none;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    text-align: center;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 60%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fbbf24 !important;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Stats Section */
.stats {
    padding: 60px 0;
    background: #01040a;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.stats .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Trust Banner */
.trust-banner {
    background: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.trust-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 193, 7, 0.1), transparent 50%);
    pointer-events: none;
}

.trust-number {
    flex: 1;
    min-width: 300px;
    z-index: 1;
}

.trust-number h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #6366f1;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    text-align: left;
}

.trust-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fbbf24;
    margin: 10px 0 5px 0;
    letter-spacing: 1px;
}

.trust-badges {
    display: flex;
    gap: 30px;
    z-index: 1;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--radius-md);
    padding: 20px 25px;
    transition: var(--transition);
}

.badge-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 193, 7, 0.15);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.2);
}

.badge-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.5));
}

.badge-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffc107;
    line-height: 1;
}

.badge-subtitle {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Stat Cards Row */
.stat-cards-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-card {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.stat-card h3 {
    font-size: 2.2rem;
    color: #818cf8;
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-card p {
    color: #D4AF37;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 992px) {
    .trust-banner {
        flex-direction: column;
        text-align: center;
    }

    .trust-number {
        min-width: 100%;
    }

    .trust-number h3 {
        font-size: 2.8rem;
    }

    .trust-badges {
        flex-direction: column;
        width: 100%;
    }

    .badge-item {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .trust-number h3 {
        font-size: 2.2rem;
    }

    .trust-subtitle {
        font-size: 1.3rem;
    }

    .badge-title {
        font-size: 1.4rem;
    }
}

/* AI Trading Section */
.ai-trading {
    background: radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 70%),
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 40%),
        #020617;
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.ai-trading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.ai-trading h2 {
    color: var(--white);
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #fbbf24;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.features-group {
    margin-bottom: 60px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.features-group h3 {
    font-weight: 600;
    letter-spacing: 0.5px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
}

.ai-feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 35px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ai-feature-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.3);
}

.ai-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    margin: 0 auto 25px;
    font-size: 2rem;
    border: 2px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.ai-feature-card h3 {
    color: #D4AF37;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.ai-feature-card p {
    color: var(--white);
    line-height: 1.7;
    flex-grow: 1;
}

/* Pricing Card Styles */
.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.5), 0 0 30px rgba(99, 102, 241, 0.3);
    border-color: var(--primary-color);
}

.price-badge {
    display: inline-block;
    align-self: center;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    color: white;
    padding: 8px 28px;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.pricing-card .btn {
    width: auto;
    display: block;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.feature-benefits {
    padding-top: 20px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    margin-top: auto;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    color: #fbbf24;
    font-size: 0.9rem;
    padding: 6px 0;
    transition: var(--transition);
}

.feature-list li:hover {
    color: #fcd34d;
}

.feature-list i {
    color: var(--accent-color);
}


/* Security Section */
.security {
    background: radial-gradient(circle at 10% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        #020617;
    color: var(--white);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

.security::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.security .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.security-content {
    flex: 1;
}

.security-content h2,
.security-content p {
    color: var(--white);
    text-align: left;
}

.security-intro {
    color: #fbbf24 !important;
    font-weight: 500;
}

.feature-subtitle,
small.feature-subtitle,
#on-chain-tracking small,
#on-chain-tracking .feature-subtitle {
    color: #fbbf24 !important;
    display: block;
}

.security-features {
    list-style: none;
    margin: 30px 0;
}

.security-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.security-features li i {
    color: var(--primary-light);
    margin-right: 10px;
}

.security-image {
    flex: 1;
    text-align: center;
}

/* Get Started Section */
.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin: 50px 0;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step:not(:last-child):after {
    content: "";
    position: absolute;
    top: 30px;
    right: -50px;
    width: 70px;
    height: 2px;
    background-color: var(--border-color);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
}

.step h3 {
    color: #fbbf24;
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Reviews Carousel Section */
.reviews-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.5) 0%, rgba(2, 6, 23, 0.5) 100%);
    border-top: 1px solid #334155;
    border-bottom: 1px solid #334155;
}

.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.reviews-header p {
    font-size: 1.1rem;
    color: #fbbf24;
    max-width: 600px;
    margin: 0 auto;
}

/* Carousel Container */
.reviews-carousel {
    position: relative;
    margin: 3rem auto;
    max-width: 1400px;
    padding: 0;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    width: fit-content;
    padding: 1rem 0 4rem 0;
    transition: transform 0.4s ease;
}

/* Review Card */
.review-card {
    flex: 0 0 350px;
    width: 350px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    min-height: 250px;
    word-wrap: break-word;
}

.review-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    transform: translateY(-5px);
}

.review-stars {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    letter-spacing: 0.25rem;
    white-space: nowrap;
}

.review-text {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
    font-style: italic;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.review-author {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0;
    word-wrap: break-word;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .review-card {
        flex: 0 0 300px;
        width: 300px;
        min-height: 230px;
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 60px 0;
    }

    .reviews-header h2 {
        font-size: 1.8rem;
    }

    .review-card {
        flex: 0 0 280px;
        width: 280px;
        min-height: 220px;
    }

    .carousel-track {
        gap: 1rem;
    }
}

/* Carousel Arrow Buttons */
.carousel-arrow {
    position: absolute;
    bottom: 0;
    transform: translateX(-50%);
    background: rgba(99, 102, 241, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.2rem;
}

.carousel-arrow:hover:not(:disabled) {
    background: rgba(99, 102, 241, 1);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
}

.carousel-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(99, 102, 241, 0.5);
}

.carousel-arrow-left {
    left: calc(50% - 35px);
}

.carousel-arrow-right {
    left: calc(50% + 35px);
}

@media (max-width: 768px) {
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-arrow-left {
        left: calc(50% - 30px);
    }
    
    .carousel-arrow-right {
        left: calc(50% + 30px);
    }
}

/* Trust Affiliates Section */
.trust-affiliates {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.5) 0%, rgba(2, 6, 23, 0.5) 100%);
    border-top: 1px solid #334155;
    border-bottom: 1px solid #334155;
}

.trust-affiliates .affiliates-content {
    text-align: center;
}

.trust-affiliates h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.trust-affiliates>.container>.affiliates-content>p {
    font-size: 1.1rem;
    color: #fbbf24;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trust-affiliates .affiliates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trust-affiliates .affiliate-card {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-affiliates .affiliate-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.trust-affiliates .affiliate-img {
    max-height: 80px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.trust-affiliates .affiliate-card:hover .affiliate-img {
    opacity: 1;
}

.trust-affiliates .affiliate-card h4 {
    font-size: 1.3rem;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.trust-affiliates .affiliate-card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .trust-affiliates {
        padding: 60px 0;
    }

    .trust-affiliates h2 {
        font-size: 1.8rem;
    }

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

/* Mobile App Section */
.mobile-app {
    background: radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 60%),
        #020617;
    position: relative;
    padding: 100px 0;
}

.mobile-app .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.mobile-app-image,
.mobile-app-content {
    flex: 1;
}

.mobile-app-content h2,
.mobile-app-content p {
    text-align: left;
}

.mobile-app-content p {
    color: #fbbf24;
    font-weight: 600;
}

.mobile-app-content p .text-yellow {
    color: #f8fafc !important;
}

.app-stores {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.app-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.app-features p {
    display: flex;
    align-items: center;
    margin: 0;
    color: var(--text-color);
}

.app-features p i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* Get Started Section */
.get-started {
    background: radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.12) 0%, transparent 60%),
        #020617;
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.get-started h2 {
    text-align: center;
    margin-bottom: 50px;
}




/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TradingView Widget Modal */
#tradingview_widget_container {
    height: 600px;
    width: 100%;
}

.modal-content {
    border-radius: var(--radius-md);
    border: none;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: var(--gradient-primary);
    color: var(--white);
    border-bottom: none;
    padding: 16px 20px;
}

.modal-header .modal-title {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.modal-header .modal-title::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('../icons/ultraview-logo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.modal-header .btn-close {
    color: var(--white);
    filter: brightness(0) invert(1);
    opacity: 0.8;
    padding: 12px;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 0;
}

.modal-footer {
    border-top: none;
    background: var(--light-gray);
    justify-content: space-between;
    padding: 12px 20px;
}

.modal-footer .btn-secondary {
    background: var(--secondary-color);
    border: none;
    transition: all 0.2s ease;
}

.modal-footer .btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.trading-info {
    font-size: 0.85rem;
    color: var(--light-text);
    display: flex;
    align-items: center;
}

.trading-info strong {
    color: var(--primary-color);
    margin: 0 4px;
}

.trading-info::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233a7bd5'%3E%3Cpath d='M3.5 18.49l6-6.01 4 4L22 6.92l-1.41-1.41-7.09 7.97-4-4L2 16.99z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 6px;
}

@media (min-width: 992px) {
    .modal-lg {
        max-width: 900px;
    }
}

.modal-footer .btn-secondary {
    background: var(--secondary-color);
    border: none;
}

/* Make coin items clickable with a pointer cursor */
.coin-item {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coin-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .hero .container,
    .security .container,
    .mobile-app .container {
        flex-direction: column;
    }

    .security-image,
    .mobile-app-image {
        order: -1;
        margin-bottom: 30px;
        text-align: center;
    }

    .security-image img,
    .mobile-app-image img {
        max-width: 320px;
        width: 100%;
    }

    .security-content h2,
    .security-content p {
        text-align: center;
    }

    .security-features {
        display: inline-block;
        text-align: left;
        width: 100%;
    }

    .mobile-app-content h2,
    .mobile-app-content p {
        text-align: center;
    }

    /* Features grid: 2 columns on tablet */
    .ai-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Pricing cards: stack on tablet */
    .pricing-card {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 80px;
    }

    h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }

    .nav-links,
    .auth-buttons {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Show mobile Sign In button and hide desktop auth buttons */
    .mobile-signin-btn {
        display: inline-flex !important;
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .navbar-right {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* Hero */
    .hero .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 40px 15px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* Stats / Trust Banner */
    .trust-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .trust-number {
        min-width: 100%;
    }

    .trust-number h3 {
        font-size: 2rem;
        text-align: center;
    }

    .trust-badges {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .badge-item {
        justify-content: flex-start;
        padding: 15px 30px;
        max-width: 280px;
        margin: 0 auto;
        width: 100%;
    }

    /* Stat cards row */
    .stat-cards-row {
        justify-content: center;
        gap: 12px;
    }

    .stat-card {
        min-width: 140px;
        flex: 1 1 40%;
    }

    .stat-card h3 {
        font-size: 1.6rem;
    }

    /* AI Trading / Features section */
    .ai-trading {
        padding: 60px 0;
    }

    .ai-features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ai-feature-card {
        padding: 24px;
    }

    .features-group {
        margin-bottom: 40px;
    }

    .features-group h3 {
        font-size: 1.2rem;
    }

    /* Pricing cards */
    .pricing-card {
        width: 100%;
    }

    .price-badge {
        font-size: 1.6rem;
    }

    /* On-chain tracking section */
    #on-chain-tracking .row {
        justify-content: center;
    }

    #on-chain-tracking .col-md-6 {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Security section */
    .security .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .security-content {
        order: 2;
    }

    .security-image {
        order: 1;
        margin-bottom: 20px;
        text-align: center;
    }

    .security-image img {
        max-width: 280px;
        width: 100%;
    }

    .security-content h2,
    .security-content p {
        text-align: center;
    }

    .security-features {
        display: inline-block;
        text-align: left;
        width: 100%;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Get Started Steps */
    .get-started {
        padding: 60px 0;
    }

    .steps {
        flex-direction: column;
        gap: 20px;
    }

    .step:not(:last-child):after {
        display: none;
    }

    .step {
        text-align: center;
        padding: 25px 20px;
        background: rgba(255,255,255,0.03);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
    }

    /* Mobile App section */
    .mobile-app .container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .mobile-app-image {
        order: 1;
        text-align: center;
    }

    .mobile-app-image img {
        max-width: 260px;
        width: 100%;
    }

    .mobile-app-content {
        order: 2;
    }

    .mobile-app-content h2,
    .mobile-app-content p {
        text-align: center;
    }

    .app-stores {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .app-stores .btn {
        width: 100%;
        max-width: 280px;
    }

    .app-features {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Footer */
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    section {
        padding: 40px 0;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    h2 {
        font-size: 1.25rem;
    }

    .container {
        padding: 0 12px;
    }

    /* Hero */
    .hero {
        padding-top: 80px;
        min-height: auto;
        padding-bottom: 50px;
    }

    .hero-content h1 {
        font-size: 1.7rem;
        letter-spacing: -0.3px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 0.8px;
    }

    .hero-cta .btn {
        max-width: 100%;
        padding: 14px 20px;
    }

    /* Trust banner */
    .trust-number h3 {
        font-size: 1.8rem;
    }

    .trust-subtitle {
        font-size: 1.1rem;
    }

    .badge-title {
        font-size: 1.3rem;
    }

    .badge-icon {
        font-size: 2rem;
    }

    /* Stat cards: single column */
    .stat-cards-row {
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        width: 100%;
        max-width: 320px;
        flex: none;
        padding: 15px;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }

    /* Features grid: 1 column */
    .ai-features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ai-feature-card {
        padding: 20px;
    }

    .features-group h3 {
        font-size: 1.1rem;
    }

    /* On-chain tracking */
    #on-chain-tracking {
        padding: 40px 0 !important;
    }

    #on-chain-tracking h2 {
        font-size: 1.3rem;
    }

    #on-chain-tracking .col-md-6 {
        width: 100%;
        padding: 0 10px;
    }

    /* Pricing */
    .price-badge {
        font-size: 1.4rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .pricing-card .btn {
        width: auto;
        margin: 0 auto;
    }

    /* Steps */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .step h3 {
        font-size: 1rem;
    }

    /* Security */
    .security-features li {
        font-size: 0.9rem;
    }

    .security-features {
        max-width: 100%;
    }

    /* Mobile app */
    .mobile-app-image img {
        max-width: 200px;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Risk Disclaimer */
.risk-disclaimer {
    color: #fbbf24;
}

/* Text Yellow */
.text-yellow {
    color: #fbbf24;
}

/* Why Trade Section */
.features {
    background: radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
        #01040a;
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}