/* ============================================================
   CLEAN MODERN (LIGHT)  —  Tourix Group (TRG)
   Full light/airy redesign. Loaded LAST; clamp()-based responsive.
   ============================================================ */

:root { --gold:#c9a227; --gold2:#d4af37; --ink:#15151c; --muted:#5d5d68; --line:#ececf1; --bg:#ffffff; --bg2:#faf8f3; }

/* ---------- Base ---------- */
body { background: var(--bg) !important; color: #2a2a33 !important; }

/* ---------- Navbar → light glass ---------- */
.navbar {
    background: rgba(255,255,255,0.82) !important;
    backdrop-filter: blur(16px) !important;
    box-shadow: 0 1px 0 rgba(20,20,40,0.06) !important;
    border-bottom: 1px solid transparent;
}
.navbar.scrolled {
    background: rgba(255,255,255,0.97) !important;
    box-shadow: 0 10px 34px rgba(20,20,40,0.08) !important;
    border-bottom-color: rgba(201,162,39,0.18) !important;
}
.logo-text { color: var(--ink) !important; }
.nav-links a { color: #4a4a55 !important; }
.nav-links a:hover { color: var(--gold) !important; }

/* ---------- HERO X — designed two-column with visual ---------- */
.hero-x {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #faf8f3 100%);
    padding: clamp(120px, 16vh, 180px) 0 clamp(70px, 9vh, 110px);
    overflow: hidden;
}
.hero-x-orb { position: absolute; border-radius: 50%; filter: blur(64px); pointer-events: none; z-index: 0; }
.hero-x-orb.orb-a { width: 540px; height: 540px; background: radial-gradient(circle, rgba(201,162,39,0.22), transparent 70%); top: -130px; right: -90px; }
.hero-x-orb.orb-b { width: 460px; height: 460px; background: radial-gradient(circle, rgba(212,175,55,0.14), transparent 70%); bottom: -170px; left: -130px; }
.hero-x-grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px; border-radius: 999px;
    background: rgba(201,162,39,0.10); border: 1px solid rgba(201,162,39,0.30);
    color: #9c7a10; font-weight: 700; font-size: 13px; letter-spacing: 1px; margin-bottom: 26px;
}
.hero-badge .b-dot { width: 8px; height: 8px; border-radius: 50%; background: #c9a227; animation: bpulse 2s infinite; }
@keyframes bpulse { 0%{box-shadow:0 0 0 0 rgba(201,162,39,.5)} 70%{box-shadow:0 0 0 8px rgba(201,162,39,0)} 100%{box-shadow:0 0 0 0 rgba(201,162,39,0)} }
.hero-x-title { font-size: clamp(2.3rem, 4.6vw, 4rem); font-weight: 900; line-height: 1.1; letter-spacing: -1.5px; color: var(--ink); margin-bottom: 22px; }
.hero-x-title .grad { background: linear-gradient(120deg,#e6bd36,#c9a227 60%,#d8b53e); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hero-x-sub { font-size: clamp(1.02rem,1.4vw,1.22rem); color: var(--muted); line-height: 1.85; max-width: 520px; margin-bottom: 34px; }
.hero-x-cta { display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 40px; }
.btn-ghost { background: #fff !important; border: 1.5px solid #e4e1d7 !important; color: #333 !important; }
.btn-ghost:hover { border-color: var(--gold) !important; color: var(--gold) !important; transform: translateY(-3px); }
.hero-x-meta { display:flex; align-items:center; gap:16px; }
.hero-x-avatars { display:flex; }
.hero-x-avatars img, .hero-x-avatars .more {
    width:46px; height:46px; border-radius:50%; border:3px solid #fff; margin-right:-14px; object-fit:cover;
    box-shadow:0 4px 12px rgba(0,0,0,.12);
}
.hero-x-avatars .more { background:linear-gradient(135deg,#c9a227,#d4af37); color:#1a1408; font-weight:800; font-size:.8rem; display:flex; align-items:center; justify-content:center; margin-right:0; }
.hero-x-meta-txt { display:flex; flex-direction:column; padding-right: 6px; }
.hero-x-meta-txt b { color: var(--ink); font-size:1rem; }
.hero-x-meta-txt span { color:#8c8c95; font-size:.85rem; }

/* visual side */
.hero-x-visual { position: relative; }
.hero-x-frame {
    position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5;
    box-shadow: 0 40px 90px rgba(40,30,10,0.22), 0 0 0 1px rgba(201,162,39,0.10);
    transform: rotate(1.6deg);
}
.hero-x-frame img { width:100%; height:100%; object-fit: cover; display:block; }
.hero-float {
    position: absolute; z-index: 3;
    background: rgba(255,255,255,0.86); backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.9); border-radius: 16px; padding: 13px 17px;
    box-shadow: 0 18px 42px rgba(40,30,10,0.16); display: flex; align-items: center; gap: 12px;
    animation: floaty 5s ease-in-out infinite;
}
.hero-float b { display:block; font-size:1.15rem; font-weight:900; color:var(--ink); line-height:1; }
.hero-float span { font-size:.76rem; color:#7a7a85; }
.hero-float .ic { width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:1.1rem; color:#c9a227; background:rgba(201,162,39,0.12); }
.hero-float .ic.gold { background:linear-gradient(135deg,#c9a227,#d4af37); color:#1a1408; }
.hero-float.fc-rate { top: 8%; left: -26px; animation-delay:.2s; }
.hero-float.fc-proj { bottom: 13%; right: -28px; animation-delay:1s; }
.hero-float.fc-live { bottom: -14px; left: 16%; font-size:.85rem; font-weight:700; color:var(--ink); animation-delay:1.6s; }
.hero-float.fc-live .live-dot { width:9px; height:9px; border-radius:50%; background:#22c55e; animation:bpulse 1.8s infinite; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

@media (max-width: 900px) {
    .hero-x-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-x-sub { margin-left:auto; margin-right:auto; }
    .hero-x-cta, .hero-x-meta { justify-content: center; }
    .hero-x-visual { margin: 34px auto 0; max-width: 380px; }
    .hero-float.fc-rate { left: -6px; } .hero-float.fc-proj { right: -8px; }
}
@media (max-width: 480px) {
    .hero-float span { display:none; }
    .hero-float.fc-rate { left: 2px; } .hero-float.fc-proj { right: 2px; }
}

/* ---------- Premium buttons ---------- */
.btn { padding: clamp(13px,1.6vw,16px) clamp(28px,3vw,40px) !important; font-weight: 800 !important; border-radius: 999px !important; letter-spacing:.3px; }
.btn-primary {
    background: linear-gradient(135deg, #ecc659 0%, #c9a227 55%, #d8b53e 100%) !important;
    color: #1a1408 !important;
    box-shadow: 0 12px 30px rgba(201,162,39,0.38), inset 0 1px 0 rgba(255,255,255,0.45) !important;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02) !important; }

/* ---------- Section headers ---------- */
.section-tag {
    text-transform: uppercase; letter-spacing: 3px; font-size: clamp(11px,1.3vw,13px) !important;
    background: rgba(201,162,39,0.10) !important; border: 1px solid rgba(201,162,39,0.28) !important;
    color: #9c7a10 !important; padding: 8px 20px !important;
}
.section-title { font-size: clamp(1.95rem,4.2vw,3.2rem) !important; letter-spacing:-.5px; line-height:1.15 !important; color: var(--ink) !important; }
.section-desc { color: var(--muted) !important; }

/* ---------- Gold gradient stat numbers ---------- */
.stat-number { background: linear-gradient(135deg,#e6bd36,#c9a227 60%,#d8b53e) !important; -webkit-background-clip:text !important; background-clip:text !important; -webkit-text-fill-color:transparent !important; color:transparent !important; }

/* ---------- Convert dark STATS band → light ---------- */
.stats-section { background: #fff !important; margin-top: 0 !important; padding: clamp(50px,8vh,80px) 0 !important; }
.stats-section .stat { background: #fff !important; border: 1px solid var(--line) !important; box-shadow: 0 14px 44px rgba(20,20,35,0.07) !important; }
.stats-section .stat-label { color: #7a7a85 !important; }

/* ---------- Convert dark TESTIMONIALS → light ---------- */
.testimonials-enhanced { background: var(--bg2) !important; }
.testimonials-enhanced .section-title { color: var(--ink) !important; }
.testimonials-enhanced [style*="color: #fff"] { color: var(--ink) !important; }
.testimonials-enhanced [style*="color: #ccc"] { color: var(--muted) !important; }
.testimonials-enhanced .testimonial-slide > div {
    background: #fff !important; border: 1px solid var(--line) !important;
    box-shadow: 0 20px 56px rgba(20,20,35,0.09) !important;
}
.testimonials-enhanced [style*="border-top: 1px solid rgba(201, 162, 39, 0.2)"] { border-top-color: var(--line) !important; }

/* ---------- Convert dark CONTACT → light ---------- */
.contact-enhanced { background: linear-gradient(180deg,#fff 0%, #faf8f3 100%) !important; color: #2a2a33 !important; }
.contact-enhanced h2,
.contact-enhanced [style*="color: #fff"] { color: var(--ink) !important; }
.contact-enhanced [style*="color: #ccc"],
.contact-enhanced [style*="color: #999"] { color: var(--muted) !important; }
.contact-enhanced [style*="rgba(255, 255, 255, 0.05)"],
.contact-enhanced [style*="rgba(255, 255, 255, 0.03)"] { background: #fff !important; border: 1px solid var(--line) !important; box-shadow: 0 12px 40px rgba(20,20,35,0.06) !important; }
.contact-enhanced form input, .contact-enhanced form textarea, .contact-enhanced form select {
    background: #fff !important; border: 1.5px solid #e4e1d7 !important; color: #222 !important;
}
.contact-enhanced form input::placeholder, .contact-enhanced form textarea::placeholder { color: #9a968c !important; }

/* ---------- Cards: modern, soft, airy ---------- */
.service-card, .feature-card, .partner-card {
    border-radius: 22px !important; border: 1px solid var(--line) !important;
    box-shadow: 0 14px 46px rgba(20,20,35,0.06) !important;
}
.service-card:hover, .feature-card:hover, .partner-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 30px 66px rgba(201,162,39,0.16) !important;
    border-color: rgba(201,162,39,0.40) !important;
}
.service-icon { border-radius: 18px !important; box-shadow: 0 12px 26px rgba(201,162,39,0.32) !important; }

/* ---------- Section background tidy (the why-us/faq already light) ---------- */
.why-us, .faq-section, .services, .partners-enhanced { background: #fff !important; }
.faq-item { border-color: var(--line) !important; }

/* ---------- App showcase (portfolio) ---------- */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 26px; }
.app-card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px;
    padding: 28px; box-shadow: 0 14px 46px rgba(20,20,35,0.06); display: flex; flex-direction: column;
    transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s, border-color .4s;
}
.app-card:hover { transform: translateY(-10px); box-shadow: 0 30px 66px rgba(201,162,39,0.16); border-color: rgba(201,162,39,0.40); }
.app-badge { position: absolute; top: 18px; left: 18px; background: linear-gradient(135deg,#c9a227,#d4af37); color:#1a1408; font-size:.72rem; font-weight:800; padding:5px 12px; border-radius:999px; }
.app-card-top { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.app-icon { width: 78px; height: 78px; border-radius: 20px; box-shadow: 0 10px 26px rgba(20,20,35,.16); flex-shrink: 0; object-fit: cover; }
.app-id h3 { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin: 0 0 2px; }
.app-en { display:block; font-size:.8rem; color:#9a9aa3; letter-spacing:.5px; margin-bottom:8px; }
.app-cat { display:inline-block; background: rgba(201,162,39,0.10); color:#9c7a10; font-size:.74rem; font-weight:700; padding:4px 12px; border-radius:999px; }
.app-desc { color: var(--muted); line-height: 1.7; font-size: .98rem; margin-bottom: 20px; flex-grow: 1; }
.app-store-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    background: #111; color: #fff !important; font-weight: 700; font-size: .95rem;
    padding: 13px 20px; border-radius: 14px; text-decoration: none;
    transition: transform .25s, box-shadow .25s, background .25s;
}
.app-store-btn:hover { background:#000; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.25); }
.app-store-btn .fa-apple { font-size: 1.15rem; }
