/* ═══════════════════════════════════════════════════════════════
   SAILS.TO - SHARED STYLES
   Core design system, navigation, buttons, footer, responsive
═══════════════════════════════════════════════════════════════ */

:root {
    /* THE PALETTE: Bold, print-inspired, luxury magazine */
    --ivory: #FFFEF8;
    --cream: #F7F5ED;
    --champagne: #EDE8DC;
    --ink: #0A0A0A;
    --charcoal: #1A1A1A;
    --graphite: #2D2D2D;
    --slate: #4A4A4A;
    --silver: #8A8A8A;
    --gold: #C9A227;
    --crimson: #B8192B;
    --navy: #0D1B2A;
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;
    --font-ui: 'DM Sans', -apple-system, sans-serif;
    --font-accent: 'Playfair Display', Georgia, serif;
    
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);
}

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

/* ─── Global: icon-wrapper ─── */
.icon-wrapper { display: block; }
.icon-wrapper svg { width: 32px; height: 32px; color: var(--gold); }

/* ─── Global Base: inline code ─── */
code {
    font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;
    font-size: 0.88em;
    background: rgba(0,0,0,0.05);
    padding: 2px 7px;
    border-radius: 3px;
    color: var(--charcoal);
}

/* ─── Global Base: code blocks ─── */
pre {
    background: var(--charcoal);
    color: #e0e0e0;
    padding: 24px 28px;
    margin: 24px 0;
    border-radius: 4px;
    overflow-x: auto;
    border-left: 3px solid var(--gold);
    line-height: 1.65;
}

pre code {
    font-size: 0.85rem;
    color: inherit;
    background: none;
    padding: 0;
    border-radius: 0;
    white-space: pre;
    display: block;
}

/* ─── Global Base: tables ─── */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.9rem;
    background: var(--ivory);
    border: 1px solid rgba(0,0,0,0.08);
}

thead {
    background: var(--navy);
}

thead th {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ivory);
    padding: 14px 20px;
    text-align: left;
    border-bottom: 2px solid var(--gold);
}

tbody td {
    padding: 14px 20px;
    color: var(--graphite);
    line-height: 1.6;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    vertical-align: top;
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:nth-child(even) {
    background: rgba(0,0,0,0.015);
}

/* Skip to content link for accessibility */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 10001;
    padding: 12px 24px;
    background: var(--gold);
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-ui);
}
.skip-to-content:focus {
    left: 50%;
    transform: translateX(-50%);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

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

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background: var(--ivory);
    color: var(--ink);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    min-height: 100dvh;
}

