/*
Theme Name: Trustmark
Theme URI: https://bhdtrustmark.com
Author: BHD Trustmark
Author URI: https://bhdtrustmark.com
Description: Premium institutional-grade investment management theme for BHD Trustmark. Designed to inspire confidence, credibility, and long-term growth.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trustmark
Tags: investment, finance, corporate, custom-menu, custom-logo, featured-images
*/

/* ==========================================================================
   DESIGN SYSTEM — Custom Properties
   ========================================================================== */

:root {
    /* ── Navy Palette ─────────────────────────────── */
    --tm-navy-950: #030711;
    --tm-navy-900: #070b19;
    --tm-navy-800: #0c1425;
    --tm-navy-700: #111d35;
    --tm-navy-600: #1a2744;
    --tm-navy-500: #243352;
    --tm-navy-400: #334766;
    --tm-navy-300: #4a6282;
    --tm-navy-200: #6b84a3;
    --tm-navy-100: #94a8c4;
    --tm-navy-50:  #c4d1e3;

    /* ── Gold Palette ─────────────────────────────── */
    --tm-gold-600: #b8860b;
    --tm-gold-500: #d4a843;
    --tm-gold-400: #e5b94e;
    --tm-gold-300: #f0cc6b;
    --tm-gold-200: #f5dc93;
    --tm-gold-100: #faedc4;
    --tm-gold-glow: rgba(212, 168, 67, 0.15);

    /* ── Emerald Palette ──────────────────────────── */
    --tm-emerald-700: #047857;
    --tm-emerald-600: #059669;
    --tm-emerald-500: #10b981;
    --tm-emerald-400: #34d399;
    --tm-emerald-300: #6ee7b7;
    --tm-emerald-glow: rgba(16, 185, 129, 0.12);

    /* ── Neutrals ─────────────────────────────────── */
    --tm-white: #ffffff;
    --tm-gray-50:  #f8fafc;
    --tm-gray-100: #f1f5f9;
    --tm-gray-200: #e2e8f0;
    --tm-gray-300: #cbd5e1;
    --tm-gray-400: #94a3b8;
    --tm-gray-500: #64748b;
    --tm-gray-600: #475569;
    --tm-gray-700: #334155;
    --tm-gray-800: #1e293b;

    /* ── Semantic Colors ──────────────────────────── */
    --tm-success: #10b981;
    --tm-warning: #f59e0b;
    --tm-danger:  #ef4444;
    --tm-info:    #3b82f6;

    /* ── Typography ───────────────────────────────── */
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  1.875rem;
    --text-4xl:  2.25rem;
    --text-5xl:  3rem;
    --text-6xl:  3.75rem;
    --text-7xl:  4.5rem;

    --leading-tight:  1.2;
    --leading-snug:   1.35;
    --leading-normal: 1.6;
    --leading-relaxed: 1.75;

    --tracking-tight:  -0.025em;
    --tracking-normal: 0;
    --tracking-wide:   0.05em;
    --tracking-wider:  0.1em;

    /* ── Spacing ──────────────────────────────────── */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-5:  1.25rem;
    --space-6:  1.5rem;
    --space-8:  2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;

    /* ── Layout ───────────────────────────────────── */
    --container-sm:  640px;
    --container-md:  768px;
    --container-lg:  1024px;
    --container-xl:  1280px;
    --container-2xl: 1440px;
    --container-max: 1600px;

    /* ── Shadows ──────────────────────────────────── */
    --shadow-sm:   0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md:   0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg:   0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl:   0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl:  0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-gold: 0 4px 20px rgba(212, 168, 67, 0.25);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.04);
    --shadow-card-hover: 0 8px 30px rgba(0,0,0,0.12);

    /* ── Borders & Radius ─────────────────────────── */
    --radius-sm:   0.25rem;
    --radius-md:   0.5rem;
    --radius-lg:   0.75rem;
    --radius-xl:   1rem;
    --radius-2xl:  1.5rem;
    --radius-full: 9999px;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-light: rgba(0, 0, 0, 0.06);

    /* ── Transitions ──────────────────────────────── */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 150ms;
    --duration-base: 300ms;
    --duration-slow: 500ms;
    --duration-slower: 700ms;

    /* ── Z-Index ──────────────────────────────────── */
    --z-dropdown: 100;
    --z-sticky:   200;
    --z-header:   300;
    --z-overlay:  400;
    --z-modal:    500;
    --z-toast:    600;

    /* ── Header ───────────────────────────────────── */
    --header-height: 90px;
    --header-height-scrolled: 72px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--tm-gray-200); /* Adjusted text color for dark background */
    background: -webkit-linear-gradient(90deg, #120c1a 40%, #1e5a48 90%, #26c48c 110%);
    background: linear-gradient(90deg, #120c1a 40%, #1e5a48 90%, #26c48c 110%);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out);
}

ul, ol { list-style: none; }

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: var(--tm-white);
}

h1 { font-size: var(--text-5xl); letter-spacing: var(--tracking-tight); }
h2 { font-size: var(--text-4xl); letter-spacing: var(--tracking-tight); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
    margin-bottom: var(--space-4);
    color: var(--tm-gray-300);
}

::selection {
    background-color: var(--tm-gold-500);
    color: var(--tm-navy-900);
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--tm-gold-500);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-4);
    z-index: var(--z-toast);
    padding: var(--space-3) var(--space-6);
    background: var(--tm-gold-500);
    color: var(--tm-navy-900);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: top var(--duration-fast);
}
.skip-link:focus {
    top: var(--space-4);
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.tm-container {
    width: 100%;
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

.tm-container--wide {
    max-width: var(--container-2xl);
}

.tm-container--narrow {
    max-width: var(--container-md);
}

.tm-section {
    padding-top: var(--space-24);
    padding-bottom: var(--space-24);
}

.tm-section--sm {
    padding-top: var(--space-16);
    padding-bottom: var(--space-16);
}

.tm-section--lg {
    padding-top: var(--space-32);
    padding-bottom: var(--space-32);
}

.tm-grid {
    display: grid;
    gap: var(--space-8);
}

.tm-grid--2 { grid-template-columns: repeat(2, 1fr); }
.tm-grid--3 { grid-template-columns: repeat(3, 1fr); }
.tm-grid--4 { grid-template-columns: repeat(4, 1fr); }
.tm-grid--6 { grid-template-columns: repeat(6, 1fr); }

.tm-flex {
    display: flex;
    align-items: center;
}

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

.tm-flex--center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-text-center { text-align: center; }
.tm-text-left { text-align: left; }

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.tm-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-16);
}

.tm-section-label {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--tm-gold-500);
    margin-bottom: var(--space-4);
}

.tm-section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--tm-gold-500);
}

.tm-section-title {
    font-size: var(--text-4xl);
    color: var(--tm-white);
    margin-bottom: var(--space-4);
}

.tm-section-title span {
    color: var(--tm-gold-500);
}

.tm-section-subtitle {
    font-size: var(--text-lg);
    color: var(--tm-gray-300);
    line-height: var(--leading-relaxed);
    max-width: 600px;
    margin: 0 auto;
}

/* Dark section variant */
.tm-section--dark .tm-section-title,
.tm-section--dark h2,
.tm-section--dark h3,
.tm-section--dark h4 {
    color: var(--tm-white);
}

.tm-section--dark .tm-section-subtitle,
.tm-section--dark p {
    color: var(--tm-gray-400);
}

.tm-section--dark {
    background-color: var(--tm-navy-900);
    color: var(--tm-gray-300);
}

.tm-section--alt {
    background-color: rgba(255, 255, 255, 0.02);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.tm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    border-radius: var(--radius-md);
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
}

.tm-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--duration-fast);
}

.tm-btn:hover::after {
    opacity: 1;
}

/* Primary — Gold */
.tm-btn--primary {
    background: linear-gradient(135deg, var(--tm-gold-500) 0%, var(--tm-gold-600) 100%);
    color: var(--tm-navy-950);
    box-shadow: var(--shadow-gold);
}

