/* ==========================================================================
   PASINDU HANSAKA — ULTRA-CLEAN APPLE / LINEAR / RAYCAST LUXURY DESIGN SYSTEM
   Refined Proportions • Frosted Glass • Crisp Inter Typography • 3D Orbital Hub
   ========================================================================== */

:root {
    --bg-primary: #06080f;
    --bg-elevated: rgba(15, 19, 32, 0.72);
    --bg-glass: rgba(255, 255, 255, 0.035);
    --bg-glass-hover: rgba(255, 255, 255, 0.065);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(56, 189, 248, 0.35);
    --text-white: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent-blue: #38bdf8;
    --accent-indigo: #6366f1;
    --accent-purple: #a855f7;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --gradient-primary: linear-gradient(135deg, #38bdf8 0%, #6366f1 50%, #a855f7 100%);
    --gradient-text: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    --shadow-card: 0 20px 50px -12px rgba(0, 0, 0, 0.7), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 12px;
    --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-white);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Aurora Lighting Beams (Top & Center) */
.aurora-spotlight {
    position: fixed;
    top: -220px;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 550px;
    background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.15) 0%, rgba(99, 102, 241, 0.1) 45%, transparent 75%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

/* Subtle Architectural Dot Matrix */
.dot-matrix-bg {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 25%, #000 30%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Subtle 3D Starfield Canvas */
#ambient-3d-canvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   FLOATING APPLE-STYLE PILL NAVIGATION
   ========================================================================== */
.navbar-wrapper {
    position: fixed;
    top: 1.25rem;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 1.5rem;
}

.navbar-pill {
    max-width: 1120px;
    margin: 0 auto;
    background: rgba(10, 14, 24, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.nav-brand-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--accent-blue);
}

.verified-icon {
    color: #38bdf8;
    font-size: 0.9rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.25rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    transition: all 0.25s ease;
}

.nav-menu a:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.06);
}

.nav-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--text-white);
    color: #06080f;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.nav-action-btn:hover {
    background: var(--accent-blue);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.35);
}

/* ==========================================================================
   HERO SECTION: BALANCED EXECUTIVE BIO + 3D ORBITAL BRAND HUB
   ========================================================================== */
.hero-section {
    padding: 9.5rem 0 5rem;
    position: relative;
    z-index: 2;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 3.5rem;
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.4rem;
}

.status-badge .pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald);
}

.hero-heading {
    font-size: clamp(2.4rem, 4.3vw, 3.75rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 1.1rem;
}

.text-gradient-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-motto {
    display: inline-block;
    font-size: 0.96rem;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid var(--accent-blue);
    padding: 0.65rem 1.1rem;
    border-radius: 0 10px 10px 0;
    margin-bottom: 1.35rem;
    font-style: italic;
}

.hero-bio {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.72;
    margin-bottom: 2rem;
    max-width: 590px;
}

.hero-bio strong {
    color: var(--text-white);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2.6rem;
}

.btn-luxury {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.88rem 1.65rem;
    border-radius: 12px;
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-luxury.primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.45);
}

.btn-luxury.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(56, 189, 248, 0.55);
}

.btn-luxury.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.btn-luxury.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Hero Quick Metrics Bar */
.hero-metrics-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--border-subtle);
}

.metric-item strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

.metric-item span {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   RIGHT HERO: 3D ORBITAL PORTRAIT & FLOATING COMPANY LOGOS STAGE
   ========================================================================== */
.orbital-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    perspective: 1200px;
}

/* Glowing Orbital Halo Rings behind Portrait */
.orbit-halo-ring {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 1px dashed rgba(56, 189, 248, 0.22);
    animation: spinOrbit 36s linear infinite;
    pointer-events: none;
}

.orbit-halo-ring.inner {
    width: 350px;
    height: 350px;
    border: 1px solid rgba(168, 85, 247, 0.18);
    animation-direction: reverse;
    animation-duration: 24s;
}

