/* 
   SOVEREIGN_UNIFIED.CSS
   The Single-Page World-Class Platform Experience
*/

/* ═══ DUAL PERSONA PORTRAIT SECTION ═══ */
.persona-about-section {
    padding-bottom: 0;
}

.persona-split-wrap {
    display: flex;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.persona-side {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.persona-side:hover {
    flex: 1.4;
}

.persona-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: 0.5s;
}

.persona-side:hover .persona-portrait {
    transform: scale(1.02);
}

/* Overlays */
.persona-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 30px 40px;
    pointer-events: none;
}

.persona-label h2 {
    font-size: 4rem;
    font-weight: 900;
    margin: 0 0 10px;
    line-height: 1;
    text-transform: lowercase;
    letter-spacing: -2px;
}

.persona-label p {
    font-size: 1rem;
    opacity: 0.85;
    max-width: 250px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.persona-label-right {
    text-align: right;
    align-items: flex-end;
}

/* Designer: colored title */
.designer-overlay .persona-label h2 {
    color: #fff;
    text-shadow: 0 0 40px rgba(255, 100, 100, 0.4);
}

/* Coder: accent color title */
.coder-overlay .persona-label h2 {
    color: var(--primary, #a3cf2b);
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 30px rgba(163, 207, 43, 0.4);
}

/* Skills Pills */
.persona-skills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.persona-skills span {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Divider Line */
.persona-divider {
    width: 3px;
    background: var(--primary, #a3cf2b);
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(163, 207, 43, 0.8);
}

.divider-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--primary, #a3cf2b);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(163, 207, 43, 1);
    animation: dividerPulse 2s ease-in-out infinite;
}

@keyframes dividerPulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0.5;
    }
}

/* Floating Code Snippets */
.code-float {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: rgba(163, 207, 43, 0.6);
    pointer-events: none;
    animation: codeFloat 6s ease-in-out infinite;
    z-index: 5;
}

.f1 {
    top: 18%;
    right: 15%;
    animation-delay: 0s;
    font-size: 1rem;
}

.f2 {
    top: 30%;
    right: 10%;
    animation-delay: 0.8s;
}

.f3 {
    top: 42%;
    right: 18%;
    animation-delay: 1.6s;
    color: rgba(163, 207, 43, 0.8);
}

.f4 {
    bottom: 35%;
    right: 12%;
    animation-delay: 2.4s;
}

.f5 {
    bottom: 25%;
    right: 15%;
    animation-delay: 3.2s;
    font-size: 1rem;
}

@keyframes codeFloat {

    0%,
    100% {
        opacity: 0.5;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(-8px);
    }
}

/* Stats Row Below Portrait */
.persona-stats-row {
    display: flex;
    gap: 24px;
    padding: 40px 0;
    align-items: stretch;
}

/* ═══ OTHER UNIFIED STYLES ═══ */


:root {
    --split-pos: 50%;
}

.unified-page {
    overflow-x: hidden;
}

/* ═══ SPLIT HERO REVEAL ═══ */
.split-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    background: #000;
}

.split-side {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Designer Side */
.side-designer {
    z-index: 1;
    background: #050505;
}

/* Coder Side */
.side-coder {
    z-index: 2;
    background: #000;
    clip-path: inset(0 0 0 var(--split-pos));
    border-left: 2px solid var(--primary);
    transition: clip-path 0.1s ease-out;
    /* Smooth but responsive */
}

.hero-content-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: 0.5s;
}

.side-designer .hero-img {
    object-position: center;
}

.side-coder .hero-img {
    object-position: center;
}

/* Text Overlays */
.hero-text {
    position: absolute;
    z-index: 10;
    pointer-events: none;
    width: 100%;
    padding: 0 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.h-box {
    text-align: center;
}

.h-box h2 {
    font-size: 5rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.coder-text {
    color: var(--primary);
    text-shadow: 0 0 30px var(--primary-glow);
}

.designer-text {
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.h-box p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-top: 10px;
}

/* ═══ THE UNIFIED HUB ═══ */
.unified-section {
    padding: 100px 0;
}

.section-header-worldclass {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-worldclass h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.section-header-worldclass p {
    color: var(--text-2);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ═══ COMMUNITY INTEGRATION ═══ */
.community-inline-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* ═══ DASHBOARD INTEGRATION ═══ */
.dashboard-inline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .side-coder {
        clip-path: inset(50% 0 0 0);
        border-left: none;
        border-top: 2px solid var(--primary);
    }

    .h-box h2 {
        font-size: 3rem;
    }
}

.vibe-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
    margin: 80px 0;
}

/* ══════════════════════════════════════════
   GLASS CARD — FEATURE TOOL  (Infrastructure Hub)
   ══════════════════════════════════════════ */
.glass-card {
    background: var(--bg-card, rgba(255, 255, 255, 0.04));
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-lg, 20px);
    padding: 32px;
    backdrop-filter: blur(16px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s ease,
        border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(163, 207, 43, 0.04) 0%, transparent 70%);
    pointer-events: none;
    border-radius: inherit;
}

.glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(163, 207, 43, 0.25);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(163, 207, 43, 0.06);
}