/* ═══════════════════════════════════════════════════════════════
   UTILITY CLASSES
═══════════════════════════════════════════════════════════════ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION - Understated Luxury
═══════════════════════════════════════════════════════════════ */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.6s var(--ease-out-expo);
    background: rgba(255, 254, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

nav .logo .logo-dark {
    display: block;
}

nav .logo .logo-light {
    display: none;
}

/* Nav on dark hero - transparent */
nav.nav-dark:not(.scrolled) {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

nav.nav-dark:not(.scrolled) .logo .logo-dark {
    display: none;
}

nav.nav-dark:not(.scrolled) .logo .logo-light {
    display: block;
}

nav.nav-dark:not(.scrolled) .nav-links a {
    color: rgba(255,255,255,0.85);
}

nav.nav-dark:not(.scrolled) .nav-links a:hover {
    color: #ffffff;
}

nav.nav-dark:not(.scrolled) .nav-links a:not(.btn-nav)::after {
    background: #ffffff;
}

nav.nav-dark:not(.scrolled) .nav-dropdown-trigger {
    color: rgba(255,255,255,0.85);
}

nav.nav-dark:not(.scrolled) .nav-dropdown:hover .nav-dropdown-trigger {
    color: #ffffff;
}

nav.nav-dark:not(.scrolled) .nav-dropdown-trigger::before {
    background: #ffffff;
}

nav.nav-dark:not(.scrolled) .btn-nav {
    background: transparent;
    border-color: rgba(255,255,255,0.5);
    color: #ffffff !important;
}

nav.nav-dark:not(.scrolled) .btn-nav:hover {
    background: #ffffff;
    color: #0a0a0a !important;
}

nav.scrolled {
    background: rgba(255, 254, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

nav.scrolled .logo .logo-dark {
    display: block;
}

nav.scrolled .logo .logo-light {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 36px;
    width: auto;
}

.logo::after {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--slate);
    text-decoration: none;
    position: relative;
    padding: 4px 0 6px 0;
    transition: color 0.3s ease, box-shadow 0.3s ease;
}

.nav-links a:not(.btn-nav):not(.nav-dropdown-trigger):hover {
    color: var(--ink);
    box-shadow: inset 0 -2px 0 0 var(--crimson);
}

.nav-links a:not(.btn-nav):not(.nav-dropdown-trigger)::after {
    display: none;
}

.nav-links a.active:not(.btn-nav) {
    color: var(--ink);
}

.nav-links a.active:not(.btn-nav)::after {
    width: 100%;
}

.btn-nav {
    background: var(--ink);
    color: var(--ivory) !important;
    padding: 10px 24px;
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--ink);
    transition: all 0.4s var(--ease-out-expo);
}

.btn-nav:hover {
    background: var(--ivory);
    color: var(--ink) !important;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-ui);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 8px;
}

.lang-current {
    font-weight: 700;
    color: var(--ink);
    opacity: 1;
}

.lang-link {
    color: var(--silver) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.lang-link:hover {
    color: var(--ink) !important;
}

.lang-switcher .lang-current + .lang-link::before,
.lang-switcher .lang-link + .lang-current::before,
.lang-switcher .lang-link + .lang-link::before {
    content: "|";
    margin-right: 6px;
    color: var(--silver);
}

/* Navigation Dropdowns */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-trigger {
    cursor: pointer;
    font-family: var(--font-ui);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--slate);
    text-decoration: none;
    position: relative;
    padding: 4px 0 6px 0;
    transition: color 0.3s ease, box-shadow 0.3s ease;
}

/* Underline effect for dropdown triggers */
.nav-dropdown:hover .nav-dropdown-trigger {
    color: var(--ink);
    box-shadow: inset 0 -2px 0 0 var(--crimson);
}

.nav-dropdown-trigger::before {
    display: none;
}

/* Chevron arrow */
.nav-dropdown-trigger::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger::after {
    transform: rotate(-135deg) translateY(-2px);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 180px;
    background: rgba(255, 254, 248, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 12px 0;
    z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block !important;
    padding: 10px 24px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.nav-dropdown-menu a::after {
    display: none !important;
}

.nav-dropdown-menu a:hover {
    color: var(--ink);
    background: var(--cream);
}

.dropdown-divider {
    height: 1px;
    margin: 8px 16px;
    background: rgba(0,0,0,0.08);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════════════════════
   BUTTONS - Refined Elegance
═══════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    padding: 14px 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    cursor: pointer;
}

.btn-primary {
    background: var(--ink);
    color: var(--ivory);
    border: 1px solid var(--ink);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--crimson);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s var(--ease-out-expo);
    z-index: -1;
}

.btn-primary:hover {
    border-color: var(--crimson);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--charcoal);
}

.btn-ghost::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s var(--ease-out-expo);
    z-index: -1;
}

.btn-ghost:hover {
    color: var(--ivory);
    border-color: var(--ink);
}

.btn-ghost:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.4s var(--ease-out-expo);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════════
   SECTION LABELS & TITLES
═══════════════════════════════════════════════════════════════ */
.section-label {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-bottom: 20px;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--ink);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--graphite);
    line-height: 1.8;
    margin-top: 20px;
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HERO - For inner pages
═══════════════════════════════════════════════════════════════ */
.page-hero {
    padding: 180px 48px 100px;
    background: var(--navy);
    position: relative;
    z-index: 10;
    text-align: center;
}

.page-hero .section-label {
    color: var(--gold);
}

.page-hero .section-title {
    color: var(--ivory);
    font-size: clamp(2.8rem, 5vw, 4rem);
    margin-bottom: 20px;
}