.tm-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.4);
}

/* Secondary — Outline White */
.tm-btn--secondary {
    background: transparent;
    color: var(--tm-white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.tm-btn--secondary:hover {
    border-color: var(--tm-gold-500);
    color: var(--tm-gold-400);
    transform: translateY(-2px);
}

/* Outline Dark — for light backgrounds (Adjusted for dark) */
.tm-btn--outline {
    background: transparent;
    color: var(--tm-white);
    border: 1.5px solid var(--tm-white);
}

.tm-btn--outline:hover {
    background: var(--tm-white);
    color: var(--tm-navy-900);
    transform: translateY(-2px);
}

/* Emerald */
.tm-btn--emerald {
    background: linear-gradient(135deg, var(--tm-emerald-600) 0%, var(--tm-emerald-700) 100%);
    color: var(--tm-white);
}

.tm-btn--emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.3);
}

/* Small */
.tm-btn--sm {
    padding: 10px 22px;
    font-size: var(--text-xs);
}

/* Large */
.tm-btn--lg {
    padding: 18px 40px;
    font-size: var(--text-base);
}

.tm-btn .btn-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--duration-fast) var(--ease-out);
}

.tm-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.tm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    height: var(--header-height);
    transition: all var(--duration-base) var(--ease-out);
    background: transparent;
}

.tm-header.scrolled {
    height: var(--header-height-scrolled);
    background: rgba(7, 11, 25, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.tm-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 var(--space-8);
}

/* Logo */
.tm-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
    text-decoration: none;
}

.tm-logo__icon {
    width: 48px;
    height: 48px;
    transition: transform var(--duration-base) var(--ease-out);
}

.scrolled .tm-logo__icon {
    width: 40px;
    height: 40px;
}

.tm-logo__text {
    display: flex;
    flex-direction: column;
}

.tm-logo__name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--tm-white);
    letter-spacing: var(--tracking-wide);
    line-height: 1;
}

.tm-logo__tagline {
    font-size: 0.6rem;
    color: var(--tm-gold-500);
    letter-spacing: var(--tracking-wider);
    text-transform: uppercase;
    margin-top: 2px;
}

/* Primary Navigation */
.tm-nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.tm-nav__item {
    position: relative;
}

.tm-nav__link {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: var(--tracking-wide);
    transition: color var(--duration-fast);
    white-space: nowrap;
}

.tm-nav__link:hover,
.tm-nav__link--active {
    color: var(--tm-white);
}

.tm-nav__link--active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: var(--space-4);
    right: var(--space-4);
    height: 2px;
    background: var(--tm-gold-500);
    border-radius: 1px;
}

.tm-nav__link .nav-chevron {
    width: 14px;
    height: 14px;
    opacity: 0.5;
    transition: transform var(--duration-fast);
}

.tm-nav__item:hover .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* Mega Menu / Dropdown */
.tm-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 600px;
    padding: var(--space-8);
    background: rgba(7, 11, 25, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-base) var(--ease-out);
    pointer-events: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
}

.tm-nav__item:hover .tm-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.tm-dropdown__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    transition: background var(--duration-fast);
}

.tm-dropdown__item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.tm-dropdown__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--tm-gold-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--tm-gold-500);
    font-size: var(--text-lg);
}

.tm-dropdown__text h4 {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--tm-white);
    margin-bottom: 2px;
}

.tm-dropdown__text p {
    font-size: var(--text-xs);
    color: var(--tm-gray-400);
    margin: 0;
    line-height: 1.4;
}

/* Header Actions */
.tm-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.tm-btn--login {
    padding: 10px 22px;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    transition: all var(--duration-fast);
}

.tm-btn--login:hover {
    border-color: var(--tm-gold-500);
    color: var(--tm-gold-400);
}

.tm-btn--header-cta {
    padding: 10px 24px;
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--tm-gold-500), var(--tm-gold-600));
    color: var(--tm-navy-950);
    border-radius: var(--radius-md);
    transition: all var(--duration-base) var(--ease-out);
}

.tm-btn--header-cta:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.tm-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: var(--space-2);
    cursor: pointer;
    z-index: calc(var(--z-overlay) + 1);
}

.tm-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--tm-white);
    border-radius: 2px;
    transition: all var(--duration-base) var(--ease-out);
    transform-origin: center;
}

.tm-mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.tm-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.tm-mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.tm-mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--tm-navy-900);
    z-index: var(--z-overlay);
    padding: calc(var(--header-height) + var(--space-8)) var(--space-8) var(--space-8);
    overflow-y: auto;
    transition: right var(--duration-slow) var(--ease-out);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.tm-mobile-nav.open {
    right: 0;
}

.tm-mobile-nav__link {
    display: block;
    padding: var(--space-4) 0;
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color var(--duration-fast);
}

.tm-mobile-nav__link:hover {
    color: var(--tm-gold-400);
}

.tm-mobile-nav__cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-8);
}

.tm-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: calc(var(--z-overlay) - 1);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration-base);
}

.tm-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.tm-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--tm-navy-950);
    overflow: hidden;
}

.tm-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.tm-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.tm-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        /*linear-gradient(135deg, rgba(7,11,25,0.92) 0%, rgba(7,11,25,0.7) 50%, rgba(7,11,25,0.85) 100%);*/
        linear-gradient(90deg, rgba(18, 12, 26, 0.5) 40%, rgba(30, 90, 72, 0.5) 90%,rgba(38, 196, 140, 0.5) 110%);
}

/* Animated grid pattern */
.tm-hero__pattern {
    position: absolute;
    inset: 0;
    z-index: 3;
    background-image:
        linear-gradient(rgba(212, 168, 67, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 168, 67, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: patternShift 20s linear infinite;
}

@keyframes patternShift {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

.tm-hero__content {
    position: relative;
    z-index: 4;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: calc(var(--header-height) + var(--space-16)) var(--space-8) var(--space-16);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.tm-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--tm-gold-glow);
    border: 1px solid rgba(212, 168, 67, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--tm-gold-400);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-bottom: var(--space-6);
}

.tm-hero__badge-dot {
    width: 6px;
    height: 6px;
    background: var(--tm-gold-500);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.tm-hero__title {
    font-size: var(--text-6xl);
    font-weight: 700;
    color: var(--tm-white);
    line-height: 1.1;
    margin-bottom: var(--space-6);
    letter-spacing: var(--tracking-tight);
}

.tm-hero__title span {
    background: linear-gradient(135deg, var(--tm-gold-400), var(--tm-gold-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tm-hero__subtitle {
    font-size: var(--text-lg);
    color: var(--tm-gray-400);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-10);
    max-width: 520px;
}

.tm-hero__actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.tm-hero__right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Floating stat cards on the hero right */
.tm-hero-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    color: var(--tm-white);
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.tm-hero-card--1 {
    top: 10%;
    right: 0;
    animation-delay: 0s;
}

.tm-hero-card--2 {
    bottom: 20%;
    left: 0;
    animation-delay: 2s;
}

.tm-hero-card--3 {
    bottom: 5%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.tm-hero-card__value {
    font-size: var(--text-3xl);
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--tm-gold-400);
}

.tm-hero-card__label {
    font-size: var(--text-sm);
    color: var(--tm-gray-400);
    margin-top: var(--space-1);
}

/* Hero scroll indicator */
.tm-hero__scroll {
    position: absolute;
    bottom: var(--space-10);
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--tm-gray-400);
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wide);
    animation: bounce 2s infinite;
}

.tm-hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--tm-gold-500), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ==========================================================================
   TRUST METRICS
   ========================================================================== */

.tm-metrics {
    position: relative;
    background: transparent;
    margin-top: -60px;
    z-index: 5;
}

.tm-metrics__grid {
    --metric-count: 6; /* default, overridden by inline style */
    display: grid;
    grid-template-columns: repeat(var(--metric-count), 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.tm-metric-card {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    position: relative;
    transition: all var(--duration-base) var(--ease-out);
}

.tm-metric-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tm-metric-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 3px;
    background: var(--tm-gold-500);
    border-radius: 2px;
    transition: transform var(--duration-base) var(--ease-out);
}

.tm-metric-card:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.tm-metric-card__icon {
    width: 44px;
    height: 44px;
    margin: 0 auto var(--space-4);
    border-radius: var(--radius-lg);
    background: var(--tm-gold-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tm-gold-500);
    font-size: var(--text-xl);
}

.tm-metric-card__value {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--tm-white);
    margin-bottom: var(--space-1);
}

.tm-metric-card__label {
    font-size: var(--text-sm);
    color: var(--tm-gray-300);
    font-weight: 500;
}

/* ==========================================================================
   INVESTMENT SOLUTIONS CARDS
   ========================================================================== */

.tm-solutions__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.tm-solutions__grid--3col {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.tm-solution-card {
    background-color: var(--tm-gray-900);
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-8) var(--space-6);
    position: relative;
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out);
    display: flex;
    flex-direction: column;
    min-height: 340px;
    justify-content: space-between;
}

.tm-solution-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 18, 26, 0.3) 0%, rgba(12, 18, 26, 0.95) 100%);
    z-index: 1;
    transition: opacity var(--duration-base) var(--ease-out);
}

