:root {
    --gold: #c9a44a;
    --gold-soft: #e7cf88;
    --navy-deep: #020617;
    --navy-accent: #0b1d36;
    --blue-cta: #0d6efd;
    --white-soft: #f8f9fc;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--navy-deep);
    color: white;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, .logo-font {
    font-family: 'Playfair Display', serif;
}

/* PREMIUM ANIMATED BACKGROUND */
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(-45deg, #020617, #0b1d36, #071427, #020617);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* GLASSMORPHISM UTILITIES */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-soft);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* HEADER & NAVIGATION */
header {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 40px; /* Account for announcement bar */
    z-index: 1000;
}

header nav a {
    color: white;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

header nav a:hover {
    color: var(--gold);
}

header nav a[style*="color:var(--gold)"] {
    background: rgba(201, 164, 74, 0.1);
    padding: 8px 16px;
    border-radius: 5px;
    border: 1px solid rgba(201, 164, 74, 0.2);
}

/* HERO SECTION */
.hero-premium {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero-premium h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    background: linear-gradient(135deg, white, var(--gold-soft));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 1000px;
    margin-bottom: 24px;
}

.hero-premium p {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 800px;
    margin-bottom: 40px;
}

/* BUTTONS */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: black;
    padding: 18px 45px;
    border-radius: 99px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(201, 164, 74, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-gold:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 45px rgba(201, 164, 74, 0.5);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 16px 40px;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
    display: inline-block;
    margin-left: 15px;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: white;
}

/* LIVE TICKER */
.live-data-bar {
    width: 80%;
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 12px 25px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ticker-label {
    color: #ef4444;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ticker-label .ping {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pingPulse 1.5s infinite;
}

@keyframes pingPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.pulse-green {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    margin-right: 8px;
}

.pulse-green::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #22c55e;
    animation: pingPulse 1.5s infinite;
}

.shimmer-gold {
    background: linear-gradient(90deg, var(--gold), #fff, var(--gold));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
    font-weight: 800;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

/* STICKY TRUST PILLAR (THE "SIDE" OPTION) */
.trust-pillar {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 200003;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: rgba(2, 6, 23, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.pillar-item {
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-item:hover {
    transform: scale(1.3);
}

.pillar-item .tooltip {
    position: absolute;
    right: 50px;
    background: var(--gold);
    color: black;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s opacity;
}

.pillar-item:hover .tooltip {
    opacity: 1;
}

/* PREMIUM TRUST TRACK (FIXED FLEXBOX) */
.trust-strip {
    background: linear-gradient(90deg, #020617, #0b1d36, #020617);
    border-top: 1px solid rgba(201, 164, 74, 0.2);
    border-bottom: 1px solid rgba(201, 164, 74, 0.2);
    padding: 15px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.trust-track {
    display: flex !important;
    gap: 60px;
    animation: scrollTrust 60s linear infinite;
    width: max-content;
    align-items: center;
}

.trust-item {
    white-space: nowrap !important;
    color: var(--gold-soft);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* AUTHORITY FRAMEWORK */
.authority-section {
    padding: 120px 8%;
    background: radial-gradient(circle at top, #0b1d36 0%, #020617 100%);
    text-align: center;
}

.authority-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.authority-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.4s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.authority-card:hover {
    background: rgba(201, 164, 74, 0.05);
    border-color: var(--gold);
    transform: translateY(-10px);
}

.authority-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.authority-card h3 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.authority-card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* PROOF SECTION */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.proof-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 20px;
    text-align: left;
}

.proof-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* STATS */
.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    display: block;
}


/* SIDE DRAWER (THE "PREMIUM OPTIONS") */
.side-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 200001;
    transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 60px 40px;
    border-right: 1px solid rgba(201, 164, 74, 0.2);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.side-drawer.active {
    left: 0;
}

.side-drawer a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.side-drawer a:hover {
    color: var(--gold);
}

.menu-toggle {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 200002;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--gold);
    transition: 0.3s;
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 200000;
    display: none;
}

.drawer-overlay.active {
    display: block;
}

/* FLOATING BUTTONS */
.float {
    position: fixed;
    bottom: 30px;
    z-index: 200004;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: 0.3s transform;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float:hover {
    transform: translateY(-5px);
}

.float.whatsapp {
    left: 110px; /* Moved to left side to avoid overlap if needed, but Suhana is also on left. */
    background: #25D366;
    color: white;
    font-size: 24px;
}

.float.download {
    left: 190px;
    background: var(--gold);
    color: black;
    font-size: 14px;
    text-transform: uppercase;
}

/* INSTITUTIONAL ANNOUNCEMENT BAR */
.institutional-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #020617;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10001;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    border-bottom: 1px solid rgba(201,164,74,0.3);
    gap: 15px;
    flex-wrap: wrap;
}

.bar-divider {
    opacity: 0.2;
    font-weight: 300;
}

.clearance-status {
    display: flex;
    align-items: center;
}

.bar-cta {
    text-decoration: none;
    margin-left: 10px;
    padding: 4px 12px;
    background: rgba(201, 164, 74, 0.1);
    border: 1px solid rgba(201, 164, 74, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.bar-cta:hover {
    background: var(--gold);
    color: black !important;
    -webkit-text-fill-color: black !important;
}

@media (max-width: 768px) {
    .institutional-bar {
        font-size: 9px;
        gap: 8px;
        padding: 8px 10px;
    }
    .bar-divider { display: none; }
    header { top: 35px; }
}

/* 3D GLOBE CONTAINER */
#globe-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none; /* Let clicks pass through to text/buttons */
    opacity: 0.8;
}

.hero-premium .container {
    position: relative;
    z-index: 10;
}

/* 3D TILT SUPPORT */
.glass-card, .floating-card {
    will-change: transform;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.glass-card > * {
    transform: translateZ(20px); /* Gives content inside the card depth */
}

@media (max-width: 768px) {
    #globe-container {
        opacity: 0.5;
        width: 150vw; /* Make it bigger on mobile for better cover */
    }
}
