/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #6366f1; /* Updated to a purple/indigo that fits fintech */
    --primary-dark: #4f46e5;
    --primary-light: #e0e7ff;
    --secondary-color: #14b8a6; /* A teal accent color for fintech feel */
    --dark-color: #1e293b;
    --text-color: #475569;
    --light-color: #f8fafc;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    padding-top: 73px; /* Default header height */
}

.container {
    max-width: 1200px; /* Fixed max-width instead of 100% */
    margin: 0 auto;
    padding: 0 25px;
    width: 100%;
}

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

ul {
    list-style: none;
}

/* New section tag style */
.section-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 38px;
    color: var(--dark-color);
    margin-bottom: 16px;
    position: relative;
    font-weight: 600;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    color: var(--text-color);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    margin-top: 20px;
}

/* Header Styles - Improved mobile experience */
header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    position: relative;
}

header.sticky {
    padding: 0;
    max-width: 100%;
}

/* Logo Styles */
.logo h1 {
    font-size: 24px;
    font-weight: 700;
}

.logo span {
    color: var(--primary-color);
}

/* Navigation Styles */
nav ul {
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

nav ul li a:hover:after {
    width: 100%;
}

/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    z-index: 1;
    top: 100%;
    left: 0;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 10px 20px;
    display: block;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Toggle - Improved positioning and styling */
.mobile-toggle {
    display: none;
    cursor: pointer;
    z-index: 1010;
    width: 30px;
    height: 24px;
    position: relative;
    margin-left: auto; /* Ensures proper alignment */
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-toggle span:nth-child(1) {
    top: 0;
}

.mobile-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-toggle span:nth-child(3) {
    bottom: 0;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 10px;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80'); /* Updated forex markets theme background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    position: relative;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, var(--dark-color), transparent);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 25px;
}

.hero-content h1 {
    font-size: 52px; /* Consider adjusting if title is longer */
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s forwards;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 36px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.3s forwards;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.6s forwards;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.9s forwards;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-feature i {
    color: var(--secondary-color);
    font-size: 20px; /* Slightly larger icons for hero features */
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Digit Match Tool Showcase Section */
.dmt-showcase {
    padding: 100px 0;
    background-color: var(--white);
}

.dmt-showcase .section-header {
    margin-bottom: 50px;
}

.dmt-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Image on left, text on right */
    gap: 50px;
    align-items: center;
}

.dmt-image img {
    width: 100%;
    max-width: 100%; /* Ensure image does not overflow container */
    height: auto; /* Maintain aspect ratio */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.dmt-image img:hover {
    transform: scale(1.03);
    box-shadow: var(--hover-shadow);
}

.dmt-features-explained h3 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
}

.dmt-features-explained h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.dmt-features-explained p {
    font-size: 17px;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.dmt-features-explained ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.dmt-features-explained ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-color);
}

.dmt-features-explained ul li i {
    color: var(--secondary-color);
    font-size: 20px;
    margin-top: 3px;
}

.dmt-features-explained .btn-primary,
.dmt-features-explained .btn-secondary {
    margin-right: 15px;
    margin-top: 10px;
}

.btn-lg { /* For larger buttons in DMT showcase */
    padding: 14px 35px;
    font-size: 16px;
}

/* Market Indicators */
#market-indicators {
    padding: 15px 0;
    background-color: var(--dark-color);
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.market-ticker {
    display: flex;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    margin-right: 50px;
    white-space: nowrap;
}

.ticker-symbol {
    font-weight: 600;
    margin-right: 10px;
}

.ticker-value {
    margin-right: 10px;
}

.ticker-change {
    font-weight: 600;
}

.ticker-change.positive {
    color: #10b981;
}

.ticker-change.negative {
    color: #ef4444;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Services Section */
#services {
    padding: 120px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 35px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-light);
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-top: 3px solid var(--primary-color);
}

.service-icon {
    margin-bottom: 25px;
    background-color: var(--primary-light);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
}

.service-card:hover .service-icon i {
    color: var(--white);
}

.service-icon i {
    font-size: 32px;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--text-color);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    gap: 10px;
}

/* Trading Bots Section */
#trading-bots {
    padding: 120px 0;
    background-color: var(--light-color);
    position: relative;
}

.bots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.bot-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.bot-card.featured {
    background: linear-gradient(145deg, var(--primary-light), var(--white));
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.bot-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.bot-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 7px 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom-left-radius: var(--border-radius);
}

