/* IG Europe GmbH — Global Styles */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
    --bg:#0A0A0A;--bg-card:#141414;--bg-card-hover:#1a1a1a;
    --red:#DC3545;--red-dark:#b02a37;--red-light:#e4606d;
    --white:#FFFFFF;--gray-100:#f5f5f5;--gray-200:#e8e8e8;
    --gray-300:#d0d0d0;--gray-400:#999;--gray-500:#777;
    --gray-600:#555;--gray-700:#333;--gray-800:#1e1e1e;
    --font:'Inter',system-ui,-apple-system,sans-serif;
    --container:1200px;--radius:8px;--radius-lg:12px;
}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font);font-size:16px;line-height:1.6;color:var(--gray-300);background:var(--bg)}
a{color:var(--red-light);text-decoration:none;transition:color .2s}
a:hover{color:var(--red)}
img{max-width:100%;height:auto;display:block}
ul{list-style:none}
h1,h2,h3,h4,h5,h6{color:var(--white);line-height:1.2;font-weight:700}
h1{font-size:clamp(2rem,5vw,3.2rem)}
h2{font-size:clamp(1.6rem,3.5vw,2.4rem)}
h3{font-size:clamp(1.2rem,2.5vw,1.5rem)}

/* Container */
.container{max-width:var(--container);margin:0 auto;padding:0 24px}

