/* webassets/css/style.css */

:root {
    --primary-dark: #0a0e17;
    --secondary-dark: #121826;
    --accent-gold: #d4af37;
    --light-gold: #f4e6a8;
    --dark-gold: #b8941f;
    --text-light: #f8f9fa;
    --text-muted: #a0aec0;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.gold-text {
    color: var(--accent-gold);
}

/* Navigation */
.navbar {
    background-color: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.navbar.scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand .logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-gold);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
}

.btn-login, .btn-register {
    padding: 0.5rem 1.5rem !important;
    border-radius: var(--border-radius);
    margin-left: 0.5rem;
}

.btn-login {
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-register {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    font-weight: 600;
}

.navbar-toggler {
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--accent-gold);
}

.navbar-toggler-icon {
    color: var(--accent-gold);
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-dark), #0f1525, #1a2036);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

.btn-gold:hover {
    background-color: var(--dark-gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-outline-gold:hover {
    background-color: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-card {
    background: rgba(18, 24, 38, 0.8);
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-badge {
    background-color: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.live-badge i {
    font-size: 0.6rem;
    margin-right: 0.3rem;
}

.card-body {
    padding: 1.5rem;
}

.market-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.market-item:last-child {
    border-bottom: none;
}

.market-symbol {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.market-symbol i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.market-price {
    font-weight: 600;
    font-size: 1.1rem;
}

.market-price.up {
    color: var(--success);
}

.market-price.down {
    color: var(--danger);
}

.market-price span {
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.card-footer {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.view-all {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.view-all:hover {
    gap: 1rem;
    color: var(--light-gold);
}

/* Live Ticker */
.ticker-section {
    background-color: var(--secondary-dark);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
}

.ticker-header {
    text-align: center;
    margin-bottom: 1rem;
}

.ticker-header h3 {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--accent-gold);
    font-size: 1.3rem;
}

.ticker-container {
    overflow: hidden;
    position: relative;
    height: 40px;
}

.ticker-content {
    display: flex;
    position: absolute;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    padding: 0 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-symbol {
    font-weight: 600;
    margin-right: 0.5rem;
}

.ticker-price {
    margin-right: 0.5rem;
}

.ticker-change.positive {
    color: var(--success);
}

.ticker-change.negative {
    color: var(--danger);
}

/* Section Common */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

/* About Section */
.about-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    background: rgba(212, 175, 55, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-text h5 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.03);
}

/* Why Choose Us */
.why-section {
    background-color: var(--secondary-dark);
}

.why-card {
    background: rgba(10, 14, 23, 0.8);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.why-icon {
    background: rgba(212, 175, 55, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent-gold);
    font-size: 2rem;
}

.why-card h4 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.why-card p {
    color: var(--text-muted);
}

/* Forex & Crypto Sections */
.forex-section, .crypto-section, .tools-section {
    background-color: var(--primary-dark);
}

.forex-content p, .crypto-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.forex-list {
    list-style: none;
    margin-bottom: 2rem;
}

.forex-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.forex-list i {
    color: var(--accent-gold);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.crypto-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.crypto-stat {
    text-align: center;
}

.crypto-stat h5 {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.crypto-stat p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.trading-chart {
    background-color: var(--secondary-dark);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    height: 400px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: var(--box-shadow);
}

/* Features Section */
.features-section {
    background-color: var(--secondary-dark);
}

.feature-card {
    background: rgba(10, 14, 23, 0.8);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.feature-icon {
    background: rgba(212, 175, 55, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent-gold);
    font-size: 1.8rem;
}

.feature-card h5 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Tools Section */
.tools-list .tool-item {
    background: rgba(18, 24, 38, 0.8);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.tools-list .tool-item:hover {
    border-color: var(--accent-gold);
    transform: translateX(5px);
}

.tool-item h5 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
}

.tool-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.tools-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.tools-image img {
    width: 100%;
    height: auto;
}

/* Steps Section */
.steps-section {
    background-color: var(--primary-dark);
}

.step-card {
    background: rgba(18, 24, 38, 0.8);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    font-family: 'Orbitron', sans-serif;
}

.step-icon {
    background: rgba(212, 175, 55, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent-gold);
    font-size: 2rem;
}

.step-card h5 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Accounts Section */
.accounts-section {
    background-color: var(--secondary-dark);
}

.account-card {
    background: rgba(10, 14, 23, 0.8);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.account-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.account-card.featured {
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

.account-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.account-badge {
    position: absolute;
    top: 0;
    right: 20px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
}

.account-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.account-header h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.account-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.account-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
}

.account-body {
    padding: 2rem;
}

.account-body ul {
    list-style: none;
    margin-bottom: 2rem;
}

.account-body ul li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.account-body ul li i {
    margin-right: 1rem;
    width: 20px;
}

.account-body ul li i.fa-check {
    color: var(--accent-gold);
}

.account-body ul li i.fa-times {
    color: var(--text-muted);
}

/* Security Section */
.security-card {
    background: rgba(10, 14, 23, 0.8);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.security-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.security-icon {
    background: rgba(212, 175, 55, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent-gold);
    font-size: 2rem;
}

.security-card h5 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.security-card p {
    color: var(--text-muted);
}

/* Testimonials */
.testimonials-section {
    background-color: var(--primary-dark);
}

.testimonial-card {
    background: rgba(18, 24, 38, 0.8);
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--accent-gold);
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

.testimonial-author h5 {
    margin-bottom: 0.3rem;
    color: var(--text-light);
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(10, 14, 23, 0.9), rgba(10, 14, 23, 0.9)), 
                url('https://images.unsplash.com/photo-1590283603385-17ffb3a7f29f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.cta-note {
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Newsletter */
.newsletter-section {
    background-color: var(--secondary-dark);
    padding: 80px 0;
}

.newsletter-content h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--text-muted);
    max-width: 500px;
}

.newsletter-form .input-group {
    background: rgba(10, 14, 23, 0.8);
    border-radius: var(--border-radius);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.5rem;
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: var(--text-light);
    padding: 0.8rem 1rem;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.newsletter-form .form-control::placeholder {
    color: var(--text-muted);
}

.newsletter-form .btn {
    border-radius: calc(var(--border-radius) - 2px);
}

.form-check {
    margin-top: 1rem;
    text-align: left;
}

.form-check-input:checked {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.form-check-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-5px);
}

.footer-links h5, .footer-contact h5 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--text-muted);
}

.footer-contact ul li i {
    color: var(--accent-gold);
    margin-top: 0.2rem;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-disclaimer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--dark-gold);
    color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0;
    }
    
    .account-card.featured {
        transform: none;
    }
    
    .account-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .footer {
        padding: 60px 0 30px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}