.bot-card.featured .bot-badge {
    background-color: var(--secondary-color);
}

.bot-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.bot-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

.bot-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.bot-price {
    margin-bottom: 20px;
}

.bot-price .price {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
}

.bot-price .period {
    font-size: 16px;
    color: var(--text-color);
}

.bot-price .one-time {
    font-size: 16px;
    color: var(--secondary-color);
    font-weight: 500;
    display: block;
    margin-top: 5px;
}

.bot-description {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 15px;
    flex-grow: 1;
}

.bot-features {
    text-align: left;
    margin-bottom: 30px;
}

.bot-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.bot-features li i {
    color: var(--secondary-color);
    font-size: 16px;
}

.bot-card .btn-primary {
    width: 100%;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px 20px;
}

.bots-cta {
    text-align: center;
}

.bots-cta p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* Monthly Income Section */
#monthly-income {
    padding: 120px 0;
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), url('https://img.freepik.com/free-photo/businessman-showing-growth-success-progress_53876-63324.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    position: relative;
}

.income-content {
    max-width: 900px;
    margin: 0 auto;
}

.income-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
}

.income-content h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.income-content p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.income-content .btn-primary {
    padding: 14px 35px;
    font-size: 16px;
    letter-spacing: 1px;
    margin-top: 15px;
}

/* About Section */
#about {
    padding: 120px 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 38px;
    margin-bottom: 20px;
    position: relative;
    color: var(--dark-color);
    font-weight: 600;
}

.about-text h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-text p {
    margin-bottom: 25px;
    font-size: 16px;
    color: var(--text-color);
}

.about-features {
    margin-bottom: 30px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 500;
}

.about-features li i {
    color: var(--secondary-color);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
    box-shadow: var(--hover-shadow);
}

.about-image:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 4px solid var(--primary-color);
    top: -20px;
    left: -20px;
    z-index: -1;
    border-radius: var(--border-radius);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: var(--white);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--box-shadow);
}

.experience-badge .years {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    max-width: 80%;
}

/* Stats Section */
#stats {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 100px 0;
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 30px;
}

