/*
=====================================================
ABOUT US PAGE - XY TRADE
Content Stylesheet (without header/footer/page hero)
NO CSS FOR HOW IT WORKS SECTION
=====================================================
*/

/* ===== CSS Variables ===== */
:root {
    --xy-primary: #F59E0B;
    --xy-primary-dark: #D97706;
    --xy-primary-light: #FBBF24;
    --xy-primary-100: #FEF3C7;
    --xy-secondary: #0F172A;
    --xy-secondary-light: #1E293B;
    --xy-accent: #3B82F6;
    --xy-accent-100: #DBEAFE;
    --xy-success: #10B981;
    --xy-success-100: #D1FAE5;
    --xy-white: #FFFFFF;
    --xy-cream: #FFFBF5;
    --xy-gray-50: #F8FAFC;
    --xy-gray-100: #F1F5F9;
    --xy-gray-200: #E2E8F0;
    --xy-gray-300: #CBD5E1;
    --xy-gray-400: #94A3B8;
    --xy-gray-500: #64748B;
    --xy-gray-600: #475569;
    --xy-gray-700: #334155;
    --xy-gray-800: #1E293B;
    --xy-gray-900: #0F172A;
    --xy-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --xy-shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1);
    --xy-shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --xy-radius: 12px;
    --xy-radius-lg: 16px;
    --xy-radius-xl: 24px;
    --xy-radius-full: 9999px;
}

/* =====================================================
   SECTION COMMON STYLES
   ===================================================== */
.xy-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--xy-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.xy-tag-line {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--xy-primary) 0%, var(--xy-primary-light) 100%);
    border-radius: 2px;
}

.xy-section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--xy-gray-900);
    margin-bottom: 12px;
    line-height: 1.2;
}

.xy-section-subtitle {
    font-size: 17px;
    color: var(--xy-gray-500);
    margin: 0;
}


/* =====================================================
   ABOUT INTRO
   ===================================================== */
.xy-about-intro {
    padding: 100px 0;
    background: var(--xy-white);
}

.xy-about-intro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.xy-about-intro-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.xy-about-intro-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--xy-gray-900);
    margin-bottom: 24px;
    line-height: 1.2;
}

.xy-about-intro-desc {
    font-size: 17px;
    color: var(--xy-gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.xy-about-intro-highlights {
    display: flex;
    gap: 24px;
    margin-top: 32px;
}

.xy-highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--xy-gray-50);
    border-radius: var(--xy-radius);
    transition: all 0.3s ease;
}

.xy-highlight-item:hover {
    background: var(--xy-primary-100);
}

.xy-highlight-item i {
    font-size: 22px;
    color: var(--xy-primary);
}

.xy-highlight-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--xy-gray-700);
}

/* About Image */
.xy-about-intro-image {
    position: relative;
}

.xy-about-intro-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--xy-radius-xl);
    box-shadow: var(--xy-shadow-xl);
}

.xy-about-intro-float {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--xy-white);
    border-radius: var(--xy-radius-lg);
    padding: 20px 24px;
    box-shadow: var(--xy-shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.xy-float-icon {
    width: 56px;
    height: 56px;
    background: var(--xy-primary-100);
    border-radius: var(--xy-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.xy-float-icon i {
    font-size: 28px;
    color: var(--xy-primary);
}

.xy-float-text strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--xy-gray-900);
}

.xy-float-text span {
    font-size: 14px;
    color: var(--xy-gray-500);
}


/* =====================================================
   STATS SECTION
   ===================================================== */
.xy-stats {
    padding: 60px 0;
    background: var(--xy-secondary);
}

.xy-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.xy-stat-item {
    text-align: center;
}

.xy-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--xy-white);
    line-height: 1;
}

.xy-stat-value span {
    color: var(--xy-primary);
}

.xy-stat-label {
    font-size: 15px;
    color: var(--xy-gray-400);
    margin-top: 8px;
}


/* =====================================================
   VALUE PROPOSITION
   ===================================================== */
.xy-value-prop {
    padding: 100px 0;
    background: var(--xy-gray-50);
}

.xy-value-prop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.xy-value-prop-header {
    text-align: center;
    margin-bottom: 56px;
}

.xy-value-prop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.xy-value-card {
    background: var(--xy-white);
    border-radius: var(--xy-radius-xl);
    padding: 40px;
    box-shadow: var(--xy-shadow);
    transition: all 0.3s ease;
}

.xy-value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--xy-shadow-xl);
}

.xy-value-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.xy-value-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--xy-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.xy-value-card-buyers .xy-value-card-icon {
    background: var(--xy-accent-100);
}

.xy-value-card-buyers .xy-value-card-icon i {
    font-size: 32px;
    color: var(--xy-accent);
}

.xy-value-card-suppliers .xy-value-card-icon {
    background: var(--xy-primary-100);
}

.xy-value-card-suppliers .xy-value-card-icon i {
    font-size: 32px;
    color: var(--xy-primary);
}

.xy-value-card-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--xy-gray-900);
    margin: 0;
}

.xy-value-list {
    list-style: none;
    margin: 0 0 28px 0;
    padding: 0;
}

.xy-value-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--xy-gray-100);
}

.xy-value-list li:last-child {
    border-bottom: none;
}

.xy-value-list li i {
    font-size: 20px;
    color: var(--xy-success);
    margin-top: 2px;
}

.xy-value-list li span {
    font-size: 15px;
    color: var(--xy-gray-600);
}

.xy-value-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--xy-radius);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.xy-value-card-buyers .xy-value-card-btn {
    background: var(--xy-accent);
    color: var(--xy-white);
}

.xy-value-card-buyers .xy-value-card-btn:hover {
    background: #2563EB;
    transform: translateY(-2px);
}

.xy-value-card-suppliers .xy-value-card-btn {
    background: var(--xy-primary);
    color: var(--xy-white);
}

.xy-value-card-suppliers .xy-value-card-btn:hover {
    background: var(--xy-primary-dark);
    transform: translateY(-2px);
}

.xy-value-card-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.xy-value-card-btn:hover i {
    transform: translateX(4px);
}


/* =====================================================
   PLATFORM FEATURES - ENHANCED & CENTERED
   ===================================================== */