.tm-solution-card:hover .tm-solution-card__overlay {
    background: linear-gradient(180deg, rgba(12, 18, 26, 0.1) 0%, rgba(12, 18, 26, 0.85) 100%);
}

.tm-solution-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 168, 67, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tm-solution-card__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.tm-solution-card__icon {
    color: var(--tm-gold-400);
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-solution-card__number {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-family: var(--font-body);
}

.tm-solution-card__content {
    position: relative;
    z-index: 2;
    margin-top: auto;
    margin-bottom: var(--space-2);
}

.tm-solution-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--tm-white);
    margin-bottom: var(--space-4);
    letter-spacing: -0.01em;
}

.tm-solution-card__desc {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
    line-height: var(--leading-relaxed);
    margin-bottom: 0;
}

.tm-solution-card__bottom {
    position: absolute;
    bottom: var(--space-8);
    right: var(--space-6);
    z-index: 2;
    color: var(--tm-gold-500);
    opacity: 0.7;
    transition: transform var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out);
}

.tm-solution-card:hover .tm-solution-card__bottom {
    transform: translateX(5px);
    opacity: 1;
}

.tm-solution-card__link {
    position: absolute;
    inset: 0;
    z-index: 10;
}

/* ==========================================================================
   SINGLE SOLUTION STYLES
   ========================================================================== */

.tm-solution-hero {
    position: relative;
    padding: var(--space-32) 0 var(--space-20);
    background-size: cover;
    background-position: center;
    color: var(--tm-white);
    min-height: 500px;
    display: flex;
    align-items: flex-end;
}

.tm-solution-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 18, 26, 0.5) 0%, rgba(12, 18, 26, 0.95) 100%);
    z-index: 1;
}

.tm-solution-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.tm-solution-hero__breadcrumb {
    margin-bottom: var(--space-8);
    display: flex;
    gap: var(--space-3);
    align-items: center;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
}

.tm-solution-hero__breadcrumb a {
    color: var(--tm-gold-500);
}

.tm-solution-hero__breadcrumb a:hover {
    color: var(--tm-gold-400);
}

.tm-solution-hero__header {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.tm-solution-hero__icon {
    color: var(--tm-gold-400);
    opacity: 0.9;
}

.tm-solution-hero__title {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--tm-white);
    margin: 0;
    letter-spacing: -0.02em;
}

.tm-solution-hero__excerpt {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.8);
    line-height: var(--leading-relaxed);
    max-width: 600px;
    margin-bottom: 0;
}

.tm-solution-single__layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-16);
    margin-top: var(--space-12);
}

.tm-solution-single__sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.tm-cta-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-10);
    text-align: center;
}

.tm-cta-card h3 {
    margin-bottom: var(--space-4);
    font-size: var(--text-xl);
    color: var(--tm-white);
}

.tm-cta-card p {
    color: var(--tm-gray-300);
    font-size: var(--text-sm);
    margin-bottom: var(--space-6);
}

.tm-sidebar-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tm-sidebar-nav__list li {
    margin-bottom: var(--space-3);
}

.tm-sidebar-nav__list a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    color: var(--tm-gray-200);
    transition: all var(--duration-fast);
}

.tm-sidebar-nav__list a:hover {
    background: rgba(212, 168, 67, 0.1);
    color: var(--tm-gold-500);
    transform: translateX(4px);
}

.tm-sidebar-nav__icon {
    color: var(--tm-gold-500);
    opacity: 0.7;
}

@media (max-width: 992px) {
    .tm-solution-single__layout {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   WHY INVEST WITH US
   ========================================================================== */

.tm-reasons-banner {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    margin-bottom: -100px; /* Pull the cards up to overlap */
    box-shadow: var(--shadow-2xl);
}

.tm-reasons-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating accent cards on visual */
.tm-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-3);
    animation: float 6s ease-in-out infinite;
    z-index: 5;
}

.tm-float-card--1 { top: 10%; right: 5%; animation-delay: 0s; }
.tm-float-card--2 { bottom: 35%; left: 5%; animation-delay: 2s; }

.tm-float-card__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--tm-emerald-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tm-emerald-600);
    font-size: var(--text-lg);
}

.tm-float-card__text strong {
    display: block;
    font-size: var(--text-sm);
    color: var(--tm-white);
}

.tm-float-card__text span {
    font-size: var(--text-xs);
    color: var(--tm-gray-300);
}

.tm-reasons-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    position: relative;
    z-index: 10;
    padding: 0 var(--space-4);
}

.tm-reason-card-v3 {
    background: rgba(18, 12, 26, 0.85); /* Dark matching the theme */
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    transition: all var(--duration-base) var(--ease-out);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.tm-reason-card-v3:hover {
    transform: translateY(-10px);
    border-color: var(--tm-gold-500);
    background: rgba(18, 12, 26, 0.95);
}

.tm-reason-card-v3__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-5);
    background: rgba(212, 168, 67, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tm-gold-500);
}

.tm-reason-card-v3 h4 {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--tm-white);
    margin-bottom: var(--space-3);
}

.tm-reason-card-v3 p {
    font-size: var(--text-sm);
    color: var(--tm-gray-300);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* ==========================================================================
   INVESTMENT PHILOSOPHY — Timeline
   ========================================================================== */

.tm-philosophy__timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-4);
    position: relative;
    padding-top: var(--space-10);
}

.tm-philosophy__timeline::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.tm-timeline-step {
    text-align: center;
    position: relative;
}

.tm-timeline-step__dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--tm-navy-900);
    border: 3px solid var(--tm-gold-500);
    margin: 0 auto var(--space-6);
    position: relative;
    z-index: 2;
    transition: all var(--duration-base) var(--ease-out);
}

.tm-timeline-step:hover .tm-timeline-step__dot {
    background: var(--tm-gold-500);
    box-shadow: 0 0 0 6px rgba(212, 168, 67, 0.2);
    transform: scale(1.2);
}

.tm-timeline-step__number {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 700;
    color: rgba(212, 168, 67, 0.2);
    margin-bottom: var(--space-2);
}

.tm-timeline-step__title {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--tm-white);
    margin-bottom: var(--space-2);
}

.tm-timeline-step__desc {
    font-size: var(--text-xs);
    color: var(--tm-gray-300);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* ==========================================================================
   GLOBAL REACH — MAP
   ========================================================================== */

.tm-global-reach {
    position: relative;
}

.tm-world-map {
    position: relative;
    max-width: 900px;
    margin: 0 auto var(--space-12);
}

.tm-world-map svg {
    width: 100%;
    height: auto;
}

.tm-world-map__dot {
    fill: var(--tm-gold-500);
    animation: mapPulse 3s infinite;
}

@keyframes mapPulse {
    0%, 100% { r: 5; opacity: 1; }
    50% { r: 8; opacity: 0.6; }
}

.tm-regions__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-4);
}

