/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #8b5cf6;
    --accent-color: #10b981;
    --danger-color: #ef4444;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

h5 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-highlight {
    position: relative;
    display: inline-block;
}

.text-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(59, 130, 246, 0.2);
    z-index: -1;
    border-radius: 4px;
}

/* Buttons */
button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary.btn-glow {
    position: relative;
}

.btn-primary.btn-glow::before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    transform: translate(-50%, -50%);
    top: var(--glow-y, 50%);
    left: var(--glow-x, 50%);
}

.btn-primary.btn-glow:hover::before {
    opacity: 1;
}

.btn-primary.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-secondary {
    background-color: white;
    color: var(--text-primary);
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-trade {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-trade:hover {
    background-color: var(--primary-dark);
}

/* Navigation */
.navbar {
    background-color: rgb(78, 109, 128);
    box-shadow: var(--shadow-md);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(50, 68, 65, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1380px;
    margin: 0 auto;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo i {
    color: var(--primary-color);
}
.logo1{
    width: 90px;
    height: auto;
}
.logo-highlight {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: white;
}

.nav-cta {
    margin-left: 1rem;
}

.live-clock {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-left: 2rem;
}

.live-clock i {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1001;
    padding: 5px;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobile Menu Toggle Animation */
.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Styles - ADD THIS SECTION */
@media (max-width: 992px) {
    .nav-toggle {
        display: flex !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgb(32, 44, 70);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        height: 0;
        overflow: hidden;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        height: auto;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        justify-content: center;
        padding: 0.5rem 2rem;
        font-size: 1.1rem;
    }
    
    .nav-cta {
        margin: 1rem 0 0;
        padding: 1rem 0;
    }
    
    .nav-cta a {
        display: inline-flex;
        margin: 0 auto;
        padding: 0.75rem 2rem;
    }
    
    .live-clock {
        display: none;
    }
}

/* For smaller mobile devices */
@media (max-width: 576px) {
    .nav-container {
        padding: 1rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .nav-menu {
        top: 65px;
    }
    
    .nav-menu a {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, #9ed3ec 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.badge i {
    color: var(--accent-color);
}

.hero-visual {
    animation: fadeInRight 0.8s ease-out;
}

.trading-chart-container {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    margin-bottom: 1.5rem;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.chart-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.chart-price.positive {
    color: var(--accent-color);
}

.chart-price .change {
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.chart-body {
    height: 200px;
    background-color: #f8fafc;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.chart-controls {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.timeframe {
    padding: 0.5rem 1rem;
    background-color: var(--light-bg);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.timeframe.active {
    background-color: var(--primary-color);
    color: white;
}

.live-trades {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
}

.trades-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.trades-header h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.refresh {
    color: var(--primary-color);
    cursor: pointer;
}

.trades-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trade-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background-color: var(--light-bg);
    border-radius: var(--radius-md);
    animation: slideIn 0.3s ease-out;
}

.trade-item.buy .trade-type {
    color: var(--accent-color);
}

.trade-item.sell .trade-type {
    color: var(--danger-color);
}

.trade-type {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.trade-symbol {
    font-weight: 600;
}

.trade-price {
    font-weight: 600;
    color: var(--text-primary);
}

.trade-amount {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.trade-time {
    color: var(--text-light);
    font-size: 0.75rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: white;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-cta {
    margin-top: 1.5rem;
}

.feature-cta a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.feature-cta a:hover {
    gap: 1rem;
}

/* Market Section */
.market-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.market-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background-color: white;
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.tab-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.market-grid {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.market-table {
    display: none;
    padding: 1.5rem;
}

.market-table.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.market-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.market-row:hover {
    background-color: var(--light-bg);
}

.market-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.market-cell.symbol {
    font-weight: 600;
}

.market-cell.price {
    font-weight: 600;
}

.market-cell.change.positive {
    color: var(--accent-color);
    font-weight: 600;
}

.market-cell.change.negative {
    color: var(--danger-color);
    font-weight: 600;
}

.market-cell.volume {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.market-highlight {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.highlight-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-item .symbol {
    font-weight: 600;
    font-size: 1.125rem;
}

.highlight-item .price {
    font-weight: 700;
    font-size: 1.25rem;
}

.highlight-item .change.positive {
    color: var(--accent-color);
    font-weight: 600;
}

.highlight-item .volume {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Platform Section */
.platform-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.platform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.platform-content {
    animation: fadeInLeft 0.8s ease-out;
}

.platform-subtitle {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.platform-title {
    color: white;
    margin-bottom: 1.5rem;
}

.platform-description {
    color: #94a3b8;
    margin-bottom: 2rem;
}

.platform-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.platform-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.platform-feature i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-feature h4 {
    color: white;
    margin-bottom: 0.25rem;
}

.platform-feature p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.875rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
}

.btn-app-store, .btn-play-store {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: white;
    font-size: 0.875rem;
    transition: background-color 0.3s ease;
}

.btn-app-store:hover, .btn-play-store:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-app-store i, .btn-play-store i {
    font-size: 1.25rem;
}

.platform-visual {
    animation: fadeInRight 0.8s ease-out;
}

.device-mockup {
    position: relative;
    height: 400px;
}

.mobile-mockup {
    position: absolute;
    bottom: 0;
    right: 40%;
    width: 180px;
    height: 360px;
    background: #1e293b;
    border-radius: 24px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

.mobile-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 16px;
    overflow: hidden;
    padding: 1rem;
}

.mobile-chart {
    width: 100%;
    height: 60%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.mobile-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
}

.mobile-change.positive {
    color: var(--accent-color);
    text-align: center;
    font-weight: 600;
}

.desktop-mockup {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 240px;
    background: #1e293b;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow-xl);
    animation: float 3s ease-in-out infinite 1s;
}

.desktop-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 8px;
    overflow: hidden;
    padding: 1rem;
}

.desktop-chart {
    width: 100%;
    height: 70%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.desktop-tools {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.desktop-tools i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background-color: rgb(193, 186, 255);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 2rem;
}

.testimonial-content {
    background: var(--light-bg);
    border-radius: var(--radius-xl);
    padding: 3rem;
    text-align: center;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-family: serif;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    text-align: left;
}

.author-info p {
    color: var(--text-secondary);
    margin: 0;
    text-align: left;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-prev, .slider-next {
    width: 48px;
    height: 48px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.slider-prev:hover, .slider-next:hover {
    background-color: var(--primary-color);
    color: white;
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 4rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.cta-feature i {
    color: var(--accent-color);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-element {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.floating-element i {
    font-size: 4rem;
    color: white;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-description {
    color: #94a3b8;
    margin: 1rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    color: #94a3b8;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Market Ticker */
.market-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-bg);
    color: white;
    padding: 0.75rem 0;
    overflow: hidden;
    z-index: 1000;
}

.ticker-content {
    display: flex;
    gap: 3rem;
    animation: ticker-scroll 30s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.ticker-symbol {
    font-weight: 600;
    color: #e2e8f0;
}

.ticker-price {
    font-weight: 600;
}

.ticker-change.positive {
    color: var(--accent-color);
}

.ticker-change.negative {
    color: var(--danger-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse-animation {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.pulse-animation {
    animation: pulse-animation 2s ease-in-out infinite;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========================= */
/* MOBILE RESPONSIVE FIXES */
/* ========================= */

/* Mobile Menu Toggle Animation */
.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Styles */
/* Tablet Styles (768px - 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-section {
        padding: 7rem 0 4rem;
    }
    
    .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-content {
        order: 2 !important;
        text-align: center;
        width: 100%;
    }
    
    .hero-visual {
        order: 1 !important;
        width: 100%;
    }
    
    .hero-description {
        max-width: 100%;
        margin: 0 auto 2rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .trust-badges {
        justify-content: center;
    }
    
    .trading-chart-container,
    .live-trades {
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .platform-visual {
        order: -1;
    }
    
    .device-mockup {
        height: 350px;
        margin: 0 auto;
        max-width: 500px;
    }
    
    .mobile-mockup {
        right: 50%;
        transform: translateX(50%);
    }
    
    .desktop-mockup {
        right: 10%;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* Mobile Styles (576px - 768px) */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 6rem 0 3rem;
    }
    
    .hero-grid {
        gap: 2rem;
    }
    
    .hero-content {
        order: 2 !important;
        text-align: center;
    }
    
    .hero-visual {
        order: 1 !important;
    }
    
    .hero-stats {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .stat-item {
        flex: 0 0 auto;
        min-width: 120px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        text-align: center;
    }
    
    .trading-chart-container,
    .live-trades {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .chart-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        text-align: center;
    }
    
    .chart-body {
        height: 180px;
    }
    
    .chart-controls {
        justify-content: center;
    }
    
    .timeframe {
        flex: 1;
        min-width: 60px;
        text-align: center;
    }
    
    .trade-item {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        text-align: center;
        padding: 0.5rem;
    }
    
    .trade-type,
    .trade-symbol,
    .trade-price,
    .trade-amount,
    .trade-time {
        width: 100%;
        text-align: center;
    }
    
    .trade-type {
        grid-column: 1 / span 1;
    }
    
    .trade-symbol {
        grid-column: 2 / span 1;
    }
    
    .trade-price {
        grid-column: 1 / span 1;
    }
    
    .trade-amount {
        grid-column: 2 / span 1;
    }
    
    .trade-time {
        grid-column: 1 / span 2;
        font-size: 0.7rem;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .badge {
        width: 100%;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .market-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .market-cell {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
    
    .market-cell.volume,
    .market-cell.action {
        grid-column: span 2;
    }
    
    .market-highlight {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .highlight-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .highlight-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .btn-app-store,
    .btn-play-store {
        justify-content: center;
    }
    
    .testimonial-content {
        padding: 2rem 1rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .cta-card {
        grid-template-columns: 1fr;
        padding: 2rem;
        text-align: center;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .floating-element {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .floating-element i {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Market Ticker for Mobile */
    .market-ticker {
        display: none;
    }
}

/* Small Mobile Styles (Below 576px) */
@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-section {
        padding: 5rem 0 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .stat-item {
        width: 100%;
        padding: 0.5rem;
    }
    
    .stat-value {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        max-width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .trust-badges {
        gap: 0.75rem;
    }
    
    .badge {
        font-size: 0.8rem;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.9);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
    }
    
    .trading-chart-container {
        margin-bottom: 1rem;
    }
    
    .chart-body {
        height: 150px;
    }
    
    .chart-controls {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .timeframe {
        width: 100%;
        min-width: auto;
    }
    
    .live-trades {
        margin-bottom: 0;
    }
    
    .trade-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    
    .trade-type,
    .trade-symbol,
    .trade-price,
    .trade-amount,
    .trade-time {
        grid-column: 1 / span 1;
    }
    
    .trade-time {
        font-size: 0.65rem;
    }
    
    .market-tabs {
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-wrap: nowrap;
    }
    
    .market-tabs::-webkit-scrollbar {
        height: 3px;
    }
    
    .market-tabs::-webkit-scrollbar-track {
        background: var(--light-bg);
    }
    
    .market-tabs::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 2px;
    }
    
    .tab-btn {
        white-space: nowrap;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        flex: 0 0 auto;
    }
    
    .platform-features {
        gap: 1rem;
    }
    
    .platform-feature {
        gap: 0.75rem;
        flex-direction: column;
        text-align: center;
    }
    
    .device-mockup {
        height: 280px;
    }
    
    .mobile-mockup {
        width: 140px;
        height: 280px;
        right: 50%;
        transform: translateX(50%);
    }
    
    .desktop-mockup {
        width: 180px;
        height: 135px;
        right: 5%;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-info h4,
    .author-info p {
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Extra Small Devices (Below 400px) */
@media (max-width: 400px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .features-grid,
    .market-highlight {
        gap: 0.75rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .market-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .market-cell {
        justify-content: center;
    }
    
    .market-cell.volume,
    .market-cell.action {
        grid-column: 1;
    }
    
    .btn-trade {
        width: 100%;
        padding: 0.4rem 0.8rem;
    }
    
    .slider-controls {
        gap: 0.75rem;
    }
    
    .slider-prev,
    .slider-next {
        width: 36px;
        height: 36px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        padding: 4rem 0 2rem;
    }
    
    .hero-grid {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }
    
    .hero-content {
        flex: 1;
        order: 1 !important;
        text-align: left;
    }
    
    .hero-visual {
        flex: 1;
        order: 2 !important;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        max-width: none;
    }
    
    .trading-chart-container,
    .live-trades {
        margin-bottom: 0.75rem;
    }
    
    .chart-body {
        height: 100px;
    }
    
    .trust-badges {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .hero-buttons button {
        -webkit-appearance: none;
    }
}

/* Fix for Android Chrome */
@media (-webkit-device-pixel-ratio: 2) {
    .btn-primary,
    .btn-secondary {
        -webkit-tap-highlight-color: transparent;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover {
        transform: none;
    }
    
    .highlight-card:hover {
        transform: none;
    }
    
    .btn-primary:hover,
    .btn-secondary:hover {
        transform: none;
        opacity: 0.9;
    }
    
    .btn-primary.btn-glow::before {
        display: none;
    }
    
    .nav-menu a:hover {
        color: var(--text-secondary);
    }
    
    .nav-menu a:active {
        color: var(--primary-color);
    }
}

/* Show/Hide classes for mobile */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
}

/* Prevent horizontal scrolling */
@media (max-width: 768px) {
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .container {
        overflow: hidden;
    }
    
    /* Fix for the hero section */
    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .hero-content {
        order: 2 !important;
        width: 100% !important;
    }
    
    .hero-visual {
        order: 1 !important;
        width: 100% !important;
    }
}


        .benefits-list {
            list-style: none;
            margin-bottom: 40px;
        }
        
        .benefits-list li {
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .benefits-list i {
            color: #10b981;
            margin-right: 12px;
            font-size: 1.2rem;
        }
        
        .cta-button {
            display: inline-block;
            background: linear-gradient(90deg, #3b82f6, #8b5cf6);
            color: white;
            font-weight: 600;
            font-size: 1.1rem;
            padding: 16px 40px;
            border-radius: 50px;
            text-decoration: none;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
        }
        
        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
        }
        
        /* Section 2: Signup Form */
        .signup-section {
            padding: 100px 0;
            background-color: #1e293b;
            position: relative;
        }
        
        .signup-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('https://images.unsplash.com/photo-1640340434855-6084b1f4901c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2073&q=80');
            background-size: cover;
            background-position: center;
            opacity: 0.1;
            z-index: 0;
        }
        
        .signup-container {
            position: relative;
            z-index: 1;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 60px;
        }
        
        .signup-image {
            flex: 1;
            min-width: 300px;
            height: 500px;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }
        
        .signup-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .signup-form-container {
            flex: 1;
            min-width: 300px;
            background-color: rgba(30, 41, 59, 0.9);
            padding: 40px;
            border-radius: 16px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
        }
        
        .form-title {
            font-size: 2.5rem;
            margin-bottom: 10px;
            background: linear-gradient(90deg, #10b981, #3b82f6);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        .form-subtitle {
            color: #cbd5e1;
            margin-bottom: 30px;
        }
        
        .signup-form .form-group {
            margin-bottom: 25px;
        }
        
        .signup-form label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #e2e8f0;
        }
        
        .signup-form input, .signup-form select {
            width: 100%;
            padding: 14px;
            background-color: #334155;
            border: 2px solid #475569;
            border-radius: 8px;
            color: #f8fafc;
            font-size: 1rem;
            transition: border 0.3s;
        }
        
        .signup-form input:focus, .signup-form select:focus {
            outline: none;
            border-color: #3b82f6;
        }
        
        .plan-options {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-top: 10px;
        }
        
        .plan-option {
            flex: 1;
            min-width: 140px;
            padding: 15px;
            background-color: #334155;
            border: 2px solid #475569;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .plan-option:hover {
            border-color: #3b82f6;
            background-color: #3b82f6;
        }
        
        .plan-option.selected {
            border-color: #10b981;
            background-color: rgba(16, 185, 129, 0.2);
        }
        
        .plan-name {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 5px;
        }
        
        .plan-price {
            color: #10b981;
            font-weight: 700;
        }
        
        .submit-button {
            width: 100%;
            margin-top: 20px;
        }
        
        /* Responsive Styles */
        @media (max-width: 992px) {
            .hero-title {
                font-size: 2.5rem;
            }
            
            .hero-content {
                max-width: 90%;
                padding: 30px;
            }
            
            .signup-container {
                gap: 40px;
            }
        }
        
        @media (max-width: 768px) {
            .hero-section {
                height: auto;
                min-height: auto;
                padding: 80px 0;
            }
            
            .hero-title {
                font-size: 2.2rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .signup-section {
                padding: 60px 0;
            }
            
            .signup-container {
                flex-direction: column;
            }
            
            .signup-image {
                height: 300px;
                width: 100%;
            }
            
            .form-title {
                font-size: 2rem;
            }
        }
        
        @media (max-width: 576px) {
            .hero-content {
                padding: 25px;
            }
            
            .hero-title {
                font-size: 1.8rem;
            }
            
            .signup-form-container {
                padding: 25px;
            }
            
            .plan-options {
                flex-direction: column;
            }
        }
        
        /* Animation for form submission */
        .success-message {
            display: none;
            text-align: center;
            padding: 20px;
            background-color: rgba(16, 185, 129, 0.2);
            border-radius: 8px;
            margin-top: 20px;
            border: 1px solid #10b981;
        }
        
        .success-message.show {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
    





.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 6vw, 70px);
}

.section-subtitle {
    color: #3b82f6;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 600;
    letter-spacing: clamp(1px, 0.5vw, 2px);
    margin-bottom: clamp(10px, 2vw, 15px);
    text-transform: uppercase;
    line-height: 1.4;
}

.section-title {
    font-size: clamp(1.8rem, 6vw, 3.2rem);
    margin-bottom: clamp(15px, 3vw, 20px);
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    padding: 0 clamp(10px, 5vw, 20px);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #222324;
    max-width: min(700px, 90vw);
    margin: 0 auto clamp(30px, 5vw, 40px);
    line-height: 1.6;
    padding: 0 clamp(15px, 5vw, 20px);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: clamp(20px, 4vw, 30px);
    margin-bottom: clamp(40px, 6vw, 60px);
    padding: 0 clamp(10px, 4vw, 15px);
    width: 100%;
    box-sizing: border-box;
}

.service-card {
    background: rgba(30, 41, 59, 0.8);
    border-radius: clamp(12px, 2vw, 16px);
    padding: clamp(25px, 4vw, 40px) clamp(20px, 3vw, 30px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: clamp(3px, 1vw, 4px);
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

@media (hover: hover) {
    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        border-color: rgba(59, 130, 246, 0.3);
    }
    
    .service-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    }
    
    .modal-cta:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
    }
    
    .modal-close:hover {
        color: #f8fafc;
    }
}

.service-icon {
    width: clamp(60px, 10vw, 80px);
    height: clamp(60px, 10vw, 80px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(15px, 3vw, 25px);
    font-size: clamp(1.5rem, 3vw, 2rem);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    color: #3b82f6;
    flex-shrink: 0;
}

.service-title {
    font-size: clamp(1.4rem, 3.5vw, 1.8rem);
    margin-bottom: clamp(15px, 3vw, 20px);
    color: #f8fafc;
    line-height: 1.3;
    word-wrap: break-word;
}

.service-description {
    color: #cbd5e1;
    margin-bottom: clamp(15px, 3vw, 25px);
    flex-grow: 1;
    font-size: clamp(0.95rem, 2vw, 1rem);
    line-height: 1.5;
}

.service-features {
    list-style: none;
    margin-bottom: clamp(20px, 4vw, 30px);
    padding-left: 0;
}

.service-features li {
    margin-bottom: clamp(8px, 2vw, 10px);
    display: flex;
    align-items: flex-start;
    font-size: clamp(0.9rem, 2vw, 0.95rem);
}

.service-features i {
    color: #10b981;
    margin-right: clamp(8px, 2vw, 10px);
    margin-top: clamp(2px, 1vw, 5px);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    flex-shrink: 0;
}

.service-cta {
    display: inline-block;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    color: white;
    font-weight: 600;
    padding: clamp(10px, 2vw, 12px) clamp(20px, 4vw, 30px);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    margin-top: auto;
    width: fit-content;
    font-size: clamp(0.9rem, 2vw, 1rem);
    min-height: 44px;
    min-width: 44px;
}

.service-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 3vw, 20px);
    box-sizing: border-box;
}

.modal-content {
    background: #1e293b;
    border-radius: clamp(12px, 2vw, 16px);
    padding: clamp(25px, 5vw, 40px) clamp(20px, 4vw, 40px);
    max-width: min(600px, 95vw);
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.3);
    animation: modalFadeIn 0.4s ease;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: clamp(15px, 3vw, 20px);
    right: clamp(15px, 3vw, 20px);
    background: none;
    border: none;
    color: #94a3b8;
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    cursor: pointer;
    transition: color 0.3s;
    width: clamp(30px, 6vw, 40px);
    height: clamp(30px, 6vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.modal-title {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: clamp(15px, 3vw, 20px);
    color: #f8fafc;
    line-height: 1.3;
    padding-right: 40px;
    word-wrap: break-word;
}

.modal-description {
    color: #cbd5e1;
    margin-bottom: clamp(20px, 4vw, 30px);
    line-height: 1.6;
    font-size: clamp(1rem, 2.5vw, 1.05rem);
    word-wrap: break-word;
}

.modal-cta {
    display: inline-block;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    color: white;
    font-weight: 600;
    padding: clamp(12px, 3vw, 14px) clamp(25px, 5vw, 35px);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: clamp(10px, 2vw, 10px);
    font-size: clamp(0.95rem, 2vw, 1rem);
    min-height: 44px;
    min-width: 44px;
}

/* Stats Section */
.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(20px, 4vw, 40px);
    margin-top: clamp(40px, 8vw, 80px);
    padding: clamp(25px, 5vw, 40px);
    background: rgba(30, 41, 59, 0.6);
    border-radius: clamp(12px, 2vw, 16px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    margin-left: clamp(10px, 4vw, 20px);
    margin-right: clamp(10px, 4vw, 20px);
}

.stat-item {
    text-align: center;
    padding: clamp(15px, 3vw, 20px);
    flex: 1 0 min(200px, 45%);
    min-width: min(150px, 45%);
    box-sizing: border-box;
}

.stat-number {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: clamp(5px, 2vw, 10px);
    line-height: 1.1;
}

.stat-label {
    color: #cbd5e1;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    line-height: 1.4;
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    .service-card {
        min-height: 320px;
    }
    
    .stats-container {
        gap: 15px;
        padding: 20px 15px;
    }
    
    .stat-item {
        flex: 1 0 calc(50% - 15px);
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 480px) {
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        min-height: 300px;
    }
    
    .stat-item {
        flex: 1 0 100%;
        min-width: 100%;
    }
    
    .section-title {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }
}

/* Tablet portrait */
@media (min-width: 481px) and (max-width: 768px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet landscape and small desktops */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large desktops */
@media (min-width: 1025px) {
    .services-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Very large screens */
@media (min-width: 1400px) {
    .services-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-cta,
    .modal-cta,
    .modal-content {
        transition: none;
        animation: none;
    }
}

/* Touch device optimizations */
@media (pointer: coarse) {
    .service-cta,
    .modal-cta {
        min-height: 48px;
        min-width: 48px;
    }
    
    .service-features li {
        padding: 2px 0;
    }
}


.trading-chart-container img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
}
