/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #03FC9D;
    --primary-dark: #00D9FF;
    --text-primary: #003B2F;
    --text-secondary: #666666;
    --text-light: #999999;
    --text-white: #FFFFFF;
    --bg-white: #FFFFFF;
    --bg-light: #F2F2F2;
    --bg-dark: #1A1A1A;
    --bg-hero: #003B2F;
    --border-color: #E5E5E5;
    --success-color: #00C853;
    --error-color: #FF5252;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    --font-heading: 'GT Sectra Fine', 'Georgia', serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    --container-width: 1200px;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 64px;
    font-weight: 700;
    line-height: 76.8px;
    letter-spacing: normal;
    font-family: var(--font-heading), serif;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

mark {
    background: transparent;
    color: #03FC9D;
    font-weight: 600;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.header {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    height: 62px;
    display: flex;
    align-items: center;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: var(--spacing-lg);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 32px;
    width: auto;
    display: block;
}

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

.nav a {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    padding: var(--spacing-xs) 0;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    height: 100%;
}

.header-actions .btn-primary {
    background: #003B2F;
    color: #03FC9D;
    border: 1px solid #003B2F;
}

.header-actions .btn-primary:hover {
    background: rgba(0, 59, 47, 0.9);
    color: #03FC9D;
    border-color: rgba(0, 59, 47, 0.9);
}

.btn-link {
    color: var(--text-primary);
    font-weight: 500;
    padding: var(--spacing-xs) 0;
    border-bottom: 2px solid transparent;
}

.btn-link:hover {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-primary {
    background: #03FC9D;
    color: #000000;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: var(--transition);
    border: 1px solid #03FC9D;
    cursor: pointer;
    line-height: 1.4;
}

.btn-primary:hover {
    background: #02E08A;
    color: #000000;
    border-color: #02E08A;
    transform: translateY(-1px);
}

.btn-small {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-small:hover {
    background: var(--primary-dark);
    color: var(--bg-white);
}

/* Hero Section */
.hero {
    background: var(--bg-hero);
    padding: 128px 0;
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(3, 252, 157, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-text h1 {
    margin-bottom: var(--spacing-md);
    color: var(--text-white);
}

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

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    align-items: flex-start;
}

.app-badges {
    display: flex;
    gap: var(--spacing-sm);
}

.app-badge img {
    height: 40px;
    width: auto;
}

.hero-image {
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Carousel Section */
.carousel-section {
    padding: 56px 0;
    background: #ffffff;
}

.carousel-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    display: none;
    padding: 0;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.carousel-slide.active {
    display: block;
}

.carousel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    background: transparent;
    padding: 0;
}

.carousel-text {
    display: flex;
    flex-direction: column;
}

.carousel-text h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 60px;
    color: #003B2F;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.carousel-text h2 mark {
    background: #03FC9D;
    color: #003B2F;
    padding: 0 4px;
}

.carousel-text p {
    font-size: 16px;
    line-height: 24px;
    color: #003B2F;
    margin-bottom: 24px;
}

.carousel-btn-link {
    background: #03FC9D;
    color: #003B2F;
    padding: 12px 24px;
    border-radius: 4px;
    border: 1px solid #03FC9D;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    text-decoration: none;
    width: fit-content;
}

.carousel-btn-link:hover {
    background: #02E08A;
    border-color: #02E08A;
    color: #003B2F;
}

.carousel-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.carousel-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.carousel-image-small img {
    width: 50%;
    height: auto;
    max-width: 50%;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.carousel-btn {
    background: transparent;
    border: none;
    border-radius: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: #003B2F;
    padding: 8px;
}

.carousel-btn:hover {
    background: transparent;
    color: #03FC9D;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-indicator {
    font-size: 16px;
    color: #003B2F;
    font-weight: 500;
    min-width: 60px;
    text-align: center;
}


/* Features Section */
.features-section {
    padding: 128px 0;
    background: #03FC9D;
    color: #003B2F;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 336px 336px 336px;
    gap: 64px;
    justify-content: center;
}

.feature-card {
    text-align: left;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.feature-icon {
    text-align: left;
    margin-bottom: 24px;
}

.feature-icon img {
    width: 96px;
    height: 96px;
    display: block;
}

.feature-card h3 {
    font-size: 28px;
    font-weight: 900;
    line-height: 35px;
    color: #003B2F;
    margin-bottom: 24px;
    font-family: serif;
    letter-spacing: -0.01em;
}

.feature-card h3 mark {
    background: #ffffff;
    color: #003B2F;
    padding: 0 7px;
    font-weight: 900;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-card ul li {
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    color: #003B2F;
    padding: 16px 0;
    margin-bottom: 0;
    font-family: sans-serif;
    position: relative;
    border-bottom: 2px solid #f2f2f2;
}

.feature-card ul li:last-child {
    border-bottom: none;
}

/* Mobile Section */
.mobile-section {
    padding: 56px 0;
    background: #f2f2f2;
    color: #003B2F;
}

.mobile-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mobile-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-text {
    display: flex;
    flex-direction: column;
}

.mobile-text h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 60px;
    color: #003B2F;
    margin-bottom: 32px;
    font-family: serif;
    letter-spacing: -0.01em;
}

.mobile-text h2 mark {
    background: #03FC9D;
    color: #003B2F;
    padding: 0 12px;
}

.mobile-text h4 {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    color: #003B2F;
    margin-bottom: 16px;
}

.mobile-text p {
    font-size: 16px;
    line-height: 24px;
    color: #003B2F;
    margin-bottom: 0;
}

.mobile-btn-link {
    background: #03FC9D;
    color: #003B2F;
    padding: 12px 32px;
    border-radius: 4px;
    border: 1px solid #03FC9D;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 32px;
}

.mobile-btn-link:hover {
    background: #02E08A;
    border-color: #02E08A;
    color: #003B2F;
}

.mobile-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.mobile-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: #e0e0e0;
    border: 1px solid #d0d0d0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.image-placeholder span {
    color: #999;
    font-size: 16px;
    font-weight: 500;
}

/* Trading Tools Section */
.trading-tools-section {
    padding: 128px 0;
    background: #003B2F;
    color: #ffffff;
}

.trading-tools-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.trading-tools-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.trading-tools-text {
    display: flex;
    flex-direction: column;
}

.trading-tools-text h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 60px;
    color: #ffffff;
    margin-bottom: 32px;
    font-family: serif;
    letter-spacing: -0.01em;
}

.trading-tools-text h2 mark {
    background: #03FC9D;
    color: #003B2F;
    padding: 0 12px;
}

.trading-tools-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 32px;
}

.tool-item {
    margin-bottom: 40px;
}

.tool-item:last-child {
    margin-bottom: 0;
}

.tool-item h4 {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    color: #ffffff;
    margin-bottom: 16px;
}

.tool-item p {
    font-size: 16px;
    line-height: 24px;
    color: #f2f2f2;
    margin-bottom: 0;
}

.trading-tools-actions {
    display: flex;
    gap: 16px;
    margin-top: 0;
}

.trading-tools-btn-link {
    background: #ffffff;
    color: #003B2F;
    padding: 12px 32px;
    border-radius: 4px;
    border: 1px solid #ffffff;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.trading-tools-btn-link:hover {
    background: #f5f5f5;
    border-color: #f5f5f5;
    color: #003B2F;
}

.trading-tools-btn-primary {
    background: #03FC9D;
    color: #003B2F;
    padding: 12px 32px;
    border-radius: 4px;
    border: 1px solid #03FC9D;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.trading-tools-btn-primary:hover {
    background: #02E08A;
    border-color: #02E08A;
    color: #003B2F;
}

.trading-tools-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.trading-tools-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

/* Gateway Section */
.gateway-section {
    padding: 128px 0;
    background: #f2f2f2;
    color: #003B2F;
}

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

.gateway-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.gateway-text {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.gateway-text h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 60px;
    color: #003B2F;
    margin-bottom: 48px;
    font-family: serif;
    letter-spacing: -0.01em;
}

.gateway-text h2 mark {
    background: #03FC9D;
    color: #003B2F;
    padding: 0 12px;
}

.gateway-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    margin-bottom: 48px;
    text-align: left;
}

.gateway-item h4 {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    color: #003B2F;
    margin-bottom: 16px;
}

.gateway-item p {
    font-size: 16px;
    line-height: 24px;
    color: #003B2F;
    margin-bottom: 0;
}

.gateway-btn-primary {
    background: #03FC9D;
    color: #003B2F;
    padding: 12px 32px;
    border-radius: 4px;
    border: 1px solid #03FC9D;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.gateway-btn-primary:hover {
    background: #02E08A;
    border-color: #02E08A;
    color: #003B2F;
}

/* Institutional Section */
.institutional-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-white);
    text-align: center;
}

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