.tm-region-card {
    background: var(--tm-navy-800);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    transition: all var(--duration-base) var(--ease-out);
}

.tm-region-card:hover {
    border-color: var(--tm-gold-500);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(212, 168, 67, 0.1);
}

.tm-region-card__name {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--tm-white);
    margin-bottom: var(--space-2);
}

.tm-region-card__stat {
    font-size: var(--text-xs);
    color: var(--tm-gold-400);
}

/* ==========================================================================
   FEATURED OPPORTUNITIES
   ========================================================================== */

.tm-opportunities__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.tm-opportunity-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out);
}

.tm-opportunity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    background: rgba(255, 255, 255, 0.1);
}

.tm-opportunity-card__header {
    background: linear-gradient(135deg, var(--tm-navy-900), var(--tm-navy-700));
    padding: var(--space-6);
    position: relative;
    overflow: hidden;
}

.tm-opportunity-card__header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, var(--tm-gold-glow) 0%, transparent 60%);
}

.tm-opportunity-card__category {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: rgba(212, 168, 67, 0.15);
    border: 1px solid rgba(212, 168, 67, 0.3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--tm-gold-400);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-3);
    position: relative;
    z-index: 1;
}

.tm-opportunity-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--tm-white);
    position: relative;
    z-index: 1;
}

.tm-opportunity-card__body {
    padding: var(--space-6);
}

.tm-opportunity-card__meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.tm-opportunity-card__meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tm-opportunity-card__meta-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.tm-opportunity-card__meta-label {
    font-size: var(--text-sm);
    color: var(--tm-gray-300);
}

.tm-opportunity-card__meta-value {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--tm-white);
}

/* Risk level indicator */
.tm-risk-meter {
    display: flex;
    gap: 3px;
    align-items: center;
}

.tm-risk-meter__bar {
    width: 20px;
    height: 6px;
    border-radius: 3px;
    background: var(--tm-gray-200);
}

.tm-risk-meter--low .tm-risk-meter__bar:nth-child(-n+2) {
    background: var(--tm-emerald-500);
}

.tm-risk-meter--medium .tm-risk-meter__bar:nth-child(-n+3) {
    background: var(--tm-warning);
}

.tm-risk-meter--high .tm-risk-meter__bar:nth-child(-n+5) {
    background: var(--tm-danger);
}

.tm-opportunity-card__cta {
    display: block;
    text-align: center;
    padding: var(--space-3) var(--space-6);
    margin-top: var(--space-5);
    border: 1.5px solid var(--tm-white);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--tm-white);
    transition: all var(--duration-fast);
}

.tm-opportunity-card:hover .tm-opportunity-card__cta {
    background: var(--tm-white);
    color: var(--tm-navy-900);
}

/* ==========================================================================
   MARKET INSIGHTS
   ========================================================================== */

.tm-insights__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.tm-insight-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--duration-base) var(--ease-out);
}

.tm-insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    background: rgba(255, 255, 255, 0.1);
}

.tm-insight-card__image {
    height: 220px;
    overflow: hidden;
}

.tm-insight-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.tm-insight-card:hover .tm-insight-card__image img {
    transform: scale(1.05);
}

.tm-insight-card__content {
    padding: var(--space-6);
}

.tm-insight-card__tag {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--tm-gold-glow);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--tm-gold-600);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-3);
}

.tm-insight-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--tm-white);
    margin-bottom: var(--space-3);
    line-height: var(--leading-snug);
}

.tm-insight-card__excerpt {
    font-size: var(--text-sm);
    color: var(--tm-gray-300);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
}

.tm-insight-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-insight-card__date {
    font-size: var(--text-xs);
    color: var(--tm-gray-400);
}

.tm-insight-card__read-more {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--tm-gold-600);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
}

.tm-insight-card:hover .tm-insight-card__read-more {
    color: var(--tm-gold-500);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.tm-testimonials {
    position: relative;
    overflow: hidden;
}

.tm-testimonials__track {
    display: flex;
    transition: transform var(--duration-slow) var(--ease-out);
}

.tm-testimonial-slide {
    min-width: 100%;
    padding: 0 var(--space-8);
}

.tm-testimonial-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.tm-testimonial-card__quote-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-8);
    color: var(--tm-gold-300);
    opacity: 0.5;
}

.tm-testimonial-card__text {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--tm-white);
    line-height: var(--leading-snug);
    margin-bottom: var(--space-8);
    font-style: italic;
}

.tm-section--dark .tm-testimonial-card__text {
    color: var(--tm-white);
}

.tm-testimonial-card__author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.tm-testimonial-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tm-gold-500), var(--tm-gold-600));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--tm-navy-900);
}

.tm-testimonial-card__name {
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--tm-white);
}

.tm-section--dark .tm-testimonial-card__name {
    color: var(--tm-white);
}

.tm-testimonial-card__role {
    font-size: var(--text-sm);
    color: var(--tm-gray-500);
}

.tm-testimonials__dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-10);
}

.tm-testimonials__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--tm-gray-300);
    cursor: pointer;
    transition: all var(--duration-fast);
    border: none;
}

.tm-testimonials__dot.active {
    background: var(--tm-gold-500);
    transform: scale(1.2);
}

.tm-section--dark .tm-testimonials__dot {
    background: var(--tm-navy-500);
}

.tm-section--dark .tm-testimonials__dot.active {
    background: var(--tm-gold-500);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.tm-faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.tm-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tm-faq-item__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-6) 0;
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--tm-white);
    text-align: left;
    cursor: pointer;
    background: none;
    border: none;
    transition: color var(--duration-fast);
}

.tm-faq-item__question:hover {
    color: var(--tm-gold-600);
}

.tm-faq-item__icon {
    width: 24px;
    height: 24px;
    color: var(--tm-gold-500);
    transition: transform var(--duration-base) var(--ease-out);
    flex-shrink: 0;
}

.tm-faq-item.active .tm-faq-item__icon {
    transform: rotate(45deg);
}

.tm-faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--duration-slow) var(--ease-out),
                padding var(--duration-slow) var(--ease-out);
}

.tm-faq-item.active .tm-faq-item__answer {
    max-height: 500px;
}

.tm-faq-item__answer-inner {
    padding-bottom: var(--space-6);
}

.tm-faq-item__answer p {
    font-size: var(--text-base);
    color: var(--tm-gray-300);
    line-height: var(--leading-relaxed);
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */

.tm-final-cta {
    position: relative;
    background: linear-gradient(135deg, var(--tm-navy-900) 0%, var(--tm-navy-800) 50%, #0a2e3a 100%);
    text-align: center;
    overflow: hidden;
}

.tm-final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(16, 185, 129, 0.06) 0%, transparent 50%);
}

.tm-final-cta__content {
    position: relative;
    z-index: 1;
}

.tm-final-cta__title {
    font-size: var(--text-4xl);
    color: var(--tm-white);
    margin-bottom: var(--space-4);
}

.tm-final-cta__title span {
    background: linear-gradient(135deg, var(--tm-gold-400), var(--tm-gold-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tm-final-cta__subtitle {
    font-size: var(--text-lg);
    color: var(--tm-gray-400);
    margin-bottom: var(--space-10);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tm-final-cta__actions {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.tm-footer {
    background: var(--tm-navy-950);
    color: var(--tm-gray-400);
}

.tm-footer__main {
    padding: var(--space-20) 0 var(--space-12);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-12);
}

.tm-footer__brand p {
    font-size: var(--text-sm);
    color: var(--tm-gray-400);
    line-height: var(--leading-relaxed);
    margin: var(--space-5) 0 var(--space-6);
    max-width: 300px;
}

.tm-footer__social {
    display: flex;
    gap: var(--space-3);
}

.tm-footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tm-gray-400);
    font-size: var(--text-lg);
    transition: all var(--duration-fast);
}

.tm-footer__social-link:hover {
    border-color: var(--tm-gold-500);
    color: var(--tm-gold-500);
    background: var(--tm-gold-glow);
}

.tm-footer__heading {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--tm-white);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-bottom: var(--space-6);
}

.tm-footer__links li {
    margin-bottom: var(--space-3);
}

.tm-footer__links a {
    font-size: var(--text-sm);
    color: var(--tm-gray-400);
    transition: color var(--duration-fast);
}

.tm-footer__links a:hover {
    color: var(--tm-gold-400);
}

.tm-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: var(--text-sm);
}