.xy-features-section {
    padding: 100px 0;
    background: var(--xy-white);
}

.xy-features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.xy-features-header {
    text-align: center;
    margin-bottom: 56px;
}

.xy-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.xy-feature-card {
    background: var(--xy-white);
    border: 1px solid var(--xy-gray-200);
    border-radius: var(--xy-radius-xl);
    padding: 40px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.xy-feature-card:hover {
    border-color: var(--xy-primary-100);
    transform: translateY(-5px);
    box-shadow: var(--xy-shadow-lg);
}

.xy-feature-icon {
    width: 80px;
    height: 80px;
    background: var(--xy-primary-100);
    border-radius: var(--xy-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: all 0.3s ease;
}

.xy-feature-icon i {
    font-size: 36px;
    color: var(--xy-primary);
    transition: all 0.3s ease;
}

.xy-feature-card:hover .xy-feature-icon {
    background: var(--xy-primary);
    transform: scale(1.05);
}

.xy-feature-card:hover .xy-feature-icon i {
    color: var(--xy-white);
}

.xy-feature-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--xy-gray-900);
    margin-bottom: 12px;
}

.xy-feature-card p {
    font-size: 14px;
    color: var(--xy-gray-500);
    margin: 0;
    line-height: 1.6;
}

/* Coming Soon Feature */
.xy-feature-coming-soon {
    border-style: dashed;
    border-color: var(--xy-gray-300);
    background: var(--xy-gray-50);
}

.xy-feature-coming-soon .xy-feature-icon {
    background: var(--xy-gray-200);
}

.xy-feature-coming-soon .xy-feature-icon i {
    color: var(--xy-gray-400);
}

.xy-feature-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--xy-primary);
    color: var(--xy-white);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: var(--xy-radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}


/* =====================================================
   INDUSTRIES SECTION - ENHANCED & CENTERED
   ===================================================== */
.xy-industries-section {
    padding: 100px 0;
    background: var(--xy-white);
}

.xy-industries-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.xy-industries-header {
    text-align: center;
    margin-bottom: 56px;
}

.xy-industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 32px;
}

.xy-industry-item {
    background: var(--xy-white);
    border: 1px solid var(--xy-gray-200);
    border-radius: var(--xy-radius-xl);
    padding: 40px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.xy-industry-item:hover {
    border-color: var(--xy-primary-100);
    transform: translateY(-4px);
    box-shadow: var(--xy-shadow-lg);
}

.xy-industry-icon {
    width: 64px;
    height: 64px;
    background: var(--xy-primary-100);
    border-radius: var(--xy-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.xy-industry-icon i {
    font-size: 32px;
    color: var(--xy-primary);
    transition: all 0.3s ease;
}

.xy-industry-item:hover .xy-industry-icon {
    background: var(--xy-primary);
    transform: scale(1.05);
}

.xy-industry-item:hover .xy-industry-icon i {
    color: var(--xy-white);
}

.xy-industry-item span {
    font-size: 15px;
    font-weight: 600;
    color: var(--xy-gray-700);
    display: block;
}

.xy-industries-note {
    text-align: center;
    font-size: 15px;
    color: var(--xy-gray-500);
    font-style: italic;
    margin: 0;
}


/* =====================================================
   WHO CAN USE SECTION
   ===================================================== */
.xy-who-section {
    padding: 100px 0;
    background: var(--xy-secondary);
    position: relative;
}

.xy-who-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.xy-who-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.xy-who-header {
    text-align: center;
    margin-bottom: 56px;
}

.xy-who-header .xy-section-title {
    color: var(--xy-white);
}

.xy-who-header .xy-section-subtitle {
    color: var(--xy-gray-400);
}

.xy-who-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.xy-who-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--xy-radius-lg);
    min-width: 150px;
    transition: all 0.3s ease;
}

.xy-who-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--xy-primary);
    transform: translateY(-4px);
}

.xy-who-item i {
    font-size: 32px;
    color: var(--xy-primary);
    margin-bottom: 12px;
}

.xy-who-item span {
    font-size: 14px;
    font-weight: 600;
    color: var(--xy-white);
}


/* =====================================================
   CTA SECTION
   ===================================================== */
