/* ========================================
   Trust-KYC Partners - Shared Styles
   Warm Sand & Terracotta Mediterranean
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

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

:root {
    --bg: #F5F0EB;
    --bg-card: #EDE8E1;
    --bg-dark: #2C2420;
    --terracotta: #C4704B;
    --terracotta-hover: #A85A38;
    --terracotta-light: rgba(196, 112, 75, 0.1);
    --text: #2C2420;
    --text-muted: #8A7E76;
    --text-light: #A89E95;
    --border: #DDD5CC;
    --sand-light: #FAF7F3;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* ── Scroll Progress Bar ── */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 200;
    background: var(--terracotta);
    width: 0%;
    transition: width 0.1s linear;
}

/* ── Navigation ── */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(245, 240, 235, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 20px rgba(44, 36, 32, 0.04);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.logo {
    font-family: var(--font-heading);
    font-size: 22px; font-weight: 600; letter-spacing: -0.5px;
}
.logo em { font-style: italic; color: var(--terracotta); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
    font-size: 14px; font-weight: 500; color: var(--text-muted);
    position: relative; transition: color 0.3s;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1.5px; background: var(--terracotta);
    transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-cta {
    background: var(--terracotta); color: var(--sand-light);
    font-size: 13px; font-weight: 600; padding: 10px 24px;
    border-radius: 100px; transition: background 0.3s, transform 0.2s;
}
.nav-cta:hover { background: var(--terracotta-hover); transform: scale(1.03); }
.nav-cta::after { display: none !important; }
.mobile-toggle {
    display: none; background: none; border: none;
    cursor: pointer; padding: 8px;
}
.mobile-menu {
    display: none; padding: 20px 28px 28px;
    border-top: 1px solid var(--border); background: var(--bg);
}
.mobile-menu a {
    display: block; padding: 14px 0; font-size: 16px;
    font-weight: 500; color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; color: var(--terracotta); font-weight: 600; }

/* ── Page Hero ── */
.page-hero {
    min-height: 50vh; display: flex; align-items: flex-end;
    padding: 160px 0 80px; position: relative; overflow: hidden;
}
.page-hero.full { min-height: 100vh; align-items: center; padding-top: 72px; }
.page-hero .hero-content { position: relative; z-index: 2; }

.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--terracotta);
    margin-bottom: 24px;
}
.hero-tag .line { width: 32px; height: 1.5px; background: var(--terracotta); }

h1 {
    font-family: var(--font-heading);
    font-size: clamp(44px, 7vw, 80px);
    font-weight: 600; line-height: 1.05;
    letter-spacing: -2px; margin-bottom: 28px;
}
h1 em { font-style: italic; color: var(--terracotta); }
h1 .word {
    display: inline-block; overflow: hidden; vertical-align: top;
}
h1 .word-inner {
    display: inline-block;
    transform: translateY(105%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
h1.revealed .word-inner { transform: translateY(0); }

.hero-desc {
    font-size: 18px; color: var(--text-muted); line-height: 1.75;
    max-width: 520px; margin-bottom: 44px;
}

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-body); font-weight: 600;
    border: none; cursor: pointer; transition: all 0.3s ease;
    position: relative;
}
.btn-primary {
    background: var(--terracotta); color: var(--sand-light);
    font-size: 15px; padding: 16px 32px; border-radius: 100px;
}
.btn-primary:hover { background: var(--terracotta-hover); }
.btn-primary .arrow {
    transition: transform 0.3s ease;
}
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-outline {
    background: transparent; color: var(--text);
    font-size: 15px; padding: 16px 32px; border-radius: 100px;
    border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--text); }

/* ── Section Helpers ── */
section { padding: 120px 0; }
.section-label {
    font-size: 12px; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; color: var(--terracotta); margin-bottom: 16px;
    display: flex; align-items: center; gap: 12px;
}
.section-label .line { width: 32px; height: 1.5px; background: var(--terracotta); }
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 600; letter-spacing: -1.5px;
    line-height: 1.1; margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--terracotta); }
.section-desc {
    font-size: 17px; color: var(--text-muted);
    max-width: 500px; line-height: 1.7;
}
.section-header { margin-bottom: 72px; }

