/* Custom CSS for Trust Wallet Landing Page */

/* Container Width Override */
.container {
    max-width: 1200px !important;
}

/* Font */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

/* Color Variables */
:root {
    --primary-color: #0500ff;
    --primary-hover: #0400cc;
    --dark-color: #1a1a1a;
    --gray-600: #6b7280;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --light-bg: #f4f4f7;
    --border-color: #dbdce5;
}

/* Primary Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 20px;
    padding: 8px 24px;
    font-weight: 500;
    transition: all 0.5s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Language Button Styles */
.btn-language {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e1e5e9;
    border-radius: 24px;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #475569;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    min-width: 85px;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.btn-language:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(5, 0, 255, 0.12), 0 4px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.btn-language:focus {
    box-shadow: 0 0 0 4px rgba(5, 0, 255, 0.15), 0 8px 25px rgba(5, 0, 255, 0.12);
    outline: none;
    border-color: var(--primary-color);
}

.btn-language:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 0, 255, 0.15), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-language svg:first-child {
    opacity: 0.75;
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
}

.btn-language:hover svg:first-child {
    opacity: 1;
    transform: scale(1.1);
}

.btn-language span {
    font-weight: 700;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.btn-language svg:last-child {
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.btn-language:hover svg:last-child {
    transform: translateY(2px) scale(1.1);
    opacity: 0.8;
}

/* Header Styles */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    z-index: 1050;
}

.header-fixed .navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand svg {
    height: 40px;
    width: auto;
}

.navbar-collapse {
    justify-content: flex-end;
}

.navbar-nav {
    margin-right: 2rem !important;
}

.navbar-nav .nav-link {
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    margin-left: 1rem;
    margin-right: 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Mobile Menu Styles */
.navbar-toggler {
    border: none !important;
    padding: 4px 8px;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M6 6l18 18M6 24L24 6'/%3e%3c/svg%3e");
    transform: rotate(180deg);
}

/* Hero Section */
.hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 3.3rem);
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 3rem;
    text-align: center;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* How It Works */
.how-it-works-bg {
    background-color: var(--light-bg);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 80px 48px;
}

.how-it-works-bg .section-title {
    text-align: left;
}

@media (max-width: 991px) {
    .how-it-works-bg .section-title {
        text-align: center;
    }
}

.step-number {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.125rem;
    margin-right: 1rem;
}

.step-text {
    color: var(--gray-600);
    margin: 0;
}

/* Token Cards */
.token-card {
    background-color: var(--gray-100);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.token-card:hover {
    transform: translateY(-2px);
}

.token-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}

.token-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.token-name {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Feature Cards */
.feature-card {
    background-color: var(--light-bg);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.feature-description {
    color: var(--gray-600);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.feature-image {
    height: 180px;
    width: auto;
    object-fit: contain;
}

/* FAQ Styles */
.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--dark-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}



.faq-answer {
    padding: 0 0 1.5rem 0;
    color: var(--gray-600);
    line-height: 1.6;
}

.faq-icon {
    transition: transform 0.3s ease;
    margin-right: 0.5rem;
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.faq-icon.rotated {
    transform: rotate(180deg);
}

/* Footer */
.footer-bg {
    background-color: var(--light-bg);
    border-radius: 24px;
    padding: 3rem;
}

/* Download and Social Section Alignment */
.footer-bg .row:nth-child(2) {
    margin-left: calc(100% / 12 * 4);
}

@media (max-width: 991px) {
    .footer-bg .row:nth-child(2) {
        margin-left: 0;
    }
    
    .footer-bg .row:nth-child(2) .col-lg-8,
    .footer-bg .row:nth-child(2) .col-lg-4 {
        padding-left: 0;
        padding-right: 0;
    }
    
    .footer-bg .row:nth-child(2) .col-lg-4 {
        margin-top: 2rem;
    }
}

/* Download Buttons Font Size */
.footer-bg .row:nth-child(2) .col-lg-8 .btn {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bg .row:nth-child(2) .col-lg-8 .btn svg,
.footer-bg .row:nth-child(2) .col-lg-8 .btn img {
    vertical-align: middle;
}

.footer-title {
    color: var(--dark-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

.social-icon {
    width: 32px;
    height: 32px;
    background-color: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--gray-300);
}

/* Feature Cards Horizontal Scroll */
@media (max-width: 991px) {
    .feature-cards-container {
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .feature-cards-container .row {
        flex-wrap: nowrap;
        min-width: max-content;
    }
    
    .feature-cards-container .col-lg-3 {
        flex: 0 0 320px;
        max-width: 320px;
        margin-right: 0.25rem;
    }
    
    .feature-cards-container .feature-card {
        padding: 1.5rem;
    }
    
    .feature-cards-container .col-lg-3:last-child {
        margin-right: 0;
    }
    
    /* Custom scrollbar styling */
    .feature-cards-container::-webkit-scrollbar {
        height: 6px;
    }
    
    .feature-cards-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }
    
    .feature-cards-container::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 3px;
    }
    
    .feature-cards-container::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 40px;
    }
    
    .hero-section .hero-image svg {
        max-width: 280px !important;
    }
    
    .how-it-works-bg img {
        max-width: 320px !important;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .how-it-works-bg {
        padding: 40px 24px;
    }
    
    .footer-bg {
        padding: 2rem;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-dark {
    color: var(--dark-color) !important;
}

.bg-light-custom {
    background-color: var(--light-bg) !important;
}

.rounded-custom {
    border-radius: 24px !important;
}

.border-custom {
    border: 1px solid var(--border-color) !important;
} 