.tm-footer__contact-icon {
    color: var(--tm-gold-500);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Newsletter bar */
.tm-footer__newsletter {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: var(--space-8) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.tm-footer__newsletter h4 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--tm-white);
    white-space: nowrap;
}

.tm-footer__newsletter p {
    font-size: var(--text-sm);
    color: var(--tm-gray-400);
    margin: 0;
}

.tm-newsletter-form {
    display: flex;
    gap: var(--space-2);
    flex: 1;
    max-width: 420px;
}

.tm-newsletter-form input {
    flex: 1;
    padding: 12px var(--space-5);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--tm-white);
    font-size: var(--text-sm);
    outline: none;
    transition: border-color var(--duration-fast);
}

.tm-newsletter-form input::placeholder {
    color: var(--tm-gray-500);
}

.tm-newsletter-form input:focus {
    border-color: var(--tm-gold-500);
}

.tm-newsletter-form button {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--tm-gold-500), var(--tm-gold-600));
    color: var(--tm-navy-950);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-md);
    white-space: nowrap;
    transition: all var(--duration-fast);
}

.tm-newsletter-form button:hover {
    box-shadow: var(--shadow-gold);
}

/* Bottom bar */
.tm-footer__bottom {
    padding: var(--space-6) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-xs);
    color: var(--tm-gray-500);
}

.tm-footer__bottom-links {
    display: flex;
    gap: var(--space-6);
}

.tm-footer__bottom-links a {
    font-size: var(--text-xs);
    color: var(--tm-gray-500);
    transition: color var(--duration-fast);
}

.tm-footer__bottom-links a:hover {
    color: var(--tm-gold-400);
}

/* Back to top */
.tm-back-to-top {
    position: fixed;
    bottom: var(--space-8);
    right: var(--space-8);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--tm-navy-900);
    color: var(--tm-gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-sticky);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--duration-base) var(--ease-out);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tm-back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tm-back-to-top:hover {
    background: var(--tm-gold-500);
    color: var(--tm-navy-900);
}

/* ==========================================================================
   INNER PAGE — Hero Banner
   ========================================================================== */

.tm-page-hero {
    background: var(--tm-navy-900);
    padding: calc(var(--header-height) + var(--space-16)) 0 var(--space-16);
    position: relative;
    overflow: hidden;
}

.tm-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 80%, rgba(212, 168, 67, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 20%, rgba(16, 185, 129, 0.04) 0%, transparent 50%);
}

.tm-page-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.tm-page-hero__breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--tm-gray-400);
    margin-bottom: var(--space-6);
}

.tm-page-hero__breadcrumb a {
    color: var(--tm-gold-400);
}

.tm-page-hero__breadcrumb a:hover {
    color: var(--tm-gold-300);
}

.tm-page-hero__title {
    font-size: var(--text-5xl);
    color: var(--tm-white);
    margin-bottom: var(--space-4);
}

.tm-page-hero__subtitle {
    font-size: var(--text-lg);
    color: var(--tm-gray-400);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.tm-about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.tm-about-intro__image {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.tm-about-intro__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mission & Vision cards */
.tm-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
}

.tm-mv-card {
    padding: var(--space-10);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.tm-mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--tm-gold-500), var(--tm-gold-600));
}

.tm-mv-card__label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--tm-gold-600);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    margin-bottom: var(--space-3);
}

.tm-mv-card__title {
    font-size: var(--text-2xl);
    color: var(--tm-white);
    margin-bottom: var(--space-4);
}

.tm-mv-card__text {
    color: var(--tm-gray-300);
    line-height: var(--leading-relaxed);
}

/* Team Grid */
.tm-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
}

.tm-team-card {
    text-align: center;
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--duration-base) var(--ease-out);
}

.tm-team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    background: rgba(255, 255, 255, 0.1);
}

.tm-team-card__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto var(--space-5);
    overflow: hidden;
    border: 3px solid var(--tm-gold-200);
}

.tm-team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-team-card__name {
    font-size: var(--text-lg);
    color: var(--tm-white);
    margin-bottom: var(--space-1);
}

.tm-team-card__title {
    font-size: var(--text-sm);
    color: var(--tm-gold-600);
    margin-bottom: var(--space-3);
}

.tm-team-card__bio {
    font-size: var(--text-sm);
    color: var(--tm-gray-300);
    line-height: var(--leading-relaxed);
    margin: 0;
}

/* ==========================================================================
   PORTFOLIO PAGE
   ========================================================================== */

/* CSS Donut Chart */
.tm-donut-chart {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    position: relative;
    margin: 0 auto;
}

.tm-donut-chart__center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--tm-navy-900);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.tm-portfolio-allocation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.tm-allocation-legend {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.tm-allocation-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.tm-allocation-item__color {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.tm-allocation-item__label {
    flex: 1;
    font-size: var(--text-sm);
    color: var(--tm-gray-300);
}

.tm-allocation-item__value {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--tm-white);
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.tm-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
}

.tm-contact-info-card {
    padding: var(--space-8);
    background: var(--tm-navy-900);
    border-radius: var(--radius-xl);
    color: var(--tm-white);
}

.tm-contact-info-card h3 {
    font-size: var(--text-2xl);
    color: var(--tm-white);
    margin-bottom: var(--space-2);
}

.tm-contact-info-card > p {
    color: var(--tm-gray-400);
    margin-bottom: var(--space-8);
}

.tm-contact-info-item {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.tm-contact-info-item__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--tm-gold-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--tm-gold-500);
    flex-shrink: 0;
}

.tm-contact-info-item__label {
    font-size: var(--text-xs);
    color: var(--tm-gray-400);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin-bottom: var(--space-1);
}

.tm-contact-info-item__value {
    font-size: var(--text-base);
    color: var(--tm-white);
}

/* Contact Form */
.tm-contact-form {
    padding: var(--space-10);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
}

.tm-form-group {
    margin-bottom: var(--space-5);
}

.tm-form-group label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--tm-white);
    margin-bottom: var(--space-2);
}

.tm-form-group input,
.tm-form-group select,
.tm-form-group textarea {
    width: 100%;
    padding: 14px var(--space-5);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--tm-white);
    font-size: var(--text-base);
    transition: border-color var(--duration-fast);
    outline: none;
}

.tm-form-group input:focus,
.tm-form-group select:focus,
.tm-form-group textarea:focus {
    border-color: var(--tm-gold-500);
    box-shadow: 0 0 0 3px var(--tm-gold-glow);
}

.tm-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.tm-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
}

/* ==========================================================================
   SINGLE POST / INSIGHTS
   ========================================================================== */

.tm-article {
    max-width: 780px;
    margin: 0 auto;
}

.tm-article__featured-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: var(--space-10);
    box-shadow: var(--shadow-lg);
}

.tm-article__meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}

.tm-article__category {
    padding: var(--space-1) var(--space-3);
    background: var(--tm-gold-glow);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--tm-gold-600);
    text-transform: uppercase;
}

.tm-article__date {
    font-size: var(--text-sm);
    color: var(--tm-gray-400);
}

.tm-article__content {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--tm-gray-300);
}

.tm-article__content .tm-lead {
    font-size: 1.25rem;
    color: var(--tm-gray-300);
    margin-bottom: var(--space-8);
    line-height: 1.8;
}

.tm-article__content h2 {
    color: var(--tm-gold-500);
    font-size: 2rem;
    margin-top: var(--space-12);
    margin-bottom: var(--space-6);
    font-family: var(--font-heading);
}

