/*
  Gunbot.be - Custom Stylesheet
*/

:root {
    --primary-color: #00aaff;
    --secondary-color: #0a192f;
    --accent-color: #ff4d4d;
    --text-color: #ccd6f6;
    --background-color: #0a192f;
    --card-background: #172a45;
    --border-radius: 5px;
    --font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

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

/* --- Header --- */
.main-header {
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: top 0.3s;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.main-nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
}

.lang-switcher a {
    display: inline-block;
    margin-left: 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lang-switcher a:hover, .lang-switcher a.active {
    opacity: 1;
}

.lang-switcher img {
    height: 15px;
    width: auto;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* --- Hero Section --- */
.hero {
    padding: 180px 0 120px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 35px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #fff;
}

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

.feature-card {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid #1d3b61;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    background-color: #0a192f;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fff;
}

/* How it works */
.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}

.step {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: var(--border-radius);
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    border: 4px solid var(--background-color);
}

.step h3 {
    margin-top: 20px;
    font-size: 1.3rem;
    color: #fff;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--card-background);
    padding: 40px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    border: 1px solid #1d3b61;
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pricing-card ul {
    list-style: none;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.pricing-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 25px;
    position: relative;
}

.pricing-card ul li::before {
    content: '\2713';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.pricing-card .buy-button {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: bold;
    display: block;
    margin-top: auto;
    transition: background-color 0.3s ease;
}

.pricing-card .buy-button:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* Testimonials */
.testimonial-card {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.testimonial-card p:first-child {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card .author {
    font-weight: bold;
    color: var(--primary-color);
    text-align: right;
}

/* --- Footer --- */
.main-footer {
    background-color: #081424;
    padding: 50px 0 20px;
    border-top: 1px solid #1d3b61;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h4, .footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #1d3b61;
    font-size: 0.9rem;
}

.footer-bottom .disclaimer {
    font-size: 0.8rem;
    color: #8892b0;
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
}

/* --- Feature Comparison Table --- */
.comparison-table-container {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #1d3b61;
}

.comparison-table th {
    background-color: var(--card-background);
    color: #fff;
    font-size: 1.2rem;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: bold;
    color: #fff;
}

.comparison-table .group-header td {
    background-color: #081424;
    color: var(--primary-color);
    font-size: 1.3rem;
    text-align: left;
    font-weight: bold;
}

.comparison-table .check { color: #4caf50; font-size: 1.5rem; }
.comparison-table .cross { color: #f44336; font-size: 1.5rem; }

.comparison-table tfoot .buy-button {
    padding: 10px 20px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .main-header .container { flex-direction: column; }
    .main-nav ul { padding-top: 1rem; }
    .hero { padding: 140px 0 80px; }
    .hero h1 { font-size: 2.2rem; }
    .steps-container { flex-direction: column; }
    .step { margin-bottom: 50px; }
    .steps-container::after { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* --- Exchanges Page --- */
.exchange-table-container {
    overflow-x: auto;
}

.exchange-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
}

.exchange-table th, .exchange-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #1d3b61;
    text-align: center;
}

.exchange-table th {
    background-color: var(--card-background);
    color: #fff;
}

.exchange-table td[data-label="Exchange"] {
    text-align: left;
}

.exchange-cell {
    /* Container for the exchange name and derivatives info */
}



.exchange-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}
.exchange-name:hover { color: var(--primary-color); }

.derivatives-info {
    display: block;
    font-size: 0.8rem;
    color: #8892b0;
    font-weight: normal;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 2000;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--card-background);
    padding: 40px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    position: relative;
    border: 1px solid #1d3b61;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.modal-content h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}


@media (max-width: 480px) {
    .main-nav ul li { margin: 0 10px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 2rem; }
}