/* Global Styles */
:root {
    --primary-color: #00d4aa;
    --primary-dark: #00b894;
    --secondary-color: #2d3436;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

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

/* Navigation */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon {
    background: var(--primary-color);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-right: 8px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

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

.navbar-nav .nav-link.dropdown-toggle::after {
    border-top-color: var(--text-light);
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 212, 170, 0.05) 100%);
    border-radius: 50% 0 0 50%;
    transform: translateX(30%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.signup-form .input-group {
    max-width: 500px;
    box-shadow: var(--shadow);
    border-radius: 50px;
    overflow: hidden;
}

.signup-form .form-control {
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.signup-form .btn {
    padding: 1rem 2rem;
    border-radius: 0 50px 50px 0;
    font-weight: 600;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 2;
}

.robot-arm {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 300px;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.qr-code {
    width: 150px;
    height: 150px;
    margin: 1rem auto;
    background: #000;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, #fff 25%, transparent 25%),
        linear-gradient(0deg, #fff 25%, transparent 25%),
        linear-gradient(90deg, transparent 75%, #fff 75%),
        linear-gradient(0deg, transparent 75%, #fff 75%);
    background-size: 10px 10px;
    background-position: 0 0, 0 0, 5px 5px, 5px 5px;
}

.nexusglobalex-logo {
    position: absolute;
    background: var(--primary-color);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.feature-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

/* Trade Section */
.trade-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.trade-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.trade-section p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.app-buttons .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.mobile-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    width: 250px;
    height: 500px;
    background: linear-gradient(135deg, #2d3436, #636e72);
    border-radius: 30px;
    padding: 10px;
    box-shadow: var(--shadow-hover);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.phone-screen::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* Support Section */
.support-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.support-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

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

.support-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.support-card h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.support-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.support-card .btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.support-card .btn-link:hover {
    color: var(--primary-dark);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

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

.footer ul li a:hover {
    color: var(--primary-color);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.floating-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.floating-icon:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:nth-child(1) { background: #1877f2; }
.social-icons a:nth-child(2) { background: #1da1f2; }
.social-icons a:nth-child(3) { background: #ff4500; }
.social-icons a:nth-child(4) { background: #0088cc; }

.social-icons a:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-nav {
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .floating-elements {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .feature-card,
    .support-card {
        margin-bottom: 2rem;
    }
    
    .app-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .app-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .signup-form .input-group {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .signup-form .btn {
        border-radius: 0 0 15px 15px;
    }
    
    .qr-code-box {
        padding: 1.5rem;
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.feature-card,
.support-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Button hover effects */
.btn {
    transition: all 0.3s ease;
}

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

/* Form focus effects */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 212, 170, 0.25);
} 