/* ==========================================
   UTRANSFA - MAIN STYLESHEET
   Modern, Responsive Crypto Payment Platform
   ========================================== */

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - Utransfa */
    --primary-purple: #6B3FB8;
    --primary-green: #4FD35A;
    --secondary-purple: #7B4EC9;
    --dark-purple: #5A2FA0;
    
    /* Neutral Colors */
    --dark-bg: #0F1419;
    --dark-card: #1A1F2E;
    --dark-navy: #1E2A3A;
    --text-primary: #FFFFFF;
    --text-secondary: #A0AEC0;
    --text-muted: #6B7280;
    
    /* Accent Colors */
    --accent-blue: #3B82F6;
    --accent-cyan: #22D3EE;
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-purple: 0 10px 40px rgba(107, 63, 184, 0.3);
    --shadow-green: 0 10px 40px rgba(79, 211, 90, 0.3);
}

body {
    font-family: var(--font-primary);
    background-color: #FFFFFF;
    color: var(--dark-navy);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E5E7EB;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.logo img {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-navy);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-purple);
}

.nav-actions {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.btn-login {
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: var(--dark-navy);
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: #F3F4F6;
}

.btn-primary {
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-purple);
}

.btn-secondary {
    padding: 0.625rem 1.5rem;
    background: white;
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid var(--primary-purple);
    transition: all 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: none;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-purple);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 50px;
    width: fit-content;
    box-shadow: var(--shadow-md);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-purple);
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark-navy);
    margin: 0;
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.hero-image {
    position: relative;
}

.dashboard-mockup {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.mockup-header {
    padding: var(--spacing-sm);
    background: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D1D5DB;
}

.mockup-dots span:nth-child(1) { background: #EF4444; }
.mockup-dots span:nth-child(2) { background: #F59E0B; }
.mockup-dots span:nth-child(3) { background: #10B981; }

.mockup-content {
    padding: var(--spacing-lg);
}

.balance-card {
    position: relative;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: var(--radius-md);
    color: white;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.balance-label {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.balance-amount {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
}

.balance-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    opacity: 0.2;
}

.transaction-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.transaction-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: #F9FAFB;
    border-radius: var(--radius-sm);
}

.transaction-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.25rem;
}

.transaction-icon.btc {
    background: #F7931A20;
    color: #F7931A;
}

.transaction-icon.eth {
    background: #627EEA20;
    color: #627EEA;
}

.transaction-icon.usdt {
    background: #26A17B20;
    color: #26A17B;
}

.transaction-details {
    flex: 1;
}

.transaction-details p {
    font-weight: 600;
    color: var(--dark-navy);
    margin: 0;
    font-size: 0.9375rem;
}

.transaction-details span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.transaction-amount {
    font-weight: 700;
    font-size: 1rem;
}

.transaction-amount.negative {
    color: var(--error);
}

/* ==========================================
   TRUST SECTION
   ========================================== */
.trust-section {
    padding: var(--spacing-2xl) 0;
    background: white;
    text-align: center;
}

.trust-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-2xl);
    flex-wrap: wrap;
}

.trust-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.trust-logo:hover {
    opacity: 1;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats-section {
    padding: var(--spacing-2xl) 0;
    background: #F9FAFB;
}

.stats-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.stats-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: var(--spacing-sm);
}

.stats-text p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.stats-number {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.user-avatars {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-more {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-purple);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    margin-left: -10px;
    font-weight: 700;
}

.stats-number h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin: var(--spacing-sm) 0;
}

.stats-number p {
    color: var(--text-muted);
    font-size: 1rem;
}

.stats-description {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stats-description p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.btn-text {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.btn-text:hover {
    gap: 0.75rem;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features-section {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-navy);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    padding: var(--spacing-lg);
    background: white;
    border: 2px solid #F3F4F6;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.feature-icon i {
    font-size: 28px;
    color: white;
}

.feature-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================
   INDUSTRIES SECTION
   ========================================== */
.industries-section {
    padding: var(--spacing-2xl) 0;
    background: #F9FAFB;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.industry-card {
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.industry-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: var(--spacing-sm);
}

.industry-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    background: white;
    color: var(--primary-purple);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--dark-navy);
    color: white;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-purple);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .stats-text h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none !important;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        background: white !important;
        flex-direction: column !important;
        padding: var(--spacing-lg) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
        max-height: calc(100vh - 70px) !important;
        overflow-y: auto !important;
        z-index: 1001 !important;
        gap: 0 !important;
        border-top: 1px solid #E5E7EB !important;
        list-style: none !important;
    }
    
    .nav-menu.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .nav-menu li {
        width: 100% !important;
        margin: 0 !important;
        list-style: none !important;
        border-bottom: 1px solid #F3F4F6 !important;
    }
    
    .nav-menu li:last-child {
        border-bottom: none !important;
    }
    
    .nav-menu a {
        display: block !important;
        padding: 1rem 0.5rem !important;
        width: 100% !important;
        color: var(--dark-navy) !important;
        transition: all 0.2s ease !important;
    }
    
    .nav-menu a:hover {
        background: #F9FAFB !important;
        padding-left: 1rem !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
    }
    
    .nav-actions {
        display: none !important;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .stats-content {
        grid-template-columns: 1fr;
    }
    
    .stats-text h2 {
        font-size: 1.75rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .balance-amount {
        font-size: 2rem;
    }
    
    .stats-number h3 {
        font-size: 2.5rem;
    }
}