/* ── Cards ── */
.card {
    background: var(--bg-card); border-radius: 20px; padding: 40px;
    border: 1px solid transparent;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    transform-style: preserve-3d; will-change: transform;
}
.card:hover {
    border-color: var(--border);
    box-shadow: 0 20px 60px rgba(44, 36, 32, 0.06);
}
.card-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--terracotta); color: var(--sand-light);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 28px;
}
.card h3 {
    font-family: var(--font-heading);
    font-size: 22px; font-weight: 600; margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.card p { font-size: 15px; color: var(--text-muted); line-height: 1.75; }

/* ── Process Steps ── */
.process-dark {
    background: var(--bg-dark); color: var(--sand-light);
    border-radius: 28px; padding: 80px;
}
.process-dark .section-label { color: var(--terracotta); }
.process-dark .section-title { color: var(--sand-light); }
.process-dark .section-desc { color: #A89E95; }
.step-num {
    font-family: var(--font-heading);
    font-size: 64px; font-weight: 600;
    color: rgba(196, 112, 75, 0.25);
    line-height: 1; margin-bottom: 20px;
    letter-spacing: -3px;
}
.step-divider { width: 40px; height: 1.5px; background: var(--terracotta); margin-bottom: 20px; }
.process-step h3 {
    font-family: var(--font-heading);
    font-size: 22px; font-weight: 600;
    color: var(--sand-light); margin-bottom: 12px;
}
.process-step p { font-size: 15px; color: #A89E95; line-height: 1.75; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-toggle {
    width: 100%; display: flex; align-items: center;
    justify-content: space-between; padding: 28px 0;
    background: none; border: none; cursor: pointer;
    font-family: var(--font-body); text-align: left;
}
.faq-toggle span {
    font-family: var(--font-heading);
    font-size: 19px; font-weight: 500; color: var(--text);
    padding-right: 20px; transition: color 0.3s;
}
.faq-item.active .faq-toggle span { color: var(--terracotta); }
.faq-icon {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--bg-card); display: flex;
    align-items: center; justify-content: center;
    flex-shrink: 0; transition: transform 0.4s ease, background 0.3s, color 0.3s;
    color: var(--text-muted); font-size: 14px;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--terracotta); color: var(--sand-light);
}
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer.open { max-height: 250px; }
.faq-answer p {
    padding-bottom: 28px; font-size: 16px;
    color: var(--text-muted); line-height: 1.8;
}

/* ── Contact Form ── */
.form-card {
    background: var(--bg-card); border-radius: 24px; padding: 48px;
}
.form-card h3 {
    font-family: var(--font-heading);
    font-size: 24px; font-weight: 600; margin-bottom: 32px;
}
.form-group { margin-bottom: 24px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 600;
    margin-bottom: 8px; letter-spacing: 0.3px;
}
.form-group input, .form-group textarea {
    width: 100%; padding: 14px 18px;
    border: 1.5px solid var(--border); border-radius: 12px;
    background: var(--bg); font-family: var(--font-body);
    font-size: 15px; color: var(--text); outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 4px var(--terracotta-light);
}
.form-group textarea { resize: none; height: 130px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-light); }
.form-submit {
    width: 100%; padding: 16px; background: var(--terracotta);
    color: var(--sand-light); border: none; border-radius: 100px;
    font-family: var(--font-body); font-size: 15px; font-weight: 600;
    cursor: pointer; transition: background 0.3s, transform 0.2s;
}
.form-submit:hover { background: var(--terracotta-hover); transform: scale(1.01); }

/* ── Footer ── */
footer {
    border-top: 1px solid var(--border); padding: 40px 0;
}
.footer-inner {
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 17px; font-weight: 600;
}
.footer-logo em { font-style: italic; color: var(--terracotta); }
.footer-links { display: flex; gap: 28px; }
.footer-links a {
    font-size: 13px; color: var(--text-muted);
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--terracotta); }
.footer-copy { font-size: 13px; color: var(--text-light); }

/* ── Social Links ── */
.social-links { display: flex; gap: 10px; }
.social-link {
    width: 44px; height: 44px; background: var(--bg-card);
    border-radius: 12px; display: flex;
    align-items: center; justify-content: center;
    color: var(--text-muted); transition: all 0.3s ease;
}
.social-link:hover {
    background: var(--terracotta); color: var(--sand-light);
    transform: translateY(-2px);
}

/* ── Blob Decoration ── */
.blob {
    position: absolute; pointer-events: none; z-index: 0;
    opacity: 0.06;
}
.blob svg { width: 100%; height: 100%; }

/* ── Reveal Animation Classes ── */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
    opacity: 0; transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
    opacity: 0; transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* stagger delays */
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }

/* ── Counter Animation ── */
.counter { display: inline-block; }