.tm-article__content h3 {
    font-size: 1.25rem;
    color: var(--tm-white);
    margin-top: var(--space-8);
    margin-bottom: var(--space-2);
}

.tm-article__content p {
    margin-bottom: var(--space-6);
}

.tm-article__content hr {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: var(--space-12) 0;
}

.tm-article__content ul, .tm-article__content ol {
    margin-bottom: var(--space-6);
    padding-left: var(--space-6);
}

.tm-article__content li {
    margin-bottom: var(--space-3);
}

.tm-article__content ul li {
    list-style: none;
    position: relative;
}

.tm-article__content ul li::before {
    content: '•';
    position: absolute;
    left: -1.25rem;
    color: var(--tm-gold-500);
    font-size: 1.5em;
    line-height: 1;
    top: -0.1em;
}

.tm-article__content ul.tm-checklist li::before {
    content: '✓';
    font-size: 1em;
    top: 0;
}

.tm-article__content ol li {
    list-style: decimal;
}

.tm-approach-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-10);
    margin: var(--space-12) 0;
}

.tm-approach-box h2 {
    text-align: center;
    margin-top: 0;
}

.tm-approach-item {
    margin-bottom: var(--space-6);
}

.tm-approach-item:last-child {
    margin-bottom: 0;
}

.tm-approach-item p {
    margin-bottom: 0;
}

.tm-article__content blockquote {
    border-left: 4px solid var(--tm-gold-500);
    padding: var(--space-5) var(--space-8);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: var(--space-8) 0;
    font-style: italic;
    color: var(--tm-white);
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */

.tm-404 {
    text-align: center;
    padding: var(--space-32) var(--space-8);
}

.tm-404__number {
    font-family: var(--font-heading);
    font-size: 10rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--tm-gold-400), var(--tm-gold-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-4);
}

.tm-404__title {
    font-size: var(--text-3xl);
    color: var(--tm-white);
    margin-bottom: var(--space-4);
}

.tm-404__text {
    font-size: var(--text-lg);
    color: var(--tm-gray-300);
    margin-bottom: var(--space-8);
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */

.tm-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slower) var(--ease-out),
                transform var(--duration-slower) var(--ease-out);
}

.tm-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.tm-reveal--delay-1 { transition-delay: 100ms; }
.tm-reveal--delay-2 { transition-delay: 200ms; }
.tm-reveal--delay-3 { transition-delay: 300ms; }
.tm-reveal--delay-4 { transition-delay: 400ms; }
.tm-reveal--delay-5 { transition-delay: 500ms; }
.tm-reveal--delay-6 { transition-delay: 600ms; }

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* ── Tablet (≤ 1024px) ──────────────────────── */
@media (max-width: 1024px) {
    :root {
        --header-height: 72px;
        --header-height-scrolled: 64px;
    }

    h1, .tm-hero__title { font-size: var(--text-4xl); }
    h2, .tm-section-title { font-size: var(--text-3xl); }

    .tm-nav,
    .tm-header__actions { display: none; }

    .tm-mobile-toggle { display: flex; }

    .tm-hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: calc(var(--header-height) + var(--space-12));
    }

    .tm-hero__subtitle { margin: 0 auto var(--space-10); }
    .tm-hero__actions { justify-content: center; }
    .tm-hero__right { display: none; }

    .tm-metrics__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }

    .tm-solutions__grid { grid-template-columns: repeat(2, 1fr); }

    .tm-why-invest { grid-template-columns: 1fr; }
    .tm-why-invest__visual { order: -1; min-height: 350px; }

    .tm-philosophy__timeline { grid-template-columns: repeat(3, 1fr); }

    .tm-regions__grid { grid-template-columns: repeat(3, 1fr); }

    .tm-opportunities__grid { grid-template-columns: repeat(2, 1fr); }

    .tm-insights__grid { grid-template-columns: repeat(2, 1fr); }

    .tm-footer__main { grid-template-columns: repeat(2, 1fr); }

    .tm-about-intro { grid-template-columns: 1fr; }

    .tm-team-grid { grid-template-columns: repeat(2, 1fr); }

    .tm-contact-grid { grid-template-columns: 1fr; }

    .tm-portfolio-allocation { grid-template-columns: 1fr; }

    .tm-dropdown { min-width: 400px; }
}

/* ── Mobile (≤ 768px) ───────────────────────── */
@media (max-width: 768px) {
    .tm-section { padding-top: var(--space-16); padding-bottom: var(--space-16); }
    .tm-section--lg { padding-top: var(--space-20); padding-bottom: var(--space-20); }

    h1, .tm-hero__title { font-size: var(--text-3xl); }
    h2, .tm-section-title { font-size: var(--text-2xl); }

    .tm-hero { min-height: 90vh; }

    .tm-hero__badge { font-size: 0.65rem; }

    .tm-metrics__grid { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

    .tm-solutions__grid { grid-template-columns: 1fr; }

    .tm-why-invest__features { grid-template-columns: 1fr; }

    .tm-philosophy__timeline { grid-template-columns: repeat(2, 1fr); }

    .tm-regions__grid { grid-template-columns: repeat(2, 1fr); }

    .tm-opportunities__grid { grid-template-columns: 1fr; }

    .tm-insights__grid { grid-template-columns: 1fr; }

    .tm-testimonial-card__text { font-size: var(--text-xl); }

    .tm-footer__main { grid-template-columns: 1fr; gap: var(--space-8); }

    .tm-footer__newsletter {
        flex-direction: column;
        text-align: center;
    }

    .tm-newsletter-form { max-width: 100%; }

    .tm-footer__bottom {
        flex-direction: column;
        gap: var(--space-3);
        text-align: center;
    }

    .tm-mv-grid { grid-template-columns: 1fr; }

    .tm-team-grid { grid-template-columns: 1fr; }

    .tm-form-row { grid-template-columns: 1fr; }

    .tm-page-hero__title { font-size: var(--text-3xl); }

    .tm-404__number { font-size: 6rem; }

    .tm-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .tm-final-cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .tm-final-cta__title { font-size: var(--text-2xl); }
}

/* ── Small Mobile (≤ 480px) ─────────────────── */
@media (max-width: 480px) {
    .tm-container { padding-left: var(--space-4); padding-right: var(--space-4); }

    h1, .tm-hero__title { font-size: var(--text-2xl); }

    .tm-metrics__grid { grid-template-columns: 1fr; }

    .tm-philosophy__timeline { grid-template-columns: 1fr; }

    .tm-regions__grid { grid-template-columns: 1fr; }

    .tm-btn { padding: 12px 24px; font-size: var(--text-xs); }
    .tm-btn--lg { padding: 14px 28px; font-size: var(--text-sm); }
}

/* ── Large Desktop (≥ 1440px) ───────────────── */
@media (min-width: 1440px) {
    .tm-hero__title { font-size: var(--text-7xl); }
}

/* ==========================================================================
   INNER PAGE HERO BANNER
   ========================================================================== */

.tm-page-hero {
    position: relative;
    padding-top: calc(var(--header-height) + var(--space-20));
    padding-bottom: var(--space-20);
    background-color: var(--tm-navy-900);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
}

/* Gradient overlay */
.tm-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(7, 11, 25, 0.6) 0%,
        rgba(7, 11, 25, 0.75) 40%,
        rgba(7, 11, 25, 0.92) 100%
    );
    z-index: 1;
}

/* Subtle pattern overlay */
.tm-page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 25% 50%, rgba(212, 168, 67, 0.04) 0%, transparent 60%),
                      radial-gradient(circle at 75% 30%, rgba(212, 168, 67, 0.03) 0%, transparent 50%);
    z-index: 2;
}

.tm-page-hero .tm-container {
    position: relative;
    z-index: 3;
}

.tm-page-hero__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.tm-page-hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--tm-gray-400);
    margin-bottom: var(--space-6);
    font-weight: 500;
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
}

.tm-page-hero__breadcrumb a {
    color: var(--tm-gold-500);
    transition: color var(--duration-fast);
}

.tm-page-hero__breadcrumb a:hover {
    color: var(--tm-gold-400);
}