/* Tool Header row */
.tool-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.tool-head h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text, #f0f0f0);
    margin: 0;
}

.tool-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Tool meta pills row */
.tool-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tool-meta span {
    background: rgba(163, 207, 43, 0.1);
    border: 1px solid rgba(163, 207, 43, 0.2);
    color: var(--primary, #a3cf2b);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.feature-tool p {
    font-size: 0.88rem;
    color: var(--text-2, rgba(255, 255, 255, 0.6));
    line-height: 1.7;
    margin: 0;
}

/* ══════════════════════════════════════════
   COMMUNITY SECTION — POST FEED & WIDGETS
   ══════════════════════════════════════════ */
.community-inline-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
}

/* Post Feed */
.post-feed-preview {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.post-item {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.07));
    transition: background 0.2s ease;
}

.post-item:last-child {
    border-bottom: none;
}

.post-item:hover {
    background: rgba(163, 207, 43, 0.03);
}

/* Post header (avatar + name) */
.p-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.p-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary, #a3cf2b), #4ade80);
    color: #021a1e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 0 16px rgba(163, 207, 43, 0.3);
}

.p-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.p-info strong {
    font-size: 0.9rem;
    color: var(--text, #f0f0f0);
    font-weight: 700;
}

.p-info span {
    font-size: 0.75rem;
    color: var(--text-3, rgba(255, 255, 255, 0.4));
}

.p-text {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-2, rgba(255, 255, 255, 0.7));
    margin: 0 0 14px;
}

/* Post action row */
.p-actions {
    display: flex;
    gap: 20px;
}

.p-actions span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-3, rgba(255, 255, 255, 0.45));
    cursor: pointer;
    transition: color 0.2s ease;
}

.p-actions span:hover {
    color: var(--primary, #a3cf2b);
}

.p-actions span i {
    font-size: 0.9rem;
}

/* Community Sidebar — Member Widget */
.member-widget {
    padding: 24px;
}

.member-widget h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text, #f0f0f0);
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.member-mini-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.member-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-2, rgba(255, 255, 255, 0.65));
}

.member-mini span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #a3cf2b);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* Dashboard Bento sub-components (HUD Style) */
.bento-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(163, 207, 43, 0.2);
    position: relative;
}

.bento-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary, #a3cf2b);
    box-shadow: 0 0 10px var(--primary, #a3cf2b);
}

.bento-header i {
    color: var(--primary, #a3cf2b);
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(163, 207, 43, 0.6));
}

.bento-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Courier New', Courier, monospace;
}

/* Roadmap mini list */
.roadmap-list-mini {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.roadmap-item-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-2, rgba(255, 255, 255, 0.8));
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.roadmap-item-mini:hover {
    transform: translateX(5px);
    background: linear-gradient(90deg, rgba(163, 207, 43, 0.08) 0%, transparent 100%);
    border-color: rgba(163, 207, 43, 0.2);
}

