/* =============================================
   PREMIUM DESIGN SYSTEM — $1000 Level
   ============================================= */

:root {
    /* Dark Premium Palette */
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1528;
    --glass-bg: rgba(15, 21, 40, 0.65);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);

    /* Accent Colors */
    --accent-primary: #6c63ff;
    --accent-secondary: #00d4aa;
    --accent-glow: rgba(108, 99, 255, 0.25);
    --gold: #f0c040;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-muted: rgba(255, 255, 255, 0.35);

    /* Buttons */
    --btn-bg: rgba(255, 255, 255, 0.04);
    --btn-border: rgba(255, 255, 255, 0.08);
    --btn-hover-bg: rgba(255, 255, 255, 0.08);
    --btn-hover-border: rgba(255, 255, 255, 0.15);

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =============================================
   ANIMATED BACKGROUND
   ============================================= */

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(108, 99, 255, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(0, 212, 170, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(108, 99, 255, 0.06) 0%, transparent 50%);
    z-index: 0;
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.floating-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.3), transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.2), transparent 70%);
    bottom: 10%;
    left: -8%;
    animation-delay: -7s;
    animation-duration: 22s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15), transparent 70%);
    top: 50%;
    right: -10%;
    animation-delay: -14s;
    animation-duration: 28s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(15px, 35px) scale(1.02); }
}

/* =============================================
   CONTAINER
   ============================================= */

.container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem 3rem;
    position: relative;
    z-index: 1;
}

/* =============================================
   GLASS CARD
   ============================================= */

.glass-card {
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(40px) saturate(1.5);
    -webkit-backdrop-filter: blur(40px) saturate(1.5);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem 2rem;
    box-shadow: var(--glass-shadow);
    animation: cardEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes cardEnter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   PROFILE HEADER
   ============================================= */

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Profile Image */
.profile-img-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.profile-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        var(--accent-primary),
        var(--accent-secondary),
        var(--accent-primary),
        var(--accent-secondary),
        var(--accent-primary)
    );
    animation: ringRotate 6s linear infinite;
    opacity: 0.8;
}

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

.profile-img-container {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--bg-primary);
    z-index: 2;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-img-wrapper:hover .profile-img {
    transform: scale(1.08);
}

/* Verified Badge */
.verified-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent-primary), #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--bg-primary);
    z-index: 3;
    font-size: 0.65rem;
    color: white;
    box-shadow: 0 2px 8px rgba(108, 99, 255, 0.4);
}

/* Name */
.name {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 0.6rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* SEBI Badge */
.sebi-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    background: rgba(108, 99, 255, 0.1);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #a5a0ff;
    letter-spacing: 0.03em;
    margin-bottom: 0.8rem;
}

.sebi-badge i {
    font-size: 0.7rem;
    color: var(--accent-secondary);
}

/* Subtitle */
.subtitle {
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 320px;
    margin-bottom: 0;
}

.highlight-text {
    color: var(--accent-secondary);
    font-weight: 600;
}

/* =============================================
   SOCIAL ICONS
   ============================================= */

.social-icons {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-btn:hover {
    background: var(--btn-hover-bg);
    border-color: var(--btn-hover-border);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-btn:active {
    transform: translateY(-1px);
}

/* =============================================
   DIVIDER
   ============================================= */

.divider {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    margin: 1.4rem 0;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.divider-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

/* =============================================
   LINK BUTTONS — PREMIUM
   ============================================= */

.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.link-btn:nth-child(1) { animation-delay: 0.3s; }
.link-btn:nth-child(2) { animation-delay: 0.4s; }
.link-btn:nth-child(3) { animation-delay: 0.5s; }

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.link-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.link-btn:hover {
    background: var(--btn-hover-bg);
    border-color: var(--btn-hover-border);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.link-btn:hover::before {
    opacity: 1;
}

.link-btn:active {
    transform: translateY(0);
}

/* Button Icon */
.btn-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.link-btn:hover .btn-icon-wrapper {
    transform: scale(1.08);
}

.btn-icon-green {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.15);
}

.btn-icon-blue {
    background: rgba(108, 99, 255, 0.12);
    color: #8b80ff;
    border: 1px solid rgba(108, 99, 255, 0.15);
}

.btn-icon-purple {
    background: rgba(168, 85, 247, 0.12);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.15);
}

/* Button Content */
.btn-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.btn-title {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.btn-desc {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* Arrow */
.btn-arrow {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.link-btn:hover .btn-arrow {
    color: var(--text-secondary);
    transform: translateX(3px);
}

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

.footer {
    margin-top: 2rem;
    text-align: center;
    animation: fadeSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

.footer p {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

/* =============================================
   DISCLOSURE PAGE STYLES (kept for compatibility)
   ============================================= */

.disclosure-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.1rem 1.5rem;
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.disclosure-btn:hover {
    background: var(--btn-hover-bg);
    border-color: var(--btn-hover-border);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.disclosure-btn:active {
    transform: translateY(0);
}

.disclosures-container .disclosure-btn:nth-child(1) { animation: fadeSlideUp 0.4s ease-out 0.1s both; }
.disclosures-container .disclosure-btn:nth-child(2) { animation: fadeSlideUp 0.4s ease-out 0.15s both; }
.disclosures-container .disclosure-btn:nth-child(3) { animation: fadeSlideUp 0.4s ease-out 0.2s both; }
.disclosures-container .disclosure-btn:nth-child(4) { animation: fadeSlideUp 0.4s ease-out 0.25s both; }
.disclosures-container .disclosure-btn:nth-child(5) { animation: fadeSlideUp 0.4s ease-out 0.3s both; }
.disclosures-container .disclosure-btn:nth-child(6) { animation: fadeSlideUp 0.4s ease-out 0.35s both; }

/* Legacy icon style (for disclosures page social icons) */
.icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.icon:hover {
    background: var(--btn-hover-bg);
    border-color: var(--btn-hover-border);
    color: var(--text-primary);
    transform: translateY(-3px);
}

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

@media (max-width: 520px) {
    .container {
        padding: 1.5rem 0.75rem 2rem;
    }

    .glass-card {
        padding: 2rem 1.25rem 1.5rem;
        border-radius: var(--radius-lg);
    }

    .name {
        font-size: 1.4rem;
    }

    .link-btn {
        padding: 0.8rem 0.9rem;
    }

    .btn-icon-wrapper {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

@media (max-width: 380px) {
    .glass-card {
        padding: 1.5rem 1rem 1.25rem;
    }

    .name {
        font-size: 1.25rem;
    }

    .sebi-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.7rem;
    }
}
