:root {
    --space-dark: #050a18;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);
    --gold-primary: #d4af37;
    --gold-secondary: #f9d423;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f9d423 100%);
    --text-primary: #ffffff;
    --text-dim: #a1a1aa;
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--space-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* --- Animated Background --- */
.ambient-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: move 20s infinite alternate;
}

.blob-1 { background: #4f46e5; top: -5%; left: -5%; animation-duration: 25s; }
.blob-2 { background: #d4af37; bottom: 10%; right: -5%; animation-duration: 30s; }
.blob-3 { background: #7c3aed; top: 40%; left: 30%; animation-duration: 20s; }

@keyframes move {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* --- Language Switcher --- */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 5px;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
}

.lang-btn {
    background: transparent;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    opacity: 0.6;
}

.lang-btn.active {
    background: var(--gold-gradient);
    color: #000;
    opacity: 1;
}

.lang-btn:hover:not(.active) {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

/* --- App Layout --- */
.app-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    min-height: 100vh;
}

.bespoke-card {
    width: 100%;
    max-width: 400px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 30px 24px 20px;
    box-shadow: var(--shadow-premium);
    animation: cardEnter 1s forwards;
    position: relative;
    z-index: 10;
    margin: auto;
}

@keyframes cardEnter {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* --- Profile Section --- */
.profile-header {
    text-align: center;
    margin-bottom: 25px;
}

.logo-outer {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
}

.logo-outer::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
    opacity: 0.5;
}

@keyframes rotate { to { transform: rotate(360deg); } }

.logo-inner {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.main-logo {
    width: 85%;
    object-fit: contain;
}

.naming h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.designation {
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 500;
}

.location-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-top: 12px;
    color: var(--gold-primary);
    font-weight: 600;
}

/* --- Interaction Grid --- */
.interaction-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.glass-action {
    text-decoration: none;
    color: var(--text-primary);
    text-align: center;
    transition: var(--transition-smooth);
}

.icon-wrap {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 8px;
    transition: var(--transition-smooth);
}

.glass-action span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.glass-action:hover {
    transform: translateY(-3px);
}

.glass-action:hover .icon-wrap {
    background: var(--gold-gradient);
    color: #000;
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.3);
    border-color: transparent;
}

/* --- Primary Actions --- */
.cta-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.gold-btn {
    background: var(--gold-gradient);
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.glass-btn {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid var(--glass-border);
}

.gold-btn, .glass-btn {
    width: 100%;
    padding: 16px;
    border-radius: 18px;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.gold-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(212, 175, 55, 0.3);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.98);
}

/* --- Indicators --- */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* --- Footer --- */
.app-footer {
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

.social-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}

.social-row a {
    font-size: 1.4rem;
    color: white;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.social-row a:hover {
    opacity: 1;
    color: var(--gold-primary);
    transform: scale(1.2);
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-bottom: 2px;
}

.tagline {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-primary);
    font-style: italic;
}

/* --- Responsive Fixes --- */
@media (max-width: 380px) {
    .app-wrapper {
        padding: 10px;
    }
    
    .bespoke-card {
        padding: 24px 16px 15px;
        border-radius: 30px;
    }
}