.stat-item {
    padding: 30px 15px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.stat-item h3 {
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 18px;
    opacity: 0.9;
}

/* Market Insights Section */
#market-insights {
    padding: 120px 0;
    background-color: var(--light-color);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.insight-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.insight-image {
    height: 200px;
    overflow: hidden;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.insight-card:hover .insight-image img {
    transform: scale(1.1);
}

.insight-content {
    padding: 25px;
}

.insight-date {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.insight-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
    transition: var(--transition);
}

.insight-content p {
    margin-bottom: 20px;
}

.insight-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.insight-link:hover {
    gap: 10px;
}

.insights-cta {
    text-align: center;
}

/* Testimonials */
#testimonials {
    padding: 120px 0;
    background-color: var(--white);
}

.testimonial-item {
    background-color: var(--light-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin: 0 15px;
    transition: var(--transition);
    position: relative;
}

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

.testimonial-rating {
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #fbbf24;
    margin-right: 3px;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
    padding: 0 15px;
    color: var(--text-color);
    font-size: 17px;
}

.testimonial-content:before {
    content: '"';
    font-size: 72px;
    position: absolute;
    left: -15px;
    top: -30px;
    color: var(--primary-light);
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.testimonial-author p {
    font-size: 14px;
    color: var(--text-color);
}

/* Book a Demo Section */
#book-demo {
    padding: 120px 0;
    background-color: var(--white);
    position: relative;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 20px;
}

.demo-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.demo-image img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.demo-image:hover img {
    transform: scale(1.05);
}

.demo-features ul {
    margin-bottom: 30px;
}

.demo-features ul li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 16px;
    color: var(--text-color);
}

.demo-features ul li i {
    color: var(--secondary-color);
    font-size: 20px;
    margin-top: 3px;
}

.demo-features .btn-primary {
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
}

/* Responsive styles for Book a Demo section */
@media (max-width: 992px) {
    .demo-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .demo-features ul li {
        justify-content: center;
    }
    
    .demo-image {
        max-width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .demo-image {
        max-width: 100%;
    }
    
    .demo-features ul li {
        text-align: left;
        justify-content: flex-start;
    }
}

/* CTA Section */
#cta {
    padding: 100px 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

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

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 600;
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 18px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta-buttons .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.cta-buttons .btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Contact Section */
#contact {
    padding: 120px 0;
    background-color: var(--light-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.contact-info {
    padding: 50px;
    background-color: var(--dark-color);
    color: var(--white);
    position: relative;
    z-index: 1;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://img.freepik.com/free-vector/abstract-connection-dots-global-network-technology-background_1017-31319.jpg') center/cover no-repeat;
    opacity: 0.1;
    z-index: -1;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-item i {
    color: var(--secondary-color);
    margin-right: 20px;
    font-size: 22px;
    width: 40px;
    height: 40px;
    background-color: rgba(20, 184, 166, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 25px;
    position: relative;
    color: var(--white);
    font-weight: 600;
}

.contact-info h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 3px;
    background-color: var(--secondary-color);
}

.contact-info .section-tag {
    background-color: rgba(20, 184, 166, 0.2);
    color: var(--secondary-color);
}

.contact-info p {
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 17px;
}

.contact-socials {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.contact-socials a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form {
    padding: 50px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    background-color: var(--light-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background-color: var(--white);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Product Reviews Styles - Updated for bottom positioning */
.product-reviews {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.product-reviews h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-reviews h4 i {
    color: #fbbf24; /* Gold color for star icon */
}

.review-item {
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    padding: 12px 15px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.review-item:hover {
    background-color: #f1f5f9;
}

.review-stars {
    color: #fbbf24;
    font-size: 12px;
    margin-bottom: 5px;
}

.review-text {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 5px;
}

.review-author {
    font-size: 12px;
    color: var(--text-color);
    text-align: right;
    font-weight: 600;
}

.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
    color: var(--text-color);
    font-size: 14px;
}

.rating-average {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
}

/* Show just two reviews on small screens */
@media (max-width: 768px) {
    .review-item:nth-child(n+3) {
        display: none;
    }
}

/* Show just one review on very small screens */
@media (max-width: 576px) {
    .review-item:not(:first-child) {
        display: none;
    }
}

/* Checkout Page Styles */
#checkout {
    padding: 130px 0 80px;
    background-color: var(--light-color);
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: 40px;
}

/* Order Summary */
.order-summary {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    height: fit-content;
}

.order-summary h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--dark-color);
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 15px;
}

.product-selected {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.product-image {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image i {
    font-size: 36px;
    color: var(--primary-color);
}

.product-details h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.product-details p {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.product-features {
    font-size: 13px;
}

.product-features li {
    display: flex;
    gap: 8px;
    margin-bottom: 5px;
    color: var(--text-color);
}

.product-features i {
    color: var(--secondary-color);
}

.price-summary {
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    padding: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
}

/* Checkout Form */
.checkout-form {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.checkout-form h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.form-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 20px;
}

.form-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-option {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 15px;
    cursor: pointer;
    transition: var(--transition);
}

.payment-option.active {
    border-color: var(--primary-color);
    background-color: var(--primary-light);
}

.payment-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    overflow: hidden;
    padding: 5px;
}

.payment-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.payment-info {
    flex-grow: 1;
}

.payment-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.payment-info p {
    font-size: 13px;
    color: var(--text-color);
}

.payment-check {
    color: var(--primary-color);
    font-size: 20px;
    opacity: 0;
    transition: var(--transition);
}

.payment-option.active .payment-check {
    opacity: 1;
}

.form-terms {
    margin: 25px 0;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-wrapper input {
    width: 16px;
    height: 16px;
}

.checkbox-wrapper label {
    font-size: 14px;
}

.checkbox-wrapper a {
    color: var(--primary-color);
    text-decoration: underline;
}

.secure-payment {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 25px;
}

.secure-payment i {
    color: var(--secondary-color);
}

.form-buttons {
    display: flex;
    gap: 15px;
}

.form-buttons button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 25px;
    font-size: 16px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    width: 90%; /* Adjusted for better responsiveness on small screens */
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 20px;
    color: var(--dark-color);
}

.close-modal {
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--dark-color);
}

.modal-body {
    padding: 30px;
}

/* Payment Processing */
#payment-processing {
    gap: 25px;
}

#payment-processing p {
    font-size: 18px;
    font-weight: 500;
    color: var(--dark-color);
}

/* Payment QR Section */
#payment-qr {
    gap: 15px; /* Adjust spacing */
}

.binance-pay-brand {
    margin-bottom: 10px;
}

.binance-modal-logo {
    height: 35px; /* Adjust logo size */
}

.qr-code-wrapper {
    padding: 10px; /* Reduce padding */
    border: 3px solid #FCD535; /* Thicker border */
    margin-bottom: 5px; /* Reduce margin */
}

#qr-code {
    display: block; /* Ensure it behaves like a block element */
    width: 180px; /* Slightly smaller QR code */
    height: 180px;
}

.qr-scan-overlay {
    width: 50px; /* Adjust overlay size */
    height: 50px;
}

#payment-qr > p:first-of-type { /* Target the "Scan the QR code..." text */
    font-size: 15px;
    color: var(--text-color);
    margin-bottom: 10px;
}

/* Payment Links Section */
#payment-links {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 15px;
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e2e8f0;
}