.roadmap-item-mini::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.roadmap-item-mini.active::before {
    background: var(--primary, #a3cf2b);
    box-shadow: 0 0 15px var(--primary, #a3cf2b);
}

.roadmap-item-mini.active {
    border-color: rgba(163, 207, 43, 0.4);
    background: linear-gradient(90deg, rgba(163, 207, 43, 0.1) 0%, transparent 100%);
    color: #fff;
    box-shadow: inset 0 0 20px rgba(163, 207, 43, 0.05);
}

.roadmap-item-mini span:first-child {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--primary, #a3cf2b);
    font-weight: 800;
    min-width: 40px;
}

/* AI Log mini entries - Cyber Threat Intel Style */
.log-entries-mini {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.log-line-mini {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #0bdc94;
    padding: 10px 14px;
    background: rgba(2, 14, 10, 0.6);
    border-radius: 6px;
    border-right: 3px solid #0bdc94;
    border-left: 1px solid rgba(11, 220, 148, 0.2);
    line-height: 1.5;
    position: relative;
}

.log-line-mini::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 8px;
    width: 6px;
    height: 6px;
    background: #0bdc94;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 8px #0bdc94;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

html[dir="ltr"] .log-line-mini {
    border-right: 1px solid rgba(11, 220, 148, 0.2);
    border-left: 3px solid #0bdc94;
    padding-left: 24px;
}

html[dir="ltr"] .log-line-mini::after {
    left: -12px;
}

.log-line-mini span:first-child {
    color: #fff;
    font-weight: 700;
    margin-left: 14px;
    margin-right: 4px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

html[dir="ltr"] .log-line-mini span:first-child {
    margin-left: 0;
    margin-right: 14px;
}

/* ROI simple */
.roi-simple-content label {
    font-size: 0.82rem;
    color: var(--text-2, rgba(255, 255, 255, 0.6));
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.roi-stats-mini {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.roi-stat-mini {
    flex: 1;
    background: rgba(163, 207, 43, 0.06);
    border: 1px solid rgba(163, 207, 43, 0.15);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.roi-stat-mini span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-3, rgba(255, 255, 255, 0.4));
    margin-bottom: 4px;
}

.roi-stat-mini strong {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--primary, #a3cf2b);
    font-weight: 900;
}

/* input range style */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: var(--border, rgba(255, 255, 255, 0.1));
    border-radius: 2px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary, #a3cf2b);
    cursor: pointer;
    box-shadow: 0 0 8px rgba(163, 207, 43, 0.5);
}

/* ══════════════════════════════════════════
   RECLAIM BOOKING CTA — CONTACT SECTION
   ══════════════════════════════════════════ */
.contact-method-reclaim {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(163, 207, 43, 0.06));
    border: 1px solid rgba(124, 58, 237, 0.3) !important;
    border-radius: 14px;
    padding: 16px 20px !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-method-reclaim:hover {
    border-color: rgba(124, 58, 237, 0.6) !important;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(163, 207, 43, 0.1));
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.2);
}

.contact-method-reclaim .method-icon {
    background: linear-gradient(135deg, #7c3aed, #a3cf2b);
}

.contact-method-reclaim strong {
    color: #a78bfa !important;
    font-size: 0.9rem;
}

/* ══════════════════════════════════════════
   FULL MOBILE RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 768px) {

    /* Split Hero Portrait — stacks vertically on mobile */
    .persona-split-wrap {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .persona-side {
        flex: none !important;
        height: 60vw;
        min-height: 260px;
    }

    .persona-divider {
        width: 100%;
        height: 3px;
        flex-shrink: 0;
    }

    .divider-glow {
        top: 50%;
        left: 50%;
    }

    .persona-label h2 {
        font-size: 2.4rem;
    }

    .persona-overlay {
        padding: 28px 24px;
    }

    .code-float {
        display: none;
    }

    /* Stats row */
    .persona-stats-row {
        flex-direction: column;
        gap: 16px;
    }

    .persona-stats-row>div {
        flex: none !important;
        width: 100%;
    }

    /* Infrastructure / Dashboard Grid */
    .dashboard-inline-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Community inline grid */
    .community-inline-grid {
        grid-template-columns: 1fr;
    }

    /* Hero text */
    .hero-text {
        flex-direction: column;
        gap: 20px;
        padding: 0 6%;
        align-items: flex-start;
    }

    .h-box h2 {
        font-size: 2.5rem;
    }

    /* Vibe steps - stack */
    .vibe-steps {
        flex-direction: column;
        gap: 16px;
    }

    .vstep-arrow {
        transform: rotate(90deg);
    }

    /* Footer grid */
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .persona-label h2 {
        font-size: 1.8rem;
    }

    .persona-skills span {
        font-size: 0.72rem;
        padding: 4px 10px;
    }

    .section-header-worldclass h2 {
        font-size: 2rem;
    }

    .glass-card {
        padding: 20px;
    }

    .h-box h2 {
        font-size: 2rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .member-widget {
        padding: 18px;
    }
}