.page-hero .section-desc {
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.15rem;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE CARDS
═══════════════════════════════════════════════════════════════ */
.features-section {
    padding: 120px 48px;
    background: var(--cream);
    position: relative;
    z-index: 10;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 72px;
}

.features-header .section-title {
    max-width: 500px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════
   CONTENT SECTION - Used on compliance, security, oversight pages
═══════════════════════════════════════════════════════════════ */
.content-section {
    padding: 80px 48px 120px;
    background: var(--ivory);
    position: relative;
    z-index: 10;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Info Block - styled content boxes */
.info-block {
    background: var(--cream);
    padding: 48px;
    margin: 48px 0;
    border-left: 3px solid var(--gold);
}

.info-block h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.info-block p {
    font-size: 1rem;
    color: var(--graphite);
    line-height: 1.8;
    margin-bottom: 16px;
}

.info-block p:last-child {
    margin-bottom: 0;
}

.info-block ul {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
}

.info-block ul li {
    font-size: 0.95rem;
    color: var(--graphite);
    line-height: 1.8;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: relative;
    padding-left: 24px;
}

.info-block ul li:last-child {
    border-bottom: none;
}

.info-block ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    width: 8px;
    height: 2px;
    background: var(--gold);
}

.info-block ul li strong {
    color: var(--ink);
    font-weight: 600;
}

/* Content section CTA - override for lighter context */
.content-section .cta-section {
    margin-top: 80px;
    padding: 80px 48px;
    border-radius: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.06);
}

.feature-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    background: var(--cream);
    padding: 40px 32px;
    position: relative;
    transition: all 0.5s var(--ease-out-expo);
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 32px;
    right: 32px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.feature-card:hover {
    background: var(--ivory);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 24px;
    display: block;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   STRUCTURE SECTION
═══════════════════════════════════════════════════════════════ */
.structure-section {
    padding: 120px 48px;
    position: relative;
    z-index: 10;
}

.structure-container {
    max-width: 1200px;
    margin: 0 auto;
}

.structure-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.structure-content .section-desc {
    font-size: 1.05rem;
    color: var(--graphite);
    line-height: 1.8;
    margin-top: 20px;
}

.structure-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.structure-card {
    background: var(--ivory);
    border: 1px solid rgba(0,0,0,0.08);
    padding: 28px 32px;
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
    cursor: default;
}

.structure-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease-out-expo);
}

.structure-card:hover {
    border-color: rgba(0,0,0,0.15);
    transform: translateX(8px);
}

.structure-card:hover::before {
    transform: scaleY(1);
}

.structure-card h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 8px;
}

.structure-card p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   FEES SECTION
═══════════════════════════════════════════════════════════════ */
.fees-section {
    padding: 120px 48px;
    background: var(--cream);
    position: relative;
    z-index: 10;
}

.fees-container {
    max-width: 1200px;
    margin: 0 auto;
}

.fees-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.fees-content .section-desc {
    font-size: 1.05rem;
    color: var(--graphite);
    line-height: 1.8;
    margin-top: 20px;
}

.fee-table {
    border: 1px solid rgba(0,0,0,0.1);
    background: var(--ivory);
}

.fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: background 0.3s ease;
}

.fee-row:last-child {
    border-bottom: none;
}

.fee-row:hover {
    background: var(--cream);
}

.fee-row .label {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--slate);
}

.fee-row .value {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--ink);
}

.fee-note {
    margin-top: 20px;
    padding: 20px 24px;
    background: var(--ink);
    color: var(--ivory);
    font-size: 0.85rem;
    line-height: 1.6;
}

.fee-note strong {
    color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════════
   GLOBAL/TRADFI BRIDGE SECTION
═══════════════════════════════════════════════════════════════ */
.global-section {
    padding: 120px 48px;
    position: relative;
    z-index: 10;
}

.global-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.global-card {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 64px;
    background: var(--ivory);
    position: relative;
}

.global-card::before,
.global-card::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
}

.global-card::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.global-card::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

.global-card .section-title {
    margin-bottom: 16px;
}

.global-card > p {
    font-size: 1rem;
    color: var(--graphite);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

.global-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.global-stat .value {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--ink);
}

.global-stat .label {
    font-family: var(--font-ui);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--silver);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   AUDIENCE SECTIONS (For Brokers, For Trust Companies)
═══════════════════════════════════════════════════════════════ */
.audience-section {
    padding: 100px 48px;
    position: relative;
    z-index: 10;
}

.audience-section.broker-section {
    background: var(--navy);
}

.audience-section.trust-section {
    background: var(--cream);
}