.payment-note {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.btn-secondary.btn-sm { /* Style the Open Binance Pay button */
    padding: 8px 18px;
    font-size: 14px;
    border-width: 1px;
    display: inline-flex; /* Ensure it behaves correctly */
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.payment-amount {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
}

/* Countdown Timer */
.countdown {
    font-size: 14px;
    color: var(--text-color);
    margin-top: 15px;
}

#countdown {
    font-weight: 600;
    color: var(--primary-color);
}

/* Payment Success State */
#payment-success {
    gap: 15px;
}

.success-icon {
    /* Icon already styled via .payment-status-icon */
}

#payment-success h3 {
    font-size: 24px;
    color: #10b981; /* Green color for success */
    font-weight: 600;
}

#payment-success p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 15px;
}

#continue-btn {
    padding: 12px 30px;
}

/* Payment Error State */
#payment-error {
    gap: 15px;
}

.error-icon i {
    font-size: 60px;
    color: #ef4444; /* Red color for error */
}

#payment-error h3 {
    font-size: 24px;
    color: #ef4444;
    font-weight: 600;
}

#payment-error p {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 15px;
}

#retry-btn {
    padding: 12px 30px;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 70px 0 20px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-column h3 span {
    color: var(--primary-color);
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-column p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

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

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
}

.footer-column ul li a::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 18px;
    line-height: 1;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 20px;
}

