:root {
    --primary-color: #007bff;
    --secondary-color: #1e2530;
    --accent-color: #00c767;
    --text-color: #ffffff;
    --dark-bg: #1c2232;
    --darker-bg: #151b29;
    --card-bg: #252a3b;
    --border-radius: 6px;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: url('../images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    background-color: var(--darker-bg);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(21, 27, 41, 0.9);
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 36px;
}

.nav-buttons {
    display: flex;
    align-items: center;
}

.login-btn, .signup-btn {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.login-btn {
    background-color: #2d3346;
    color: var(--text-color);
}

.login-btn:hover {
    background-color: #3a4155;
}

.signup-btn {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.signup-btn:hover {
    background-color: #00b35a;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--darker-bg);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px 20px;
    margin: 10px 0;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 40px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.create-account-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.create-account-btn:hover {
    background-color: #00b35a;
    transform: translateY(-2px);
}

.min-deposit-note {
    font-size: 14px;
    opacity: 0.8;
}

/* Trading Interface Section */
.trading-interface {
    padding: 40px 0;
}

.trading-chart {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: block;
    border-radius: 8px;
}

/* Features Section */
.features {
    padding: 60px 0;
}

.features h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
}

.features-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 18px;
}

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

.feature-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-card p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.feature-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

.feature-link:hover {
    color: #4a9eff;
    transform: translateX(5px);
}

/* Demo Account Section */
.demo-account {
    padding: 40px 0 60px;
}

.demo-wrapper {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.demo-image {
    flex: 0 0 150px;
}

.demo-img {
    width: 100%;
    border-radius: 12px;
}

.demo-content {
    flex: 1;
    padding: 0 20px;
}

.demo-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

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

.try-demo-btn, .register-btn {
    text-decoration: none;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
}

.try-demo-btn {
    background-color: #2d3346;
    color: var(--text-color);
}

.try-demo-btn:hover {
    background-color: #3a4155;
}

.register-btn {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.register-btn:hover {
    background-color: #00b35a;
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 30px;
}

.footer-links ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-links li {
    margin: 0 15px 10px;
}

.footer-links a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copy {
    font-size: 14px;
    opacity: 0.6;
}

/* Grow Capital Section */
.grow-capital {
    padding: 60px 0;
}

.grow-capital h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

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

.prediction-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.prediction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.prediction-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.prediction-card p {
    opacity: 0.9;
}

/* Mobile App Section */
.mobile-app {
    padding: 60px 0;
    background-color: rgba(21, 27, 41, 0.7);
}

.mobile-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.mobile-content {
    flex: 1;
}

.mobile-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

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

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

.app-button {
    display: inline-block;
    background-color: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.app-button:hover {
    background-color: var(--primary-color);
}

.mobile-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mobile-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* FAQ Section */
.faq {
    padding: 60px 0;
}

.faq h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--card-bg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 18px;
    margin: 0;
}

.faq-toggle {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    display: block;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .demo-image {
        margin-bottom: 20px;
    }
    
    .demo-content {
        margin-bottom: 20px;
        padding: 0;
    }
    
    .demo-buttons {
        justify-content: center;
    }
    
    .mobile-wrapper {
        flex-direction: column-reverse;
    }
    
    .mobile-content {
        text-align: center;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-buttons .login-btn,
    .nav-buttons .signup-btn {
        display: none;
    }
    
    .prediction-card {
        text-align: center;
    }
}