.audience-container {
    max-width: 1200px;
    margin: 0 auto;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.audience-content .section-label {
    color: var(--gold);
}

.broker-section .section-title,
.broker-section .section-desc {
    color: var(--ivory);
}

.broker-section .audience-content .section-desc {
    color: rgba(255,255,255,0.8);
}

.audience-content .section-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 20px;
}

.audience-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.audience-feature {
    padding: 24px 28px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.03);
    position: relative;
    transition: all 0.4s var(--ease-out-expo);
}

.trust-section .audience-feature {
    background: var(--ivory);
    border: 1px solid rgba(0,0,0,0.08);
}

.audience-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease-out-expo);
}

.audience-feature:hover {
    transform: translateX(8px);
}

.audience-feature:hover::before {
    transform: scaleY(1);
}

.audience-feature h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.broker-section .audience-feature h4 {
    color: var(--ivory);
}

.trust-section .audience-feature h4 {
    color: var(--ink);
}

.audience-feature p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.broker-section .audience-feature p {
    color: rgba(255,255,255,0.7);
}

.trust-section .audience-feature p {
    color: var(--slate);
}

.commission-highlight {
    margin-top: 32px;
    padding: 24px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid var(--gold);
    text-align: center;
}

.commission-highlight .value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 500;
    color: var(--gold);
    display: block;
}

.commission-highlight .label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
    display: block;
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════════════════ */
.cta-section {
    padding: 140px 48px;
    background: var(--ink);
    position: relative;
    z-index: 10;
    text-align: center;
    overflow: hidden;
}

/* Decorative diagonal lines */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: rotate(-3deg);
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--ivory);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--silver);
    margin-bottom: 48px;
}

.cta-section .btn-primary {
    background: var(--ivory);
    color: var(--ink);
    border-color: var(--ivory);
}

.cta-section .btn-primary::before {
    background: var(--gold);
}

.cta-section .btn-primary:hover {
    color: var(--ink);
    border-color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
footer {
    padding: 80px 48px 40px;
    background: var(--ivory);
    border-top: 1px solid rgba(0,0,0,0.08);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand .logo {
    display: inline-block;
}

.footer-brand .logo img {
    height: 32px;
    width: auto;
    display: block;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--slate);
    margin-top: 12px;
    line-height: 1.6;
}

.footer-col h4 {
    font-family: var(--font-ui);
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--silver);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--slate);
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--ink);
}

.footer-bottom {
    max-width: 1200px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    color: var(--silver);
    letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════════
   DETAIL LIST (for inner pages)
═══════════════════════════════════════════════════════════════ */
.detail-section {
    padding: 100px 48px;
    position: relative;
    z-index: 10;
}

.detail-section.alt {
    background: var(--cream);
}

.detail-container {
    max-width: 1000px;
    margin: 0 auto;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.detail-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 20px;
}

.detail-content p {
    font-size: 1rem;
    color: var(--graphite);
    line-height: 1.9;
    margin-bottom: 20px;
}

.detail-content p:last-child {
    margin-bottom: 0;
}

.detail-list {
    list-style: none;
}

.detail-list li {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-list li:last-child {
    border-bottom: none;
}

.detail-list .icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(74,58,255,0.08) 0%, rgba(108,92,231,0.08) 100%);
    border-radius: 6px;
    color: #4A3AFF;
}

.detail-list .icon svg {
    width: 18px;
    height: 18px;
}

.detail-list .text h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 4px;
}