.certification-badges {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.certification-badges img {
    height: 40px;
    width: auto;
    filter: grayscale(0.5);
    transition: var(--transition);
}

.certification-badges img:hover {
    filter: grayscale(0);
}

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
    position: relative;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 15px;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.legal-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

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

.payment-methods {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.payment-methods img {
    height: 35px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px;
    border-radius: 5px;
    transition: var(--transition);
}

.payment-methods img:hover {
    transform: translateY(-3px);
}

/* Footer Responsive Styles */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 50px 0 20px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        padding-bottom: 20px;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .certification-badges {
        justify-content: flex-start;
    }
}

/* Mobile Toggle and Nav */
.mobile-toggle {
    display: none;
    cursor: pointer;
    z-index: 1010;
    width: 30px;
    height: 24px;
    position: relative;
    margin-left: auto; /* Ensures proper alignment */
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.mobile-toggle span:nth-child(1) {
    top: 0;
}

.mobile-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-toggle span:nth-child(3) {
    bottom: 0;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 10px;
}

/* Enhanced Mobile Nav Styles */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1005;
}

.overlay.active {
    display: block;
    animation: fadeIn 0.3s forwards;
}

@media (max-width: 992px) {
    body {
        padding-top: 64px; /* Smaller header height on mobile */
    }
    
    header .container {
        padding: 10px 15px;
    }
    
    .logo {
        z-index: 1010;
    }
    
    .logo h1 {
        font-size: 22px; /* Slightly smaller logo on mobile */
    }
    
    .mobile-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 270px;
        height: 100%;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 75px 20px 30px;
        overflow-y: auto;
        transition: right 0.3s ease;
        z-index: 1008; /* Below the toggle but above other content */
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    
    nav ul li {
        width: 100%;
        margin-left: 0;
        margin-bottom: 0;
    }
    
    nav ul li a {
        padding: 12px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    nav ul li:last-child a {
        border-bottom: none;
    }
    
    nav ul li a.btn-primary {
        margin-top: 10px;
        margin-bottom: 5px;
        width: 100%;
        justify-content: center;
    }
    
    nav ul li a:after {
        display: none;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: var(--light-color);
        display: none;
        padding: 5px 0 5px 15px;
        margin: 0;
        width: 100%;
        animation: none;
        border-left: 2px solid var(--primary-light);
    }
    
    .dropdown-content a {
        padding: 10px 15px;
        font-size: 15px;
    }
    
    /* Dropdown toggle button for mobile */
    .dropdown-toggle {
        position: absolute;
        right: 0;
        top: 12px; /* Better alignment */
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Adjust section padding more precisely */
#hero {
    padding-top: 0; /* Hero doesn't need extra padding - it has its own */
    margin-top: 0;
}

section:not(#hero, #market-indicators) {
    padding-top: 90px;
    padding-bottom: 90px;
    margin-top: 0;
}

#market-indicators {
    padding-top: 73px !important;
    padding-bottom: 15px;
    margin-top: 0;
}

@media (max-width: 768px) {
    section:not(#hero, #market-indicators) {
        padding-top: 70px;
        padding-bottom: 70px;
    }
    
    #market-indicators {
        padding-top: 64px !important;
    }
    
    /* Further mobile refinements */
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
}

/* Container fix - better responsiveness */
.container {
    max-width: 1200px; /* Fixed max-width instead of 100% */
    margin: 0 auto;
    padding: 0 25px;
    width: 100%;
}

/* Improved body spacing */
body {
    // ...existing code...
    overflow-x: hidden;
    padding-top: 73px;
}

/* Improved header responsiveness */
@media (max-width: 992px) {
    header .container {
        padding: 10px 15px;
    }
}

/* Mobile navigation enhancements */
@media (max-width: 992px) {
    // ...existing code...
    
    nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 270px;
        height: 100%;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 75px 20px 30px;
        overflow-y: auto;
        transition: right 0.3s ease;
        z-index: 1008;
    }
    
    /* Improve dropdown positioning */
    .dropdown-toggle {
        position: absolute;
        right: 0;
        top: 12px; /* Better alignment */
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Enhanced Hero Section Responsiveness */
@media (max-width: 768px) {
    #hero {
        height: auto;
        min-height: 90vh;
        padding: 100px 0 60px; /* Better padding for small screens */
    }
    
    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 16px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 240px;
        margin: 0 auto 30px;
        gap: 15px;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .hero-features {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

/* Improved DMT Showcase Responsiveness */
@media (max-width: 992px) {
    .dmt-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .dmt-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .dmt-features-explained .btn-primary,
    .dmt-features-explained .btn-secondary {
        margin: 10px 0;
        width: 100%;
        justify-content: center;
    }
    
    .dmt-features-explained h3 {
        font-size: 24px;
    }
}

/* Services Cards Responsive Fix */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Trading Bots Responsive Improvements */
@media (max-width: 992px) {
    .bots-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .bot-card.featured {
        transform: none;
        grid-row: 1;
    }
    
    .bot-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* About Section Responsive Fix */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-image:after {
        display: none;
    }
    
    .experience-badge {
        bottom: -10px;
        right: 10px;
        width: 100px;
        height: 100px;
    }
    
    .experience-badge .years {
        font-size: 28px;
    }
}

/* Stats Section Responsiveness */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }
    
    .stat-item h3 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item::after {
        display: none !important;
    }
}

/* Market Insights Responsive Fix */
@media (max-width: 992px) {
    .insights-grid {
        grid-template-columns: minmax(280px, 500px);
        justify-content: center;
    }
}

/* CTA Section Responsive Fix */
@media (max-width: 768px) {
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        max-width: 240px;
        margin: 0 auto;
        gap: 15px;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
    }
}

/* Contact Section Responsive Fix */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .contact-form {
        padding: 25px 15px;
    }
    
    .contact-info h2 {
        font-size: 28px;
    }
}

/* Extra Small Device Fixes */
@media (max-width: 360px) {
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    .btn-primary, 
    .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .testimonial-item {
        padding: 20px 15px;
    }
    
    .testimonial-content {
        font-size: 15px;
    }
}

/* Fix for landscape orientation */
@media (max-height: 500px) and (orientation: landscape) {
    #hero {
        height: auto;
        min-height: 450px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-features {
        display: none;
    }
}

/* Improved Footer Responsiveness */
@media (max-width: 992px) {
    .footer-column h3 {
        font-size: 22px;
    }
    
    .footer-column h4 {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        text-align: center;
    }
    
    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-column ul li a {
        padding-left: 0;
    }
    
    .footer-column ul li a::before {
        display: none;
    }
    
    .newsletter-form {
        max-width: 280px;
        margin: 0 auto 20px;
    }
}