.xy-cta-section {
    padding: 120px 0;
    background: var(--xy-secondary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.xy-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.xy-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.xy-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 12px 24px;
    border-radius: var(--xy-radius-full);
    margin-bottom: 32px;
}

.xy-cta-badge-dot {
    width: 10px;
    height: 10px;
    background: var(--xy-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

.xy-cta-badge span:last-child {
    font-size: 13px;
    font-weight: 700;
    color: var(--xy-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.xy-cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--xy-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.xy-cta-title span {
    color: var(--xy-primary);
    font-style: italic;
}

.xy-cta-description {
    font-size: 18px;
    color: var(--xy-gray-400);
    margin-bottom: 40px;
}

.xy-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.xy-cta-btn {
    padding: 16px 32px;
    border-radius: var(--xy-radius);
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
}

.xy-cta-btn-primary {
    background: linear-gradient(135deg, var(--xy-primary) 0%, #F97316 100%);
    color: var(--xy-white);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.xy-cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
}

.xy-cta-btn-secondary {
    background: var(--xy-secondary-light);
    color: var(--xy-white);
    border-color: rgba(255, 255, 255, 0.1);
}

.xy-cta-btn-secondary:hover {
    background: #2a3a52;
    transform: translateY(-3px);
}

.xy-cta-btn-outline {
    background: transparent;
    color: var(--xy-white);
    border-color: rgba(255, 255, 255, 0.25);
}

.xy-cta-btn-outline:hover {
    border-color: var(--xy-primary);
    background: rgba(245, 158, 11, 0.1);
    transform: translateY(-3px);
}


/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

/* Large Tablets */
@media (max-width: 1100px) {
    .xy-about-intro-content {
        gap: 60px;
    }
    
    .xy-value-prop-grid {
        gap: 24px;
    }
    
    .xy-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .xy-industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 900px) {
    .xy-about-intro-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .xy-about-intro-text {
        text-align: center;
    }
    
    .xy-about-intro-highlights {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .xy-about-intro-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .xy-stats-container {
        flex-wrap: wrap;
        gap: 40px;
    }
    
    .xy-stat-item {
        min-width: calc(50% - 20px);
    }
    
    .xy-value-prop-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .xy-about-intro,
    .xy-value-prop,
    .xy-features-section,
    .xy-industries-section,
    .xy-who-section {
        padding: 80px 0;
    }
    
    .xy-features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .xy-industries-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .xy-cta-section {
        padding: 80px 0;
    }
    
    .xy-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .xy-cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .xy-about-intro-highlights {
        flex-direction: column;
        gap: 12px;
    }
    
    .xy-highlight-item {
        width: 100%;
        justify-content: center;
    }
    
    .xy-stat-value {
        font-size: 36px;
    }
    
    .xy-who-grid {
        flex-direction: column;
    }
    
    .xy-who-item {
        width: 100%;
        flex-direction: row;
        gap: 16px;
        text-align: left;
    }
    
    .xy-who-item i {
        margin-bottom: 0;
    }
    
    .xy-cta-title br {
        display: none;
    }
}

/*
=====================================================
PARTNERS SECTION - XY TRADE
=====================================================
*/

/* ===== Partners Section ===== */
.xy-partners {
    padding: 100px 0;
    background: var(--xy-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.xy-partners-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Section Header ===== */
.xy-partners-header {
    text-align: center;
    margin-bottom: 56px;
}

.xy-partners-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--xy-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.xy-partners-tag-line {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--xy-primary) 0%, var(--xy-primary-light) 100%);
    border-radius: 2px;
}

.xy-partners-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--xy-gray-900);
    margin-bottom: 12px;
}

.xy-partners-subtitle {
    font-size: 17px;
    color: var(--xy-gray-500);
}

/* ===== Partners Logo Grid - 3 Partners Centered ===== */
.xy-partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    margin-bottom: 48px;
}

.xy-partner-logo {
    background: var(--xy-white);
    border: 1px solid var(--xy-gray-200);
    border-radius: var(--xy-radius-lg);
    padding: 32px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 200px;
    min-height: 100px;
}

.xy-partner-logo img {
    max-width: 140px;
    max-height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.xy-partner-logo:hover {
    border-color: var(--xy-primary);
    box-shadow: var(--xy-shadow-lg);
    transform: translateY(-4px);
}

.xy-partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ===== Divider ===== */
.xy-partners-divider {
    width: 100%;
    height: 1px;
    background: var(--xy-gray-200);
    margin-bottom: 40px;
}

/* ===== Bottom CTA ===== */
.xy-partners-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.xy-partners-cta p {
    font-size: 16px;
    color: var(--xy-gray-600);
}

.xy-partners-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--xy-secondary);
    color: var(--xy-white);
    padding: 14px 28px;
    border-radius: var(--xy-radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.xy-partners-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.xy-partners-btn:hover {
    background: var(--xy-secondary-light);
    transform: translateY(-2px);
}

.xy-partners-btn:hover i {
    transform: translateX(4px);
}

/* ===== Animations ===== */
.xy-partner-logo {
    opacity: 0;
    transform: translateY(20px);
    animation: xy-fade-in-up 0.5s ease forwards;
}

.xy-partner-logo:nth-child(1) { animation-delay: 0.1s; }
.xy-partner-logo:nth-child(2) { animation-delay: 0.2s; }
.xy-partner-logo:nth-child(3) { animation-delay: 0.3s; }

@keyframes xy-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */

/* Tablets */
@media (max-width: 900px) {
    .xy-partners-grid {
        gap: 24px;
    }
    
    .xy-partner-logo {
        padding: 24px 36px;
        min-width: 180px;
    }
    
    .xy-partner-logo img {
        max-width: 120px;
    }
}

/* Mobile */
@media (max-width: 700px) {
    .xy-partners {
        padding: 80px 0;
    }
    
    .xy-partners-grid {
        flex-direction: column;
        gap: 16px;
    }
    
    .xy-partner-logo {
        width: 100%;
        max-width: 280px;
        padding: 24px 32px;
        min-width: auto;
    }
    
    .xy-partners-cta {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .xy-partners {
        padding: 60px 0;
    }
    
    .xy-partners-container {
        padding: 0 16px;
    }
    
    .xy-partners-title {
        font-size: 24px;
    }
    
    .xy-partners-subtitle {
        font-size: 15px;
    }
}
/*
=====================================================
CALL TO ACTION SECTION - Simple Clean Design - XY TRADE
=====================================================
*/



/* ===== CTA Section ===== */
.xy-cta {
    padding: 120px 0;
    background: var(--xy-secondary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    text-align: center;
}

/* ===== Container ===== */
.xy-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Badge ===== */
.xy-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 14px 28px;
    border-radius: var(--xy-radius-full);
    margin-bottom: 36px;
}

.xy-cta-badge-dot {
    width: 10px;
    height: 10px;
    background: var(--xy-primary);
    border-radius: 50%;
    animation: xy-pulse 2s ease-in-out infinite;
}

@keyframes xy-pulse {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); 
    }
    50% { 
        opacity: 0.8; 
        box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); 
    }
}

.xy-cta-badge span:last-child {
    font-size: 13px;
    font-weight: 700;
    color: var(--xy-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== Title ===== */
.xy-cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--xy-white);
    margin-bottom: 24px;
    line-height: 1.15;
}

.xy-cta-title span {
    color: var(--xy-primary);
    font-style: italic;
}

/* ===== Description ===== */
.xy-cta-description {
    font-size: 18px;
    color: var(--xy-gray-400);
    line-height: 1.8;
    margin-bottom: 48px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CTA Buttons ===== */
.xy-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.xy-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: var(--xy-radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Primary Button (Orange) */
.xy-cta-btn-primary {
    background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    color: var(--xy-white);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}

.xy-cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
}

/* Secondary Button (Dark) */
.xy-cta-btn-secondary {
    background: var(--xy-secondary-light);
    color: var(--xy-white);
    border-color: rgba(255, 255, 255, 0.1);
}

.xy-cta-btn-secondary:hover {
    background: #2a3a52;
    transform: translateY(-3px);
}

/* Outline Button */
.xy-cta-btn-outline {
    background: transparent;
    color: var(--xy-white);
    border-color: rgba(255, 255, 255, 0.25);
}

.xy-cta-btn-outline:hover {
    border-color: var(--xy-primary);
    background: rgba(245, 158, 11, 0.1);
    transform: translateY(-3px);
}

/* ===== Responsive Design ===== */

/* Tablets */
@media (max-width: 768px) {
    .xy-cta {
        padding: 100px 0;
    }
    
    .xy-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .xy-cta-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .xy-cta {
        padding: 80px 0;
    }
    
    .xy-cta-container {
        padding: 0 20px;
    }
    
    .xy-cta-badge {
        padding: 12px 20px;
    }
    
    .xy-cta-badge span:last-child {
        font-size: 11px;
        letter-spacing: 1.5px;
    }
    
    .xy-cta-title {
        font-size: 28px;
    }
    
    .xy-cta-title br {
        display: none;
    }
    
    .xy-cta-description {
        font-size: 15px;
        margin-bottom: 36px;
    }
    
    .xy-cta-btn {
        padding: 16px 28px;
        font-size: 14px;
    }
}

/*
=====================================================
HERO SECTION - Light Version - XY TRADE
=====================================================
*/

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ===== Hero Section ===== */
.xy-hero {
    min-height: 100vh;
    background: var(--xy-cream);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== Background Gradient ===== */
.xy-hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 70% 10%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 30% 90%, rgba(245, 158, 11, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--xy-cream) 0%, var(--xy-cream-dark) 100%);
    pointer-events: none;
}

/* ===== Container ===== */
.xy-hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.xy-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ===== Badge ===== */
.xy-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 12px 24px;
    border-radius: var(--xy-radius-full);
    margin-bottom: 32px;
    animation: xy-fade-in-down 0.6s ease forwards;
}

.xy-hero-badge-dot {
    width: 10px;
    height: 10px;
    background: var(--xy-primary);
    border-radius: 50%;
    animation: xy-pulse 2s ease-in-out infinite;
}

@keyframes xy-pulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.xy-hero-badge span:last-child {
    font-size: 13px;
    font-weight: 700;
    color: var(--xy-primary-dark);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ===== Title ===== */
.xy-hero-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--xy-gray-900);
    margin-bottom: 24px;
    line-height: 1.15;
    animation: xy-fade-in-up 0.8s ease 0.1s forwards;
    opacity: 0;
}

.xy-hero-title span {
    color: var(--xy-primary);
}

/* ===== Subtitle ===== */
.xy-hero-subtitle {
    font-size: 18px;
    color: var(--xy-gray-500);
    margin-bottom: 48px;
    line-height: 1.7;
    max-width: 600px;
    animation: xy-fade-in-up 0.8s ease 0.2s forwards;
    opacity: 0;
}

/* ===== Buttons ===== */
.xy-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
    animation: xy-fade-in-up 0.8s ease 0.3s forwards;
    opacity: 0;
}

