/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #00d4ff;
    --primary-purple: #7b2ff7;
    --dark-bg: #0a0e27;
    --darker-bg: #050811;
    --card-bg: #141b2d;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --gradient: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    --gradient-reverse: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--darker-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 60px; /* Space for fixed ticker footer */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Modal Styles */
.modal {
    display: flex;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 8, 17, 0.95);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in;
}

.modal.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2), 0 0 0 1px rgba(123, 47, 247, 0.3);
    animation: slideUp 0.4s ease-out;
    position: relative;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 28px;
    margin-bottom: 10px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.modal-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.modal-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--darker-bg);
    border: 1px solid rgba(123, 47, 247, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(123, 47, 247, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.radio-group label {
    margin-bottom: 12px;
}

.radio-options {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-purple);
}

.checkbox-group {
    margin-top: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-purple);
    flex-shrink: 0;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--gradient);
    border: none;
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(123, 47, 247, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Thank You Modal */
.thank-you-content {
    text-align: center;
    padding: 50px 40px;
}

.thank-you-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.thank-you-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.thank-you-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Intro Modal Styles */
.intro-content {
    background: linear-gradient(rgba(5, 8, 17, 0.85), rgba(5, 8, 17, 0.95)), url('trading_popup_bg.png');
    background-size: cover;
    background-position: center;
    max-width: 600px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.15);
}

.intro-body {
    padding: 20px;
}

.intro-body h2 {
    font-size: 28px;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.intro-body p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.intro-body .highlight-text {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 30px;
}

/* Main Content */
.main-content {
    min-height: 100vh;
}

.main-content.hidden {
    display: none;
}

/* Header Styles */
.site-header {
    background: var(--darker-bg);
    padding: 20px 0;
    border-bottom: 1px solid rgba(123, 47, 247, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-container {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.element-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 5s;
}

.element-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: 10s;
}

.element-4 {
    width: 250px;
    height: 250px;
    top: 30%;
    right: 30%;
    animation-delay: 15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.chart-animation {
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 400px;
    height: 200px;
    opacity: 0.3;
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.chart-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 28px);
    color: var(--text-secondary);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s both;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-quote {
    font-size: clamp(16px, 2.5vw, 22px);
    color: var(--primary-blue);
    font-style: italic;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease-out 0.4s both;
    position: relative;
    padding-left: 30px;
}

.hero-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 40px;
    color: var(--primary-purple);
    opacity: 0.5;
    font-family: Georgia, serif;
}

.cta-button {
    padding: 16px 40px;
    background: var(--gradient);
    border: none;
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(123, 47, 247, 0.3);
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(123, 47, 247, 0.5);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--dark-bg);
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    text-align: center;
    margin-bottom: 60px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 35px;
    border-radius: 20px;
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(123, 47, 247, 0.2);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 40px rgba(123, 47, 247, 0.3);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-size: 15px;
    flex-grow: 1;
}

/* Video Section */
.video-section {
    padding: 100px 0;
    background: var(--darker-bg);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.main-video {
    width: 100%;
    height: auto;
    border-radius: 20px;
    background: var(--card-bg);
    border: 1px solid rgba(123, 47, 247, 0.3);
    box-shadow: 0 20px 40px rgba(123, 47, 247, 0.2);
    transition: all 0.3s ease;
}

.main-video:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 25px 50px rgba(123, 47, 247, 0.4);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--dark-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(123, 47, 247, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 15px 35px rgba(123, 47, 247, 0.2);
}

.testimonial-avatar {
    margin-bottom: 20px;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 600;
    color: white;
}

.testimonial-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.testimonial-card p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
}

/* Trustpilot Section */
.trustpilot-section {
    padding: 100px 0;
    background: var(--darker-bg);
}

.trustpilot-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    text-align: center;
}

.trustpilot-logo {
    margin-bottom: 20px;
    opacity: 0.9;
}

.trustpilot-logo-img {
    height: 90px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 182, 122, 0.3));
}

.trustpilot-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.star {
    color: #FFB800;
    font-size: 24px;
    line-height: 1;
}

.star.filled {
    color: #FFB800;
}

.review-stars .star {
    font-size: 18px;
}