@keyframes spinOrbit {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Main Executive Glass Card */
.portrait-glass-card {
    position: relative;
    width: 100%;
    max-width: 370px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(15, 23, 42, 0.65) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 26px;
    padding: 1rem;
    box-shadow: var(--shadow-card), 0 0 60px rgba(56, 189, 248, 0.12);
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
    z-index: 2;
}

.portrait-img-container {
    width: 100%;
    aspect-ratio: 1 / 1.08;
    border-radius: 18px;
    overflow: hidden;
    background: #04060b;
    position: relative;
}

.portrait-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.portrait-card-caption {
    padding: 0.9rem 0.4rem 0.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.portrait-card-caption h3 {
    font-size: 1.08rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.portrait-card-caption p {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* Floating 3D Company Logo Satellites around Portrait */
.floating-brand-badge {
    position: absolute;
    background: rgba(12, 16, 28, 0.88);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 0.55rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.65);
    z-index: 5;
    animation: floatBob 4s ease-in-out infinite;
    text-decoration: none;
    color: var(--text-white);
    transition: border-color 0.25s, transform 0.25s;
}

.floating-brand-badge:hover {
    border-color: var(--accent-blue);
    transform: scale(1.06);
}

.floating-brand-badge img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    background: #fff;
}

.floating-brand-badge .b-title {
    font-size: 0.78rem;
    font-weight: 700;
    display: block;
    line-height: 1.15;
}

.floating-brand-badge .b-sub {
    font-size: 0.66rem;
    color: var(--text-secondary);
    display: block;
}

.badge-pos-1 { top: 14px; left: -18px; animation-delay: 0s; }
.badge-pos-2 { top: 42px; right: -22px; animation-delay: 1s; }
.badge-pos-3 { bottom: 95px; left: -24px; animation-delay: 2s; }
.badge-pos-4 { bottom: 38px; right: -20px; animation-delay: 1.5s; }

@keyframes floatBob {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* ==========================================================================
   SECTION STYLING & HEADERS
   ========================================================================== */
.section-block {
    padding: 5.5rem 0;
    position: relative;
    z-index: 2;
}

.section-heading-box {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-blue);
    margin-bottom: 0.65rem;
}

.section-title {
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.85rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.02rem;
}

/* ==========================================================================
   APPLE/RAYCAST BENTO GRID: THE 5 COMPANIES WITH OFFICIAL LOGOS
   ========================================================================== */
.ventures-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.35rem;
}

.venture-glass-card {
    background: var(--bg-elevated);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.venture-glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 25px 55px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.08);
}

.col-span-6 { grid-column: span 6; }
.col-span-4 { grid-column: span 4; }

.venture-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.company-logo-frame {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #ffffff;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.company-logo-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.role-tag {
    font-size: 0.74rem;
    font-weight: 600;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: var(--accent-blue);
}

.role-tag.amber {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.role-tag.purple {
    background: rgba(168, 85, 247, 0.12);
    border-color: rgba(168, 85, 247, 0.3);
    color: #c084fc;
}

.role-tag.emerald {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.venture-glass-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.venture-position-title {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-blue);
    margin-bottom: 0.85rem;
}

.venture-glass-card p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.venture-card-foot {
    padding-top: 1.1rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.stat-pill {
    font-size: 0.78rem;
    font-weight: 600;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.8rem;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.card-link-arrow {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s, transform 0.2s;
}

.card-link-arrow:hover {
    color: var(--accent-blue);
    transform: translateX(3px);
}

/* ==========================================================================
   LIVE PLATFORMS (TRUSTBOT.SITE & IAIC.LK) + COMING SOON TOOLS
   ========================================================================== */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.platform-spotlight-card {
    background: linear-gradient(145deg, rgba(19, 25, 43, 0.85), rgba(10, 14, 24, 0.92));
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.platform-spotlight-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.feature-check-list {
    list-style: none;
    margin: 1.2rem 0 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.feature-check-list li {
    font-size: 0.9rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.feature-check-list li i {
    color: var(--accent-emerald);
}

/* Coming Soon Micro-Tools Row */
.coming-soon-banner {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2rem;
}

.soon-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.4rem;
}

.soon-tool-box {
    background: rgba(6, 8, 15, 0.65);
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 1.25rem;
    transition: border-color 0.25s;
}

.soon-tool-box:hover {
    border-color: var(--accent-blue);
}

/* ==========================================================================
   GAMING & VLOGGING SECTION ("BLACKA" / "APPAGE PILOT" + 43K VLOG)
   ========================================================================== */
.creator-spotlight-panel {
    background: linear-gradient(135deg, rgba(17, 22, 38, 0.9), rgba(28, 16, 42, 0.85));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 26px;
    padding: 2.75rem;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
}

.gaming-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.25rem 0;
}

.gaming-pill {
    padding: 0.5rem 1.05rem;
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 700;
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.38);
    color: #e9d5ff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ==========================================================================
   CONTACT & FOOTER
   ========================================================================== */
.contact-glass-panel {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 26px;
    padding: 3.25rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.social-buttons-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin: 2rem 0 1.5rem;
}

.social-glass-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.8rem 1.35rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.social-glass-btn:hover {
    background: rgba(56, 189, 248, 0.12);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.86rem;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-layout,
    .platforms-grid,
    .creator-spotlight-panel {
        grid-template-columns: 1fr;
    }
    .col-span-6, .col-span-4 {
        grid-column: span 12;
    }
    .soon-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nav-menu {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-metrics-bar,
    .soon-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .floating-brand-badge {
        display: none;
    }
    .creator-spotlight-panel {
        padding: 1.75rem;
    }
}