/* ── Magnetic Button ── */
.magnetic { display: inline-block; }

/* ── Grid Layouts ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

/* ── Contact Detail ── */
.contact-detail { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.contact-detail .icon {
    width: 48px; height: 48px; background: var(--bg-card);
    border-radius: 12px; display: flex;
    align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-detail .label { font-size: 12px; color: var(--text-light); letter-spacing: 0.5px; }
.contact-detail .value { font-size: 15px; font-weight: 600; }

/* ── Teaser Cards (Home) ── */
.teaser-card {
    display: flex; align-items: center; justify-content: space-between;
    padding: 36px 40px; background: var(--bg-card); border-radius: 20px;
    border: 1px solid transparent; transition: all 0.4s ease;
}
.teaser-card:hover {
    border-color: var(--border); transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(44, 36, 32, 0.06);
}
.teaser-card h3 {
    font-family: var(--font-heading);
    font-size: 20px; font-weight: 600; margin-bottom: 6px;
}
.teaser-card p { font-size: 14px; color: var(--text-muted); }
.teaser-arrow {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--terracotta); color: var(--sand-light);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: transform 0.3s;
}
.teaser-card:hover .teaser-arrow { transform: translateX(4px); }

/* ── Stats Bar ── */
.stats-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--border); border-radius: 20px; overflow: hidden;
}
.stat-item {
    background: var(--bg-card); padding: 40px 24px; text-align: center;
}
.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px); font-weight: 600;
    letter-spacing: -2px; line-height: 1; margin-bottom: 8px;
    color: var(--terracotta);
}
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ── Trust Banner ── */
.trust-banner {
    background: var(--bg-dark); border-radius: 24px; padding: 60px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.trust-banner h2 {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 40px); font-weight: 600;
    color: var(--sand-light); line-height: 1.15; letter-spacing: -1px;
    margin-bottom: 16px;
}
.trust-banner h2 em { color: var(--terracotta); }
.trust-banner p { font-size: 16px; color: #A89E95; line-height: 1.75; }
.trust-features { display: grid; gap: 20px; }
.trust-feature {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 24px; background: rgba(255,255,255,0.04);
    border-radius: 16px; border: 1px solid rgba(255,255,255,0.06);
}
.trust-feature-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--terracotta); color: var(--sand-light);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.trust-feature h4 {
    font-size: 15px; font-weight: 600; color: var(--sand-light); margin-bottom: 4px;
}
.trust-feature p { font-size: 13px; color: #A89E95; line-height: 1.6; }

/* ── Marquee ── */
.marquee-wrap {
    overflow: hidden; padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.marquee-track {
    display: flex; gap: 48px; width: max-content;
    animation: marquee 25s linear infinite;
}
.marquee-item {
    font-family: var(--font-heading);
    font-size: 20px; font-weight: 500; color: var(--text-light);
    white-space: nowrap; display: flex; align-items: center; gap: 12px;
}
.marquee-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Payment Icons ── */
.payment-methods {
    display: flex; gap: 16px; flex-wrap: wrap;
}
.payment-badge {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 20px; background: var(--bg-card);
    border-radius: 100px; font-size: 14px; font-weight: 600;
    border: 1px solid var(--border);
}
.payment-badge svg { flex-shrink: 0; }

/* ── Grid 4 ── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ── Mini Card ── */
.mini-card {
    background: var(--bg-card); border-radius: 16px; padding: 28px;
    border: 1px solid transparent;
    transition: border-color 0.3s;
}
.mini-card:hover { border-color: var(--border); }
.mini-card h4 {
    font-family: var(--font-heading);
    font-size: 17px; font-weight: 600; margin-bottom: 8px;
}
.mini-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .grid-3 { grid-template-columns: 1fr; gap: 16px; }
    .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
    .grid-2 { grid-template-columns: 1fr; gap: 48px; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .trust-banner { grid-template-columns: 1fr; padding: 40px 28px; border-radius: 20px; }
    .process-dark { padding: 48px 28px; border-radius: 20px; }
    section { padding: 80px 0; }
    .section-header { margin-bottom: 48px; }
    h1 { letter-spacing: -1px; }
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .form-card { padding: 32px; }
    .teaser-card { flex-direction: column; align-items: flex-start; gap: 20px; }
    .page-hero { min-height: auto; padding: 140px 0 60px; }
    .page-hero.full { min-height: 100vh; }
    .footer-inner { flex-direction: column; text-align: center; }
}
