:root {
    --primary: #c5a059; /* Gold */
    --primary-dark: #9e7f45;
    --text-dark: #2b2b2b; /* Graphite */
    --text-light: #666;
    --bg-light: #f8f9fa;
    --bg-dark: #0a1128; /* Dark Navy */
    --card-bg: #11182c; 
    --white: #ffffff;
    --radius: 16px;
    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html.smooth-scroll { scroll-behavior: smooth; }

body {
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    color: var(--bg-dark);
    font-weight: 600;
    line-height: 1.2;
}

/* --- Animations --- */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    will-change: opacity, transform;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}
.btn-primary:hover { 
    background-color: var(--primary-dark); 
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
    transform: translateY(-2px);
    color: var(--white);
}

/* --- Navigation (From Template 2) --- */
header {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 20px 0;
    z-index: 100;
    animation: heroFadeUp 0.8s ease-out forwards;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.04);
    border: 1px solid rgba(255,255,255,0.4);
}
.logo { font-size: 24px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 5px; text-transform: uppercase; letter-spacing: 1px;}
.logo span { color: var(--text-dark); }
.logo svg { transition: transform 0.4s ease; }
.logo:hover svg { transform: rotate(90deg); }

.nav-links { display: flex; gap: 25px; }
.nav-links a { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; position: relative;}
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0;
    background-color: var(--primary); transition: width 0.3s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-actions { display: flex; gap: 15px; align-items: center; }

/* --- Hero Section (Adapted for Content 1 style) --- */
.hero {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 200px 5% 100px;
    text-align: center;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.accent-line {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 0 auto 2rem;
    opacity: 0;
    animation: heroFadeUp 0.8s ease-out 0.2s forwards;
}

.hero h1 {
    color: var(--primary);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    opacity: 0;
    animation: heroFadeUp 0.8s ease-out 0.4s forwards;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    opacity: 0;
    animation: heroFadeUp 0.8s ease-out 0.6s forwards;
}

/* --- Content Grid --- */
.content-section {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--white);
    padding: 3rem 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-top: 4px solid transparent;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card h3::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--primary);
}

.card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* --- UPDATED CTA Section (Centered & Animated) --- */
.cta { 
    /* Subtle animated gradient background */
    background: linear-gradient(135deg, var(--bg-dark) 0%, #152243 100%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
    
    color: var(--white); 
    padding: 100px 20px; 
    text-align: center; 
    
    /* Logic to center it properly horizontally */
    margin: 0 auto 80px; 
    width: calc(100% - 40px);
    max-width: 1160px;
    
    border-radius: 40px; 
    position: relative; 
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(10, 17, 40, 0.2);
}

.cta h2 { font-size: 2.5rem; margin-bottom: 25px; position: relative; z-index: 2; color: var(--primary);}
.cta p { max-width: 700px; margin: 0 auto 40px; position: relative; z-index: 2; opacity: 0.8; font-size: 1.1rem; color: var(--white); font-weight: 300;}
.cta .btn { position: relative; z-index: 2; padding: 15px 35px; font-size: 1.1rem;}

.cta-shape { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; }

/* Added animations to the floating glow shapes */
.shape1 { 
    width: 600px; height: 600px; bottom: -300px; right: -100px; 
    background: radial-gradient(circle, rgba(197, 160, 89, 0.5) 0%, transparent 70%); 
    animation: floatShape1 15s infinite ease-in-out;
}
.shape2 { 
    width: 400px; height: 400px; top: -150px; left: -100px; 
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%); 
    animation: floatShape2 12s infinite ease-in-out reverse;
}

/* Keyframes for CTA Background and Shapes */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatShape1 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, -40px) scale(1.1); }
    66% { transform: translate(20px, -20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes floatShape2 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, 30px) scale(1.2); }
    66% { transform: translate(-20px, 20px) scale(0.85); }
    100% { transform: translate(0, 0) scale(1); }
}

/* --- Footer --- */
footer { padding: 80px 0 20px; text-align: center; background: #fff;}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; text-align: left; margin-bottom: 60px;}
.footer-col h4 { margin-bottom: 25px; font-size: 0.85rem; color: var(--bg-dark); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700;}
.footer-col ul { display: flex; flex-direction: column; gap: 15px; }
.footer-col a { color: var(--text-light); font-size: 0.95rem; transition: var(--transition); position: relative; display: inline-block;}
.footer-col a:hover { color: var(--primary-dark); transform: translateX(5px); }

.footer-regulatory { text-align: left; font-size: 0.8rem; color: var(--text-light); padding: 35px 0; border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea; margin-bottom: 35px; line-height: 1.8;}
.footer-regulatory strong { color: var(--bg-dark); display: block; margin-bottom: 10px; font-size: 0.9rem;}

.footer-bottom { display: flex; justify-content: space-between; color: var(--text-light); font-size: 0.9rem; align-items: center;}

.big-text { font-size: 11vw; font-weight: 800; color: #f4f6f8; line-height: 0.8; margin-top: 50px; letter-spacing: -2px; user-select: none; text-transform: uppercase; text-align: center;}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
    .hero h1 { font-size: 3rem; }
    .cta h2 { font-size: 2.2rem; }
}
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 150px 5% 80px; }
    .hero h1 { font-size: 2.5rem; }
    /* Adjusted mobile margin for CTA */
    .cta { padding: 80px 20px; margin: 0 auto 40px; width: calc(100% - 30px); }
    .footer-bottom { flex-direction: column; gap: 20px; }
}