.institutional-container h3 {
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.institutional-logos {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.institutional-logos img {
    height: 50px;
    width: auto;
    opacity: 0.7;
    transition: var(--transition);
}

.institutional-logos a:hover img {
    opacity: 1;
}

/* Steps Section */
.steps-section {
    padding: 128px 0;
    background: #dcdee0;
    color: #003B2F;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.steps-header {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex-shrink: 0;
}

.steps-header h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 60px;
    color: #003B2F;
    margin-bottom: 0;
    font-family: serif;
}

.steps-header .steps-btn-primary {
    align-self: flex-start;
}

.steps-header h2 mark {
    background: #03FC9D;
    color: #003B2F;
    padding: 0 12px;
}

.steps-btn-primary {
    background: #03FC9D;
    color: #003B2F;
    padding: 12px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    border: 1px solid #03FC9D;
    text-decoration: none;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.steps-btn-primary:hover {
    background: #02E08A;
    border-color: #02E08A;
    color: #003B2F;
}

.steps-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
    margin-top: 0;
    flex: 1;
}

.step-item {
    text-align: left;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    transition: none;
    box-shadow: none;
}

.step-item:hover {
    transform: none;
    box-shadow: none;
}

.step-number {
    font-size: 28px;
    font-weight: 700;
    color: #003B2F;
    margin-bottom: 24px;
}

.step-item img {
    width: 96px;
    height: 96px;
    margin: 0 0 24px 0;
    display: block;
}

.step-content h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 35px;
    color: #003B2F;
    margin-bottom: 24px;
}