.tm-page-hero__breadcrumb span {
    color: var(--tm-gray-500);
}

.tm-page-hero__title {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--tm-white);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-4);
}

.tm-page-hero__title span {
    color: var(--tm-gold-500);
}

.tm-page-hero__subtitle {
    font-size: var(--text-lg);
    color: var(--tm-gray-300);
    line-height: var(--leading-relaxed);
    max-width: 600px;
    margin: 0 auto;
}

/* Decorative bottom gold line */
.tm-page-hero .tm-container::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--tm-gold-500), var(--tm-gold-400));
    border-radius: 2px;
    margin: var(--space-8) auto 0;
}

/* Page-specific hero backgrounds — using WordPress page-slug body classes */
.page-template-page-about .tm-page-hero,
.page-template-page-about-php .tm-page-hero,
body.page-slug-about .tm-page-hero {
    background-image: url('assets/images/hero-about.png');
}
.page-template-page-solutions .tm-page-hero,
.page-template-page-solutions-php .tm-page-hero,
body.page-slug-investment-solutions .tm-page-hero {
    background-image: url('assets/images/hero-solutions.png');
}
.page-template-page-portfolio .tm-page-hero,
.page-template-page-portfolio-php .tm-page-hero,
body.page-slug-portfolio .tm-page-hero {
    background-image: url('assets/images/hero-portfolio.png');
}
.page-template-page-contact .tm-page-hero,
.page-template-page-contact-php .tm-page-hero,
body.page-slug-contact .tm-page-hero {
    background-image: url('assets/images/hero-contact.png');
}
.page-template-page-insights .tm-page-hero,
.page-template-page-insights-php .tm-page-hero,
body.page-slug-insights .tm-page-hero {
    background-image: url('assets/images/hero-insights.png');
}
.page-template-page-resources .tm-page-hero,
.page-template-page-resources-php .tm-page-hero,
body.page-slug-resources .tm-page-hero {
    background-image: url('assets/images/hero-resources.png');
}

/* Fallback for generic pages */
.page .tm-page-hero {
    background-image: url('assets/images/hero-about.png');
}

/* ==========================================================================
   ABOUT PAGE — INTRO LAYOUT
   ========================================================================== */

.tm-about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    margin-bottom: var(--space-24);
}

.tm-about-intro:last-child {
    margin-bottom: 0;
}

.tm-about-intro__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    min-height: 450px;
    height: 100%;
}

.tm-about-intro__image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(212, 168, 67, 0.15);
    pointer-events: none;
    z-index: 2;
}

/* Handle WordPress wpautop <p> wrappers and ensure image fills container */
.tm-about-intro__image p {
    margin: 0 !important;
    padding: 0 !important;
}

.tm-about-intro__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-xl);
    transition: transform var(--duration-slow) var(--ease-out);
    margin: 0 !important;
}

.tm-about-intro:hover .tm-about-intro__image img {
    transform: scale(1.03);
}

/* Reversed layout (text left, image right) */
.tm-about-intro--reversed {
    direction: ltr;
}

.tm-about-intro--reversed > :first-child {
    order: 1;
}

.tm-about-intro--reversed > :last-child {
    order: 2;
}

/* About Quote */
.tm-about-quote {
    border-left: 3px solid var(--tm-gold-400);
    padding-left: var(--space-4);
    margin-top: var(--space-6);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--tm-gold-500);
    line-height: var(--leading-snug);
    font-style: italic;
}

/* About Features */
.tm-about-features {
    margin-top: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.tm-about-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
}

.tm-about-feature__icon {
    color: var(--tm-gold-500);
    background: rgba(212, 168, 67, 0.1);
    padding: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-about-feature__content strong {
    color: var(--tm-white);
    display: block;
    font-size: var(--text-lg);
    margin-bottom: 4px;
}

.tm-about-feature__content span {
    color: var(--tm-gray-300);
    line-height: var(--leading-relaxed);
}

/* Team Grid */
.tm-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.tm-team-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--duration-base) var(--ease-out);
    box-shadow: var(--shadow-card);
}

