/* Hero Section Component Styles — Flagship Premium Upgrade */

.m-hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    padding: 0.5rem 0 3rem 0;
    min-height: calc(100vh - var(--header-height) - 90px);
}

.m-hero-content {
    max-width: 680px;
}

/* ── Sleek Modern Glassmorphic Breadcrumb Badge ── */
.m-breadcrumb-nav, .fp-breadcrumb-nav {
    margin-bottom: 1.25rem;
    display: inline-block;
}

.m-breadcrumb-pill, .fp-breadcrumb-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.m-breadcrumb-list, .fp-breadcrumb-pill ol {
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}

.m-breadcrumb-item, .fp-breadcrumb-pill li {
    display: flex !important;
    align-items: center !important;
    list-style: none !important;
    color: rgba(255, 255, 255, 0.65) !important;
}

.m-breadcrumb-item a, .fp-breadcrumb-pill a {
    color: rgba(255, 255, 255, 0.75) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.m-breadcrumb-item a:hover, .fp-breadcrumb-pill a:hover {
    color: var(--color-accent, #a855f7) !important;
}

.m-breadcrumb-item.active, .fp-breadcrumb-pill li.active {
    color: #ffffff !important;
    font-weight: 700 !important;
}

.m-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.35) !important;
    font-size: 0.85rem !important;
    user-select: none !important;
}

.m-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.1rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: var(--radius-full);
    color: var(--color-accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.15);
}

.marketing-page .m-hero-title {
    font-size: var(--font-hero);      /* 64px on desktop */
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.marketing-page .m-hero-subtitle {
    font-size: var(--font-subtitle);  /* 22px */
    line-height: 1.6;
    margin-bottom: 2.75rem;
    color: var(--color-text-secondary);
    font-weight: 400;
}

.m-hero-btn-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.m-btn-primary {
    font-size: 1.125rem;
    font-weight: 700;
    padding: 1.1rem 2.25rem;
    border-radius: var(--radius-full);
    background: var(--gradient-accent);
    color: #ffffff !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.m-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

.m-btn-secondary {
    font-size: 1.125rem;
    font-weight: 600;
    padding: 1.1rem 2.25rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary) !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.m-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.m-hero-signin-note {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

/* 3D Floating iPhone Mockup */
.m-hero-media-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    padding: 2rem 0;
}

.m-hero-glow-backdrop {
    position: absolute;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(168, 85, 247, 0.15) 50%, transparent 70%);
    filter: blur(60px);
    border-radius: 50%;
    z-index: 0;
    animation: m-pulse-glow 6s infinite ease-in-out;
}

.m-phone-preview-card {
    position: relative;
    z-index: 2;
    width: 360px;
    height: 660px;
    background: #000000;
    border-radius: 48px;
    box-shadow: 
        0 0 0 12px #1f2937,
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(99, 102, 241, 0.15);
    overflow: hidden;
    transform: rotateY(-10deg) rotateX(6deg) rotate(1deg);
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
    animation: m-float-slow 6s ease-in-out infinite;
}

.m-phone-preview-card:hover {
    transform: rotateY(0deg) rotateX(0deg) rotate(0deg) translateY(-4px) scale(1.02);
}

.m-phone-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
    z-index: 5;
}

/* Camera Notch */
.m-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 28px;
    background: #111827;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.m-phone-notch-camera {
    width: 10px;
    height: 10px;
    background: #000;
    border-radius: 50%;
    border: 1px solid #374151;
}

.m-phone-notch-speaker {
    width: 40px;
    height: 4px;
    background: #1f2937;
    border-radius: 2px;
}

/* Phone Display Area */
.m-phone-viewport {
    height: 100%;
    padding: 3.5rem 1.25rem 1.5rem 1.25rem;
    overflow-y: auto;
    background: transparent;
    color: var(--color-text-primary);
}

/* Floating Orbit Badges */
.m-floating-badge {
    position: absolute;
    z-index: 3;
    padding: 0.75rem 1.25rem;
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    animation: m-float-slow 5s ease-in-out infinite alternate;
}

.m-badge-top-right {
    top: 40px;
    right: -20px;
}

.m-badge-bottom-left {
    bottom: 60px;
    left: -30px;
    animation-delay: -2.5s;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .m-hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding-top: 1rem;
    }
    .m-hero-content {
        max-width: 100%;
    }
    .m-hero-title {
        font-size: 2.75rem;
    }
    .m-hero-subtitle {
        font-size: 1.15rem;
    }
    .m-hero-btn-group {
        justify-content: center;
    }
    .m-phone-preview-card {
        width: 310px;
        height: 580px;
        transform: none;
    }
    .m-floating-badge {
        display: none;
    }
}