.detail-list .text p {
    font-size: 0.9rem;
    color: var(--slate);
    line-height: 1.75;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   STATS ROW
═══════════════════════════════════════════════════════════════ */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.stat-label {
    font-family: var(--font-ui);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--silver);
    margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-grid.three-col { grid-template-columns: repeat(2, 1fr); }
    .structure-grid, .fees-grid { grid-template-columns: 1fr; gap: 48px; }
    .audience-grid { grid-template-columns: 1fr; gap: 48px; }
    .detail-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    nav { padding: 20px 24px; }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-links.nav-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--ivory);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 32px 40px;
        gap: 0;
        transition: right 0.4s var(--ease-out-expo);
        box-shadow: -20px 0 60px rgba(0,0,0,0.15);
    }
    
    .nav-links.nav-collapse.active {
        right: 0;
    }
    
    .nav-links.nav-collapse a,
    .nav-links.nav-collapse .nav-dropdown-trigger {
        color: var(--ink) !important;
        padding: 14px 0;
        width: 100%;
        font-size: 0.85rem;
    }
    
    .nav-dropdown {
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }
    
    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: transparent !important;
        backdrop-filter: none;
        padding: 0 0 12px 16px;
        display: none;
    }
    
    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }
    
    .nav-dropdown-menu a {
        padding: 10px 0 !important;
        font-size: 0.8rem !important;
        color: var(--slate) !important;
    }
    
    .nav-links .btn-nav {
        margin-top: 24px;
    }
    
    .page-hero { padding: 140px 24px 60px; }
    
    .content-section { padding: 60px 24px 80px; }
    .info-block { padding: 32px 24px; margin: 32px 0; }
    
    .features-section,
    .structure-section,
    .fees-section,
    .global-section,
    .audience-section,
    .detail-section,
    .cta-section { padding: 60px 24px; }
    
    .content-section .cta-section { padding: 60px 24px; margin-top: 48px; }
    
    .feature-grid { grid-template-columns: 1fr; }
    .feature-grid.three-col { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .global-stats { flex-direction: column; gap: 24px; }
    .global-card { padding: 40px 24px; }
    .audience-grid { grid-template-columns: 1fr; gap: 40px; }
    .structure-grid { grid-template-columns: 1fr; gap: 40px; }
    .fees-grid { grid-template-columns: 1fr; gap: 40px; }
    .detail-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
   TRUST BADGES - Institutional credibility signals
═══════════════════════════════════════════════════════════════ */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.9);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
}

.trust-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Light background variant */
.trust-badges.light {
    border-top-color: rgba(0,0,0,0.08);
}

.trust-badges.light .trust-badge {
    background: rgba(0,0,0,0.03);
    border-color: rgba(0,0,0,0.1);
    color: var(--slate);
}

.trust-badges.light .trust-badge:hover {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.15);
}

/* ═══════════════════════════════════════════════════════════════
   IMPORTANT NOTICE - Financial disclaimers/requirements
═══════════════════════════════════════════════════════════════ */
.important-notice {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, rgba(201,162,39,0.08) 0%, rgba(201,162,39,0.04) 100%);
    border-left: 4px solid var(--gold);
    padding: 16px 24px;
    margin-top: 24px;
    border-radius: 0 4px 4px 0;
}

.important-notice svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--gold);
}

.important-notice-content {
    flex: 1;
}

.important-notice strong {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2px;
}

.important-notice span {
    font-size: 0.85rem;
    color: var(--slate);
}

/* Dark hero variant */
.page-hero .important-notice {
    background: rgba(201,162,39,0.15);
    border-left-color: var(--gold);
    max-width: 600px;
    margin: 24px auto 0;
}

.page-hero .important-notice strong {
    color: #fff;
}

.page-hero .important-notice span {
    color: rgba(255,255,255,0.8);
}

/* ═══════════════════════════════════════════════════════════════
   HERO CTA BUTTONS - Primary actions above the fold
═══════════════════════════════════════════════════════════════ */
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s var(--ease-out-expo);
}

.btn-hero.primary {
    background: var(--gold);
    color: var(--ink);
    border: 2px solid var(--gold);
}

.btn-hero.primary:hover {
    background: #d4ab2e;
    border-color: #d4ab2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,162,39,0.3);
}

.btn-hero.secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-hero.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

/* Light background variant */
.btn-hero.secondary.light {
    color: var(--ink);
    border-color: rgba(0,0,0,0.2);
}

.btn-hero.secondary.light:hover {
    background: rgba(0,0,0,0.05);
    border-color: rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 12px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   SECTION DIVIDERS - Visual separation between sections
═══════════════════════════════════════════════════════════════ */
.detail-section {
    position: relative;
}

.detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 96px);
    max-width: 1000px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.08) 20%, rgba(0,0,0,0.08) 80%, transparent 100%);
}

.detail-section:first-of-type::before {
    display: none;
}

.detail-section.alt::before {
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.06) 20%, rgba(0,0,0,0.06) 80%, transparent 100%);
}

