:root {
    --bg-dark: #050a14;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --primary-gold: #d4af37;
    --primary-gold-dim: rgba(212, 175, 55, 0.6);
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border-light: rgba(255, 255, 255, 0.08);
    --border-gold: rgba(212, 175, 55, 0.3);
    
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-base: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-main);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Utilities */
.gold-text {
    color: var(--primary-gold);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Background Gradients */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(29, 78, 216, 0.05) 0%, rgba(5, 10, 20, 0) 50%);
    z-index: -1;
    pointer-events: none;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(5, 10, 20, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--primary-gold);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-gold);
    transition: var(--transition-base);
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

.lang-switch {
    background: transparent;
    border: 1px solid var(--primary-gold-dim);
    color: var(--primary-gold);
    padding: 0.6rem 1.2rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-base);
}

.lang-switch:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 40%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.1));
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--primary-gold);
    color: #000;
    font-weight: 600;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.cta-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.cta-btn:hover::before {
    left: 100%;
}

/* Brand Statement */
.brand-statement {
    padding: 8rem 0;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-dark), #081020);
}

.statement-text {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    color: var(--text-main);
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Sections */
section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    margin-bottom: 1.5rem;
}

.section-header p {
    color: var(--primary-gold);
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}

/* Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 3.5rem 2.5rem;
    transition: var(--transition-base);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255,255,255,0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Advantages */
.adv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.adv-item {
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
}

.adv-item:hover {
    border-color: var(--border-gold);
    transform: translateX(10px);
}

.adv-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    line-height: 0.8;
    font-family: var(--font-display);
}

/* Process Timeline */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-gold-dim), transparent);
}

.step {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 4rem;
    position: relative;
    width: 50%;
}

.step:nth-child(even) {
    align-self: flex-end;
    margin-left: auto;
    justify-content: flex-start;
}

.step::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--bg-dark);
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    top: 6px;
    right: -6px;
    z-index: 2;
    transition: var(--transition-base);
}

.step:nth-child(even)::after {
    left: -6px;
    right: auto;
}

.step:hover::after {
    background: var(--primary-gold);
    box-shadow: 0 0 20px var(--primary-gold);
}

.step-content {
    width: 85%;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    transition: var(--transition-base);
}

.step:hover .step-content {
    border-color: var(--border-gold);
    transform: translateY(-5px);
}

.step:nth-child(odd) .step-content {
    text-align: right;
    margin-right: 2rem;
}

.step:nth-child(even) .step-content {
    text-align: left;
    margin-left: 2rem;
}

.step-content h3 {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Compliance */
.compliance-box {
    border: 1px solid var(--border-gold);
    padding: 4rem;
    text-align: center;
    background: linear-gradient(rgba(212, 175, 55, 0.05), rgba(5, 10, 20, 0));
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}

.compliance-box::before, .compliance-box::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--primary-gold);
    transition: var(--transition-base);
}

.compliance-box::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.compliance-box::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
}

.faq-question {
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition-base);
}

.faq-question:hover {
    color: var(--primary-gold);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-bottom: 0;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding-bottom: 2rem;
    max-height: 200px; /* Adjust based on content */
}

.faq-icon {
    font-weight: 300;
    font-size: 1.5rem;
    transition: transform 0.4s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary-gold);
}

/* Footer */
footer {
    background: #02050a;
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr auto 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-logo span {
    color: var(--primary-gold);
}

.footer-qr img {
    border: 1px solid var(--border-gold);
    padding: 0.5rem;
    background: #fff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: var(--primary-gold);
    transform: translateX(-5px);
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.2);
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: transparent;
    border: 1px solid var(--primary-gold);
    color: var(--primary-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-base);
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

#back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

#back-to-top:hover {
    background: var(--primary-gold);
    color: var(--bg-dark);
    transform: translateY(-5px);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none; /* Consider hamburger menu for production, but keeping simple as requested */
    }
    
    .timeline::before {
        left: 0;
    }
    
    .step {
        width: 100%;
        padding-left: 2rem;
        justify-content: flex-start;
        padding-bottom: 3rem;
    }
    
    .step:nth-child(even) {
        margin-left: 0;
    }
    
    .step::after, .step:nth-child(even)::after {
        left: -6px;
        right: auto;
    }
    
    .step-content, .step:nth-child(even) .step-content {
        text-align: left;
        width: 100%;
        margin: 0;
    }
    
    .adv-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-links {
        align-items: center;
    }

    h1 {
        font-size: 3rem;
    }
}