/* Phone Inner Content Styling */
.m-phone-viewport::-webkit-scrollbar {
    display: none;
}
.m-phone-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
}
.m-phone-avatar-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 0.75rem;
}
.m-phone-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-accent);
}
.m-phone-online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background-color: var(--color-success);
    border: 2px solid #000000;
    border-radius: 50%;
    animation: m-pulse-online 2s infinite ease-in-out;
}
@keyframes m-pulse-online {
    0%, 100% { opacity: 0.6; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
}
.m-phone-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 0.25rem 0;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.m-phone-verified {
    color: var(--color-accent);
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
}
.m-phone-bio {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin: 0;
    max-width: 220px;
    line-height: 1.4;
}
.m-phone-socials {
    display: flex;
    gap: 1.25rem;
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.75rem;
    justify-content: center;
}
.m-phone-socials i:hover {
    color: var(--color-accent);
    cursor: pointer;
}
.m-phone-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-bottom: 2rem;
}
.m-phone-link-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 220ms ease;
}
.m-phone-link-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}
.m-phone-link-item i {
    font-size: 1.15rem;
    color: var(--color-accent);
}
.m-phone-link-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-primary);
}
.m-phone-ticker {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}
.m-phone-ticker i {
    color: var(--color-success);
}
.m-phone-ticker strong {
    color: var(--color-text-primary);
}

.m-hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}
@media (max-width: 991px) {
    .m-hero-cta-wrapper {
        align-items: center;
    }
}

/* ─── Light Mode Overrides for Breadcrumb, Orbit Badges, and Smartphone Mockup ─── */
[data-theme="light"] .m-breadcrumb-pill,
[data-theme="light"] .fp-breadcrumb-pill,
body.theme-Light .m-breadcrumb-pill,
body.theme-Light .fp-breadcrumb-pill {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .m-breadcrumb-item,
[data-theme="light"] .fp-breadcrumb-pill li,
body.theme-Light .m-breadcrumb-item,
body.theme-Light .fp-breadcrumb-pill li {
    color: #64748b !important;
}

[data-theme="light"] .m-breadcrumb-item a,
[data-theme="light"] .fp-breadcrumb-pill a,
body.theme-Light .m-breadcrumb-item a,
body.theme-Light .fp-breadcrumb-pill a {
    color: #64748b !important;
}

[data-theme="light"] .m-breadcrumb-item a:hover,
[data-theme="light"] .fp-breadcrumb-pill a:hover,
body.theme-Light .m-breadcrumb-item a:hover,
body.theme-Light .fp-breadcrumb-pill a:hover {
    color: #7c3aed !important;
}

[data-theme="light"] .m-breadcrumb-item.active,
[data-theme="light"] .m-breadcrumb-item.active span,
[data-theme="light"] .fp-breadcrumb-pill li.active,
[data-theme="light"] .fp-breadcrumb-pill li.active span,
body.theme-Light .m-breadcrumb-item.active,
body.theme-Light .m-breadcrumb-item.active span,
body.theme-Light .fp-breadcrumb-pill li.active,
body.theme-Light .fp-breadcrumb-pill li.active span {
    color: #0f172a !important;
    font-weight: 700 !important;
}

[data-theme="light"] .m-breadcrumb-sep,
body.theme-Light .m-breadcrumb-sep {
    color: #94a3b8 !important;
}

/* Floating Orbiting Badges in Light Mode */
[data-theme="light"] .m-floating-badge,
body.theme-Light .m-floating-badge {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .m-floating-badge span,
body.theme-Light .m-floating-badge span {
    color: #0f172a !important;
}

/* Smartphone Mockup Internal Elements — Scoped to dark screen background */
.m-phone-preview-card {
    background: #0f172a !important;
}

.m-phone-preview-card .m-phone-name {
    color: #ffffff !important;
}

.m-phone-preview-card .m-phone-bio {
    color: #94a3b8 !important;
}

.m-phone-preview-card .m-phone-socials {
    color: #94a3b8 !important;
}

.m-phone-preview-card .m-phone-link-item {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

.m-phone-preview-card .m-phone-link-item span {
    color: #ffffff !important;
}

.m-phone-preview-card .m-phone-link-item i {
    color: #c084fc !important;
}

.m-phone-preview-card .m-phone-ticker {
    background: rgba(168, 85, 247, 0.15) !important;
    border-color: rgba(168, 85, 247, 0.3) !important;
    color: #cbd5e1 !important;
}

.m-phone-preview-card .m-phone-ticker strong {
    color: #ffffff !important;
}