.xy-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--xy-radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.xy-hero-btn i {
    font-size: 20px;
    transition: transform 0.3s;
}

/* Primary Button (Orange Gradient) */
.xy-hero-btn-primary {
    background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    color: var(--xy-white);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.xy-hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}

/* Dark Button (Navy) */
.xy-hero-btn-dark {
    background: var(--xy-secondary);
    color: var(--xy-white);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.25);
}

.xy-hero-btn-dark:hover {
    background: var(--xy-secondary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.35);
}

/* Outline Button (White with border) */
.xy-hero-btn-outline {
    background: var(--xy-white);
    color: var(--xy-gray-700);
    border: 2px solid var(--xy-gray-200);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.xy-hero-btn-outline:hover {
    border-color: var(--xy-gray-300);
    background: var(--xy-gray-50);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.xy-hero-btn-outline:hover i {
    transform: translateX(4px);
}

/* ===== Highlights ===== */
.xy-hero-highlights {
    display: flex;
    justify-content: center;
    gap: 48px;
    animation: xy-fade-in-up 0.8s ease 0.4s forwards;
    opacity: 0;
}

.xy-hero-highlight {
    display: flex;
    align-items: center;
    gap: 14px;
}

.xy-hero-highlight-icon {
    width: 48px;
    height: 48px;
    background: var(--xy-primary-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.xy-hero-highlight-icon i {
    font-size: 22px;
    color: var(--xy-primary);
}

.xy-hero-highlight-icon.green {
    background: var(--xy-success-100);
}

.xy-hero-highlight-icon.green i {
    color: var(--xy-success);
}

.xy-hero-highlight-icon.blue {
    background: var(--xy-accent-100);
}

.xy-hero-highlight-icon.blue i {
    color: var(--xy-accent);
}

.xy-hero-highlight:hover .xy-hero-highlight-icon {
    transform: scale(1.1);
}

.xy-hero-highlight-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--xy-gray-700);
}

/* ===== Animations ===== */
@keyframes xy-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes xy-fade-in-down {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */

/* Tablets */
@media (max-width: 1024px) {
    .xy-hero {
        padding: 100px 24px 60px;
    }
    
    .xy-hero-highlights {
        gap: 32px;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .xy-hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }
    
    .xy-hero-title {
        font-size: 32px;
    }
    
    .xy-hero-title br {
        display: none;
    }
    
    .xy-hero-subtitle {
        font-size: 16px;
        margin-bottom: 36px;
    }
    
    .xy-hero-subtitle br {
        display: none;
    }
    
    .xy-hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-bottom: 40px;
    }
    
    .xy-hero-btn {
        width: 100%;
        justify-content: center;
    }
    
    .xy-hero-highlights {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .xy-hero {
        padding: 90px 16px 50px;
    }
    
    .xy-hero-badge {
        padding: 10px 18px;
    }
    
    .xy-hero-badge span:last-child {
        font-size: 11px;
        letter-spacing: 1px;
    }
    
    .xy-hero-title {
        font-size: 28px;
    }
    
    .xy-hero-subtitle {
        font-size: 15px;
    }
    
    .xy-hero-btn {
        padding: 14px 24px;
        font-size: 14px;
    }
    
    .xy-hero-highlight-icon {
        width: 44px;
        height: 44px;
    }
    
    .xy-hero-highlight-icon i {
        font-size: 20px;
    }
    
    .xy-hero-highlight-text {
        font-size: 14px;
    }
}




/*
=====================================================
SITE FEATURES SECTION - XY TRADE
=====================================================


/* ===== Site Features Section ===== */
.xy-features {
    background: var(--xy-white);
    padding: 0;
    margin-top: 30px;
    margin-bottom: 60px;

    position: relative;
    z-index: 20;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.xy-features-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Features Grid ===== */
.xy-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--xy-white);
    border-radius: var(--xy-radius-xl);
    box-shadow: var(--xy-shadow-xl);
    overflow: hidden;
}

/* ===== Feature Item ===== */
.xy-feature-item {
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-right: 1px solid var(--xy-gray-100);
    transition: all 0.3s ease;
    position: relative;
    background: var(--xy-white);
}

.xy-feature-item:last-child {
    border-right: none;
}

/* Top Border Animation */
.xy-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--xy-primary) 0%, var(--xy-primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.xy-feature-item:hover {
    background: var(--xy-gray-50);
}

.xy-feature-item:hover::before {
    transform: scaleX(1);
}

/* ===== Feature Icon ===== */
.xy-feature-icon {
    width: 64px;
    height: 64px;
    background: var(--xy-primary-100);
    border-radius: var(--xy-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.xy-feature-icon i {
    font-size: 32px;
    color: var(--xy-primary);
    transition: all 0.3s ease;
}

.xy-feature-item:hover .xy-feature-icon {
    background: var(--xy-primary);
    transform: scale(1.05);
}

.xy-feature-item:hover .xy-feature-icon i {
    color: var(--xy-white);
}

/* ===== Feature Content ===== */
.xy-feature-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.xy-feature-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--xy-gray-900);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.xy-feature-item:hover .xy-feature-content h4 {
    color: var(--xy-primary-dark);
}

.xy-feature-content p {
    font-size: 14px;
    color: var(--xy-gray-500);
    line-height: 1.7;
}

/* ===== Responsive Design ===== */

/* Large Tablets & Small Desktops */
@media (max-width: 1200px) {
    .xy-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .xy-feature-item {
        padding: 36px 24px;
    }
    
    .xy-feature-item:nth-child(2) {
        border-right: none;
    }
    
    .xy-feature-item:nth-child(1),
    .xy-feature-item:nth-child(2) {
        border-bottom: 1px solid var(--xy-gray-100);
    }
}

/* Tablets */
@media (max-width: 768px) {
    .xy-features {
        margin-top: -40px;
    }
    
    .xy-features-container {
        padding: 0 16px;
    }
    
    .xy-features-grid {
        grid-template-columns: 1fr;
        border-radius: var(--xy-radius-lg);
    }
    
    .xy-feature-item {
        flex-direction: row;
        align-items: flex-start;
        padding: 28px 24px;
        border-right: none;
        border-bottom: 1px solid var(--xy-gray-100);
    }
    
    .xy-feature-item:last-child {
        border-bottom: none;
    }
    
    .xy-feature-item:nth-child(1),
    .xy-feature-item:nth-child(2) {
        border-bottom: 1px solid var(--xy-gray-100);
    }
    
    .xy-feature-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }
    
    .xy-feature-icon i {
        font-size: 28px;
    }
    
    .xy-feature-content h4 {
        font-size: 16px;
    }
    
    .xy-feature-content p {
        font-size: 13px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .xy-features {
        margin-top: -30px;
    }
    
    .xy-features-container {
        padding: 0 12px;
    }
    
    .xy-feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 24px 20px;
    }
    
    .xy-feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .xy-feature-icon i {
        font-size: 30px;
    }
}

/* ===== Animation on Scroll (Optional) ===== */
.xy-feature-item {
    opacity: 0;
    transform: translateY(30px);
    animation: xy-fade-in-up 0.6s ease forwards;
}

.xy-feature-item:nth-child(1) { animation-delay: 0.1s; }
.xy-feature-item:nth-child(2) { animation-delay: 0.2s; }
.xy-feature-item:nth-child(3) { animation-delay: 0.3s; }
.xy-feature-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes xy-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}







/*
=====================================================
ABOUT SECTION - XY TRADE
=====================================================


/* ===== About Section ===== */
.xy-about {
    padding: 100px 0;
    background: var(--xy-gray-50);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.xy-about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Content Grid ===== */
.xy-about-content {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

/* ===== Visual / Image Side ===== */
.xy-about-visual {
    position: relative;
}

.xy-about-image-wrapper {
    position: relative;
    border-radius: var(--xy-radius-xl);
    overflow: hidden;
    box-shadow: var(--xy-shadow-xl);
}

.xy-about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.xy-about-image-wrapper:hover .xy-about-image {
    transform: scale(1.03);
}

/* Decorative Border */
.xy-about-image-border {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--xy-primary);
    border-radius: var(--xy-radius-xl);
    z-index: -1;
    opacity: 0.3;
}

/* ===== Floating Cards ===== */
.xy-about-float {
    position: absolute;
    background: var(--xy-white);
    border-radius: var(--xy-radius-lg);
    padding: 20px 24px;
    box-shadow: var(--xy-shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: xy-float 4s ease-in-out infinite;
    z-index: 10;
}

.xy-about-float-1 {
    bottom: -30px;
    right: -20px;
}

.xy-about-float-2 {
    top: -20px;
    left: -20px;
    animation-delay: 2s;
}

@keyframes xy-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.xy-about-float-icon {
    width: 56px;
    height: 56px;
    background: var(--xy-primary-100);
    border-radius: var(--xy-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.xy-about-float-icon i {
    font-size: 28px;
    color: var(--xy-primary);
}

.xy-about-float-icon.blue {
    background: var(--xy-accent-100);
}

.xy-about-float-icon.blue i {
    color: var(--xy-accent);
}

.xy-about-float:hover .xy-about-float-icon {
    transform: scale(1.1);
}

.xy-about-float-text strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--xy-gray-900);
}

.xy-about-float-text span {
    font-size: 14px;
    color: var(--xy-gray-500);
}

/* ===== Text Content ===== */
.xy-about-text {
    max-width: 540px;
}

/* Tag */
.xy-about-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--xy-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.xy-about-tag-line {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--xy-primary) 0%, var(--xy-primary-light) 100%);
    border-radius: 2px;
}

/* Title */
.xy-about-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    color: var(--xy-gray-900);
    margin-bottom: 24px;
    line-height: 1.2;
}