.rating-text {
    font-size: 20px;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

.rating-count {
    color: var(--text-secondary);
    font-weight: normal;
}

.review-count {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.trustpilot-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.trustpilot-review-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(123, 47, 247, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.trustpilot-review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    box-shadow: 0 15px 35px rgba(123, 47, 247, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.reviewer-details h4 {
    font-size: 18px;
    margin: 0 0 5px 0;
    color: var(--text-primary);
}

.review-date {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.review-stars {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
    flex-grow: 1;
}

.trustpilot-footer {
    text-align: center;
    margin-top: 40px;
}

.trustpilot-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.trustpilot-link:hover {
    color: var(--primary-purple);
    text-decoration: underline;
    transform: translateX(5px);
}

/* Trading Tools Section */
.trading-tools {
    padding: 100px 0;
    background: var(--dark-bg);
}

.tools-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.7;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tool-card {
    background: var(--card-bg);
    padding: 35px 30px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(123, 47, 247, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.tool-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 40px rgba(123, 47, 247, 0.3);
}

.tool-card:hover::before {
    opacity: 0.1;
}

.tool-card.featured {
    border: 2px solid var(--primary-purple);
    background: linear-gradient(135deg, rgba(123, 47, 247, 0.1), rgba(0, 212, 255, 0.1));
}

.tool-card.featured::after {
    content: '⭐';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    z-index: 2;
}

.tool-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.tool-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.tool-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tool-card .badge {
    background: var(--gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Final CTA Section */
.final-cta {
    padding: 100px 0;
    background: var(--darker-bg);
    text-align: center;
}

.final-cta h2 {
    font-size: clamp(28px, 5vw, 42px);
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-cta p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 40px;
}

/* Forex & Crypto Ticker Footer */
.forex-crypto-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 2px solid rgba(123, 47, 247, 0.4);
    padding: 12px 0;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.forex-crypto-ticker.hidden {
    transform: translateY(100%);
}

.ticker-toggle-btn {
    position: absolute;
    top: -40px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 2px solid rgba(123, 47, 247, 0.4);
    border-bottom: none;
    border-radius: 20px 20px 0 0;
    color: var(--text-primary);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.ticker-toggle-btn:hover {
    background: rgba(123, 47, 247, 0.2);
    border-color: var(--primary-purple);
    transform: translateY(-2px);
}

.ticker-toggle-btn:active {
    transform: translateY(0);
}

.ticker-toggle-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.forex-crypto-ticker.hidden .ticker-toggle-btn {
    background: var(--gradient);
    border-color: var(--primary-purple);
}

.forex-crypto-ticker.hidden .ticker-toggle-btn .close-icon {
    display: none;
}

.forex-crypto-ticker.hidden .ticker-toggle-btn .open-icon {
    display: block !important;
}

.forex-crypto-ticker:not(.hidden) .ticker-toggle-btn .open-icon {
    display: none;
}

.ticker-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.ticker-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.ticker-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    flex-shrink: 0;
}

.ticker-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.ticker-items {
    display: flex;
    gap: 25px;
    align-items: center;
    flex: 0 0 auto;
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

.ticker-wrapper:hover .ticker-items {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-items::-webkit-scrollbar {
    display: none;
}

.ticker-items {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 4px 12px;
    background: rgba(123, 47, 247, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(123, 47, 247, 0.2);
    transition: all 0.3s ease;
}

.ticker-item:hover {
    background: rgba(123, 47, 247, 0.2);
    border-color: var(--primary-purple);
    transform: translateY(-2px);
}

.currency-pair {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.currency-rate {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: 'Courier New', monospace;
}

.currency-rate.positive {
    color: #00ff88;
}

.currency-rate.negative {
    color: #ff4444;
}

.ticker-divider {
    width: 1px;
    height: 30px;
    background: rgba(123, 47, 247, 0.3);
    flex-shrink: 0;
}

.rate-change {
    font-size: 11px;
    margin-left: 5px;
    font-weight: 600;
}

.rate-change.positive {
    color: #00ff88;
}

.rate-change.negative {
    color: #ff4444;
}

.rate-change::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 3px;
}

.rate-change.positive::before {
    content: '▲';
}

.rate-change.negative::before {
    content: '▼';
}

/* Footer Styles */
.site-footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(123, 47, 247, 0.2);
    padding: 40px 0;
    margin-top: auto;
    margin-bottom: 60px; /* Add margin to account for fixed ticker */
}

.footer-content {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--card-bg);
    border: 1px solid rgba(123, 47, 247, 0.3);
    border-radius: 25px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient);
    transition: left 0.3s ease;
    z-index: 0;
}

.social-link:hover::before {
    left: 0;
}

.social-link svg,
.social-link span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--primary-purple);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 47, 247, 0.3);
}

.social-link:hover svg,
.social-link:hover span {
    color: white;
}

.social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.telegram-link {
    color: #0088cc;
}

.telegram-link:hover {
    border-color: #0088cc;
}

.facebook-link {
    color: #1877f2;
}

.facebook-link:hover {
    border-color: #1877f2;
}

.footer-links {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.footer-separator {
    color: var(--text-secondary);
    margin: 0 5px;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 10px;
}

/* Page Content Styles */
.page-content {
    min-height: calc(100vh - 200px);
    padding: 60px 0;
    background: var(--dark-bg);
}

.page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(123, 47, 247, 0.2);
}

.page-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 30px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.page-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 40px;
    font-size: 14px;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 20px;
    margin-top: 30px;
}

.policy-section h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 15px;
    margin-top: 20px;
}

.policy-section p {
    margin-bottom: 15px;
}

.policy-section ul {
    margin: 15px 0;
    padding-left: 30px;
}

.policy-section li {
    margin-bottom: 10px;
}

.policy-section strong {
    color: var(--text-primary);
}

.site-logo {
    transition: opacity 0.3s ease;
}

a .site-logo:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-bottom: 120px; /* More space on mobile for stacked ticker */
    }
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
    
    .radio-options {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .features,
    .video-section,
    .testimonials,
    .trustpilot-section,
    .final-cta {
        padding: 60px 0;
    }
    
    .features-grid,
    .testimonials-grid,
    .trustpilot-reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-stars {
        margin-top: 10px;
    }
    
    .chart-animation {
        width: 250px;
        height: 125px;
        right: 5%;
    }
    
    .element-1,
    .element-2,
    .element-3,
    .element-4 {
        width: 150px;
        height: 150px;
    }
    
    .play-button {
        width: 70px;
        height: 70px;
    }

    .page-wrapper {
        padding: 30px 20px;
    }

    .page-title {
        font-size: 28px;
    }

    .policy-section h2 {
        font-size: 24px;
    }
    
    .social-links {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .social-link {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .ticker-container {
        flex-direction: column;
        gap: 15px;
        padding: 10px 15px;
    }
    
    .ticker-section {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .ticker-wrapper {
        width: 100%;
    }
    
    .ticker-items {
        gap: 15px;
        animation-duration: 20s; /* Faster on mobile */
    }
    
    .ticker-toggle-btn {
        display: flex;
    }
    
    .forex-crypto-ticker.hidden {
        transform: translateY(calc(100% - 40px)); /* Show only button when hidden */
    }
    
    .forex-crypto-ticker.hidden .ticker-toggle-btn {
        top: 0;
        position: fixed;
        right: 20px;
        bottom: auto;
    }
    
    .ticker-divider {
        width: 100%;
        height: 1px;
    }
    
    .ticker-label {
        font-size: 12px;
    }
    
    .currency-pair,
    .currency-rate {
        font-size: 12px;
    }
    
    .site-footer {
        margin-bottom: 120px; /* More space on mobile for stacked ticker */
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 25px 15px;
    }
    
    .form-group input,
    .form-group select {
        padding: 10px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .submit-btn {
        padding: 12px;
    }
    
    .feature-card,
    .testimonial-card,
    .trustpilot-review-card,
    .tool-card {
        padding: 25px 20px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tools-subtitle {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .trustpilot-logo-img {
        height: 70px;
        max-width: 150px;
    }
    
    .star {
        font-size: 20px;
    }
    
    .review-stars .star {
        font-size: 16px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-reverse);
}