.step-content p {
    font-size: 16px;
    line-height: 24px;
    color: #003B2F;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: #000;
    color: #ffffff;
    padding: 48px 0;
}

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

.footer-main {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 32px;
}

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

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container,
    .carousel-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .carousel-text h2 {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 24px;
    }
    
    .carousel-image {
        min-height: 300px;
    }
    
    .mobile-container,
    .trading-tools-container {
        grid-template-columns: 1fr;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .steps-header {
        gap: 24px;
    }

    .steps-header h2 {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 0;
    }

    .steps-list {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 0;
    }

    .footer-main {
        margin-bottom: 24px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .nav {
        display: none;
    }

    .header-actions {
        gap: var(--spacing-sm);
    }

    .btn-primary {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .carousel-section {
        padding: 40px 0;
    }

    .carousel-text h2 {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 20px;
    }

    .carousel-text p {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    .carousel-image {
        min-height: 250px;
    }

    .mobile-section {
        padding: 40px 0;
    }

    .mobile-text h2 {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 24px;
    }

    .mobile-text h4 {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 12px;
    }

    .mobile-image {
        min-height: 300px;
    }

    .trading-tools-section {
        padding: 80px 0;
    }

    .trading-tools-text h2 {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 24px;
    }

    .trading-tools-text h4 {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 12px;
    }

    .trading-tools-image {
        min-height: 300px;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-section {
        padding: 80px 0;
    }
    
    .feature-card h3 {
        font-size: 24px;
        line-height: 30px;
    }

    .gateway-section {
        padding: 80px 0;
    }

    .gateway-text h2 {
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 32px;
    }

    .gateway-item h4 {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 12px;
    }

    .gateway-list {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .steps-section {
        padding: 80px 0;
    }

    .steps-header h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .steps-list {
        gap: 40px;
        margin-top: 32px;
    }

    .step-number {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .step-item img {
        width: 80px;
        height: 80px;
        margin-bottom: 16px;
    }

    .step-content h3 {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 16px;
    }

    .footer-bottom {
        padding-top: 24px;
    }
}