/* Description */
.xy-about-description {
    font-size: 17px;
    color: var(--xy-gray-600);
    line-height: 1.8;
    margin-bottom: 32px;
}

/* Button */
.xy-about-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--xy-secondary);
    color: var(--xy-white);
    padding: 16px 32px;
    border-radius: var(--xy-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.xy-about-btn i {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.xy-about-btn:hover {
    background: var(--xy-secondary-light);
    transform: translateY(-3px);
    box-shadow: var(--xy-shadow-lg);
}

.xy-about-btn:hover i {
    transform: translateX(5px);
}

/* ===== Stats ===== */
.xy-about-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    margin-top: 32px;
    border-top: 1px solid var(--xy-gray-200);
}

.xy-about-stat {
    text-align: left;
}

.xy-about-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--xy-gray-900);
    line-height: 1;
}

.xy-about-stat-value span {
    color: var(--xy-primary);
}

.xy-about-stat-label {
    font-size: 14px;
    color: var(--xy-gray-500);
    margin-top: 8px;
}

/* ===== Animations ===== */
.xy-about-visual {
    animation: xy-fade-in-left 0.8s ease forwards;
}

.xy-about-text {
    animation: xy-fade-in-right 0.8s ease 0.2s forwards;
    opacity: 0;
}

@keyframes xy-fade-in-left {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes xy-fade-in-right {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== Responsive Design ===== */

/* Large Tablets */
@media (max-width: 1100px) {
    .xy-about-content {
        gap: 60px;
    }
    
    .xy-about-float-1 {
        right: 20px;
        bottom: -20px;
    }
    
    .xy-about-float-2 {
        left: 20px;
        top: -15px;
    }
}

/* Tablets */
@media (max-width: 900px) {
    .xy-about {
        padding: 80px 0;
    }
    
    .xy-about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .xy-about-visual {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .xy-about-image {
        height: 400px;
    }
    
    .xy-about-text {
        max-width: 100%;
        text-align: center;
    }
    
    .xy-about-tag {
        justify-content: center;
    }
    
    .xy-about-btn {
        display: inline-flex;
    }
    
    .xy-about-stats {
        justify-content: center;
    }
    
    .xy-about-stat {
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .xy-about {
        padding: 60px 0;
    }
    
    .xy-about-container {
        padding: 0 20px;
    }
    
    .xy-about-image {
        height: 350px;
    }
    
    .xy-about-image-border {
        display: none;
    }
    
    .xy-about-float {
        padding: 16px 20px;
    }
    
    .xy-about-float-icon {
        width: 48px;
        height: 48px;
    }
    
    .xy-about-float-icon i {
        font-size: 24px;
    }
    
    .xy-about-float-text strong {
        font-size: 20px;
    }
    
    .xy-about-float-text span {
        font-size: 12px;
    }
    
    .xy-about-title {
        font-size: 32px;
    }
    
    .xy-about-description {
        font-size: 15px;
    }
    
    .xy-about-stats {
        gap: 24px;
        flex-wrap: wrap;
    }
    
    .xy-about-stat-value {
        font-size: 28px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .xy-about {
        padding: 50px 0;
    }
    
    .xy-about-container {
        padding: 0 16px;
    }
    
    .xy-about-image {
        height: 280px;
    }
    
    .xy-about-float-1 {
        right: 10px;
        bottom: -15px;
    }
    
    .xy-about-float-2 {
        left: 10px;
        top: -15px;
    }
    
    .xy-about-float {
        padding: 12px 16px;
        gap: 12px;
    }
    
    .xy-about-float-icon {
        width: 44px;
        height: 44px;
    }
    
    .xy-about-float-icon i {
        font-size: 22px;
    }
    
    .xy-about-float-text strong {
        font-size: 18px;
    }
    
    .xy-about-title {
        font-size: 28px;
    }
    
    .xy-about-description {
        font-size: 14px;
    }
    
    .xy-about-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
    }
    
    .xy-about-stats {
        gap: 20px;
    }
    
    .xy-about-stat-value {
        font-size: 24px;
    }
    
    .xy-about-stat-label {
        font-size: 12px;
    }
}

/* ===== How It Works Section ===== */
.xy-how-it-works {
    padding: 100px 0;
    background: var(--xy-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.xy-how-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Section Header ===== */
.xy-how-header {
    text-align: center;
    margin-bottom: 64px;
}

.xy-how-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--xy-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.xy-how-tag-line {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--xy-primary) 0%, var(--xy-primary-light) 100%);
    border-radius: 2px;
}

.xy-how-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    color: var(--xy-gray-900);
    margin-bottom: 12px;
}

.xy-how-subtitle {
    font-size: 18px;
    color: var(--xy-gray-500);
}

/* ===== Steps Container ===== */
.xy-how-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 56px;
}

/* ===== Step Card ===== */
.xy-how-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 220px;
    position: relative;
}

/* Step Number */
.xy-how-step-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--xy-primary) 0%, var(--xy-primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.xy-how-step-number span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--xy-white);
}