/* Header */
.header{position:sticky;top:0;z-index:100;background:rgba(10,10,10,.95);backdrop-filter:blur(12px);border-bottom:1px solid #222}
.header .container{display:flex;align-items:center;justify-content:space-between;height:68px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px;color:var(--white);text-decoration:none}
.logo:hover{color:var(--white)}
.logo-icon{flex-shrink:0}
.nav-menu{display:flex;gap:28px;align-items:center}
.nav-menu a{color:var(--gray-300);font-size:14px;font-weight:500;text-decoration:none;transition:color .2s}
.nav-menu a:hover{color:var(--white)}
.mobile-toggle{display:none;background:none;border:none;color:var(--white);cursor:pointer;padding:8px}

/* Risk Bar */
.risk-bar{background:#1a0000;border-bottom:1px solid #331111;padding:8px 0}
.risk-bar p{font-size:12px;line-height:1.5;color:#cc8888;text-align:center}
.risk-bar strong{color:#ff9999}

/* Hero */
.hero{padding:100px 0 80px;text-align:center;background:linear-gradient(180deg,#0f0f0f 0%,var(--bg) 100%);position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:600px;height:600px;background:radial-gradient(circle,rgba(220,53,69,.08) 0%,transparent 70%);pointer-events:none}
.hero h1{margin-bottom:20px}
.hero h1 span{color:var(--red)}
.hero p.hero-sub{font-size:18px;color:var(--gray-400);max-width:640px;margin:0 auto 36px;line-height:1.6}
.hero-cta{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:8px;padding:14px 32px;border-radius:var(--radius);font-size:15px;font-weight:600;cursor:pointer;border:none;text-decoration:none;transition:all .25s;font-family:var(--font)}
.btn-red{background:var(--red);color:var(--white)}
.btn-red:hover{background:var(--red-dark);color:var(--white);transform:translateY(-1px)}
.btn-outline{background:transparent;color:var(--white);border:1px solid var(--gray-600)}
.btn-outline:hover{border-color:var(--white);color:var(--white)}

/* Stats */
.stats{padding:60px 0;border-bottom:1px solid #1a1a1a}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;text-align:center}
.stats-grid h3{font-size:2rem;color:var(--red);font-weight:800}
.stats-grid p{color:var(--gray-400);font-size:14px;margin-top:4px}

/* Section */
.section{padding:80px 0}
.section-alt{background:var(--bg-card)}
.section-header{text-align:center;margin-bottom:48px}
.section-header h2{margin-bottom:12px}
.section-header p{color:var(--gray-400);max-width:600px;margin:0 auto;font-size:16px}

/* Cards grid */
.cards-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:24px}
.card{background:var(--bg-card);border:1px solid #222;border-radius:var(--radius-lg);padding:32px;transition:border-color .3s,transform .3s}
.card:hover{border-color:var(--red);transform:translateY(-2px)}
.card-icon{width:48px;height:48px;background:rgba(220,53,69,.12);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;margin-bottom:16px}
.card-icon svg{width:24px;height:24px;fill:var(--red)}
.card h3{margin-bottom:8px;font-size:18px}
.card p{color:var(--gray-400);font-size:14px;line-height:1.6}

/* Features row */
.features-row{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;margin-bottom:64px}
.features-row:last-child{margin-bottom:0}
.features-row.reverse{direction:rtl}
.features-row.reverse>*{direction:ltr}
.feature-img{background:var(--bg-card);border:1px solid #222;border-radius:var(--radius-lg);aspect-ratio:16/10;display:flex;align-items:center;justify-content:center;overflow:hidden}
.feature-img svg{width:60%;height:60%;fill:#222}
.feature-content h3{font-size:1.4rem;margin-bottom:12px}
.feature-content p{color:var(--gray-400);margin-bottom:16px;line-height:1.7}
.feature-list{display:flex;flex-direction:column;gap:10px}
.feature-list li{display:flex;align-items:flex-start;gap:10px;color:var(--gray-300);font-size:14px}
.feature-list li svg{width:18px;height:18px;fill:var(--red);flex-shrink:0;margin-top:2px}

/* Product tiles */
.product-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.product-tile{background:var(--bg-card);border:1px solid #222;border-radius:var(--radius-lg);padding:28px;transition:border-color .3s}
.product-tile:hover{border-color:var(--red)}
.product-tile h3{font-size:16px;margin-bottom:8px;display:flex;align-items:center;gap:8px}
.product-tile h3 svg{width:20px;height:20px;fill:var(--red)}
.product-tile p{font-size:13px;color:var(--gray-400);line-height:1.5}
.product-tile .tag{display:inline-block;background:rgba(220,53,69,.12);color:var(--red);font-size:11px;font-weight:600;padding:3px 10px;border-radius:20px;margin-top:10px}

/* Table */
.data-table{width:100%;border-collapse:collapse;font-size:14px}
.data-table th{background:var(--bg-card);color:var(--gray-300);font-weight:600;text-align:left;padding:12px 16px;border-bottom:1px solid #222}
.data-table td{padding:12px 16px;border-bottom:1px solid #1a1a1a;color:var(--gray-400)}
.data-table tr:hover td{background:rgba(220,53,69,.03)}

/* Contact form */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.contact-form .form-group{margin-bottom:20px}
.contact-form label{display:block;font-size:13px;font-weight:500;color:var(--gray-300);margin-bottom:6px}
.contact-form input,.contact-form textarea,.contact-form select{width:100%;padding:12px 16px;background:var(--bg-card);border:1px solid #333;border-radius:var(--radius);color:var(--white);font-family:var(--font);font-size:14px;transition:border-color .2s}
.contact-form input:focus,.contact-form textarea:focus,.contact-form select:focus{outline:none;border-color:var(--red)}
.contact-form textarea{resize:vertical;min-height:120px}
.contact-info{display:flex;flex-direction:column;gap:24px}
.contact-info-item{display:flex;gap:16px;align-items:flex-start}
.contact-info-item .icon{width:44px;height:44px;background:rgba(220,53,69,.12);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.contact-info-item .icon svg{width:20px;height:20px;fill:var(--red)}
.contact-info-item h4{font-size:15px;margin-bottom:4px}
.contact-info-item p{font-size:13px;color:var(--gray-400)}

/* Legal pages */
.legal{padding:80px 0}
.legal h1{font-size:2rem;margin-bottom:32px}
.legal h2{font-size:1.3rem;margin:32px 0 12px;color:var(--white)}
.legal h3{font-size:1.1rem;margin:24px 0 8px}
.legal p,.legal li{color:var(--gray-400);font-size:15px;line-height:1.7;margin-bottom:10px}
.legal ul{padding-left:24px;list-style:disc}
.legal ol{padding-left:24px;list-style:decimal}
.legal a{color:var(--red-light)}
.legal-meta{font-size:13px;color:var(--gray-500);margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid #222}
.legal-box{background:var(--bg-card);border:1px solid #222;border-radius:var(--radius);padding:20px 24px;margin:20px 0}
.legal table{width:100%;border-collapse:collapse;margin:16px 0}
.legal table th,.legal table td{padding:10px 14px;text-align:left;border-bottom:1px solid #222;font-size:14px;color:var(--gray-400)}
.legal table th{color:var(--gray-300);font-weight:600;background:var(--bg-card)}

/* About timeline */
.timeline{position:relative;padding-left:32px;margin-top:32px}
.timeline::before{content:'';position:absolute;left:8px;top:0;bottom:0;width:2px;background:#222}
.timeline-item{position:relative;padding-bottom:28px}
.timeline-item::before{content:'';position:absolute;left:-28px;top:4px;width:12px;height:12px;border-radius:50%;background:var(--red);border:2px solid var(--bg)}
.timeline-item h4{color:var(--white);font-size:15px;margin-bottom:4px}
.timeline-item p{color:var(--gray-400);font-size:14px}

/* Education cards */
.edu-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.edu-card{background:var(--bg-card);border:1px solid #222;border-radius:var(--radius-lg);overflow:hidden;transition:border-color .3s}
.edu-card:hover{border-color:var(--red)}
.edu-card-img{height:160px;background:linear-gradient(135deg,#1a0a0a 0%,#0a0a0a 100%);display:flex;align-items:center;justify-content:center}
.edu-card-img svg{width:48px;height:48px;fill:var(--red);opacity:.6}
.edu-card-body{padding:24px}
.edu-card-body .badge{display:inline-block;font-size:11px;font-weight:600;color:var(--red);background:rgba(220,53,69,.12);padding:3px 10px;border-radius:20px;margin-bottom:10px}
.edu-card-body h3{font-size:16px;margin-bottom:8px}
.edu-card-body p{font-size:13px;color:var(--gray-400);line-height:1.5}

/* Market analysis */
.market-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}
.market-card{background:var(--bg-card);border:1px solid #222;border-radius:var(--radius-lg);padding:24px;transition:border-color .3s}
.market-card:hover{border-color:#333}
.market-card .market-type{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--red);margin-bottom:8px}
.market-card h3{font-size:15px;margin-bottom:6px}
.market-card .market-date{font-size:12px;color:var(--gray-500);margin-bottom:10px}
.market-card p{font-size:13px;color:var(--gray-400);line-height:1.5}

/* CTA Section */
.cta-section{padding:80px 0;text-align:center;background:linear-gradient(180deg,var(--bg) 0%,#0f0f0f 100%)}
.cta-section h2{margin-bottom:16px}
.cta-section p{color:var(--gray-400);max-width:560px;margin:0 auto 32px}

/* Footer */
.footer{background:#060606;border-top:1px solid #1a1a1a;padding-top:60px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px;padding-bottom:40px;border-bottom:1px solid #1a1a1a}
.footer-logo{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--white);font-size:16px;margin-bottom:12px}
.footer-col p{font-size:13px;color:var(--gray-500);line-height:1.6}
.footer-col h4{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--gray-400);margin-bottom:14px}
.footer-links li{margin-bottom:8px}
.footer-links a{color:var(--gray-500);font-size:13px;text-decoration:none;transition:color .2s}
.footer-links a:hover{color:var(--white)}
.footer-risk{padding:24px 0;border-bottom:1px solid #1a1a1a}
.footer-risk p{font-size:12px;color:#886666;line-height:1.6;text-align:center}
.footer-risk strong{color:#aa8888}
.footer-regulatory{padding:20px 0;border-bottom:1px solid #1a1a1a;text-align:center}
.footer-regulatory p{font-size:12px;color:var(--gray-500);line-height:1.5;margin-bottom:8px}
.footer-regulatory a{color:var(--gray-500)}
.footer-regulatory a:hover{color:var(--gray-300)}
.footer-bottom{padding:20px 0;text-align:center;font-size:12px;color:var(--gray-600)}

/* Responsive */
@media(max-width:1024px){
    .features-row{grid-template-columns:1fr;gap:32px}
    .features-row.reverse{direction:ltr}
    .contact-grid{grid-template-columns:1fr}
    .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:768px){
    .mobile-toggle{display:block}
    .nav-menu{display:none;position:absolute;top:68px;left:0;right:0;background:rgba(10,10,10,.98);flex-direction:column;padding:20px 24px;gap:16px;border-bottom:1px solid #222}
    .nav-menu.open{display:flex}
    .nav-menu a{font-size:16px}
    .hero{padding:64px 0 48px}
    .stats-grid{grid-template-columns:repeat(2,1fr);gap:20px}
    .section{padding:48px 0}
    .cards-grid{grid-template-columns:1fr}
    .footer-grid{grid-template-columns:1fr}
    .hero-cta{flex-direction:column;align-items:center}
    .btn{width:100%;justify-content:center;max-width:320px}
}