.tm-team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(212, 168, 67, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.tm-team-card__photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.tm-team-card__name {
    font-size: var(--text-xl);
    color: var(--tm-white);
    margin: var(--space-4) var(--space-5) var(--space-1);
}

.tm-team-card__title {
    display: block;
    font-size: var(--text-sm);
    color: var(--tm-gold-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    margin: 0 var(--space-5);
}

.tm-team-card__bio {
    padding: var(--space-4) var(--space-5) var(--space-6);
    font-size: var(--text-sm);
    color: var(--tm-gray-300);
    line-height: var(--leading-relaxed);
}

.tm-team-card__bio p {
    font-size: var(--text-sm);
    margin-bottom: 0;
}

/* ==========================================================================
   INNER PAGE CONTENT STYLING
   ========================================================================== */

/* Ensure inner pages have proper WordPress content styling */
.tm-section .entry-content h2,
.tm-section .entry-content h3,
.tm-section .entry-content h4 {
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.tm-section .entry-content p {
    margin-bottom: var(--space-4);
    line-height: var(--leading-relaxed);
}

.tm-section .entry-content ul,
.tm-section .entry-content ol {
    margin-bottom: var(--space-4);
    padding-left: var(--space-6);
}

.tm-section .entry-content li {
    margin-bottom: var(--space-2);
}

.tm-section .entry-content img {
    border-radius: var(--radius-xl);
}

/* ==========================================================================
   INNER PAGE RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 1024px) {
    .tm-about-intro {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .tm-about-intro[style*="direction:rtl"] {
        direction: ltr !important;
    }

    .tm-about-intro[style*="direction:rtl"] > * {
        direction: ltr !important;
        padding-right: 0 !important;
    }

    .tm-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tm-page-hero__title {
        font-size: var(--text-4xl);
    }

    .tm-page-hero {
        min-height: 320px;
        padding-top: calc(var(--header-height) + var(--space-16));
        padding-bottom: var(--space-16);
    }
}

@media (max-width: 768px) {
    .tm-team-grid {
        grid-template-columns: 1fr;
    }

    .tm-page-hero__title {
        font-size: var(--text-3xl);
    }

    .tm-page-hero {
        min-height: 280px;
        padding-top: calc(var(--header-height) + var(--space-12));
        padding-bottom: var(--space-12);
    }

    .tm-about-intro__image img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .tm-page-hero__title {
        font-size: var(--text-2xl);
    }

    .tm-about-intro__image img {
        height: 220px;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .tm-header, .tm-footer, .tm-back-to-top,
    .tm-hero__pattern, .tm-hero__scroll { display: none; }
    body { color: #000; }
    a { text-decoration: underline; }
}

/* ==========================================================================
   INVESTMENT PLAN PAGE
   ========================================================================== */

.tm-invest-wrapper {
    color: var(--tm-gray-300);
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.tm-invest-header {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(7, 11, 25, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.tm-invest-header h2 {
    color: var(--tm-gold-500);
    font-size: 2.8rem;
    margin-bottom: 1rem;
    margin-top: 0;
    font-weight: 700;
}

.tm-invest-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    color: var(--tm-white);
}

.tm-plan-section-title {
    font-size: 2rem;
    color: var(--tm-white);
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.tm-plan-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--tm-gold-500);
    border-radius: 2px;
}

/* Grids - Fixed for symmetry */
.tm-plan-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

.tm-plan-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

@media (max-width: 900px) {
    .tm-plan-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .tm-plan-grid-2, .tm-plan-grid-3 { grid-template-columns: 1fr; }
}

/* Info Cards */
.tm-plan-card {
    background: rgba(7, 11, 25, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-top: 4px solid var(--tm-gold-500);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tm-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 168, 67, 0.1);
    border-color: rgba(212, 168, 67, 0.3);
}

.tm-plan-card h3 {
    color: var(--tm-white);
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.tm-plan-card-highlight {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tm-plan-card-highlight h4 {
    margin: 0 0 0.5rem 0;
    color: var(--tm-gray-300);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tm-plan-card-highlight p {
    margin: 0;
    font-size: 1.5rem;
    color: var(--tm-gold-500);
    font-weight: 700;
}

/* Calculator */
.tm-plan-calc-container {
    margin-bottom: 4rem;
}

.tm-plan-calc-box {
    background: rgba(7, 11, 25, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    display: flex;
    overflow: hidden;
}

@media (max-width: 768px) {
    .tm-plan-calc-box { flex-direction: column; }
}

.tm-plan-calc-input-area {
    padding: 3rem;
    flex: 3;
    border-right: 1px solid rgba(255,255,255,0.05);
}
@media (max-width: 768px) {
    .tm-plan-calc-input-area { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); padding: 2rem; }
}

.tm-plan-calc-result-area {
    padding: 3rem;
    flex: 2;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 768px) {
    .tm-plan-calc-result-area { padding: 2rem; }
}

.tm-plan-calc-input-area label {
    display: block;
    color: var(--tm-gray-300);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.tm-plan-calc-amount-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--tm-gold-500);
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.tm-plan-slider {
    width: 100%;
    -webkit-appearance: none;
    background: rgba(255,255,255,0.1);
    height: 8px;
    border-radius: 4px;
    outline: none;
    margin-bottom: 3rem;
}

.tm-plan-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--tm-gold-500);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(212, 168, 67, 0.5);
    border: 3px solid #111;
}

.tm-plan-toggle-group {
    display: flex;
    gap: 1rem;
}

@media (max-width: 480px) {
    .tm-plan-toggle-group { flex-direction: column; }
}

.tm-plan-toggle-group input[type="radio"] { display: none !important; opacity: 0 !important; appearance: none !important; width: 0 !important; margin: 0 !important; position: absolute !important; z-index: -1 !important; }

.tm-plan-toggle-group label {
    flex: 1;
    display: inline-block !important;
    text-align: center;
    padding: 1rem !important;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    color: var(--tm-gray-300) !important;
    box-sizing: border-box !important;
    transform: none !important;
}

.tm-plan-toggle-group input[type="radio"]:checked + label {
    background: var(--tm-gold-500) !important;
    border-color: var(--tm-gold-500) !important;
    color: #030711 !important;
    box-shadow: none !important;
}

.tm-plan-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tm-plan-result-item span {
    color: var(--tm-gray-300);
    font-size: 1.1rem;
}

.tm-plan-result-item strong {
    color: var(--tm-white);
    font-size: 1.4rem;
}

.tm-plan-result-item.highlight {
    border-bottom: none;
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(212, 168, 67, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(212, 168, 67, 0.3);
}

.tm-plan-result-item.highlight span {
    color: var(--tm-gold-400);
    font-weight: 600;
}

.tm-plan-result-item.highlight strong {
    color: var(--tm-gold-500);
    font-size: 1.8rem;
}

.tm-plan-calc-note {
    font-size: 0.85rem;
    color: var(--tm-gray-400);
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

/* Table */
.tm-plan-table-wrap {
    overflow-x: auto;
    margin-bottom: 4rem;
    background: rgba(7, 11, 25, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tm-plan-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.tm-plan-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--tm-white);
    text-align: left;
    padding: 1.5rem;
    font-weight: 700;
    border-bottom: 2px solid rgba(212, 168, 67, 0.3);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.tm-plan-table td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--tm-gray-300);
    vertical-align: middle;
}

.tm-plan-table tr:last-child td {
    border-bottom: none;
}

.tm-plan-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.tm-plan-roi-badge {
    background: rgba(212, 168, 67, 0.15);
    color: var(--tm-gold-400);
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(212, 168, 67, 0.3);
}

/* Alerts */
.tm-plan-alert {
    background: rgba(212, 168, 67, 0.05);
    border-left: 4px solid var(--tm-gold-500);
    padding: 1.5rem 2rem;
    border-radius: 0 12px 12px 0;
    margin-bottom: 3rem;
    border-top: 1px solid rgba(255,255,255,0.02);
    border-right: 1px solid rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.tm-plan-alert p {
    margin: 0;
    color: var(--tm-gray-200);
    font-size: 1.1rem;
}

.tm-plan-alert p strong {
    color: var(--tm-gold-400);
}

/* Schedules */
.tm-plan-schedule-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
}

.tm-plan-schedule-box:hover {
    border-left-color: var(--tm-gold-500);
}

.tm-plan-schedule-box strong {
    color: var(--tm-white);
}

.tm-plan-schedule-box span {
    color: var(--tm-gold-500);
    font-weight: 700;
    font-size: 1.2rem;
}

/* List Styles */
.tm-plan-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tm-plan-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding-left: 2rem;
    color: var(--tm-gray-300);
}

.tm-plan-list li::before {
    content: "?";
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--tm-gold-500);
    font-weight: bold;
}

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

/* Currency Badges */
.tm-plan-currencies {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tm-plan-currency-badge {
    background: rgba(255, 255, 255, 0.05);
    color: var(--tm-gray-200);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tm-plan-currency-badge.gold {
    background: rgba(212, 168, 67, 0.15);
    color: var(--tm-gold-400);
    border-color: rgba(212, 168, 67, 0.3);
}




/* ==========================================================================
   MOBILE APP PAGE
   ========================================================================== */

.tm-app-wrapper {
    color: var(--tm-gray-300);
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.tm-app-hero {
    display: flex;
    align-items: center;
    gap: 4rem;
    background: rgba(7, 11, 25, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 4rem;
    margin-bottom: 4rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    position: relative;
}

.tm-app-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.1) 0%, transparent 70%);
    z-index: 0;
}

@media (max-width: 900px) {
    .tm-app-hero { flex-direction: column; text-align: center; padding: 2rem; }
}

.tm-app-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.tm-app-image-wrap {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.tm-app-image-wrap img {
    max-width: 320px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.5));
    animation: floatApp 6s ease-in-out infinite;
}

@keyframes floatApp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.tm-app-hero h1 {
    color: var(--tm-gold-500);
    font-size: 3.5rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 700;
}

.tm-app-hero p {
    font-size: 1.2rem;
    color: var(--tm-gray-200);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

@media (max-width: 900px) {
    .tm-app-hero p { margin-left: auto; margin-right: auto; }
}

.tm-app-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .tm-app-buttons { justify-content: center; }
}

.tm-app-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.tm-app-btn-android {
    background: rgba(255,255,255,0.05);
    color: var(--tm-white);
}

.tm-app-btn-android:hover {
    background: rgba(212, 168, 67, 0.15);
    border-color: var(--tm-gold-500);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 168, 67, 0.2);
}

.tm-app-btn-ios {
    background: rgba(255,255,255,0.02);
    color: var(--tm-gray-500);
    cursor: not-allowed;
    border-style: dashed;
}

.tm-app-btn-icon svg {
    width: 32px;
    height: 32px;
}

.tm-app-btn-android .tm-app-btn-icon svg {
    fill: var(--tm-emerald-500);
}

.tm-app-btn-ios .tm-app-btn-icon svg {
    fill: var(--tm-gray-500);
}

.tm-app-btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.tm-app-btn-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tm-app-btn-main {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Features Grid */
.tm-app-features-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--tm-white);
    margin-bottom: 3rem;
}

.tm-app-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (max-width: 900px) {
    .tm-app-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .tm-app-features-grid { grid-template-columns: 1fr; }
}

.tm-app-feature-card {
    background: rgba(7, 11, 25, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tm-app-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 168, 67, 0.3);
    box-shadow: 0 15px 35px rgba(212, 168, 67, 0.1);
}

.tm-app-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: rgba(212, 168, 67, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tm-app-feature-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--tm-gold-500);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tm-app-feature-card h3 {
    font-size: 1.3rem;
    color: var(--tm-white);
    margin-bottom: 1rem;
    margin-top: 0;
}

.tm-app-feature-card p {
    font-size: 0.95rem;
    color: var(--tm-gray-300);
    margin: 0;
}