/* Step Icon */
.xy-how-step-icon {
    width: 80px;
    height: 80px;
    background: var(--xy-gray-50);
    border: 2px solid var(--xy-gray-100);
    border-radius: var(--xy-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.xy-how-step-icon i {
    font-size: 36px;
    color: var(--xy-primary);
    transition: all 0.3s ease;
}

.xy-how-step:hover .xy-how-step-icon {
    background: var(--xy-primary);
    border-color: var(--xy-primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(245, 158, 11, 0.3);
}

.xy-how-step:hover .xy-how-step-icon i {
    color: var(--xy-white);
}

/* Step Title */
.xy-how-step-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--xy-gray-900);
    margin-bottom: 8px;
}

/* Step Description */
.xy-how-step-desc {
    font-size: 14px;
    color: var(--xy-gray-500);
    line-height: 1.6;
}

/* ===== Connector ===== */
.xy-how-connector {
    display: flex;
    align-items: center;
    padding-top: 70px;
    margin: 0 16px;
}

.xy-how-connector-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--xy-gray-200) 0%, var(--xy-primary-100) 100%);
    border-radius: 1px;
}

.xy-how-connector i {
    font-size: 20px;
    color: var(--xy-primary);
    margin-left: -4px;
}

/* ===== CTA Button ===== */
.xy-how-cta {
    text-align: center;
}.xy-how-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    background-color: #ffffff; /* خلفية بيضاء */
    color: var(--xy-primary);  /* لون النص */

    padding: 16px 36px;
    border-radius: var(--xy-radius);

    font-size: 16px;
    font-weight: 600;
    text-decoration: none;

    border: 2px solid var(--xy-primary); /* البوردر الملوّن */

    transition:
        all 0.3s ease;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* الأيقونة */
.xy-how-btn i {
    font-size: 20px;
    color: var(--xy-primary);
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover: يتحول لزر ملوّن */
.xy-how-btn:hover {
    background-color: var(--xy-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.xy-how-btn:hover i {
    color: #ffffff;
    transform: translateX(6px);
}

/* Active */
.xy-how-btn:active {
    transform: translateY(-1px);
}


/* ===== Animations ===== */
.xy-how-step {
    opacity: 0;
    transform: translateY(30px);
    animation: xy-fade-in-up 0.6s ease forwards;
}

.xy-how-step:nth-child(1) { animation-delay: 0.1s; }
.xy-how-step:nth-child(3) { animation-delay: 0.2s; }
.xy-how-step:nth-child(5) { animation-delay: 0.3s; }
.xy-how-step:nth-child(7) { animation-delay: 0.4s; }

.xy-how-connector {
    opacity: 0;
    animation: xy-fade-in 0.4s ease forwards;
}

.xy-how-connector:nth-child(2) { animation-delay: 0.15s; }
.xy-how-connector:nth-child(4) { animation-delay: 0.25s; }
.xy-how-connector:nth-child(6) { animation-delay: 0.35s; }

@keyframes xy-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes xy-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== Responsive Design ===== */

/* Large Tablets */
@media (max-width: 1100px) {
    .xy-how-step {
        max-width: 180px;
    }
    
    .xy-how-connector {
        margin: 0 8px;
    }
    
    .xy-how-connector-line {
        width: 30px;
    }
}

/* Tablets */
@media (max-width: 900px) {
    .xy-how-it-works {
        padding: 80px 0;
    }
    
    .xy-how-steps {
        flex-wrap: wrap;
        gap: 40px;
        max-width: 500px;
        margin: 0 auto 56px;
    }
    
    .xy-how-step {
        width: calc(50% - 20px);
        max-width: none;
    }
    
    .xy-how-connector {
        display: none;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .xy-how-it-works {
        padding: 60px 0;
    }
    
    .xy-how-container {
        padding: 0 20px;
    }
    
    .xy-how-header {
        margin-bottom: 48px;
    }
    
    .xy-how-title {
        font-size: 28px;
    }
    
    .xy-how-subtitle {
        font-size: 16px;
    }
    
    .xy-how-steps {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }
    
    .xy-how-step {
        width: 100%;
        max-width: 280px;
    }
    
    .xy-how-step-icon {
        width: 72px;
        height: 72px;
    }
    
    .xy-how-step-icon i {
        font-size: 32px;
    }
    
    .xy-how-btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
}


/* ===== Industries Section ===== */
.xy-industries {
    padding: 100px 0;
    background: var(--xy-gray-50);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.xy-industries-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Section Header ===== */
.xy-industries-header {
    text-align: center;
    margin-bottom: 56px;
}

.xy-industries-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--xy-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.xy-industries-tag-line {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--xy-primary) 0%, var(--xy-primary-light) 100%);
    border-radius: 2px;
}

.xy-industries-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    color: var(--xy-gray-900);
    margin-bottom: 12px;
}

.xy-industries-subtitle {
    font-size: 18px;
    color: var(--xy-gray-500);
}

/* ===== Industries Grid ===== */
.xy-industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* ===== Industry Card ===== */
.xy-industry-card {
    background: var(--xy-white);
    border: 2px solid var(--xy-gray-100);
    border-radius: var(--xy-radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.xy-industry-card:hover {
    border-color: var(--xy-primary);
    transform: translateY(-5px);
    box-shadow: var(--xy-shadow-lg);
}

/* Industry Icon */
.xy-industry-icon {
    width: 72px;
    height: 72px;
    background: var(--xy-primary-100);
    border-radius: var(--xy-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.xy-industry-icon i {
    font-size: 36px;
    color: var(--xy-primary);
    transition: all 0.3s ease;
}

.xy-industry-card:hover .xy-industry-icon {
    background: var(--xy-primary);
}

.xy-industry-card:hover .xy-industry-icon i {
    color: var(--xy-white);
}

/* Industry Name */
.xy-industry-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--xy-gray-900);
    line-height: 1.4;
}

/* Coming Soon Card */
.xy-industry-coming-soon {
    border-style: dashed;
    border-color: var(--xy-gray-300);
    background: var(--xy-gray-50);
}

.xy-industry-coming-soon .xy-industry-icon {
    background: var(--xy-gray-200);
}

.xy-industry-coming-soon .xy-industry-icon i {
    color: var(--xy-gray-400);
}

.xy-industry-coming-soon .xy-industry-name {
    color: var(--xy-gray-400);
}

.xy-industry-coming-soon:hover {
    border-color: var(--xy-gray-400);
    transform: none;
    box-shadow: none;
}

.xy-industry-coming-soon:hover .xy-industry-icon {
    background: var(--xy-gray-200);
}

.xy-industry-coming-soon:hover .xy-industry-icon i {
    color: var(--xy-gray-400);
}

/* Badge */
.xy-industry-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--xy-primary);
    color: var(--xy-white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Bottom Note ===== */
.xy-industries-note {
    text-align: center;
    font-size: 15px;
    color: var(--xy-gray-500);
    font-style: italic;
}

/* ===== Animations ===== */
.xy-industry-card {
    opacity: 0;
    transform: translateY(20px);
    animation: xy-fade-in-up 0.5s ease forwards;
}

.xy-industry-card:nth-child(1) { animation-delay: 0.05s; }
.xy-industry-card:nth-child(2) { animation-delay: 0.1s; }
.xy-industry-card:nth-child(3) { animation-delay: 0.15s; }
.xy-industry-card:nth-child(4) { animation-delay: 0.2s; }
.xy-industry-card:nth-child(5) { animation-delay: 0.25s; }
.xy-industry-card:nth-child(6) { animation-delay: 0.3s; }
.xy-industry-card:nth-child(7) { animation-delay: 0.35s; }
.xy-industry-card:nth-child(8) { animation-delay: 0.4s; }

@keyframes xy-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */

/* Large Tablets */
@media (max-width: 1100px) {
    .xy-industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets */
@media (max-width: 800px) {
    .xy-industries {
        padding: 80px 0;
    }
    
    .xy-industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .xy-industry-card {
        padding: 24px 20px;
    }
    
    .xy-industry-icon {
        width: 64px;
        height: 64px;
    }
    
    .xy-industry-icon i {
        font-size: 30px;
    }
}

/* Mobile */
@media (max-width: 500px) {
    .xy-industries {
        padding: 60px 0;
    }
    
    .xy-industries-container {
        padding: 0 16px;
    }
    
    .xy-industries-title {
        font-size: 28px;
    }
    
    .xy-industries-subtitle {
        font-size: 16px;
    }
    
    .xy-industries-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .xy-industry-card {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 20px;
        gap: 16px;
    }
    
    .xy-industry-icon {
        margin: 0;
        width: 56px;
        height: 56px;
        min-width: 56px;
    }
    
    .xy-industry-icon i {
        font-size: 26px;
    }
    
    .xy-industry-name {
        font-size: 15px;
    }
    
    .xy-industry-badge {
        top: 50%;
        transform: translateY(-50%);
        right: 16px;
    }
}

/* ===== Base Reset ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
=====================================================
WHO CAN USE SECTION - XY TRADE
=====================================================
*/




/* ===== Who Can Use Section ===== */
.xy-who {
    padding: 100px 0;
    background: var(--xy-secondary);
    position: relative;
    overflow: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Background Pattern */
.xy-who::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.xy-who-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* ===== Section Header ===== */
.xy-who-header {
    text-align: center;
    margin-bottom: 56px;
}

.xy-who-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--xy-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.xy-who-tag-line {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--xy-primary) 0%, var(--xy-primary-light) 100%);
    border-radius: 2px;
}

.xy-who-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    color: var(--xy-white);
    margin-bottom: 12px;
}

.xy-who-subtitle {
    font-size: 18px;
    color: var(--xy-gray-400);
}

/* ===== Users Grid ===== */
.xy-who-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

/* ===== User Card ===== */
.xy-who-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--xy-radius-lg);
    min-width: 160px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.xy-who-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--xy-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
}

/* User Icon */
.xy-who-icon {
    width: 72px;
    height: 72px;
    background: rgba(245, 158, 11, 0.15);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.xy-who-icon i {
    font-size: 32px;
    color: var(--xy-primary);
    transition: all 0.3s ease;
}

.xy-who-card:hover .xy-who-icon {
    background: var(--xy-primary);
    border-color: var(--xy-primary);
    transform: scale(1.1);
}

.xy-who-card:hover .xy-who-icon i {
    color: var(--xy-white);
}

/* User Name */
.xy-who-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--xy-white);
    line-height: 1.4;
}

/* ===== Animations ===== */
.xy-who-card {
    opacity: 0;
    transform: translateY(20px);
    animation: xy-fade-in-up 0.5s ease forwards;
}

.xy-who-card:nth-child(1) { animation-delay: 0.05s; }
.xy-who-card:nth-child(2) { animation-delay: 0.1s; }
.xy-who-card:nth-child(3) { animation-delay: 0.15s; }
.xy-who-card:nth-child(4) { animation-delay: 0.2s; }
.xy-who-card:nth-child(5) { animation-delay: 0.25s; }
.xy-who-card:nth-child(6) { animation-delay: 0.3s; }
.xy-who-card:nth-child(7) { animation-delay: 0.35s; }

@keyframes xy-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */

/* Large Tablets */
@media (max-width: 1100px) {
    .xy-who-card {
        min-width: 140px;
        padding: 28px 20px;
    }
}

/* Tablets */
@media (max-width: 800px) {
    .xy-who {
        padding: 80px 0;
    }
    
    .xy-who-grid {
        gap: 16px;
    }
    
    .xy-who-card {
        min-width: calc(33.333% - 16px);
        flex: 1 1 calc(33.333% - 16px);
        max-width: calc(33.333% - 16px);
    }
    
    .xy-who-icon {
        width: 64px;
        height: 64px;
    }
    
    .xy-who-icon i {
        font-size: 28px;
    }
    
    .xy-who-name {
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .xy-who {
        padding: 60px 0;
    }
    
    .xy-who-container {
        padding: 0 16px;
    }
    
    .xy-who-title {
        font-size: 28px;
    }
    
    .xy-who-subtitle {
        font-size: 16px;
    }
    
    .xy-who-grid {
        gap: 12px;
    }
    
    .xy-who-card {
        min-width: calc(50% - 8px);
        flex: 1 1 calc(50% - 8px);
        max-width: calc(50% - 8px);
        padding: 20px 16px;
    }
    
    .xy-who-icon {
        width: 56px;
        height: 56px;
    }
    
    .xy-who-icon i {
        font-size: 24px;
    }
    
    .xy-who-name {
        font-size: 13px;
    }
}

/* Small Mobile */
@media (max-width: 400px) {
    .xy-who-card {
        min-width: 100%;
        flex: 1 1 100%;
        max-width: 100%;
        flex-direction: row;
        text-align: left;
        gap: 16px;
        padding: 16px 20px;
    }
    
    .xy-who-icon {
        margin-bottom: 0;
        width: 52px;
        height: 52px;
        min-width: 52px;
    }
    
    .xy-who-icon i {
        font-size: 24px;
    }
}